summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/Kconfig
blob: f4a9d3d4221e93ffa8d51bfac71daeab6a339250 (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
130
131
132
133
134
135
136
137
138
139
140
if ARCH_MXS

config ARCH_TEXT_BASE
	hex
	default 0x41000000 if MACH_MX23EVK
	default 0x42000000 if MACH_CHUMBY
	default 0x42000000 if MACH_IMX233_OLINUXINO
	default 0x47000000 if MACH_TX28
	default 0x47000000 if MACH_MX28EVK
	default 0x47000000 if MACH_CFA10036

config ARCH_MXS_OF_SUPPORT
	bool
	select COMMON_CLK_OF_PROVIDER
	select OFTREE
	select OFDEVICE

comment "Freescale i.MX System-on-Chip"

choice
	prompt "Freescale i.MX Processor"

config ARCH_IMX23
	bool "i.MX23"
	select STMP_DEVICE
	select CPU_ARM926T

config ARCH_IMX28
	bool "i.MX28"
	select CPU_ARM926T
	select STMP_DEVICE
	select ARCH_HAS_FEC_IMX

endchoice

if ARCH_IMX23

config MACH_MX23EVK
	bool "mx23-evk"
	help
	  Say Y here if you are using the Freescale i.MX23-EVK board

config MACH_CHUMBY
	bool "Chumby Falconwing"
	help
	  Say Y here if you are using the "chumby one" aka falconwing from
	  Chumby Industries

config MACH_IMX233_OLINUXINO
	bool "Olimex.ltd imx223-olinuxino"
	help
	  Say Y here if you are using the imx233-olinuxino

endif

if ARCH_IMX28

config MACH_TX28
	bool "KARO tx28"
	help
	  Say Y here if you are using the KARO TX28 CPU module.

config MACH_MX28EVK
	bool "mx28-evk"
	select MXS_OCOTP
	select ARCH_MXS_OF_SUPPORT
	help
	  Say Y here if you are using the Freescale i.MX28-EVK board

config MACH_DUCKBILL
	bool "Duckbill"
	select MXS_OCOTP
	select ARCH_MXS_OF_SUPPORT
	help
	  Say Y here if you are using the I2SE Duckbill board

config MACH_CFA10036
	bool "cfa-10036"
	select MXS_OCOTP
	select I2C_GPIO
	select EEPROM_AT24
	help
	  Say Y here if you are using the Crystalfontz CFA-10036 module

endif

menu "i.MX specific settings"

config MXS_OCOTP
	tristate "OCOTP device"
	help
	  Device driver for the On-Chip One Time Programmable (OCOTP). Use the
	  regular md/mw commands to read and write (if write is supported).

	  Note that the OCOTP words are grouped consecutively (allocation
	  internal view). Don't use register offsets here, the SET, CLR and
	  TGL registers are not mapped!

config MXS_OCOTP_WRITABLE
	bool "OCOTP write support"
	depends on MXS_OCOTP
	help
	  Enable this option to add writing to OCOTP.
	  Warning: blown bits can not be unblown. Use with care.

	  Before being actually able to blow the bits, you need to explicitely
	  enable writing:
	    ocotp0.permanent_write_enable=1

config MXS_CMD_BCB
	depends on NAND_MXS
	tristate "Nand bcb command"
	help
	  To be able to boot from NAND the i.MX23/28 need a Boot Control Block
	  in flash. This option enabled the 'bcb' command which can be used to
	  generate this block during runtime.

endmenu

menu "Board specific settings"

if MACH_TX28

choice
	prompt "TX28 Base Board Type"

config MACH_TX28STK5
	bool "TX28-stk5"
	select MXS_OCOTP
	help
	  Select this entry if you are running the TX28 CPU module on the
	  KARO TX28 Starterkit5.

endchoice

endif

endmenu

endif