blob: 24cb99e466b0a19cb0c4ac4c1f6feee8d0dbdbea [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
Thomas Abrahama99ad392016-04-23 22:18:12 +053021 help
22 Samsung Exynos5 SoC family are based on ARM Cortex-A15 CPU (and
23 Cortex-A7 CPU in big.LITTLE configuration). There are multiple SoCs
24 in this family including Exynos5250, Exynos5420 and Exynos5800.
25
Thomas Abrahamd23cb312016-04-23 22:18:13 +053026config ARCH_EXYNOS7
27 bool "Exynos7 SoC family"
28 select ARM64
Simon Glass7a99a872017-01-23 13:31:20 -070029 select BOARD_EARLY_INIT_F
Thomas Abrahamd23cb312016-04-23 22:18:13 +053030 help
31 Samsung Exynos7 SoC family are based on ARM Cortex-A57 CPU or
32 Cortex-A53 CPU (and some in a big.LITTLE configuration). There are
33 multiple SoCs in this family including Exynos7420.
34
Thomas Abrahama99ad392016-04-23 22:18:12 +053035endchoice
36
37if ARCH_EXYNOS4
38
39choice
40 prompt "EXYNOS4 board select"
41
Masahiro Yamadac54550b2014-08-31 07:11:00 +090042config TARGET_SMDKV310
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090043 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090044 bool "Exynos4210 SMDKV310 board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +090045 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090046
47config TARGET_TRATS
48 bool "Exynos4210 Trats board"
49
50config TARGET_S5PC210_UNIVERSAL
51 bool "EXYNOS4210 Universal C210 board"
52
53config TARGET_ORIGEN
54 bool "Exynos4412 Origen board"
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090055 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090056
57config TARGET_TRATS2
58 bool "Exynos4412 Trat2 board"
59
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +020060config TARGET_ODROID
61 bool "Exynos4412 Odroid board"
62
Thomas Abrahama99ad392016-04-23 22:18:12 +053063endchoice
64endif
65
66if ARCH_EXYNOS5
67
Simon Glass0bdfc3e2016-09-12 23:18:39 -060068config SPL_GPIO_SUPPORT
69 default y
70
Simon Glassf2a89462016-09-12 23:18:41 -060071config SPL_LIBCOMMON_SUPPORT
72 default y
73
Simon Glassb16c92c2016-09-12 23:18:43 -060074config SPL_LIBGENERIC_SUPPORT
75 default y
76
Thomas Abrahama99ad392016-04-23 22:18:12 +053077choice
78 prompt "EXYNOS5 board select"
79
Hyungwon Hwang3b6880d2014-12-12 14:45:45 +090080config TARGET_ODROID_XU3
81 bool "Exynos5422 Odroid board"
82 select OF_CONTROL
83
Masahiro Yamadac54550b2014-08-31 07:11:00 +090084config TARGET_ARNDALE
85 bool "Exynos5250 Arndale board"
Tom Rinibacb52c2017-03-07 07:13:42 -050086 select ARM_ERRATA_773022
87 select ARM_ERRATA_774769
Hans de Goede85437352014-11-14 09:34:30 +010088 select CPU_V7_HAS_NONSEC
89 select CPU_V7_HAS_VIRT
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090090 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +090091 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090092
93config TARGET_SMDK5250
94 bool "SMDK5250 board"
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090095 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +090096 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090097
98config TARGET_SNOW
99 bool "Snow board"
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900100 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900101 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900102
Simon Glassb1398362015-08-03 08:19:37 -0600103config TARGET_SPRING
104 bool "Spring board"
105 select SUPPORT_SPL
106 select OF_CONTROL
107 select SPL_DISABLE_OF_CONTROL
108
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900109config TARGET_SMDK5420
110 bool "SMDK5420 board"
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900111 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900112 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900113
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530114config TARGET_PEACH_PI
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900115 bool "Peach Pi board"
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900116 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900117 select OF_CONTROL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900118
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530119config TARGET_PEACH_PIT
120 bool "Peach Pit board"
121 select SUPPORT_SPL
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900122 select OF_CONTROL
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530123
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900124endchoice
Thomas Abrahama99ad392016-04-23 22:18:12 +0530125endif
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900126
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530127if ARCH_EXYNOS7
128
129choice
130 prompt "EXYNOS7 board select"
131
132config TARGET_ESPRESSO7420
133 bool "ESPRESSO7420 board"
134 select ARM64
Thomas Abrahamf1855fc2016-11-16 18:49:16 +0530135 select ARMV8_MULTIENTRY
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530136 select SUPPORT_SPL
137 select OF_CONTROL
138 select SPL_DISABLE_OF_CONTROL
139 select PINCTRL
140 select PINCTRL_EXYNOS7420
141 select CLK_EXYNOS
142
143endchoice
144endif
145
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900146config SYS_SOC
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900147 default "exynos"
148
149source "board/samsung/smdkv310/Kconfig"
150source "board/samsung/trats/Kconfig"
151source "board/samsung/universal_c210/Kconfig"
152source "board/samsung/origen/Kconfig"
153source "board/samsung/trats2/Kconfig"
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +0200154source "board/samsung/odroid/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900155source "board/samsung/arndale/Kconfig"
156source "board/samsung/smdk5250/Kconfig"
157source "board/samsung/smdk5420/Kconfig"
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530158source "board/samsung/espresso7420/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900159
160endif