summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-samsung/Kconfig
blob: a2ddabf589262e02d1886b5ef727381dfaaf56e5 (plain) (blame)
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
config ARCH_SAMSUNG
	bool

if ARCH_SAMSUNG

config ARCH_TEXT_BASE
	hex
	default 0x31fc0000 if MACH_MINI2440
	default 0x57fc0000 if MACH_MINI6410
	default 0x57fc0000 if MACH_TINY6410
	default 0x31fc0000 if MACH_A9M2440
	default 0x31fc0000 if MACH_A9M2410
	default 0x23e00000 if MACH_TINY210

config ARCH_BAREBOX_MAX_BARE_INIT_SIZE
	hex
	default 0x1ff0 if ARCH_S5PCxx
# TODO
	default 0x2000 if ARCH_S3C64xx

if ARCH_S3C24xx

config CPU_S3C2410
	bool

config CPU_S3C2440
	bool

choice
	prompt "S3C24xx Board Type"

config MACH_A9M2410
	bool "Digi A9M2410"
	select CPU_S3C2410
	select S3C_PLL_INIT
	select S3C_SDRAM_INIT
	help
	  Say Y here if you are using Digi's Connect Core 9M equipped
	  with a Samsung S3C2410 Processor

config MACH_A9M2440
	bool "Digi A9M2440"
	select CPU_S3C2440
	select S3C_PLL_INIT
	help
	  Say Y here if you are using Digi's Connect Core 9M equipped
	  with a Samsung S3C2440 Processor

config MACH_MINI2440
	bool "Mini 2440"
	select CPU_S3C2440
	select S3C_PLL_INIT
	select S3C_SDRAM_INIT
	select HAS_DM9000
	help
	  Say Y here if you are using Mini 2440 dev board equipped
	  with a Samsung S3C2440 Processor

endchoice

menu "Board specific settings"

choice
	prompt "A9M2440 baseboard"
	depends on MACH_A9M2440

config MACH_A9M2410DEV
	bool
	prompt "A9M2410dev"
	select HAS_CS8900
	help
	  Digi's evaluation board.

endchoice

source arch/arm/boards/friendlyarm-mini2440/Kconfig

endmenu

endif

if ARCH_S3C64xx

config CPU_S3C6410
	bool

choice
	prompt "S3C64xx Board Type"

config MACH_MINI6410
	bool "Mini 6410"
	select CPU_S3C6410
	select HAS_DM9000
	help
	  Say Y here if you are using FriendlyARM Mini6410 board equipped
	  with a Samsung S3C6410 Processor

config MACH_TINY6410
	bool "Tiny 6410"
	select CPU_S3C6410
	help
	  Say Y here if you are using FriendlyARM Tiny6410 CPU card equipped
	  with a Samsung S3C6410 Processor

endchoice

menu "Board specific settings"

source arch/arm/boards/friendlyarm-tiny6410/Kconfig

endmenu

endif

if ARCH_S5PCxx

config CPU_S5PC110
	bool

config CPU_S5PV210
	bool

choice
	prompt "S5PCxx board type"

config MACH_TINY210
	bool "Tiny 210"
	select CPU_S5PV210
	select S3C_SDRAM_INIT

endchoice

endif

menu "S3C Features"

config S3C_LOWLEVEL_INIT
	bool

config S3C_PLL_INIT
	bool
	prompt "Reconfigure PLL"
	select S3C_LOWLEVEL_INIT
	help
	  This adds generic code to reconfigure the internal PLL very early
	  after reset.

config S3C_SDRAM_INIT
	bool
	prompt "Initialize SDRAM"
	select S3C_LOWLEVEL_INIT
	help
	  This adds generic code to configure the SDRAM controller after reset.
	  The initialisation will be skipped if the code is already running
	  from SDRAM.

config S3C_NAND_BOOT
	bool
	prompt "Booting from NAND"
	depends on ARCH_S3C24xx
	select MTD
	select NAND
	select NAND_S3C24XX
	help
	  Add generic support to boot from NAND flash. Image loading will be
	  skipped if the code is running from NOR or already from SDRAM.

config BAREBOX_UPDATE_NAND_S3C24XX
	bool
	depends on BAREBOX_UPDATE
	depends on S3C_NAND_BOOT
	default y

endmenu

endif