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