blob: ed04369cfae386de5f6c65488251d52f19a1f02e [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"
Simon Glass7a99a872017-01-23 13:31:20 -07009 select BOARD_EARLY_INIT_F
Michal Simek7e7ba3b2018-07-23 15:55:15 +020010 select CPU_V7A
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"
Simon Glass7a99a872017-01-23 13:31:20 -070018 select BOARD_EARLY_INIT_F
Michal Simek7e7ba3b2018-07-23 15:55:15 +020019 select CPU_V7A
Tom Rini5bdd9192017-05-15 12:17:49 -040020 select SHA_HW_ACCEL
Simon Glass027608e2017-05-17 03:25:25 -060021 imply CMD_HASH
Michal Simek7e7ba3b2018-07-23 15:55:15 +020022 imply CRC32_VERIFY
Daniel Thompsona9e2c672017-05-19 17:26:58 +010023 imply HASH_VERIFY
Chris Packhamb110e112017-08-28 20:50:46 +120024 imply USB_ETHER_ASIX
Michal Simek7e7ba3b2018-07-23 15:55:15 +020025 imply USB_ETHER_RTL8152
Chris Packhamb110e112017-08-28 20:50:46 +120026 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
49 bool "Exynos4210 SMDKV310 board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +090050 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +020051 select SUPPORT_SPL
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 Yamadacfc2f7d2015-02-24 22:26:21 +090096 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +020097 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090098
99config TARGET_SMDK5250
100 bool "SMDK5250 board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900101 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200102 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900103
104config TARGET_SNOW
105 bool "Snow board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900106 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200107 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900108
Simon Glassb1398362015-08-03 08:19:37 -0600109config TARGET_SPRING
110 bool "Spring board"
Simon Glassb1398362015-08-03 08:19:37 -0600111 select OF_CONTROL
112 select SPL_DISABLE_OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200113 select SUPPORT_SPL
Simon Glassb1398362015-08-03 08:19:37 -0600114
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900115config TARGET_SMDK5420
116 bool "SMDK5420 board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900117 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200118 select SUPPORT_SPL
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 Yamadacfc2f7d2015-02-24 22:26:21 +0900122 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200123 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900124
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530125config TARGET_PEACH_PIT
126 bool "Peach Pit board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900127 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200128 select SUPPORT_SPL
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
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200142 select CLK_EXYNOS
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530143 select OF_CONTROL
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530144 select PINCTRL
145 select PINCTRL_EXYNOS7420
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200146 select SPL_DISABLE_OF_CONTROL
147 select SUPPORT_SPL
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530148
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