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