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