blob: 5b6c5ea328be546a581f7b4abb9ff88b1d8ca15c [file] [log] [blame]
Masahiro Yamadac54550b2014-08-31 07:11:00 +09001if ARCH_EXYNOS
2
3choice
Thomas Abrahama99ad392016-04-23 22:18:12 +05304 prompt "EXYNOS architecture type select"
Joe Hershbergerf0699602015-05-12 14:46:23 -05005 optional
Masahiro Yamadac54550b2014-08-31 07:11:00 +09006
Thomas Abrahama99ad392016-04-23 22:18:12 +05307config ARCH_EXYNOS4
8 bool "Exynos4 SoC family"
9 select CPU_V7
Simon Glass7a99a872017-01-23 13:31:20 -070010 select BOARD_EARLY_INIT_F
Thomas Abrahama99ad392016-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 Glass7a99a872017-01-23 13:31:20 -070019 select BOARD_EARLY_INIT_F
Tom Rini5bdd9192017-05-15 12:17:49 -040020 select SHA_HW_ACCEL
Simon Glass027608e2017-05-17 03:25:25 -060021 imply CMD_HASH
Thomas Abrahama99ad392016-04-23 22:18:12 +053022 help
23 Samsung Exynos5 SoC family are based on ARM Cortex-A15 CPU (and
24 Cortex-A7 CPU in big.LITTLE configuration). There are multiple SoCs
25 in this family including Exynos5250, Exynos5420 and Exynos5800.
26
Thomas Abrahamd23cb312016-04-23 22:18:13 +053027config ARCH_EXYNOS7
28 bool "Exynos7 SoC family"
29 select ARM64
Simon Glass7a99a872017-01-23 13:31:20 -070030 select BOARD_EARLY_INIT_F
Thomas Abrahamd23cb312016-04-23 22:18:13 +053031 help
32 Samsung Exynos7 SoC family are based on ARM Cortex-A57 CPU or
33 Cortex-A53 CPU (and some in a big.LITTLE configuration). There are
34 multiple SoCs in this family including Exynos7420.
35
Thomas Abrahama99ad392016-04-23 22:18:12 +053036endchoice
37
38if ARCH_EXYNOS4
39
40choice
41 prompt "EXYNOS4 board select"
42
Masahiro Yamadac54550b2014-08-31 07:11:00 +090043config TARGET_SMDKV310
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090044 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090045 bool "Exynos4210 SMDKV310 board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +090046 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090047
48config TARGET_TRATS
49 bool "Exynos4210 Trats board"
50
51config TARGET_S5PC210_UNIVERSAL
52 bool "EXYNOS4210 Universal C210 board"
53
54config TARGET_ORIGEN
55 bool "Exynos4412 Origen board"
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090056 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090057
58config TARGET_TRATS2
59 bool "Exynos4412 Trat2 board"
60
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +020061config TARGET_ODROID
62 bool "Exynos4412 Odroid board"
63
Thomas Abrahama99ad392016-04-23 22:18:12 +053064endchoice
65endif
66
67if ARCH_EXYNOS5
68
Simon Glass0bdfc3e2016-09-12 23:18:39 -060069config SPL_GPIO_SUPPORT
70 default y
71
Simon Glassf2a89462016-09-12 23:18:41 -060072config SPL_LIBCOMMON_SUPPORT
73 default y
74
Simon Glassb16c92c2016-09-12 23:18:43 -060075config SPL_LIBGENERIC_SUPPORT
76 default y
77
Thomas Abrahama99ad392016-04-23 22:18:12 +053078choice
79 prompt "EXYNOS5 board select"
80
Hyungwon Hwang3b6880d2014-12-12 14:45:45 +090081config TARGET_ODROID_XU3
82 bool "Exynos5422 Odroid board"
83 select OF_CONTROL
84
Masahiro Yamadac54550b2014-08-31 07:11:00 +090085config TARGET_ARNDALE
86 bool "Exynos5250 Arndale board"
Tom Rinibacb52c2017-03-07 07:13:42 -050087 select ARM_ERRATA_773022
88 select ARM_ERRATA_774769
Hans de Goede85437352014-11-14 09:34:30 +010089 select CPU_V7_HAS_NONSEC
90 select CPU_V7_HAS_VIRT
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090091 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +090092 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090093
94config TARGET_SMDK5250
95 bool "SMDK5250 board"
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090096 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +090097 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090098
99config TARGET_SNOW
100 bool "Snow board"
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900101 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900102 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900103
Simon Glassb1398362015-08-03 08:19:37 -0600104config TARGET_SPRING
105 bool "Spring board"
106 select SUPPORT_SPL
107 select OF_CONTROL
108 select SPL_DISABLE_OF_CONTROL
109
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900110config TARGET_SMDK5420
111 bool "SMDK5420 board"
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900112 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900113 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900114
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530115config TARGET_PEACH_PI
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900116 bool "Peach Pi board"
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900117 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900118 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900119
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530120config TARGET_PEACH_PIT
121 bool "Peach Pit board"
122 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900123 select OF_CONTROL
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530124
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900125endchoice
Thomas Abrahama99ad392016-04-23 22:18:12 +0530126endif
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900127
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530128if ARCH_EXYNOS7
129
130choice
131 prompt "EXYNOS7 board select"
132
133config TARGET_ESPRESSO7420
134 bool "ESPRESSO7420 board"
135 select ARM64
Thomas Abrahamf1855fc2016-11-16 18:49:16 +0530136 select ARMV8_MULTIENTRY
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530137 select SUPPORT_SPL
138 select OF_CONTROL
139 select SPL_DISABLE_OF_CONTROL
140 select PINCTRL
141 select PINCTRL_EXYNOS7420
142 select CLK_EXYNOS
143
144endchoice
145endif
146
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900147config SYS_SOC
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900148 default "exynos"
149
150source "board/samsung/smdkv310/Kconfig"
151source "board/samsung/trats/Kconfig"
152source "board/samsung/universal_c210/Kconfig"
153source "board/samsung/origen/Kconfig"
154source "board/samsung/trats2/Kconfig"
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +0200155source "board/samsung/odroid/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900156source "board/samsung/arndale/Kconfig"
157source "board/samsung/smdk5250/Kconfig"
158source "board/samsung/smdk5420/Kconfig"
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530159source "board/samsung/espresso7420/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900160
161endif