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" |
| 9 | select CPU_V7 |
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 10 | select BOARD_EARLY_INIT_F |
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" |
| 18 | select CPU_V7 |
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 19 | select BOARD_EARLY_INIT_F |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 20 | help |
| 21 | Samsung Exynos5 SoC family are based on ARM Cortex-A15 CPU (and |
| 22 | Cortex-A7 CPU in big.LITTLE configuration). There are multiple SoCs |
| 23 | in this family including Exynos5250, Exynos5420 and Exynos5800. |
| 24 | |
Thomas Abraham | d23cb31 | 2016-04-23 22:18:13 +0530 | [diff] [blame] | 25 | config ARCH_EXYNOS7 |
| 26 | bool "Exynos7 SoC family" |
| 27 | select ARM64 |
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 28 | select BOARD_EARLY_INIT_F |
Thomas Abraham | d23cb31 | 2016-04-23 22:18:13 +0530 | [diff] [blame] | 29 | help |
| 30 | Samsung Exynos7 SoC family are based on ARM Cortex-A57 CPU or |
| 31 | Cortex-A53 CPU (and some in a big.LITTLE configuration). There are |
| 32 | multiple SoCs in this family including Exynos7420. |
| 33 | |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 34 | endchoice |
| 35 | |
| 36 | if ARCH_EXYNOS4 |
| 37 | |
| 38 | choice |
| 39 | prompt "EXYNOS4 board select" |
| 40 | |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 41 | config TARGET_SMDKV310 |
Masahiro Yamada | 6e0971b | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 42 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 43 | bool "Exynos4210 SMDKV310 board" |
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 44 | select OF_CONTROL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 45 | |
| 46 | config TARGET_TRATS |
| 47 | bool "Exynos4210 Trats board" |
| 48 | |
| 49 | config TARGET_S5PC210_UNIVERSAL |
| 50 | bool "EXYNOS4210 Universal C210 board" |
| 51 | |
| 52 | config TARGET_ORIGEN |
| 53 | bool "Exynos4412 Origen board" |
Masahiro Yamada | 6e0971b | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 54 | select SUPPORT_SPL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 55 | |
| 56 | config TARGET_TRATS2 |
| 57 | bool "Exynos4412 Trat2 board" |
| 58 | |
Przemyslaw Marczak | a314d9e | 2014-09-01 13:50:53 +0200 | [diff] [blame] | 59 | config TARGET_ODROID |
| 60 | bool "Exynos4412 Odroid board" |
| 61 | |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 62 | endchoice |
| 63 | endif |
| 64 | |
| 65 | if ARCH_EXYNOS5 |
| 66 | |
Simon Glass | 0bdfc3e | 2016-09-12 23:18:39 -0600 | [diff] [blame] | 67 | config SPL_GPIO_SUPPORT |
| 68 | default y |
| 69 | |
Simon Glass | f2a8946 | 2016-09-12 23:18:41 -0600 | [diff] [blame] | 70 | config SPL_LIBCOMMON_SUPPORT |
| 71 | default y |
| 72 | |
Simon Glass | b16c92c | 2016-09-12 23:18:43 -0600 | [diff] [blame] | 73 | config SPL_LIBGENERIC_SUPPORT |
| 74 | default y |
| 75 | |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 76 | choice |
| 77 | prompt "EXYNOS5 board select" |
| 78 | |
Hyungwon Hwang | 3b6880d | 2014-12-12 14:45:45 +0900 | [diff] [blame] | 79 | config TARGET_ODROID_XU3 |
| 80 | bool "Exynos5422 Odroid board" |
| 81 | select OF_CONTROL |
| 82 | |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 83 | config TARGET_ARNDALE |
| 84 | bool "Exynos5250 Arndale board" |
Tom Rini | bacb52c | 2017-03-07 07:13:42 -0500 | [diff] [blame] | 85 | select ARM_ERRATA_773022 |
| 86 | select ARM_ERRATA_774769 |
Hans de Goede | 8543735 | 2014-11-14 09:34:30 +0100 | [diff] [blame] | 87 | select CPU_V7_HAS_NONSEC |
| 88 | select CPU_V7_HAS_VIRT |
Masahiro Yamada | 6e0971b | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 89 | select SUPPORT_SPL |
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 90 | select OF_CONTROL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 91 | |
| 92 | config TARGET_SMDK5250 |
| 93 | bool "SMDK5250 board" |
Masahiro Yamada | 6e0971b | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 94 | select SUPPORT_SPL |
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 95 | select OF_CONTROL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 96 | |
| 97 | config TARGET_SNOW |
| 98 | bool "Snow board" |
Masahiro Yamada | 6e0971b | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 99 | select SUPPORT_SPL |
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 100 | select OF_CONTROL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 101 | |
Simon Glass | b139836 | 2015-08-03 08:19:37 -0600 | [diff] [blame] | 102 | config TARGET_SPRING |
| 103 | bool "Spring board" |
| 104 | select SUPPORT_SPL |
| 105 | select OF_CONTROL |
| 106 | select SPL_DISABLE_OF_CONTROL |
| 107 | |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 108 | config TARGET_SMDK5420 |
| 109 | bool "SMDK5420 board" |
Masahiro Yamada | 6e0971b | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 110 | select SUPPORT_SPL |
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 111 | select OF_CONTROL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 112 | |
Akshay Saraswat | 62c2f9f | 2014-11-13 22:38:17 +0530 | [diff] [blame] | 113 | config TARGET_PEACH_PI |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 114 | bool "Peach Pi board" |
Masahiro Yamada | 6e0971b | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 115 | select SUPPORT_SPL |
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 116 | select OF_CONTROL |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 117 | |
Akshay Saraswat | 62c2f9f | 2014-11-13 22:38:17 +0530 | [diff] [blame] | 118 | config TARGET_PEACH_PIT |
| 119 | bool "Peach Pit board" |
| 120 | select SUPPORT_SPL |
Masahiro Yamada | cfc2f7d | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 121 | select OF_CONTROL |
Akshay Saraswat | 62c2f9f | 2014-11-13 22:38:17 +0530 | [diff] [blame] | 122 | |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 123 | endchoice |
Thomas Abraham | a99ad39 | 2016-04-23 22:18:12 +0530 | [diff] [blame] | 124 | endif |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 125 | |
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 126 | if ARCH_EXYNOS7 |
| 127 | |
| 128 | choice |
| 129 | prompt "EXYNOS7 board select" |
| 130 | |
| 131 | config TARGET_ESPRESSO7420 |
| 132 | bool "ESPRESSO7420 board" |
| 133 | select ARM64 |
Thomas Abraham | f1855fc | 2016-11-16 18:49:16 +0530 | [diff] [blame] | 134 | select ARMV8_MULTIENTRY |
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 135 | select SUPPORT_SPL |
| 136 | select OF_CONTROL |
| 137 | select SPL_DISABLE_OF_CONTROL |
| 138 | select PINCTRL |
| 139 | select PINCTRL_EXYNOS7420 |
| 140 | select CLK_EXYNOS |
| 141 | |
| 142 | endchoice |
| 143 | endif |
| 144 | |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 145 | config SYS_SOC |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 146 | default "exynos" |
| 147 | |
| 148 | source "board/samsung/smdkv310/Kconfig" |
| 149 | source "board/samsung/trats/Kconfig" |
| 150 | source "board/samsung/universal_c210/Kconfig" |
| 151 | source "board/samsung/origen/Kconfig" |
| 152 | source "board/samsung/trats2/Kconfig" |
Przemyslaw Marczak | a314d9e | 2014-09-01 13:50:53 +0200 | [diff] [blame] | 153 | source "board/samsung/odroid/Kconfig" |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 154 | source "board/samsung/arndale/Kconfig" |
| 155 | source "board/samsung/smdk5250/Kconfig" |
| 156 | source "board/samsung/smdk5420/Kconfig" |
Thomas Abraham | 8d84faa | 2016-04-23 22:18:14 +0530 | [diff] [blame] | 157 | source "board/samsung/espresso7420/Kconfig" |
Masahiro Yamada | c54550b | 2014-08-31 07:11:00 +0900 | [diff] [blame] | 158 | |
| 159 | endif |