Masahiro Yamada | 8206943 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 1 | menu "Panasonic UniPhier platform" |
| 2 | depends on ARCH_UNIPHIER |
| 3 | |
Masahiro Yamada | 8206943 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 4 | config SYS_SOC |
Masahiro Yamada | 8206943 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 5 | default "uniphier" |
| 6 | |
| 7 | config SYS_CONFIG_NAME |
Masahiro Yamada | 8206943 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 8 | default "ph1_pro4" if MACH_PH1_PRO4 |
| 9 | default "ph1_ld4" if MACH_PH1_LD4 |
| 10 | default "ph1_sld8" if MACH_PH1_SLD8 |
| 11 | |
Masahiro Yamada | a618561 | 2014-12-06 00:03:20 +0900 | [diff] [blame^] | 12 | config UNIPHIER_SMP |
| 13 | bool |
| 14 | |
Masahiro Yamada | 8206943 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 15 | choice |
| 16 | prompt "UniPhier SoC select" |
| 17 | |
| 18 | config MACH_PH1_PRO4 |
| 19 | bool "PH1-Pro4" |
Masahiro Yamada | a618561 | 2014-12-06 00:03:20 +0900 | [diff] [blame^] | 20 | select UNIPHIER_SMP |
Masahiro Yamada | 8206943 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 21 | |
| 22 | config MACH_PH1_LD4 |
| 23 | bool "PH1-LD4" |
| 24 | |
| 25 | config MACH_PH1_SLD8 |
| 26 | bool "PH1-sLD8" |
| 27 | |
| 28 | endchoice |
| 29 | |
Masahiro Yamada | 4b5e7e3 | 2014-10-20 20:45:22 +0900 | [diff] [blame] | 30 | config CMD_PINMON |
| 31 | bool "Enable boot mode pins monitor command" |
| 32 | depends on !SPL_BUILD |
| 33 | default y |
| 34 | help |
| 35 | The command "pinmon" shows the state of the boot mode pins. |
| 36 | The boot mode pins are latched when the system reset is deasserted |
| 37 | and determine which device the system should load a boot image from. |
| 38 | |
Masahiro Yamada | 05154a2 | 2014-11-11 22:18:22 +0900 | [diff] [blame] | 39 | config SOC_INIT |
| 40 | bool |
| 41 | default SPL_BUILD |
| 42 | |
Masahiro Yamada | b0c7904 | 2014-11-06 20:16:42 +0900 | [diff] [blame] | 43 | config DRAM_INIT |
| 44 | bool |
| 45 | default SPL_BUILD |
| 46 | |
| 47 | choice |
| 48 | prompt "DDR3 Frequency select" |
| 49 | depends on DRAM_INIT |
| 50 | |
| 51 | config DDR_FREQ_1600 |
| 52 | bool "DDR3 1600" |
| 53 | depends on MACH_PH1_PRO4 || MACH_PH1_LD4 |
| 54 | |
| 55 | config DDR_FREQ_1333 |
| 56 | bool "DDR3 1333" |
| 57 | depends on MACH_PH1_LD4 || MACH_PH1_SLD8 |
| 58 | |
| 59 | endchoice |
| 60 | |
| 61 | config DDR_FREQ |
| 62 | int |
| 63 | default 1333 if DDR_FREQ_1333 |
| 64 | default 1600 if DDR_FREQ_1600 |
| 65 | |
Masahiro Yamada | 8206943 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 66 | endmenu |