Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 1 | if ARCH_EXYNOS |
| 2 | |
| 3 | choice |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 4 | prompt "EXYNOS architecture type select" |
Joe Hershberger | f069960 | 2015-05-12 14:46:23 -0500 | [diff] [blame] | 5 | optional |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 6 | |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 7 | config ARCH_EXYNOS4 |
| 8 | bool "Exynos4 SoC family" |
| 9 | select CPU_V7 |
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 10 | select BOARD_EARLY_INIT_F |
Simon Glass | 73c18b4 | 2017-07-23 21:19:39 -0600 | [diff] [blame] | 11 | imply ENV_IS_IN_MMC |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 12 | help |
| 13 | Samsung Exynos4 SoC family are based on ARM Cortex-A9 CPU. There |
| 14 | are multiple SoCs in this family including Exynos4210, Exynos4412, |
| 15 | and Exynos4212. |
| 16 | |
| 17 | config ARCH_EXYNOS5 |
| 18 | bool "Exynos5 SoC family" |
| 19 | select CPU_V7 |
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 20 | select BOARD_EARLY_INIT_F |
Tom Rini | 5bdd919 | 2017-05-15 12:17:49 -0400 | [diff] [blame] | 21 | select SHA_HW_ACCEL |
Daniel Thompson | a9e2c67 | 2017-05-19 17:26:58 +0100 | [diff] [blame] | 22 | imply CRC32_VERIFY |
Simon Glass | 027608e | 2017-05-17 03:25:25 -0600 | [diff] [blame] | 23 | imply CMD_HASH |
Daniel Thompson | a9e2c67 | 2017-05-19 17:26:58 +0100 | [diff] [blame] | 24 | imply HASH_VERIFY |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 25 | help |
| 26 | Samsung Exynos5 SoC family are based on ARM Cortex-A15 CPU (and |
| 27 | Cortex-A7 CPU in big.LITTLE configuration). There are multiple SoCs |
| 28 | in this family including Exynos5250, Exynos5420 and Exynos5800. |
| 29 | |
Thomas Abraham | d23cb31 | 2016-04-23 22:18:13 +0530 | [diff] [blame] | 30 | config ARCH_EXYNOS7 |
| 31 | bool "Exynos7 SoC family" |
| 32 | select ARM64 |
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 33 | select BOARD_EARLY_INIT_F |
Thomas Abraham | d23cb31 | 2016-04-23 22:18:13 +0530 | [diff] [blame] | 34 | help |
| 35 | Samsung Exynos7 SoC family are based on ARM Cortex-A57 CPU or |
| 36 | Cortex-A53 CPU (and some in a big.LITTLE configuration). There are |
| 37 | multiple SoCs in this family including Exynos7420. |
| 38 | |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 39 | endchoice |
| 40 | |
| 41 | if ARCH_EXYNOS4 |
| 42 | |
| 43 | choice |
| 44 | prompt "EXYNOS4 board select" |
| 45 | |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 46 | config TARGET_SMDKV310 |
Masahiro Yamada | 6e0971b | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 47 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 48 | bool "Exynos4210 SMDKV310 board" |
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 49 | select OF_CONTROL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 50 | |
| 51 | config TARGET_TRATS |
| 52 | bool "Exynos4210 Trats board" |
| 53 | |
| 54 | config TARGET_S5PC210_UNIVERSAL |
| 55 | bool "EXYNOS4210 Universal C210 board" |
| 56 | |
| 57 | config TARGET_ORIGEN |
| 58 | bool "Exynos4412 Origen board" |
Masahiro Yamada | 6e0971b | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 59 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 60 | |
| 61 | config TARGET_TRATS2 |
| 62 | bool "Exynos4412 Trat2 board" |
| 63 | |
Przemyslaw Marczak | a314d9e | 2014-09-01 13:50:53 +0200 | [diff] [blame] | 64 | config TARGET_ODROID |
| 65 | bool "Exynos4412 Odroid board" |
| 66 | |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 67 | endchoice |
| 68 | endif |
| 69 | |
| 70 | if ARCH_EXYNOS5 |
| 71 | |
Simon Glass | 0bdfc3e | 2016-09-12 23:18:39 -0600 | [diff] [blame] | 72 | config SPL_GPIO_SUPPORT |
| 73 | default y |
| 74 | |
Simon Glass | f2a8946 | 2016-09-12 23:18:41 -0600 | [diff] [blame] | 75 | config SPL_LIBCOMMON_SUPPORT |
| 76 | default y |
| 77 | |
Simon Glass | b16c92c | 2016-09-12 23:18:43 -0600 | [diff] [blame] | 78 | config SPL_LIBGENERIC_SUPPORT |
| 79 | default y |
| 80 | |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 81 | choice |
| 82 | prompt "EXYNOS5 board select" |
| 83 | |
Hyungwon Hwang | 3b6880d | 2014-12-12 14:45:45 +0900 | [diff] [blame] | 84 | config TARGET_ODROID_XU3 |
| 85 | bool "Exynos5422 Odroid board" |
| 86 | select OF_CONTROL |
| 87 | |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 88 | config TARGET_ARNDALE |
| 89 | bool "Exynos5250 Arndale board" |
Tom Rini | bacb52c | 2017-03-07 07:13:42 -0500 | [diff] [blame] | 90 | select ARM_ERRATA_773022 |
| 91 | select ARM_ERRATA_774769 |
Hans de Goede | 8543735 | 2014-11-14 09:34:30 +0100 | [diff] [blame] | 92 | select CPU_V7_HAS_NONSEC |
| 93 | select CPU_V7_HAS_VIRT |
Masahiro Yamada | 6e0971b | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 94 | select SUPPORT_SPL |
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 95 | select OF_CONTROL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 96 | |
| 97 | config TARGET_SMDK5250 |
| 98 | bool "SMDK5250 board" |
Masahiro Yamada | 6e0971b | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 99 | select SUPPORT_SPL |
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 100 | select OF_CONTROL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 101 | |
| 102 | config TARGET_SNOW |
| 103 | bool "Snow board" |
Masahiro Yamada | 6e0971b | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 104 | select SUPPORT_SPL |
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 105 | select OF_CONTROL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 106 | |
Simon Glass | b139836 | 2015-08-03 08:19:37 -0600 | [diff] [blame] | 107 | config TARGET_SPRING |
| 108 | bool "Spring board" |
| 109 | select SUPPORT_SPL |
| 110 | select OF_CONTROL |
| 111 | select SPL_DISABLE_OF_CONTROL |
| 112 | |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 113 | config TARGET_SMDK5420 |
| 114 | bool "SMDK5420 board" |
Masahiro Yamada | 6e0971b | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 115 | select SUPPORT_SPL |
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 116 | select OF_CONTROL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 117 | |
Akshay Saraswat | 62c2f9f | 2014-11-13 22:38:17 +0530 | [diff] [blame] | 118 | config TARGET_PEACH_PI |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 119 | bool "Peach Pi board" |
Masahiro Yamada | 6e0971b | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 120 | select SUPPORT_SPL |
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 121 | select OF_CONTROL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 122 | |
Akshay Saraswat | 62c2f9f | 2014-11-13 22:38:17 +0530 | [diff] [blame] | 123 | config TARGET_PEACH_PIT |
| 124 | bool "Peach Pit board" |
| 125 | select SUPPORT_SPL |
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 126 | select OF_CONTROL |
Akshay Saraswat | 62c2f9f | 2014-11-13 22:38:17 +0530 | [diff] [blame] | 127 | |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 128 | endchoice |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 129 | endif |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 130 | |
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 131 | if ARCH_EXYNOS7 |
| 132 | |
| 133 | choice |
| 134 | prompt "EXYNOS7 board select" |
| 135 | |
| 136 | config TARGET_ESPRESSO7420 |
| 137 | bool "ESPRESSO7420 board" |
| 138 | select ARM64 |
Thomas Abraham | f1855fc | 2016-11-16 18:49:16 +0530 | [diff] [blame] | 139 | select ARMV8_MULTIENTRY |
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 140 | select SUPPORT_SPL |
| 141 | select OF_CONTROL |
| 142 | select SPL_DISABLE_OF_CONTROL |
| 143 | select PINCTRL |
| 144 | select PINCTRL_EXYNOS7420 |
| 145 | select CLK_EXYNOS |
| 146 | |
| 147 | endchoice |
| 148 | endif |
| 149 | |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 150 | config SYS_SOC |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 151 | default "exynos" |
| 152 | |
| 153 | source "board/samsung/smdkv310/Kconfig" |
| 154 | source "board/samsung/trats/Kconfig" |
| 155 | source "board/samsung/universal_c210/Kconfig" |
| 156 | source "board/samsung/origen/Kconfig" |
| 157 | source "board/samsung/trats2/Kconfig" |
Przemyslaw Marczak | a314d9e | 2014-09-01 13:50:53 +0200 | [diff] [blame] | 158 | source "board/samsung/odroid/Kconfig" |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 159 | source "board/samsung/arndale/Kconfig" |
| 160 | source "board/samsung/smdk5250/Kconfig" |
| 161 | source "board/samsung/smdk5420/Kconfig" |
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 162 | source "board/samsung/espresso7420/Kconfig" |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 163 | |
| 164 | endif |