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 | 74b79f8 | 2016-06-17 19:24:27 +0900 | [diff] [blame] | 6 | config ARCH_UNIPHIER_32BIT |
| 7 | bool |
| 8 | select CPU_V7 |
Masahiro Yamada | 0ae5c5a | 2016-08-10 16:08:49 +0900 | [diff] [blame^] | 9 | select CPU_V7_HAS_NONSEC |
| 10 | select ARMV7_NONSEC |
Masahiro Yamada | 74b79f8 | 2016-06-17 19:24:27 +0900 | [diff] [blame] | 11 | |
| 12 | config ARCH_UNIPHIER_64BIT |
| 13 | bool |
| 14 | select ARM64 |
| 15 | select SPL_SEPARATE_BSS |
Masahiro Yamada | 3a0850d | 2016-06-17 19:24:28 +0900 | [diff] [blame] | 16 | select ARMV8_MULTIENTRY |
Masahiro Yamada | c267581 | 2016-07-17 01:38:21 +0900 | [diff] [blame] | 17 | select ARMV8_SPIN_TABLE |
Masahiro Yamada | 74b79f8 | 2016-06-17 19:24:27 +0900 | [diff] [blame] | 18 | |
Masahiro Yamada | 89c0b15 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 19 | choice |
| 20 | prompt "UniPhier SoC select" |
Masahiro Yamada | 53c59ae | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 21 | default ARCH_UNIPHIER_PRO4 |
Masahiro Yamada | 89c0b15 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 22 | |
Masahiro Yamada | 53c59ae | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 23 | config ARCH_UNIPHIER_SLD3 |
Masahiro Yamada | 75f16f8 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 24 | bool "UniPhier PH1-sLD3 SoC" |
Masahiro Yamada | 74b79f8 | 2016-06-17 19:24:27 +0900 | [diff] [blame] | 25 | select ARCH_UNIPHIER_32BIT |
Masahiro Yamada | 8206943 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 26 | |
Masahiro Yamada | 89c0b15 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 27 | config ARCH_UNIPHIER_LD4_SLD8 |
| 28 | bool "UniPhier PH1-LD4/PH1-sLD8 SoC" |
Masahiro Yamada | 74b79f8 | 2016-06-17 19:24:27 +0900 | [diff] [blame] | 29 | select ARCH_UNIPHIER_32BIT |
Masahiro Yamada | 8206943 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 30 | |
Masahiro Yamada | 53c59ae | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 31 | config ARCH_UNIPHIER_PRO4 |
Masahiro Yamada | 75f16f8 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 32 | bool "UniPhier PH1-Pro4 SoC" |
Masahiro Yamada | 74b79f8 | 2016-06-17 19:24:27 +0900 | [diff] [blame] | 33 | select ARCH_UNIPHIER_32BIT |
Masahiro Yamada | 89c0b15 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 34 | |
| 35 | config ARCH_UNIPHIER_PRO5_PXS2_LD6B |
| 36 | bool "UniPhier PH1-Pro5/ProXstream2/PH1-LD6b SoC" |
Masahiro Yamada | 74b79f8 | 2016-06-17 19:24:27 +0900 | [diff] [blame] | 37 | select ARCH_UNIPHIER_32BIT |
Masahiro Yamada | 89c0b15 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 38 | |
Masahiro Yamada | 8bbbcbd | 2016-05-24 21:14:01 +0900 | [diff] [blame] | 39 | config ARCH_UNIPHIER_LD11 |
| 40 | bool "UniPhier PH1-LD11 SoC" |
Masahiro Yamada | 74b79f8 | 2016-06-17 19:24:27 +0900 | [diff] [blame] | 41 | select ARCH_UNIPHIER_64BIT |
Masahiro Yamada | 8bbbcbd | 2016-05-24 21:14:01 +0900 | [diff] [blame] | 42 | |
Masahiro Yamada | 063eb1e | 2016-04-21 14:43:18 +0900 | [diff] [blame] | 43 | config ARCH_UNIPHIER_LD20 |
| 44 | bool "UniPhier PH1-LD20 SoC" |
Masahiro Yamada | 74b79f8 | 2016-06-17 19:24:27 +0900 | [diff] [blame] | 45 | select ARCH_UNIPHIER_64BIT |
Masahiro Yamada | 460483c | 2016-06-17 19:24:29 +0900 | [diff] [blame] | 46 | select OF_BOARD_SETUP |
Masahiro Yamada | 063eb1e | 2016-04-21 14:43:18 +0900 | [diff] [blame] | 47 | |
Masahiro Yamada | 89c0b15 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 48 | endchoice |
| 49 | |
Masahiro Yamada | 53c59ae | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 50 | config ARCH_UNIPHIER_LD4 |
Masahiro Yamada | 89c0b15 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 51 | bool "Enable UniPhier PH1-LD4 SoC support" |
| 52 | depends on ARCH_UNIPHIER_LD4_SLD8 |
| 53 | default y |
Masahiro Yamada | fa71441 | 2015-07-21 14:04:22 +0900 | [diff] [blame] | 54 | |
Masahiro Yamada | 53c59ae | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 55 | config ARCH_UNIPHIER_SLD8 |
Masahiro Yamada | 89c0b15 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 56 | bool "Enable UniPhier PH1-sLD8 SoC support" |
| 57 | depends on ARCH_UNIPHIER_LD4_SLD8 |
| 58 | default y |
Masahiro Yamada | 8206943 | 2014-10-03 19:21:07 +0900 | [diff] [blame] | 59 | |
Masahiro Yamada | 53c59ae | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 60 | config ARCH_UNIPHIER_PRO5 |
Masahiro Yamada | 89c0b15 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 61 | bool "Enable UniPhier PH1-Pro5 SoC support" |
| 62 | depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B |
| 63 | default y |
Masahiro Yamada | d5167d5 | 2015-09-22 00:27:40 +0900 | [diff] [blame] | 64 | |
Masahiro Yamada | 53c59ae | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 65 | config ARCH_UNIPHIER_PXS2 |
Masahiro Yamada | 89c0b15 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 66 | bool "Enable UniPhier ProXstream2 SoC support" |
| 67 | depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B |
| 68 | default y |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 69 | |
Masahiro Yamada | 53c59ae | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 70 | config ARCH_UNIPHIER_LD6B |
Masahiro Yamada | 89c0b15 | 2016-02-26 18:59:42 +0900 | [diff] [blame] | 71 | bool "Enable UniPhier PH1-LD6b SoC support" |
| 72 | depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B |
| 73 | default y |
Masahiro Yamada | 1fe65d3 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 74 | |
Masahiro Yamada | bf44dde | 2016-08-10 16:08:45 +0900 | [diff] [blame] | 75 | config CACHE_UNIPHIER |
| 76 | bool "Enable the UniPhier L2 cache controller" |
| 77 | depends on ARCH_UNIPHIER_32BIT |
| 78 | default y |
| 79 | help |
| 80 | This option allows to use the UniPhier System Cache as L2 cache. |
| 81 | |
Masahiro Yamada | 4903b6d | 2015-09-11 20:17:45 +0900 | [diff] [blame] | 82 | config MICRO_SUPPORT_CARD |
| 83 | bool "Use Micro Support Card" |
Masahiro Yamada | 39c450d | 2014-12-06 00:03:21 +0900 | [diff] [blame] | 84 | help |
Masahiro Yamada | 4903b6d | 2015-09-11 20:17:45 +0900 | [diff] [blame] | 85 | This option provides support for the expansion board, available |
| 86 | on some UniPhier reference boards. |
Masahiro Yamada | 39c450d | 2014-12-06 00:03:21 +0900 | [diff] [blame] | 87 | |
| 88 | Say Y to use the on-board UART, Ether, LED devices. |
| 89 | |
Masahiro Yamada | 4b5e7e3 | 2014-10-20 20:45:22 +0900 | [diff] [blame] | 90 | config CMD_PINMON |
| 91 | bool "Enable boot mode pins monitor command" |
Masahiro Yamada | 4b5e7e3 | 2014-10-20 20:45:22 +0900 | [diff] [blame] | 92 | default y |
| 93 | help |
| 94 | The command "pinmon" shows the state of the boot mode pins. |
| 95 | The boot mode pins are latched when the system reset is deasserted |
| 96 | and determine which device the system should load a boot image from. |
| 97 | |
Masahiro Yamada | 8f899ed | 2014-12-19 20:20:53 +0900 | [diff] [blame] | 98 | config CMD_DDRPHY_DUMP |
| 99 | bool "Enable dump command of DDR PHY parameters" |
Masahiro Yamada | 53c59ae | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 100 | depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || ARCH_UNIPHIER_SLD8 |
Masahiro Yamada | 6e3de88 | 2016-03-18 16:41:47 +0900 | [diff] [blame] | 101 | default y |
Masahiro Yamada | 8f899ed | 2014-12-19 20:20:53 +0900 | [diff] [blame] | 102 | help |
| 103 | The command "ddrphy" shows the resulting parameters of DDR PHY |
| 104 | training; it is useful for the evaluation of DDR PHY training. |
| 105 | |
Masahiro Yamada | bfffa2c | 2016-01-09 01:51:15 +0900 | [diff] [blame] | 106 | config CMD_DDRMPHY_DUMP |
| 107 | bool "Enable dump command of DDR Multi PHY parameters" |
Masahiro Yamada | 53c59ae | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 108 | depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B |
Masahiro Yamada | 6e3de88 | 2016-03-18 16:41:47 +0900 | [diff] [blame] | 109 | default y |
Masahiro Yamada | bfffa2c | 2016-01-09 01:51:15 +0900 | [diff] [blame] | 110 | help |
| 111 | The command "ddrmphy" shows the resulting parameters of DDR Multi PHY |
| 112 | training; it is useful for the evaluation of DDR Multi PHY training. |
| 113 | |
Masahiro Yamada | 563ee4c | 2015-05-29 17:30:01 +0900 | [diff] [blame] | 114 | endif |