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