blob: 7df0e176179d37b5b85e125dbb776112f17b5c86 [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
Simon Glassa2f6c042019-01-11 18:37:08 -070011 select BLK
12 select DM_MMC
Thomas Abrahama99ad392016-04-23 22:18:12 +053013 help
14 Samsung Exynos4 SoC family are based on ARM Cortex-A9 CPU. There
15 are multiple SoCs in this family including Exynos4210, Exynos4412,
16 and Exynos4212.
17
18config ARCH_EXYNOS5
19 bool "Exynos5 SoC family"
Simon Glass7a99a872017-01-23 13:31:20 -070020 select BOARD_EARLY_INIT_F
Michal Simek7e7ba3b2018-07-23 15:55:15 +020021 select CPU_V7A
Tom Rini5bdd9192017-05-15 12:17:49 -040022 select SHA_HW_ACCEL
Simon Glass027608e2017-05-17 03:25:25 -060023 imply CMD_HASH
Michal Simek7e7ba3b2018-07-23 15:55:15 +020024 imply CRC32_VERIFY
Daniel Thompsona9e2c672017-05-19 17:26:58 +010025 imply HASH_VERIFY
Chris Packhamb110e112017-08-28 20:50:46 +120026 imply USB_ETHER_ASIX
Michal Simek7e7ba3b2018-07-23 15:55:15 +020027 imply USB_ETHER_RTL8152
Chris Packhamb110e112017-08-28 20:50:46 +120028 imply USB_ETHER_SMSC95XX
Simon Glassa2f6c042019-01-11 18:37:08 -070029 select BLK
30 select DM_MMC
31
Thomas Abrahama99ad392016-04-23 22:18:12 +053032 help
33 Samsung Exynos5 SoC family are based on ARM Cortex-A15 CPU (and
34 Cortex-A7 CPU in big.LITTLE configuration). There are multiple SoCs
35 in this family including Exynos5250, Exynos5420 and Exynos5800.
36
Thomas Abrahamd23cb312016-04-23 22:18:13 +053037config ARCH_EXYNOS7
38 bool "Exynos7 SoC family"
39 select ARM64
Simon Glass7a99a872017-01-23 13:31:20 -070040 select BOARD_EARLY_INIT_F
Simon Glassa2f6c042019-01-11 18:37:08 -070041 select BLK
42 select DM_MMC
Thomas Abrahamd23cb312016-04-23 22:18:13 +053043 help
44 Samsung Exynos7 SoC family are based on ARM Cortex-A57 CPU or
45 Cortex-A53 CPU (and some in a big.LITTLE configuration). There are
46 multiple SoCs in this family including Exynos7420.
47
Thomas Abrahama99ad392016-04-23 22:18:12 +053048endchoice
49
50if ARCH_EXYNOS4
51
52choice
53 prompt "EXYNOS4 board select"
54
Masahiro Yamadac54550b2014-08-31 07:11:00 +090055config TARGET_SMDKV310
56 bool "Exynos4210 SMDKV310 board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +090057 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +020058 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090059
60config TARGET_TRATS
61 bool "Exynos4210 Trats board"
62
63config TARGET_S5PC210_UNIVERSAL
64 bool "EXYNOS4210 Universal C210 board"
65
66config TARGET_ORIGEN
67 bool "Exynos4412 Origen board"
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090068 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +090069
70config TARGET_TRATS2
71 bool "Exynos4412 Trat2 board"
72
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +020073config TARGET_ODROID
74 bool "Exynos4412 Odroid board"
75
Thomas Abrahama99ad392016-04-23 22:18:12 +053076endchoice
77endif
78
79if ARCH_EXYNOS5
80
Simon Glass035939e2021-07-10 21:14:30 -060081config SPL_GPIO
Simon Glass0bdfc3e2016-09-12 23:18:39 -060082 default y
83
Simon Glassf2a89462016-09-12 23:18:41 -060084config SPL_LIBCOMMON_SUPPORT
85 default y
86
Simon Glassb16c92c2016-09-12 23:18:43 -060087config SPL_LIBGENERIC_SUPPORT
88 default y
89
Thomas Abrahama99ad392016-04-23 22:18:12 +053090choice
91 prompt "EXYNOS5 board select"
92
Hyungwon Hwang3b6880d2014-12-12 14:45:45 +090093config TARGET_ODROID_XU3
94 bool "Exynos5422 Odroid board"
95 select OF_CONTROL
96
Masahiro Yamadac54550b2014-08-31 07:11:00 +090097config TARGET_ARNDALE
98 bool "Exynos5250 Arndale board"
Tom Rinibacb52c2017-03-07 07:13:42 -050099 select ARM_ERRATA_773022
100 select ARM_ERRATA_774769
Hans de Goede85437352014-11-14 09:34:30 +0100101 select CPU_V7_HAS_NONSEC
102 select CPU_V7_HAS_VIRT
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900103 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200104 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900105
106config TARGET_SMDK5250
107 bool "SMDK5250 board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900108 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200109 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900110
111config TARGET_SNOW
112 bool "Snow board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900113 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200114 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900115
Simon Glassb1398362015-08-03 08:19:37 -0600116config TARGET_SPRING
117 bool "Spring board"
Simon Glassb1398362015-08-03 08:19:37 -0600118 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200119 select SUPPORT_SPL
Simon Glassb1398362015-08-03 08:19:37 -0600120
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900121config TARGET_SMDK5420
122 bool "SMDK5420 board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900123 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200124 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900125
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530126config TARGET_PEACH_PI
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900127 bool "Peach Pi board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900128 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200129 select SUPPORT_SPL
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900130
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530131config TARGET_PEACH_PIT
132 bool "Peach Pit board"
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +0900133 select OF_CONTROL
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200134 select SUPPORT_SPL
Akshay Saraswat62c2f9f2014-11-13 22:38:17 +0530135
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900136endchoice
Thomas Abrahama99ad392016-04-23 22:18:12 +0530137endif
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900138
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530139if ARCH_EXYNOS7
140
141choice
142 prompt "EXYNOS7 board select"
143
Tom Rini8b66e042021-08-19 16:23:58 -0400144config TARGET_ESPRESSO7420
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530145 bool "ESPRESSO7420 board"
146 select ARM64
Thomas Abrahamf1855fc2016-11-16 18:49:16 +0530147 select ARMV8_MULTIENTRY
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200148 select CLK_EXYNOS
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530149 select OF_CONTROL
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530150 select PINCTRL
151 select PINCTRL_EXYNOS7420
Michal Simek7e7ba3b2018-07-23 15:55:15 +0200152 select SUPPORT_SPL
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530153
154endchoice
155endif
156
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900157config SYS_SOC
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900158 default "exynos"
159
160source "board/samsung/smdkv310/Kconfig"
161source "board/samsung/trats/Kconfig"
162source "board/samsung/universal_c210/Kconfig"
163source "board/samsung/origen/Kconfig"
164source "board/samsung/trats2/Kconfig"
Przemyslaw Marczaka314d9e2014-09-01 13:50:53 +0200165source "board/samsung/odroid/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900166source "board/samsung/arndale/Kconfig"
167source "board/samsung/smdk5250/Kconfig"
168source "board/samsung/smdk5420/Kconfig"
Thomas Abraham8d84faa2016-04-23 22:18:14 +0530169source "board/samsung/espresso7420/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900170
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200171config SPL_LDSCRIPT
172 default "board/samsung/common/exynos-uboot-spl.lds" if ARCH_EXYNOS5 || ARCH_EXYNOS4
173
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900174endif