Masahiro Yamada | b6ef3a3 | 2015-05-29 17:30:01 +0900 | [diff] [blame] | 1 | if ARCH_UNIPHIER |
Masahiro Yamada | 66cba04 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 2 | |
Simon Glass | 77d2f7f | 2016-09-12 23:18:41 -0600 | [diff] [blame^] | 3 | config SPL_LIBCOMMON_SUPPORT |
| 4 | default y |
| 5 | |
Masahiro Yamada | 66cba04 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 6 | config SYS_CONFIG_NAME |
Masahiro Yamada | f5d0b9b | 2014-12-06 00:03:22 +0900 | [diff] [blame] | 7 | default "uniphier" |
Masahiro Yamada | 66cba04 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 8 | |
Masahiro Yamada | 48efc8a | 2016-06-17 19:24:27 +0900 | [diff] [blame] | 9 | config ARCH_UNIPHIER_32BIT |
| 10 | bool |
| 11 | select CPU_V7 |
Masahiro Yamada | e8a9293 | 2016-08-10 16:08:49 +0900 | [diff] [blame] | 12 | select CPU_V7_HAS_NONSEC |
| 13 | select ARMV7_NONSEC |
Masahiro Yamada | 217f92b | 2016-08-30 16:22:22 +0900 | [diff] [blame] | 14 | select ARCH_SUPPORT_PSCI |
Masahiro Yamada | 48efc8a | 2016-06-17 19:24:27 +0900 | [diff] [blame] | 15 | |
| 16 | config ARCH_UNIPHIER_64BIT |
| 17 | bool |
| 18 | select ARM64 |
| 19 | select SPL_SEPARATE_BSS |
Masahiro Yamada | 18c1198 | 2016-06-17 19:24:28 +0900 | [diff] [blame] | 20 | select ARMV8_MULTIENTRY |
Masahiro Yamada | b7c4d25 | 2016-07-17 01:38:21 +0900 | [diff] [blame] | 21 | select ARMV8_SPIN_TABLE |
Masahiro Yamada | 48efc8a | 2016-06-17 19:24:27 +0900 | [diff] [blame] | 22 | |
Masahiro Yamada | 5fb87a1 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 23 | choice |
| 24 | prompt "UniPhier SoC select" |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 25 | default ARCH_UNIPHIER_PRO4 |
Masahiro Yamada | 5fb87a1 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 26 | |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 27 | config ARCH_UNIPHIER_SLD3 |
Masahiro Yamada | 323d1f9 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 28 | bool "UniPhier PH1-sLD3 SoC" |
Masahiro Yamada | 48efc8a | 2016-06-17 19:24:27 +0900 | [diff] [blame] | 29 | select ARCH_UNIPHIER_32BIT |
Masahiro Yamada | 66cba04 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 30 | |
Masahiro Yamada | 5fb87a1 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 31 | config ARCH_UNIPHIER_LD4_SLD8 |
| 32 | bool "UniPhier PH1-LD4/PH1-sLD8 SoC" |
Masahiro Yamada | 48efc8a | 2016-06-17 19:24:27 +0900 | [diff] [blame] | 33 | select ARCH_UNIPHIER_32BIT |
Masahiro Yamada | 66cba04 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 34 | |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 35 | config ARCH_UNIPHIER_PRO4 |
Masahiro Yamada | 323d1f9 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 36 | bool "UniPhier PH1-Pro4 SoC" |
Masahiro Yamada | 48efc8a | 2016-06-17 19:24:27 +0900 | [diff] [blame] | 37 | select ARCH_UNIPHIER_32BIT |
Masahiro Yamada | 5fb87a1 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 38 | |
| 39 | config ARCH_UNIPHIER_PRO5_PXS2_LD6B |
| 40 | bool "UniPhier PH1-Pro5/ProXstream2/PH1-LD6b SoC" |
Masahiro Yamada | 48efc8a | 2016-06-17 19:24:27 +0900 | [diff] [blame] | 41 | select ARCH_UNIPHIER_32BIT |
Masahiro Yamada | 5fb87a1 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 42 | |
Masahiro Yamada | 667dbcd | 2016-05-24 21:14:01 +0900 | [diff] [blame] | 43 | config ARCH_UNIPHIER_LD11 |
| 44 | bool "UniPhier PH1-LD11 SoC" |
Masahiro Yamada | 48efc8a | 2016-06-17 19:24:27 +0900 | [diff] [blame] | 45 | select ARCH_UNIPHIER_64BIT |
Masahiro Yamada | 667dbcd | 2016-05-24 21:14:01 +0900 | [diff] [blame] | 46 | |
Masahiro Yamada | 9d0c2ce | 2016-04-21 14:43:18 +0900 | [diff] [blame] | 47 | config ARCH_UNIPHIER_LD20 |
| 48 | bool "UniPhier PH1-LD20 SoC" |
Masahiro Yamada | 48efc8a | 2016-06-17 19:24:27 +0900 | [diff] [blame] | 49 | select ARCH_UNIPHIER_64BIT |
Masahiro Yamada | 51ea5a0 | 2016-06-17 19:24:29 +0900 | [diff] [blame] | 50 | select OF_BOARD_SETUP |
Masahiro Yamada | 9d0c2ce | 2016-04-21 14:43:18 +0900 | [diff] [blame] | 51 | |
Masahiro Yamada | 5fb87a1 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 52 | endchoice |
| 53 | |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 54 | config ARCH_UNIPHIER_LD4 |
Masahiro Yamada | 5fb87a1 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 55 | bool "Enable UniPhier PH1-LD4 SoC support" |
| 56 | depends on ARCH_UNIPHIER_LD4_SLD8 |
| 57 | default y |
Masahiro Yamada | 3365b4e | 2015-07-21 14:04:22 +0900 | [diff] [blame] | 58 | |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 59 | config ARCH_UNIPHIER_SLD8 |
Masahiro Yamada | 5fb87a1 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 60 | bool "Enable UniPhier PH1-sLD8 SoC support" |
| 61 | depends on ARCH_UNIPHIER_LD4_SLD8 |
| 62 | default y |
Masahiro Yamada | 66cba04 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 63 | |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 64 | config ARCH_UNIPHIER_PRO5 |
Masahiro Yamada | 5fb87a1 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 65 | bool "Enable UniPhier PH1-Pro5 SoC support" |
| 66 | depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B |
| 67 | default y |
Masahiro Yamada | 28f40d4 | 2015-09-22 00:27:40 +0900 | [diff] [blame] | 68 | |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 69 | config ARCH_UNIPHIER_PXS2 |
Masahiro Yamada | 5fb87a1 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 70 | bool "Enable UniPhier ProXstream2 SoC support" |
| 71 | depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B |
| 72 | default y |
Masahiro Yamada | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 73 | |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 74 | config ARCH_UNIPHIER_LD6B |
Masahiro Yamada | 5fb87a1 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 75 | bool "Enable UniPhier PH1-LD6b SoC support" |
| 76 | depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B |
| 77 | default y |
Masahiro Yamada | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 78 | |
Masahiro Yamada | 7382d17 | 2016-08-10 16:08:45 +0900 | [diff] [blame] | 79 | config CACHE_UNIPHIER |
| 80 | bool "Enable the UniPhier L2 cache controller" |
| 81 | depends on ARCH_UNIPHIER_32BIT |
Tom Rini | 067716b | 2016-08-22 08:22:17 -0400 | [diff] [blame] | 82 | select SYS_CACHE_SHIFT_7 |
Masahiro Yamada | 7382d17 | 2016-08-10 16:08:45 +0900 | [diff] [blame] | 83 | default y |
| 84 | help |
| 85 | This option allows to use the UniPhier System Cache as L2 cache. |
| 86 | |
Masahiro Yamada | 9879842 | 2015-09-11 20:17:45 +0900 | [diff] [blame] | 87 | config MICRO_SUPPORT_CARD |
| 88 | bool "Use Micro Support Card" |
Masahiro Yamada | 3201455 | 2014-12-06 00:03:21 +0900 | [diff] [blame] | 89 | help |
Masahiro Yamada | 9879842 | 2015-09-11 20:17:45 +0900 | [diff] [blame] | 90 | This option provides support for the expansion board, available |
| 91 | on some UniPhier reference boards. |
Masahiro Yamada | 3201455 | 2014-12-06 00:03:21 +0900 | [diff] [blame] | 92 | |
| 93 | Say Y to use the on-board UART, Ether, LED devices. |
| 94 | |
Masahiro Yamada | 59ca553 | 2014-10-20 20:45:22 +0900 | [diff] [blame] | 95 | config CMD_PINMON |
| 96 | bool "Enable boot mode pins monitor command" |
Masahiro Yamada | 59ca553 | 2014-10-20 20:45:22 +0900 | [diff] [blame] | 97 | default y |
| 98 | help |
| 99 | The command "pinmon" shows the state of the boot mode pins. |
| 100 | The boot mode pins are latched when the system reset is deasserted |
| 101 | and determine which device the system should load a boot image from. |
| 102 | |
Masahiro Yamada | c67b2af | 2014-12-19 20:20:53 +0900 | [diff] [blame] | 103 | config CMD_DDRPHY_DUMP |
| 104 | bool "Enable dump command of DDR PHY parameters" |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 105 | depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || ARCH_UNIPHIER_SLD8 |
Masahiro Yamada | f6c65bc | 2016-03-18 16:41:47 +0900 | [diff] [blame] | 106 | default y |
Masahiro Yamada | c67b2af | 2014-12-19 20:20:53 +0900 | [diff] [blame] | 107 | help |
| 108 | The command "ddrphy" shows the resulting parameters of DDR PHY |
| 109 | training; it is useful for the evaluation of DDR PHY training. |
| 110 | |
Masahiro Yamada | 93d92d4 | 2016-01-09 01:51:15 +0900 | [diff] [blame] | 111 | config CMD_DDRMPHY_DUMP |
| 112 | bool "Enable dump command of DDR Multi PHY parameters" |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 113 | depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B |
Masahiro Yamada | f6c65bc | 2016-03-18 16:41:47 +0900 | [diff] [blame] | 114 | default y |
Masahiro Yamada | 93d92d4 | 2016-01-09 01:51:15 +0900 | [diff] [blame] | 115 | help |
| 116 | The command "ddrmphy" shows the resulting parameters of DDR Multi PHY |
| 117 | training; it is useful for the evaluation of DDR Multi PHY training. |
| 118 | |
Masahiro Yamada | b6ef3a3 | 2015-05-29 17:30:01 +0900 | [diff] [blame] | 119 | endif |