summaryrefslogtreecommitdiff
path: root/target/linux/config/Config.in.flash
blob: ded3dfe6febb44335779a0cb8087a96a3d79c3f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

menu "Flash device support"
depends on ADK_TARGET_WITH_NAND || ADK_TARGET_WITH_MTD || ADK_TARGET_QEMU

config ADK_KERNEL_MTD
	select ADK_KERNEL_GENERIC_IO
 	bool

config ADK_KERNEL_GENERIC_IO
	bool

config ADK_KERNEL_MTD_MTDRAM
	bool
 
config ADK_KERNEL_MTD_NAND
	bool

config ADK_KERNEL_MTD_NAND_PLATFORM
	bool

config ADK_KERNEL_MTD_CHAR
	bool

config ADK_KERNEL_MTD_CMDLINE_PARTS
	bool

config ADK_KERNEL_MTD_BLKDEVS
	bool

config ADK_KERNEL_MTD_BLOCK
	bool

config ADK_KERNEL_MTD_PARTITIONS
	bool

config ADK_KERNEL_MTD_ROOTFS_ROOT_DEV
	bool

config ADK_KERNEL_MTD_CFI
	bool

config ADK_KERNEL_MTD_GEN_PROBE
	bool

config ADK_KERNEL_MTD_PHYSMAP
	bool

config ADK_KERNEL_MTD_PHYSMAP_OF
	bool

config ADK_KERNEL_MTD_CFI_ADV_OPTIONS
	bool

config ADK_KERNEL_MTD_NAND_RB4XX
	bool

config ADK_KERNEL_MTD_AR7_PARTS
	bool

config ADK_KERNEL_MTD_CFI_INTELEXT
	bool

config ADK_KERNEL_MTD_CFI_AMDSTD
	bool

config ADK_KERNEL_MTD_CFI_STAA
	bool

config ADK_KERNEL_MTD_OF_PARTS
	bool

config ADK_KERNEL_MTD_M25P80
	bool "MTD M25P80 driver"
	select ADK_KERNEL_MTD
	select ADK_KERNEL_MTD_PARTITIONS
	select ADK_KERNEL_MTD_CHAR
	select ADK_KERNEL_MTD_BLKDEVS
	select ADK_KERNEL_MTD_BLOCK
	select ADK_KERNEL_MTD_ROOTFS_ROOT_DEV
	select ADK_KERNEL_MTD_CFI
	select ADK_KERNEL_MTD_CFI_INTELEXT
	select ADK_KERNEL_MTD_GEN_PROBE
	select ADK_KERNEL_MTD_PHYSMAP
	select ADK_KERNEL_MTD_PHYSMAP_OF
	select ADK_KERNEL_MTD_OF_PARTS
	select ADK_KERNEL_SPI
	select ADK_KERNEL_SPI_MASTER
	depends on ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
		|| ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
	default n

config ADK_KERNEL_MTD_NAND_PLATFORM
	bool "NAND platform driver"
	select ADK_KERNEL_MISC_FILESYSTEMS
	select ADK_KERNEL_MTD
	select ADK_KERNEL_MTD_PARTITIONS
	select ADK_KERNEL_MTD_NAND
	select ADK_KERNEL_MTD_CHAR
	select ADK_KERNEL_MTD_BLKDEVS
	select ADK_KERNEL_MTD_BLOCK
	depends on ADK_TARGET_SYSTEM_MIKROTIK_RB532
	default y if ADK_TARGET_SYSTEM_MIKROTIK_RB532
	default n
	help
	  platform nand driver

config ADK_KERNEL_MTD_PLATRAM
	bool "MTD RAM driver"
	select ADK_KERNEL_MISC_FILESYSTEMS
	select ADK_KERNEL_MTD
	select ADK_KERNEL_MTD_BLOCK
	select ADK_KERNEL_MTD_CFI
	select ADK_KERNEL_MTD_CFI_INTELEXT
	select ADK_KERNEL_MTD_PHYSMAP
	select ADK_KERNEL_MTD_PHYSMAP_OF
	select ADK_KERNEL_MTD_CMDLINE_PARTS
	default n

config ADK_TARGET_MTD_SIZE
	int
	depends on ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
		|| ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
	default "16777216" if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800
	default "33554432" if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
	default "0"

endmenu