diff options
author | Bob Liu <lliubbo@gmail.com> | 2012-05-16 05:37:24 -0400 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-05-21 02:54:12 -0400 |
commit | b5affb0147cee0ea05d909396f8e389092729236 (patch) | |
tree | 483471450269ac65f7748b5408c7f77520421d55 /arch/blackfin/Kconfig | |
parent | 22a826288522863fb748851824ce634eda4f1b07 (diff) |
blackfin: add bf60x to current framework
This patch added bf60x to current blackfin kernel framework.
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r-- | arch/blackfin/Kconfig | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index 373a6902d8fa..23bae9a3f787 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -226,6 +226,12 @@ config BF561 | |||
226 | help | 226 | help |
227 | BF561 Processor Support. | 227 | BF561 Processor Support. |
228 | 228 | ||
229 | config BF609 | ||
230 | bool "BF609" | ||
231 | select CLKDEV_LOOKUP | ||
232 | help | ||
233 | BF609 Processor Support. | ||
234 | |||
229 | endchoice | 235 | endchoice |
230 | 236 | ||
231 | config SMP | 237 | config SMP |
@@ -251,27 +257,27 @@ config HOTPLUG_CPU | |||
251 | 257 | ||
252 | config BF_REV_MIN | 258 | config BF_REV_MIN |
253 | int | 259 | int |
254 | default 0 if (BF51x || BF52x || (BF54x && !BF54xM)) | 260 | default 0 if (BF51x || BF52x || (BF54x && !BF54xM)) || BF60x |
255 | default 2 if (BF537 || BF536 || BF534) | 261 | default 2 if (BF537 || BF536 || BF534) |
256 | default 3 if (BF561 || BF533 || BF532 || BF531 || BF54xM) | 262 | default 3 if (BF561 || BF533 || BF532 || BF531 || BF54xM) |
257 | default 4 if (BF538 || BF539) | 263 | default 4 if (BF538 || BF539) |
258 | 264 | ||
259 | config BF_REV_MAX | 265 | config BF_REV_MAX |
260 | int | 266 | int |
261 | default 2 if (BF51x || BF52x || (BF54x && !BF54xM)) | 267 | default 2 if (BF51x || BF52x || (BF54x && !BF54xM)) || BF60x |
262 | default 3 if (BF537 || BF536 || BF534 || BF54xM) | 268 | default 3 if (BF537 || BF536 || BF534 || BF54xM) |
263 | default 5 if (BF561 || BF538 || BF539) | 269 | default 5 if (BF561 || BF538 || BF539) |
264 | default 6 if (BF533 || BF532 || BF531) | 270 | default 6 if (BF533 || BF532 || BF531) |
265 | 271 | ||
266 | choice | 272 | choice |
267 | prompt "Silicon Rev" | 273 | prompt "Silicon Rev" |
268 | default BF_REV_0_0 if (BF51x || BF52x) | 274 | default BF_REV_0_0 if (BF51x || BF52x || BF60x) |
269 | default BF_REV_0_2 if (BF534 || BF536 || BF537 || (BF54x && !BF54xM)) | 275 | default BF_REV_0_2 if (BF534 || BF536 || BF537 || (BF54x && !BF54xM)) |
270 | default BF_REV_0_3 if (BF531 || BF532 || BF533 || BF54xM || BF561) | 276 | default BF_REV_0_3 if (BF531 || BF532 || BF533 || BF54xM || BF561) |
271 | 277 | ||
272 | config BF_REV_0_0 | 278 | config BF_REV_0_0 |
273 | bool "0.0" | 279 | bool "0.0" |
274 | depends on (BF51x || BF52x || (BF54x && !BF54xM)) | 280 | depends on (BF51x || BF52x || (BF54x && !BF54xM) || BF60x) |
275 | 281 | ||
276 | config BF_REV_0_1 | 282 | config BF_REV_0_1 |
277 | bool "0.1" | 283 | bool "0.1" |
@@ -350,6 +356,7 @@ source "arch/blackfin/mach-bf561/Kconfig" | |||
350 | source "arch/blackfin/mach-bf537/Kconfig" | 356 | source "arch/blackfin/mach-bf537/Kconfig" |
351 | source "arch/blackfin/mach-bf538/Kconfig" | 357 | source "arch/blackfin/mach-bf538/Kconfig" |
352 | source "arch/blackfin/mach-bf548/Kconfig" | 358 | source "arch/blackfin/mach-bf548/Kconfig" |
359 | source "arch/blackfin/mach-bf609/Kconfig" | ||
353 | 360 | ||
354 | menu "Board customizations" | 361 | menu "Board customizations" |
355 | 362 | ||
@@ -379,6 +386,12 @@ config BOOT_LOAD | |||
379 | memory region is used to capture NULL pointer references as well | 386 | memory region is used to capture NULL pointer references as well |
380 | as some core kernel functions. | 387 | as some core kernel functions. |
381 | 388 | ||
389 | config PHY_RAM_BASE_ADDRESS | ||
390 | hex "Physical RAM Base" | ||
391 | default 0x0 | ||
392 | help | ||
393 | set BF609 FPGA physical SRAM base address | ||
394 | |||
382 | config ROM_BASE | 395 | config ROM_BASE |
383 | hex "Kernel ROM Base" | 396 | hex "Kernel ROM Base" |
384 | depends on ROMKERNEL | 397 | depends on ROMKERNEL |
@@ -1051,7 +1064,7 @@ endchoice | |||
1051 | config BFIN_L2_DCACHEABLE | 1064 | config BFIN_L2_DCACHEABLE |
1052 | bool "Enable DCACHE for L2 SRAM" | 1065 | bool "Enable DCACHE for L2 SRAM" |
1053 | depends on BFIN_DCACHE | 1066 | depends on BFIN_DCACHE |
1054 | depends on (BF54x || BF561) && !SMP | 1067 | depends on (BF54x || BF561 || BF60x) && !SMP |
1055 | default n | 1068 | default n |
1056 | choice | 1069 | choice |
1057 | prompt "L2 SRAM DCACHE policy" | 1070 | prompt "L2 SRAM DCACHE policy" |
@@ -1077,6 +1090,7 @@ config MPU | |||
1077 | comment "Asynchronous Memory Configuration" | 1090 | comment "Asynchronous Memory Configuration" |
1078 | 1091 | ||
1079 | menu "EBIU_AMGCTL Global Control" | 1092 | menu "EBIU_AMGCTL Global Control" |
1093 | depends on !BF60x | ||
1080 | config C_AMCKEN | 1094 | config C_AMCKEN |
1081 | bool "Enable CLKOUT" | 1095 | bool "Enable CLKOUT" |
1082 | default y | 1096 | default y |
@@ -1127,6 +1141,7 @@ endchoice | |||
1127 | endmenu | 1141 | endmenu |
1128 | 1142 | ||
1129 | menu "EBIU_AMBCTL Control" | 1143 | menu "EBIU_AMBCTL Control" |
1144 | depends on !BF60x | ||
1130 | config BANK_0 | 1145 | config BANK_0 |
1131 | hex "Bank 0 (AMBCTL0.L)" | 1146 | hex "Bank 0 (AMBCTL0.L)" |
1132 | default 0x7BB0 | 1147 | default 0x7BB0 |