Masahiro Yamada | 563ee4c | 2015-05-29 17:30:01 +0900 | [diff] [blame] | 1 | if ARCH_UNIPHIER |
Masahiro Yamada | 8206943 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 2 | |
Masahiro Yamada | 8206943 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 3 | config SYS_CONFIG_NAME |
Masahiro Yamada | 1e72b1c | 2014-12-06 00:03:22 +0900 | [diff] [blame] | 4 | default "uniphier" |
Masahiro Yamada | 8206943 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 5 | |
Masahiro Yamada | 89c0b15 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 6 | choice |
| 7 | prompt "UniPhier SoC select" |
Masahiro Yamada | 8206943 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 8 | |
Masahiro Yamada | e652435 | 2017-09-15 21:43:20 +0900 | [diff] [blame] | 9 | config ARCH_UNIPHIER_V7_MULTI |
Masahiro Yamada | 4131cb6 | 2020-07-09 15:08:13 +0900 | [diff] [blame] | 10 | bool "UniPhier V7 SoCs" |
| 11 | select ARCH_SUPPORT_PSCI |
| 12 | select ARMV7_NONSEC |
| 13 | select CPU_V7A |
| 14 | select CPU_V7_HAS_NONSEC |
Dai Okamura | cd043e9 | 2022-12-09 20:33:48 +0900 | [diff] [blame] | 15 | select ARM_GLOBAL_TIMER if TIMER |
Masahiro Yamada | 89c0b15 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 16 | |
Masahiro Yamada | dabee24 | 2017-01-21 18:05:22 +0900 | [diff] [blame] | 17 | config ARCH_UNIPHIER_V8_MULTI |
| 18 | bool "UniPhier V8 SoCs" |
| 19 | depends on !SPL |
Masahiro Yamada | 3f8e166 | 2017-07-13 20:32:15 +0900 | [diff] [blame] | 20 | select ARM64 |
| 21 | select CMD_UNZIP |
Masahiro Yamada | 063eb1e | 2016-04-21 14:43:18 +0900 | [diff] [blame] | 22 | |
Masahiro Yamada | 89c0b15 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 23 | endchoice |
| 24 | |
Masahiro Yamada | 53c59ae | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 25 | config ARCH_UNIPHIER_LD4 |
Masahiro Yamada | dabee24 | 2017-01-21 18:05:22 +0900 | [diff] [blame] | 26 | bool "Enable UniPhier LD4 SoC support" |
Masahiro Yamada | 4131cb6 | 2020-07-09 15:08:13 +0900 | [diff] [blame] | 27 | depends on ARCH_UNIPHIER_V7_MULTI |
| 28 | depends on !SPL || SPL_TEXT_BASE = 0x00040000 |
Masahiro Yamada | 89c0b15 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 29 | default y |
Masahiro Yamada | fa71441 | 2015-07-21 14:04:22 +0900 | [diff] [blame] | 30 | |
Masahiro Yamada | 53c59ae | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 31 | config ARCH_UNIPHIER_SLD8 |
Masahiro Yamada | dabee24 | 2017-01-21 18:05:22 +0900 | [diff] [blame] | 32 | bool "Enable UniPhier sLD8 SoC support" |
Masahiro Yamada | 4131cb6 | 2020-07-09 15:08:13 +0900 | [diff] [blame] | 33 | depends on ARCH_UNIPHIER_V7_MULTI |
| 34 | depends on !SPL || SPL_TEXT_BASE = 0x00040000 |
Masahiro Yamada | 89c0b15 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 35 | default y |
Masahiro Yamada | 8206943 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 36 | |
Masahiro Yamada | e652435 | 2017-09-15 21:43:20 +0900 | [diff] [blame] | 37 | config ARCH_UNIPHIER_PRO4 |
| 38 | bool "Enable UniPhier Pro4 SoC support" |
| 39 | depends on ARCH_UNIPHIER_V7_MULTI |
Masahiro Yamada | 4131cb6 | 2020-07-09 15:08:13 +0900 | [diff] [blame] | 40 | depends on !SPL || SPL_TEXT_BASE = 0x00100000 |
Masahiro Yamada | e652435 | 2017-09-15 21:43:20 +0900 | [diff] [blame] | 41 | default y |
| 42 | |
Masahiro Yamada | 53c59ae | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 43 | config ARCH_UNIPHIER_PRO5 |
Masahiro Yamada | dabee24 | 2017-01-21 18:05:22 +0900 | [diff] [blame] | 44 | bool "Enable UniPhier Pro5 SoC support" |
Masahiro Yamada | e652435 | 2017-09-15 21:43:20 +0900 | [diff] [blame] | 45 | depends on ARCH_UNIPHIER_V7_MULTI |
Masahiro Yamada | 4131cb6 | 2020-07-09 15:08:13 +0900 | [diff] [blame] | 46 | depends on !SPL || SPL_TEXT_BASE = 0x00100000 |
Masahiro Yamada | 89c0b15 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 47 | default y |
Masahiro Yamada | d5167d5 | 2015-09-22 00:27:40 +0900 | [diff] [blame] | 48 | |
Masahiro Yamada | 53c59ae | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 49 | config ARCH_UNIPHIER_PXS2 |
Masahiro Yamada | dabee24 | 2017-01-21 18:05:22 +0900 | [diff] [blame] | 50 | bool "Enable UniPhier Pxs2 SoC support" |
Masahiro Yamada | e652435 | 2017-09-15 21:43:20 +0900 | [diff] [blame] | 51 | depends on ARCH_UNIPHIER_V7_MULTI |
Masahiro Yamada | 4131cb6 | 2020-07-09 15:08:13 +0900 | [diff] [blame] | 52 | depends on !SPL || SPL_TEXT_BASE = 0x00100000 |
Masahiro Yamada | 89c0b15 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 53 | default y |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 54 | |
Masahiro Yamada | 53c59ae | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 55 | config ARCH_UNIPHIER_LD6B |
Masahiro Yamada | dabee24 | 2017-01-21 18:05:22 +0900 | [diff] [blame] | 56 | bool "Enable UniPhier LD6b SoC support" |
Masahiro Yamada | e652435 | 2017-09-15 21:43:20 +0900 | [diff] [blame] | 57 | depends on ARCH_UNIPHIER_V7_MULTI |
Masahiro Yamada | 4131cb6 | 2020-07-09 15:08:13 +0900 | [diff] [blame] | 58 | depends on !SPL || SPL_TEXT_BASE = 0x00100000 |
Masahiro Yamada | 89c0b15 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 59 | default y |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 60 | |
Masahiro Yamada | dabee24 | 2017-01-21 18:05:22 +0900 | [diff] [blame] | 61 | config ARCH_UNIPHIER_LD11 |
Masahiro Yamada | 3f8e166 | 2017-07-13 20:32:15 +0900 | [diff] [blame] | 62 | bool "Enable UniPhier LD11 SoC support" |
| 63 | depends on ARCH_UNIPHIER_V8_MULTI |
Masahiro Yamada | dabee24 | 2017-01-21 18:05:22 +0900 | [diff] [blame] | 64 | default y |
| 65 | |
| 66 | config ARCH_UNIPHIER_LD20 |
Masahiro Yamada | 3f8e166 | 2017-07-13 20:32:15 +0900 | [diff] [blame] | 67 | bool "Enable UniPhier LD20 SoC support" |
| 68 | depends on ARCH_UNIPHIER_V8_MULTI |
Masahiro Yamada | dabee24 | 2017-01-21 18:05:22 +0900 | [diff] [blame] | 69 | default y |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 70 | select OF_BOARD_SETUP |
Masahiro Yamada | dabee24 | 2017-01-21 18:05:22 +0900 | [diff] [blame] | 71 | |
Masahiro Yamada | 133b126 | 2017-01-21 18:05:31 +0900 | [diff] [blame] | 72 | config ARCH_UNIPHIER_PXS3 |
| 73 | bool "Enable UniPhier PXs3 SoC support" |
| 74 | depends on ARCH_UNIPHIER_V8_MULTI |
| 75 | default y |
| 76 | |
Masahiro Yamada | bf44dde | 2016-08-10 16:08:45 +0900 | [diff] [blame] | 77 | config CACHE_UNIPHIER |
| 78 | bool "Enable the UniPhier L2 cache controller" |
Masahiro Yamada | 4131cb6 | 2020-07-09 15:08:13 +0900 | [diff] [blame] | 79 | depends on ARCH_UNIPHIER_V7_MULTI |
Masahiro Yamada | bf44dde | 2016-08-10 16:08:45 +0900 | [diff] [blame] | 80 | default y |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 81 | select SYS_CACHE_SHIFT_7 |
Masahiro Yamada | bf44dde | 2016-08-10 16:08:45 +0900 | [diff] [blame] | 82 | help |
| 83 | This option allows to use the UniPhier System Cache as L2 cache. |
| 84 | |
Masahiro Yamada | 4903b6d | 2015-09-11 20:17:45 +0900 | [diff] [blame] | 85 | config MICRO_SUPPORT_CARD |
| 86 | bool "Use Micro Support Card" |
Masahiro Yamada | dbdd420 | 2020-07-09 15:08:18 +0900 | [diff] [blame] | 87 | depends on UNIPHIER_SYSTEM_BUS |
Masahiro Yamada | 39c450d | 2014-12-06 00:03:21 +0900 | [diff] [blame] | 88 | help |
Masahiro Yamada | 4903b6d | 2015-09-11 20:17:45 +0900 | [diff] [blame] | 89 | This option provides support for the expansion board, available |
| 90 | on some UniPhier reference boards. |
Masahiro Yamada | 39c450d | 2014-12-06 00:03:21 +0900 | [diff] [blame] | 91 | |
| 92 | Say Y to use the on-board UART, Ether, LED devices. |
| 93 | |
Masahiro Yamada | 4b5e7e3 | 2014-10-20 20:45:22 +0900 | [diff] [blame] | 94 | config CMD_PINMON |
| 95 | bool "Enable boot mode pins monitor command" |
Masahiro Yamada | 4b5e7e3 | 2014-10-20 20:45:22 +0900 | [diff] [blame] | 96 | default y |
| 97 | help |
| 98 | The command "pinmon" shows the state of the boot mode pins. |
| 99 | The boot mode pins are latched when the system reset is deasserted |
| 100 | and determine which device the system should load a boot image from. |
| 101 | |
Masahiro Yamada | 8f899ed | 2014-12-19 20:20:53 +0900 | [diff] [blame] | 102 | config CMD_DDRPHY_DUMP |
| 103 | bool "Enable dump command of DDR PHY parameters" |
Masahiro Yamada | b5a8393 | 2016-10-27 23:47:09 +0900 | [diff] [blame] | 104 | depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || \ |
| 105 | ARCH_UNIPHIER_SLD8 || ARCH_UNIPHIER_LD11 |
Masahiro Yamada | 6e3de88 | 2016-03-18 16:41:47 +0900 | [diff] [blame] | 106 | default y |
Masahiro Yamada | 8f899ed | 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 | bfffa2c | 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 | 53c59ae | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 113 | depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B |
Masahiro Yamada | 6e3de88 | 2016-03-18 16:41:47 +0900 | [diff] [blame] | 114 | default y |
Masahiro Yamada | bfffa2c | 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 | 81087e1 | 2017-10-17 21:19:42 +0900 | [diff] [blame] | 119 | config SYS_SOC |
Masahiro Yamada | 4131cb6 | 2020-07-09 15:08:13 +0900 | [diff] [blame] | 120 | default "uniphier-v7" if ARCH_UNIPHIER_V7_MULTI |
Masahiro Yamada | 563ee4c | 2015-05-29 17:30:01 +0900 | [diff] [blame] | 121 | endif |