xref: /openbmc/u-boot/arch/arm/mach-exynos/Kconfig (revision 151b8339ccd33428d249e75bd036bd7eb33c1ef6)
177b55e8cSThomas Abrahamif ARCH_EXYNOS
277b55e8cSThomas Abraham
377b55e8cSThomas Abrahamchoice
436aa8937SThomas Abraham	prompt "EXYNOS architecture type select"
577b55e8cSThomas Abraham	optional
677b55e8cSThomas Abraham
736aa8937SThomas Abrahamconfig ARCH_EXYNOS4
836aa8937SThomas Abraham	bool "Exynos4 SoC family"
9a5d67547SSimon Glass	select BOARD_EARLY_INIT_F
1058008cbaSMichal Simek	select CPU_V7A
11*e2932310SSimon Glass	select BLK
12*e2932310SSimon Glass	select DM_MMC
1336aa8937SThomas Abraham	help
1436aa8937SThomas Abraham	  Samsung Exynos4 SoC family are based on ARM Cortex-A9 CPU. There
1536aa8937SThomas Abraham	  are multiple SoCs in this family including Exynos4210, Exynos4412,
1636aa8937SThomas Abraham	  and Exynos4212.
1736aa8937SThomas Abraham
1836aa8937SThomas Abrahamconfig ARCH_EXYNOS5
1936aa8937SThomas Abraham	bool "Exynos5 SoC family"
20a5d67547SSimon Glass	select BOARD_EARLY_INIT_F
2158008cbaSMichal Simek	select CPU_V7A
22089df18bSTom Rini	select SHA_HW_ACCEL
23551c3934SSimon Glass	imply CMD_HASH
2458008cbaSMichal Simek	imply CRC32_VERIFY
25221a949eSDaniel Thompson	imply HASH_VERIFY
26f58ad98aSChris Packham	imply USB_ETHER_ASIX
2758008cbaSMichal Simek	imply USB_ETHER_RTL8152
28f58ad98aSChris Packham	imply USB_ETHER_SMSC95XX
29*e2932310SSimon Glass	select BLK
30*e2932310SSimon Glass	select DM_MMC
31*e2932310SSimon Glass
3236aa8937SThomas Abraham	help
3336aa8937SThomas Abraham	  Samsung Exynos5 SoC family are based on ARM Cortex-A15 CPU (and
3436aa8937SThomas Abraham	  Cortex-A7 CPU in big.LITTLE configuration). There are multiple SoCs
3536aa8937SThomas Abraham	  in this family including Exynos5250, Exynos5420 and Exynos5800.
3636aa8937SThomas Abraham
37e39448e8SThomas Abrahamconfig ARCH_EXYNOS7
38e39448e8SThomas Abraham	bool "Exynos7 SoC family"
39e39448e8SThomas Abraham	select ARM64
40a5d67547SSimon Glass	select BOARD_EARLY_INIT_F
41*e2932310SSimon Glass	select BLK
42*e2932310SSimon Glass	select DM_MMC
43e39448e8SThomas Abraham	help
44e39448e8SThomas Abraham	  Samsung Exynos7 SoC family are based on ARM Cortex-A57 CPU or
45e39448e8SThomas Abraham	  Cortex-A53 CPU (and some in a big.LITTLE configuration). There are
46e39448e8SThomas Abraham	  multiple SoCs in this family including Exynos7420.
47e39448e8SThomas Abraham
4836aa8937SThomas Abrahamendchoice
4936aa8937SThomas Abraham
5036aa8937SThomas Abrahamif ARCH_EXYNOS4
5136aa8937SThomas Abraham
5236aa8937SThomas Abrahamchoice
5336aa8937SThomas Abraham	prompt "EXYNOS4 board select"
5436aa8937SThomas Abraham
5577b55e8cSThomas Abrahamconfig TARGET_SMDKV310
5677b55e8cSThomas Abraham	bool "Exynos4210 SMDKV310 board"
5777b55e8cSThomas Abraham	select OF_CONTROL
5858008cbaSMichal Simek	select SUPPORT_SPL
5977b55e8cSThomas Abraham
6077b55e8cSThomas Abrahamconfig TARGET_TRATS
6177b55e8cSThomas Abraham	bool "Exynos4210 Trats board"
6277b55e8cSThomas Abraham
6377b55e8cSThomas Abrahamconfig TARGET_S5PC210_UNIVERSAL
6477b55e8cSThomas Abraham	bool "EXYNOS4210 Universal C210 board"
6577b55e8cSThomas Abraham
6677b55e8cSThomas Abrahamconfig TARGET_ORIGEN
6777b55e8cSThomas Abraham	bool "Exynos4412 Origen board"
6877b55e8cSThomas Abraham	select SUPPORT_SPL
6977b55e8cSThomas Abraham
7077b55e8cSThomas Abrahamconfig TARGET_TRATS2
7177b55e8cSThomas Abraham	bool "Exynos4412 Trat2 board"
7277b55e8cSThomas Abraham
7377b55e8cSThomas Abrahamconfig TARGET_ODROID
7477b55e8cSThomas Abraham	bool "Exynos4412 Odroid board"
7577b55e8cSThomas Abraham
7636aa8937SThomas Abrahamendchoice
7736aa8937SThomas Abrahamendif
7836aa8937SThomas Abraham
7936aa8937SThomas Abrahamif ARCH_EXYNOS5
8036aa8937SThomas Abraham
8153b5bf3cSSimon Glassconfig SPL_GPIO_SUPPORT
8253b5bf3cSSimon Glass	default y
8353b5bf3cSSimon Glass
8477d2f7f5SSimon Glassconfig SPL_LIBCOMMON_SUPPORT
8577d2f7f5SSimon Glass	default y
8677d2f7f5SSimon Glass
87cc4288efSSimon Glassconfig SPL_LIBGENERIC_SUPPORT
88cc4288efSSimon Glass	default y
89cc4288efSSimon Glass
9036aa8937SThomas Abrahamchoice
9136aa8937SThomas Abraham	prompt "EXYNOS5 board select"
9236aa8937SThomas Abraham
9377b55e8cSThomas Abrahamconfig TARGET_ODROID_XU3
9477b55e8cSThomas Abraham	bool "Exynos5422 Odroid board"
9577b55e8cSThomas Abraham	select OF_CONTROL
9677b55e8cSThomas Abraham
9777b55e8cSThomas Abrahamconfig TARGET_ARNDALE
9877b55e8cSThomas Abraham	bool "Exynos5250 Arndale board"
998dda2e2fSTom Rini	select ARM_ERRATA_773022
1008dda2e2fSTom Rini	select ARM_ERRATA_774769
10177b55e8cSThomas Abraham	select CPU_V7_HAS_NONSEC
10277b55e8cSThomas Abraham	select CPU_V7_HAS_VIRT
10377b55e8cSThomas Abraham	select OF_CONTROL
10458008cbaSMichal Simek	select SUPPORT_SPL
10577b55e8cSThomas Abraham
10677b55e8cSThomas Abrahamconfig TARGET_SMDK5250
10777b55e8cSThomas Abraham	bool "SMDK5250 board"
10877b55e8cSThomas Abraham	select OF_CONTROL
10958008cbaSMichal Simek	select SUPPORT_SPL
11077b55e8cSThomas Abraham
11177b55e8cSThomas Abrahamconfig TARGET_SNOW
11277b55e8cSThomas Abraham	bool "Snow board"
11377b55e8cSThomas Abraham	select OF_CONTROL
11458008cbaSMichal Simek	select SUPPORT_SPL
11577b55e8cSThomas Abraham
11677b55e8cSThomas Abrahamconfig TARGET_SPRING
11777b55e8cSThomas Abraham	bool "Spring board"
11877b55e8cSThomas Abraham	select OF_CONTROL
11977b55e8cSThomas Abraham	select SPL_DISABLE_OF_CONTROL
12058008cbaSMichal Simek	select SUPPORT_SPL
12177b55e8cSThomas Abraham
12277b55e8cSThomas Abrahamconfig TARGET_SMDK5420
12377b55e8cSThomas Abraham	bool "SMDK5420 board"
12477b55e8cSThomas Abraham	select OF_CONTROL
12558008cbaSMichal Simek	select SUPPORT_SPL
12677b55e8cSThomas Abraham
12777b55e8cSThomas Abrahamconfig TARGET_PEACH_PI
12877b55e8cSThomas Abraham	bool "Peach Pi board"
12977b55e8cSThomas Abraham	select OF_CONTROL
13058008cbaSMichal Simek	select SUPPORT_SPL
13177b55e8cSThomas Abraham
13277b55e8cSThomas Abrahamconfig TARGET_PEACH_PIT
13377b55e8cSThomas Abraham	bool "Peach Pit board"
13477b55e8cSThomas Abraham	select OF_CONTROL
13558008cbaSMichal Simek	select SUPPORT_SPL
13677b55e8cSThomas Abraham
13777b55e8cSThomas Abrahamendchoice
13836aa8937SThomas Abrahamendif
13977b55e8cSThomas Abraham
1406c15a2a9SThomas Abrahamif ARCH_EXYNOS7
1416c15a2a9SThomas Abraham
1426c15a2a9SThomas Abrahamchoice
1436c15a2a9SThomas Abraham	prompt "EXYNOS7 board select"
1446c15a2a9SThomas Abraham
1456c15a2a9SThomas Abrahamconfig  TARGET_ESPRESSO7420
1466c15a2a9SThomas Abraham	bool "ESPRESSO7420 board"
1476c15a2a9SThomas Abraham	select ARM64
14895e74a3dSThomas Abraham	select ARMV8_MULTIENTRY
14958008cbaSMichal Simek	select CLK_EXYNOS
1506c15a2a9SThomas Abraham	select OF_CONTROL
1516c15a2a9SThomas Abraham	select PINCTRL
1526c15a2a9SThomas Abraham	select PINCTRL_EXYNOS7420
15358008cbaSMichal Simek	select SPL_DISABLE_OF_CONTROL
15458008cbaSMichal Simek	select SUPPORT_SPL
1556c15a2a9SThomas Abraham
1566c15a2a9SThomas Abrahamendchoice
1576c15a2a9SThomas Abrahamendif
1586c15a2a9SThomas Abraham
15977b55e8cSThomas Abrahamconfig SYS_SOC
16077b55e8cSThomas Abraham	default "exynos"
16177b55e8cSThomas Abraham
16277b55e8cSThomas Abrahamsource "board/samsung/smdkv310/Kconfig"
16377b55e8cSThomas Abrahamsource "board/samsung/trats/Kconfig"
16477b55e8cSThomas Abrahamsource "board/samsung/universal_c210/Kconfig"
16577b55e8cSThomas Abrahamsource "board/samsung/origen/Kconfig"
16677b55e8cSThomas Abrahamsource "board/samsung/trats2/Kconfig"
16777b55e8cSThomas Abrahamsource "board/samsung/odroid/Kconfig"
16877b55e8cSThomas Abrahamsource "board/samsung/arndale/Kconfig"
16977b55e8cSThomas Abrahamsource "board/samsung/smdk5250/Kconfig"
17077b55e8cSThomas Abrahamsource "board/samsung/smdk5420/Kconfig"
1716c15a2a9SThomas Abrahamsource "board/samsung/espresso7420/Kconfig"
17277b55e8cSThomas Abraham
173b529993eSPhilipp Tomsichconfig SPL_LDSCRIPT
174b529993eSPhilipp Tomsich	default "board/samsung/common/exynos-uboot-spl.lds" if ARCH_EXYNOS5 || ARCH_EXYNOS4
175b529993eSPhilipp Tomsich
17677b55e8cSThomas Abrahamendif
177