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