blob: 2fb84f9453df9349ac1bf77f5a24c4b017d645ff [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"
9 select CPU_V7
Simon Glassa5d67542017-01-23 13:31:20 -070010 select BOARD_EARLY_INIT_F
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"
18 select CPU_V7
Simon Glassa5d67542017-01-23 13:31:20 -070019 select BOARD_EARLY_INIT_F
Tom Rini089df182017-05-15 12:17:49 -040020 select SHA_HW_ACCEL
Daniel Thompson221a9492017-05-19 17:26:58 +010021 imply CRC32_VERIFY
Simon Glass551c3932017-05-17 03:25:25 -060022 imply CMD_HASH
Daniel Thompson221a9492017-05-19 17:26:58 +010023 imply HASH_VERIFY
Thomas Abraham36aa8932016-04-23 22:18:12 +053024 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 Abrahame39448e2016-04-23 22:18:13 +053029config ARCH_EXYNOS7
30 bool "Exynos7 SoC family"
31 select ARM64
Simon Glassa5d67542017-01-23 13:31:20 -070032 select BOARD_EARLY_INIT_F
Thomas Abrahame39448e2016-04-23 22:18:13 +053033 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 Abraham36aa8932016-04-23 22:18:12 +053038endchoice
39
40if ARCH_EXYNOS4
41
42choice
43 prompt "EXYNOS4 board select"
44
Masahiro Yamada72df68c2014-08-31 07:11:00 +090045config TARGET_SMDKV310
Masahiro Yamada02627352014-10-20 17:45:56 +090046 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +090047 bool "Exynos4210 SMDKV310 board"
Masahiro Yamadad6489642015-02-24 22:26:21 +090048 select OF_CONTROL
Masahiro Yamada72df68c2014-08-31 07:11:00 +090049
50config TARGET_TRATS
51 bool "Exynos4210 Trats board"
52
53config TARGET_S5PC210_UNIVERSAL
54 bool "EXYNOS4210 Universal C210 board"
55
56config TARGET_ORIGEN
57 bool "Exynos4412 Origen board"
Masahiro Yamada02627352014-10-20 17:45:56 +090058 select SUPPORT_SPL
Masahiro Yamada72df68c2014-08-31 07:11:00 +090059
60config TARGET_TRATS2
61 bool "Exynos4412 Trat2 board"
62
Przemyslaw Marczak73eca212014-09-01 13:50:53 +020063config TARGET_ODROID
64 bool "Exynos4412 Odroid board"
65
Thomas Abraham36aa8932016-04-23 22:18:12 +053066endchoice
67endif
68
69if ARCH_EXYNOS5
70
Simon Glass53b5bf32016-09-12 23:18:39 -060071config SPL_GPIO_SUPPORT
72 default y
73
Simon Glass77d2f7f2016-09-12 23:18:41 -060074config SPL_LIBCOMMON_SUPPORT
75 default y
76
Simon Glasscc4288e2016-09-12 23:18:43 -060077config SPL_LIBGENERIC_SUPPORT
78 default y
79
Thomas Abraham36aa8932016-04-23 22:18:12 +053080choice
81 prompt "EXYNOS5 board select"
82
Hyungwon Hwang62076042014-12-12 14:45:45 +090083config TARGET_ODROID_XU3
84 bool "Exynos5422 Odroid board"
85 select OF_CONTROL
86
Masahiro Yamada72df68c2014-08-31 07:11:00 +090087config TARGET_ARNDALE
88 bool "Exynos5250 Arndale board"
Tom Rini8dda2e22017-03-07 07:13:42 -050089 select ARM_ERRATA_773022
90 select ARM_ERRATA_774769
Hans de Goedeea624e12014-11-14 09:34:30 +010091 select CPU_V7_HAS_NONSEC
92 select CPU_V7_HAS_VIRT
Masahiro Yamada02627352014-10-20 17:45:56 +090093 select SUPPORT_SPL
Masahiro Yamadad6489642015-02-24 22:26:21 +090094 select OF_CONTROL
Masahiro Yamada72df68c2014-08-31 07:11:00 +090095
96config TARGET_SMDK5250
97 bool "SMDK5250 board"
Masahiro Yamada02627352014-10-20 17:45:56 +090098 select SUPPORT_SPL
Masahiro Yamadad6489642015-02-24 22:26:21 +090099 select OF_CONTROL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900100
101config TARGET_SNOW
102 bool "Snow board"
Masahiro Yamada02627352014-10-20 17:45:56 +0900103 select SUPPORT_SPL
Masahiro Yamadad6489642015-02-24 22:26:21 +0900104 select OF_CONTROL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900105
Simon Glassd1de41d2015-08-03 08:19:37 -0600106config TARGET_SPRING
107 bool "Spring board"
108 select SUPPORT_SPL
109 select OF_CONTROL
110 select SPL_DISABLE_OF_CONTROL
111
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900112config TARGET_SMDK5420
113 bool "SMDK5420 board"
Masahiro Yamada02627352014-10-20 17:45:56 +0900114 select SUPPORT_SPL
Masahiro Yamadad6489642015-02-24 22:26:21 +0900115 select OF_CONTROL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900116
Akshay Saraswat79043d82014-11-13 22:38:17 +0530117config TARGET_PEACH_PI
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900118 bool "Peach Pi board"
Masahiro Yamada02627352014-10-20 17:45:56 +0900119 select SUPPORT_SPL
Masahiro Yamadad6489642015-02-24 22:26:21 +0900120 select OF_CONTROL
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900121
Akshay Saraswat79043d82014-11-13 22:38:17 +0530122config TARGET_PEACH_PIT
123 bool "Peach Pit board"
124 select SUPPORT_SPL
Masahiro Yamadad6489642015-02-24 22:26:21 +0900125 select OF_CONTROL
Akshay Saraswat79043d82014-11-13 22:38:17 +0530126
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900127endchoice
Thomas Abraham36aa8932016-04-23 22:18:12 +0530128endif
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900129
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530130if ARCH_EXYNOS7
131
132choice
133 prompt "EXYNOS7 board select"
134
135config TARGET_ESPRESSO7420
136 bool "ESPRESSO7420 board"
137 select ARM64
Thomas Abraham95e74a32016-11-16 18:49:16 +0530138 select ARMV8_MULTIENTRY
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530139 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
146endchoice
147endif
148
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900149config SYS_SOC
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900150 default "exynos"
151
152source "board/samsung/smdkv310/Kconfig"
153source "board/samsung/trats/Kconfig"
154source "board/samsung/universal_c210/Kconfig"
155source "board/samsung/origen/Kconfig"
156source "board/samsung/trats2/Kconfig"
Przemyslaw Marczak73eca212014-09-01 13:50:53 +0200157source "board/samsung/odroid/Kconfig"
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900158source "board/samsung/arndale/Kconfig"
159source "board/samsung/smdk5250/Kconfig"
160source "board/samsung/smdk5420/Kconfig"
Thomas Abraham6c15a2a2016-04-23 22:18:14 +0530161source "board/samsung/espresso7420/Kconfig"
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900162
Philipp Tomsichb5299932017-08-03 23:23:55 +0200163config SPL_LDSCRIPT
164 default "board/samsung/common/exynos-uboot-spl.lds" if ARCH_EXYNOS5 || ARCH_EXYNOS4
165
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900166endif