blob: d1aa68db20def848a092d37c7ee779694867de84 [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
Simon Glass73c18b42017-07-23 21:19:39 -060011 imply ENV_IS_IN_MMC
Thomas Abrahama99ad392016-04-23 22:18:12 +053012 help
13 Samsung Exynos4 SoC family are based on ARM Cortex-A9 CPU. There
14 are multiple SoCs in this family including Exynos4210, Exynos4412,
15 and Exynos4212.
16
17config ARCH_EXYNOS5
18 bool "Exynos5 SoC family"
19 select CPU_V7
Simon Glass7a99a872017-01-23 13:31:20 -070020 select BOARD_EARLY_INIT_F
Tom Rini5bdd9192017-05-15 12:17:49 -040021 select SHA_HW_ACCEL
Daniel Thompsona9e2c672017-05-19 17:26:58 +010022 imply CRC32_VERIFY
Simon Glass027608e2017-05-17 03:25:25 -060023 imply CMD_HASH
Daniel Thompsona9e2c672017-05-19 17:26:58 +010024 imply HASH_VERIFY
Thomas Abrahama99ad392016-04-23 22:18:12 +053025 help
26 Samsung Exynos5 SoC family are based on ARM Cortex-A15 CPU (and
27 Cortex-A7 CPU in big.LITTLE configuration). There are multiple SoCs
28 in this family including Exynos5250, Exynos5420 and Exynos5800.
29
Thomas Abrahamd23cb312016-04-23 22:18:13 +053030config ARCH_EXYNOS7
31 bool "Exynos7 SoC family"
32 select ARM64
Simon Glass7a99a872017-01-23 13:31:20 -070033 select BOARD_EARLY_INIT_F
Thomas Abrahamd23cb312016-04-23 22:18:13 +053034 help
35 Samsung Exynos7 SoC family are based on ARM Cortex-A57 CPU or
36 Cortex-A53 CPU (and some in a big.LITTLE configuration). There are
37 multiple SoCs in this family including Exynos7420.
38
Thomas Abrahama99ad392016-04-23 22:18:12 +053039endchoice
40
41if ARCH_EXYNOS4
42
43choice
44 prompt "EXYNOS4 board select"
45
Masahiro Yamadac54550b2014-08-31 07:11:00 +090046config TARGET_SMDKV310
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090047 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090048 bool "Exynos4210 SMDKV310 board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +090049 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090050
51config TARGET_TRATS
52 bool "Exynos4210 Trats board"
53
54config TARGET_S5PC210_UNIVERSAL
55 bool "EXYNOS4210 Universal C210 board"
56
57config TARGET_ORIGEN
58 bool "Exynos4412 Origen board"
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090059 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090060
61config TARGET_TRATS2
62 bool "Exynos4412 Trat2 board"
63
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +020064config TARGET_ODROID
65 bool "Exynos4412 Odroid board"
66
Thomas Abrahama99ad392016-04-23 22:18:12 +053067endchoice
68endif
69
70if ARCH_EXYNOS5
71
Simon Glass0bdfc3e2016-09-12 23:18:39 -060072config SPL_GPIO_SUPPORT
73 default y
74
Simon Glassf2a89462016-09-12 23:18:41 -060075config SPL_LIBCOMMON_SUPPORT
76 default y
77
Simon Glassb16c92c2016-09-12 23:18:43 -060078config SPL_LIBGENERIC_SUPPORT
79 default y
80
Thomas Abrahama99ad392016-04-23 22:18:12 +053081choice
82 prompt "EXYNOS5 board select"
83
Hyungwon Hwang3b6880d2014-12-12 14:45:45 +090084config TARGET_ODROID_XU3
85 bool "Exynos5422 Odroid board"
86 select OF_CONTROL
87
Masahiro Yamadac54550b2014-08-31 07:11:00 +090088config TARGET_ARNDALE
89 bool "Exynos5250 Arndale board"
Tom Rinibacb52c2017-03-07 07:13:42 -050090 select ARM_ERRATA_773022
91 select ARM_ERRATA_774769
Hans de Goede85437352014-11-14 09:34:30 +010092 select CPU_V7_HAS_NONSEC
93 select CPU_V7_HAS_VIRT
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090094 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +090095 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090096
97config TARGET_SMDK5250
98 bool "SMDK5250 board"
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090099 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900100 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900101
102config TARGET_SNOW
103 bool "Snow board"
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900104 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900105 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900106
Simon Glassb1398362015-08-03 08:19:37 -0600107config TARGET_SPRING
108 bool "Spring board"
109 select SUPPORT_SPL
110 select OF_CONTROL
111 select SPL_DISABLE_OF_CONTROL
112
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900113config TARGET_SMDK5420
114 bool "SMDK5420 board"
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900115 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900116 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900117
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530118config TARGET_PEACH_PI
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900119 bool "Peach Pi board"
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900120 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900121 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900122
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530123config TARGET_PEACH_PIT
124 bool "Peach Pit board"
125 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900126 select OF_CONTROL
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530127
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900128endchoice
Thomas Abrahama99ad392016-04-23 22:18:12 +0530129endif
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900130
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530131if ARCH_EXYNOS7
132
133choice
134 prompt "EXYNOS7 board select"
135
136config TARGET_ESPRESSO7420
137 bool "ESPRESSO7420 board"
138 select ARM64
Thomas Abrahamf1855fc2016-11-16 18:49:16 +0530139 select ARMV8_MULTIENTRY
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530140 select SUPPORT_SPL
141 select OF_CONTROL
142 select SPL_DISABLE_OF_CONTROL
143 select PINCTRL
144 select PINCTRL_EXYNOS7420
145 select CLK_EXYNOS
146
147endchoice
148endif
149
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900150config SYS_SOC
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900151 default "exynos"
152
153source "board/samsung/smdkv310/Kconfig"
154source "board/samsung/trats/Kconfig"
155source "board/samsung/universal_c210/Kconfig"
156source "board/samsung/origen/Kconfig"
157source "board/samsung/trats2/Kconfig"
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +0200158source "board/samsung/odroid/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900159source "board/samsung/arndale/Kconfig"
160source "board/samsung/smdk5250/Kconfig"
161source "board/samsung/smdk5420/Kconfig"
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530162source "board/samsung/espresso7420/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900163
164endif