blob: 5ac047d89228ba98b1f0779035bc40f8236d169d [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
Daniel Thompsona9e2c672017-05-19 17:26:58 +010021 imply CRC32_VERIFY
Simon Glass027608e2017-05-17 03:25:25 -060022 imply CMD_HASH
Daniel Thompsona9e2c672017-05-19 17:26:58 +010023 imply HASH_VERIFY
Chris Packhamb110e112017-08-28 20:50:46 +120024 imply USB_ETHER_RTL8152
25 imply USB_ETHER_ASIX
26 imply USB_ETHER_SMSC95XX
Thomas Abrahama99ad392016-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 Abrahamd23cb312016-04-23 22:18:13 +053032config ARCH_EXYNOS7
33 bool "Exynos7 SoC family"
34 select ARM64
Simon Glass7a99a872017-01-23 13:31:20 -070035 select BOARD_EARLY_INIT_F
Thomas Abrahamd23cb312016-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 Abrahama99ad392016-04-23 22:18:12 +053041endchoice
42
43if ARCH_EXYNOS4
44
45choice
46 prompt "EXYNOS4 board select"
47
Masahiro Yamadac54550b2014-08-31 07:11:00 +090048config TARGET_SMDKV310
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090049 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090050 bool "Exynos4210 SMDKV310 board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +090051 select OF_CONTROL
Masahiro Yamadac54550b2014-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 Yamada6e0971b2014-10-20 17:45:56 +090061 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090062
63config TARGET_TRATS2
64 bool "Exynos4412 Trat2 board"
65
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +020066config TARGET_ODROID
67 bool "Exynos4412 Odroid board"
68
Thomas Abrahama99ad392016-04-23 22:18:12 +053069endchoice
70endif
71
72if ARCH_EXYNOS5
73
Simon Glass0bdfc3e2016-09-12 23:18:39 -060074config SPL_GPIO_SUPPORT
75 default y
76
Simon Glassf2a89462016-09-12 23:18:41 -060077config SPL_LIBCOMMON_SUPPORT
78 default y
79
Simon Glassb16c92c2016-09-12 23:18:43 -060080config SPL_LIBGENERIC_SUPPORT
81 default y
82
Thomas Abrahama99ad392016-04-23 22:18:12 +053083choice
84 prompt "EXYNOS5 board select"
85
Hyungwon Hwang3b6880d2014-12-12 14:45:45 +090086config TARGET_ODROID_XU3
87 bool "Exynos5422 Odroid board"
88 select OF_CONTROL
89
Masahiro Yamadac54550b2014-08-31 07:11:00 +090090config TARGET_ARNDALE
91 bool "Exynos5250 Arndale board"
Tom Rinibacb52c2017-03-07 07:13:42 -050092 select ARM_ERRATA_773022
93 select ARM_ERRATA_774769
Hans de Goede85437352014-11-14 09:34:30 +010094 select CPU_V7_HAS_NONSEC
95 select CPU_V7_HAS_VIRT
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_SMDK5250
100 bool "SMDK5250 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
104config TARGET_SNOW
105 bool "Snow board"
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900106 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900107 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900108
Simon Glassb1398362015-08-03 08:19:37 -0600109config TARGET_SPRING
110 bool "Spring board"
111 select SUPPORT_SPL
112 select OF_CONTROL
113 select SPL_DISABLE_OF_CONTROL
114
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900115config TARGET_SMDK5420
116 bool "SMDK5420 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_PI
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900121 bool "Peach Pi board"
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900122 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900123 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900124
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530125config TARGET_PEACH_PIT
126 bool "Peach Pit board"
127 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900128 select OF_CONTROL
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530129
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900130endchoice
Thomas Abrahama99ad392016-04-23 22:18:12 +0530131endif
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900132
Thomas Abraham8d84faa2016-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 Abrahamf1855fc2016-11-16 18:49:16 +0530141 select ARMV8_MULTIENTRY
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530142 select SUPPORT_SPL
143 select OF_CONTROL
144 select SPL_DISABLE_OF_CONTROL
145 select PINCTRL
146 select PINCTRL_EXYNOS7420
147 select CLK_EXYNOS
148
149endchoice
150endif
151
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900152config SYS_SOC
Masahiro Yamadac54550b2014-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 Marczaka314d9e2014-09-01 13:50:53 +0200160source "board/samsung/odroid/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900161source "board/samsung/arndale/Kconfig"
162source "board/samsung/smdk5250/Kconfig"
163source "board/samsung/smdk5420/Kconfig"
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530164source "board/samsung/espresso7420/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900165
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200166config SPL_LDSCRIPT
167 default "board/samsung/common/exynos-uboot-spl.lds" if ARCH_EXYNOS5 || ARCH_EXYNOS4
168
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900169endif