Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 1 | if ARCH_EXYNOS |
2 | |||||
3 | choice | ||||
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 4 | prompt "EXYNOS architecture type select" |
Joe Hershberger | f069960 | 2015-05-12 14:46:23 -0500 | [diff] [blame] | 5 | optional |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 6 | |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 7 | config ARCH_EXYNOS4 |
8 | bool "Exynos4 SoC family" | ||||
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 9 | select BOARD_EARLY_INIT_F |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 10 | select CPU_V7A |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 11 | 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 | |||||
16 | config ARCH_EXYNOS5 | ||||
17 | bool "Exynos5 SoC family" | ||||
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 18 | select BOARD_EARLY_INIT_F |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 19 | select CPU_V7A |
Tom Rini | 5bdd919 | 2017-05-15 12:17:49 -0400 | [diff] [blame] | 20 | select SHA_HW_ACCEL |
Simon Glass | 027608e | 2017-05-17 03:25:25 -0600 | [diff] [blame] | 21 | imply CMD_HASH |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 22 | imply CRC32_VERIFY |
Daniel Thompson | a9e2c67 | 2017-05-19 17:26:58 +0100 | [diff] [blame] | 23 | imply HASH_VERIFY |
Chris Packham | b110e11 | 2017-08-28 20:50:46 +1200 | [diff] [blame] | 24 | imply USB_ETHER_ASIX |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 25 | imply USB_ETHER_RTL8152 |
Chris Packham | b110e11 | 2017-08-28 20:50:46 +1200 | [diff] [blame] | 26 | imply USB_ETHER_SMSC95XX |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 27 | 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 Abraham | d23cb31 | 2016-04-23 22:18:13 +0530 | [diff] [blame] | 32 | config ARCH_EXYNOS7 |
33 | bool "Exynos7 SoC family" | ||||
34 | select ARM64 | ||||
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 35 | select BOARD_EARLY_INIT_F |
Thomas Abraham | d23cb31 | 2016-04-23 22:18:13 +0530 | [diff] [blame] | 36 | 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 Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 41 | endchoice |
42 | |||||
43 | if ARCH_EXYNOS4 | ||||
44 | |||||
45 | choice | ||||
46 | prompt "EXYNOS4 board select" | ||||
47 | |||||
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 48 | config TARGET_SMDKV310 |
49 | bool "Exynos4210 SMDKV310 board" | ||||
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 50 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 51 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 52 | |
53 | config TARGET_TRATS | ||||
54 | bool "Exynos4210 Trats board" | ||||
55 | |||||
56 | config TARGET_S5PC210_UNIVERSAL | ||||
57 | bool "EXYNOS4210 Universal C210 board" | ||||
58 | |||||
59 | config TARGET_ORIGEN | ||||
60 | bool "Exynos4412 Origen board" | ||||
Masahiro Yamada | 6e0971b | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 61 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 62 | |
63 | config TARGET_TRATS2 | ||||
64 | bool "Exynos4412 Trat2 board" | ||||
65 | |||||
Przemyslaw Marczak | a314d9e | 2014-09-01 13:50:53 +0200 | [diff] [blame] | 66 | config TARGET_ODROID |
67 | bool "Exynos4412 Odroid board" | ||||
68 | |||||
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 69 | endchoice |
70 | endif | ||||
71 | |||||
72 | if ARCH_EXYNOS5 | ||||
73 | |||||
Simon Glass | 0bdfc3e | 2016-09-12 23:18:39 -0600 | [diff] [blame] | 74 | config SPL_GPIO_SUPPORT |
75 | default y | ||||
76 | |||||
Simon Glass | f2a8946 | 2016-09-12 23:18:41 -0600 | [diff] [blame] | 77 | config SPL_LIBCOMMON_SUPPORT |
78 | default y | ||||
79 | |||||
Simon Glass | b16c92c | 2016-09-12 23:18:43 -0600 | [diff] [blame] | 80 | config SPL_LIBGENERIC_SUPPORT |
81 | default y | ||||
82 | |||||
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 83 | choice |
84 | prompt "EXYNOS5 board select" | ||||
85 | |||||
Hyungwon Hwang | 3b6880d | 2014-12-12 14:45:45 +0900 | [diff] [blame] | 86 | config TARGET_ODROID_XU3 |
87 | bool "Exynos5422 Odroid board" | ||||
88 | select OF_CONTROL | ||||
89 | |||||
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 90 | config TARGET_ARNDALE |
91 | bool "Exynos5250 Arndale board" | ||||
Tom Rini | bacb52c | 2017-03-07 07:13:42 -0500 | [diff] [blame] | 92 | select ARM_ERRATA_773022 |
93 | select ARM_ERRATA_774769 | ||||
Hans de Goede | 8543735 | 2014-11-14 09:34:30 +0100 | [diff] [blame] | 94 | select CPU_V7_HAS_NONSEC |
95 | select CPU_V7_HAS_VIRT | ||||
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 96 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 97 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 98 | |
99 | config TARGET_SMDK5250 | ||||
100 | bool "SMDK5250 board" | ||||
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 101 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 102 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 103 | |
104 | config TARGET_SNOW | ||||
105 | bool "Snow board" | ||||
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 106 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 107 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 108 | |
Simon Glass | b139836 | 2015-08-03 08:19:37 -0600 | [diff] [blame] | 109 | config TARGET_SPRING |
110 | bool "Spring board" | ||||
Simon Glass | b139836 | 2015-08-03 08:19:37 -0600 | [diff] [blame] | 111 | select OF_CONTROL |
112 | select SPL_DISABLE_OF_CONTROL | ||||
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 113 | select SUPPORT_SPL |
Simon Glass | b139836 | 2015-08-03 08:19:37 -0600 | [diff] [blame] | 114 | |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 115 | config TARGET_SMDK5420 |
116 | bool "SMDK5420 board" | ||||
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 117 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 118 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 119 | |
Akshay Saraswat | 62c2f9f | 2014-11-13 22:38:17 +0530 | [diff] [blame] | 120 | config TARGET_PEACH_PI |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 121 | bool "Peach Pi board" |
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 122 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 123 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 124 | |
Akshay Saraswat | 62c2f9f | 2014-11-13 22:38:17 +0530 | [diff] [blame] | 125 | config TARGET_PEACH_PIT |
126 | bool "Peach Pit board" | ||||
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 127 | select OF_CONTROL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 128 | select SUPPORT_SPL |
Akshay Saraswat | 62c2f9f | 2014-11-13 22:38:17 +0530 | [diff] [blame] | 129 | |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 130 | endchoice |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 131 | endif |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 132 | |
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 133 | if ARCH_EXYNOS7 |
134 | |||||
135 | choice | ||||
136 | prompt "EXYNOS7 board select" | ||||
137 | |||||
138 | config TARGET_ESPRESSO7420 | ||||
139 | bool "ESPRESSO7420 board" | ||||
140 | select ARM64 | ||||
Thomas Abraham | f1855fc | 2016-11-16 18:49:16 +0530 | [diff] [blame] | 141 | select ARMV8_MULTIENTRY |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 142 | select CLK_EXYNOS |
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 143 | select OF_CONTROL |
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 144 | select PINCTRL |
145 | select PINCTRL_EXYNOS7420 | ||||
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 146 | select SPL_DISABLE_OF_CONTROL |
147 | select SUPPORT_SPL | ||||
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 148 | |
149 | endchoice | ||||
150 | endif | ||||
151 | |||||
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 152 | config SYS_SOC |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 153 | default "exynos" |
154 | |||||
155 | source "board/samsung/smdkv310/Kconfig" | ||||
156 | source "board/samsung/trats/Kconfig" | ||||
157 | source "board/samsung/universal_c210/Kconfig" | ||||
158 | source "board/samsung/origen/Kconfig" | ||||
159 | source "board/samsung/trats2/Kconfig" | ||||
Przemyslaw Marczak | a314d9e | 2014-09-01 13:50:53 +0200 | [diff] [blame] | 160 | source "board/samsung/odroid/Kconfig" |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 161 | source "board/samsung/arndale/Kconfig" |
162 | source "board/samsung/smdk5250/Kconfig" | ||||
163 | source "board/samsung/smdk5420/Kconfig" | ||||
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 164 | source "board/samsung/espresso7420/Kconfig" |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 165 | |
Philipp Tomsich | 2d6a0cc | 2017-08-03 23:23:55 +0200 | [diff] [blame] | 166 | config SPL_LDSCRIPT |
167 | default "board/samsung/common/exynos-uboot-spl.lds" if ARCH_EXYNOS5 || ARCH_EXYNOS4 | ||||
168 | |||||
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 169 | endif |