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