blob: ed04369cfae386de5f6c65488251d52f19a1f02e [file] [log] [blame]
Masahiro Yamada72df68c2014-08-31 07:11:00 +09001if ARCH_EXYNOS
2
3choice
Thomas Abraham36aa8932016-04-23 22:18:12 +05304 prompt "EXYNOS architecture type select"
Joe Hershbergera26cd042015-05-12 14:46:23 -05005 optional
Masahiro Yamada72df68c2014-08-31 07:11:00 +09006
Thomas Abraham36aa8932016-04-23 22:18:12 +05307config ARCH_EXYNOS4
8 bool "Exynos4 SoC family"
Simon Glassa5d67542017-01-23 13:31:20 -07009 select BOARD_EARLY_INIT_F
Michal Simek58008cb2018-07-23 15:55:15 +020010 select CPU_V7A
Thomas Abraham36aa8932016-04-23 22:18:12 +053011 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
16config ARCH_EXYNOS5
17 bool "Exynos5 SoC family"
Simon Glassa5d67542017-01-23 13:31:20 -070018 select BOARD_EARLY_INIT_F
Michal Simek58008cb2018-07-23 15:55:15 +020019 select CPU_V7A
Tom Rini089df182017-05-15 12:17:49 -040020 select SHA_HW_ACCEL
Simon Glass551c3932017-05-17 03:25:25 -060021 imply CMD_HASH
Michal Simek58008cb2018-07-23 15:55:15 +020022 imply CRC32_VERIFY
Daniel Thompson221a9492017-05-19 17:26:58 +010023 imply HASH_VERIFY
Chris Packhamf58ad982017-08-28 20:50:46 +120024 imply USB_ETHER_ASIX
Michal Simek58008cb2018-07-23 15:55:15 +020025 imply USB_ETHER_RTL8152
Chris Packhamf58ad982017-08-28 20:50:46 +120026 imply USB_ETHER_SMSC95XX
Thomas Abraham36aa8932016-04-23 22:18:12 +053027 help
28 Samsung Exynos5 SoC family are based on ARM Cortex-A15 CPU (and
29 Cortex-A7 CPU in big.LITTLE configuration). There are multiple SoCs
30 in this family including Exynos5250, Exynos5420 and Exynos5800.
31
Thomas Abrahame39448e2016-04-23 22:18:13 +053032config ARCH_EXYNOS7
33 bool "Exynos7 SoC family"
34 select ARM64
Simon Glassa5d67542017-01-23 13:31:20 -070035 select BOARD_EARLY_INIT_F
Thomas Abrahame39448e2016-04-23 22:18:13 +053036 help
37 Samsung Exynos7 SoC family are based on ARM Cortex-A57 CPU or
38 Cortex-A53 CPU (and some in a big.LITTLE configuration). There are
39 multiple SoCs in this family including Exynos7420.
40
Thomas Abraham36aa8932016-04-23 22:18:12 +053041endchoice
42
43if ARCH_EXYNOS4
44
45choice
46 prompt "EXYNOS4 board select"
47
Masahiro Yamada72df68c2014-08-31 07:11:00 +090048config TARGET_SMDKV310
49 bool "Exynos4210 SMDKV310 board"
Masahiro Yamadad6489642015-02-24 22:26:21 +090050 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +020051 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +090052
53config TARGET_TRATS
54 bool "Exynos4210 Trats board"
55
56config TARGET_S5PC210_UNIVERSAL
57 bool "EXYNOS4210 Universal C210 board"
58
59config TARGET_ORIGEN
60 bool "Exynos4412 Origen board"
Masahiro Yamada02627352014-10-20 17:45:56 +090061 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +090062
63config TARGET_TRATS2
64 bool "Exynos4412 Trat2 board"
65
Przemyslaw Marczak73eca212014-09-01 13:50:53 +020066config TARGET_ODROID
67 bool "Exynos4412 Odroid board"
68
Thomas Abraham36aa8932016-04-23 22:18:12 +053069endchoice
70endif
71
72if ARCH_EXYNOS5
73
Simon Glass53b5bf32016-09-12 23:18:39 -060074config SPL_GPIO_SUPPORT
75 default y
76
Simon Glass77d2f7f2016-09-12 23:18:41 -060077config SPL_LIBCOMMON_SUPPORT
78 default y
79
Simon Glasscc4288e2016-09-12 23:18:43 -060080config SPL_LIBGENERIC_SUPPORT
81 default y
82
Thomas Abraham36aa8932016-04-23 22:18:12 +053083choice
84 prompt "EXYNOS5 board select"
85
Hyungwon Hwang62076042014-12-12 14:45:45 +090086config TARGET_ODROID_XU3
87 bool "Exynos5422 Odroid board"
88 select OF_CONTROL
89
Masahiro Yamada72df68c2014-08-31 07:11:00 +090090config TARGET_ARNDALE
91 bool "Exynos5250 Arndale board"
Tom Rini8dda2e22017-03-07 07:13:42 -050092 select ARM_ERRATA_773022
93 select ARM_ERRATA_774769
Hans de Goedeea624e12014-11-14 09:34:30 +010094 select CPU_V7_HAS_NONSEC
95 select CPU_V7_HAS_VIRT
Masahiro Yamadad6489642015-02-24 22:26:21 +090096 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +020097 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +090098
99config TARGET_SMDK5250
100 bool "SMDK5250 board"
Masahiro Yamadad6489642015-02-24 22:26:21 +0900101 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200102 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900103
104config TARGET_SNOW
105 bool "Snow board"
Masahiro Yamadad6489642015-02-24 22:26:21 +0900106 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200107 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900108
Simon Glassd1de41d2015-08-03 08:19:37 -0600109config TARGET_SPRING
110 bool "Spring board"
Simon Glassd1de41d2015-08-03 08:19:37 -0600111 select OF_CONTROL
112 select SPL_DISABLE_OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200113 select SUPPORT_SPL
Simon Glassd1de41d2015-08-03 08:19:37 -0600114
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900115config TARGET_SMDK5420
116 bool "SMDK5420 board"
Masahiro Yamadad6489642015-02-24 22:26:21 +0900117 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200118 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900119
Akshay Saraswat79043d82014-11-13 22:38:17 +0530120config TARGET_PEACH_PI
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900121 bool "Peach Pi board"
Masahiro Yamadad6489642015-02-24 22:26:21 +0900122 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200123 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900124
Akshay Saraswat79043d82014-11-13 22:38:17 +0530125config TARGET_PEACH_PIT
126 bool "Peach Pit board"
Masahiro Yamadad6489642015-02-24 22:26:21 +0900127 select OF_CONTROL
Michal Simek58008cb2018-07-23 15:55:15 +0200128 select SUPPORT_SPL
Akshay Saraswat79043d82014-11-13 22:38:17 +0530129
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900130endchoice
Thomas Abraham36aa8932016-04-23 22:18:12 +0530131endif
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900132
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530133if ARCH_EXYNOS7
134
135choice
136 prompt "EXYNOS7 board select"
137
138config TARGET_ESPRESSO7420
139 bool "ESPRESSO7420 board"
140 select ARM64
Thomas Abraham95e74a32016-11-16 18:49:16 +0530141 select ARMV8_MULTIENTRY
Michal Simek58008cb2018-07-23 15:55:15 +0200142 select CLK_EXYNOS
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530143 select OF_CONTROL
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530144 select PINCTRL
145 select PINCTRL_EXYNOS7420
Michal Simek58008cb2018-07-23 15:55:15 +0200146 select SPL_DISABLE_OF_CONTROL
147 select SUPPORT_SPL
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530148
149endchoice
150endif
151
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900152config SYS_SOC
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900153 default "exynos"
154
155source "board/samsung/smdkv310/Kconfig"
156source "board/samsung/trats/Kconfig"
157source "board/samsung/universal_c210/Kconfig"
158source "board/samsung/origen/Kconfig"
159source "board/samsung/trats2/Kconfig"
Przemyslaw Marczak73eca212014-09-01 13:50:53 +0200160source "board/samsung/odroid/Kconfig"
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900161source "board/samsung/arndale/Kconfig"
162source "board/samsung/smdk5250/Kconfig"
163source "board/samsung/smdk5420/Kconfig"
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530164source "board/samsung/espresso7420/Kconfig"
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900165
Philipp Tomsichb5299932017-08-03 23:23:55 +0200166config SPL_LDSCRIPT
167 default "board/samsung/common/exynos-uboot-spl.lds" if ARCH_EXYNOS5 || ARCH_EXYNOS4
168
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900169endif