Beniamino Galvani | d1037e4 | 2016-05-08 08:30:16 +0200 | [diff] [blame] | 1 | if ARCH_MESON |
| 2 | |
Jerome Brunet | 630239d | 2018-10-05 10:25:47 +0200 | [diff] [blame] | 3 | config MESON64_COMMON |
| 4 | bool |
Beniamino Galvani | d1037e4 | 2016-05-08 08:30:16 +0200 | [diff] [blame] | 5 | select ARM64 |
Beniamino Galvani | b67bfaf | 2018-06-14 13:43:39 +0200 | [diff] [blame] | 6 | select CLK |
Beniamino Galvani | d1037e4 | 2016-05-08 08:30:16 +0200 | [diff] [blame] | 7 | select DM |
| 8 | select DM_SERIAL |
Neil Armstrong | 0fca923 | 2018-09-05 15:56:12 +0200 | [diff] [blame] | 9 | select SYSCON |
| 10 | select REGMAP |
Neil Armstrong | 2fbfcbb | 2018-07-27 14:10:00 +0200 | [diff] [blame] | 11 | select BOARD_LATE_INIT |
Michal Simek | 2e7c819 | 2018-07-23 15:55:14 +0200 | [diff] [blame] | 12 | imply CMD_DM |
Jerome Brunet | 630239d | 2018-10-05 10:25:47 +0200 | [diff] [blame] | 13 | |
Jerome Brunet | f897c4b | 2018-10-05 17:00:37 +0200 | [diff] [blame] | 14 | config MESON_GX |
| 15 | bool |
| 16 | select MESON64_COMMON |
| 17 | |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 18 | choice |
| 19 | prompt "Platform select" |
| 20 | default MESON_GXBB |
| 21 | |
Jerome Brunet | 630239d | 2018-10-05 10:25:47 +0200 | [diff] [blame] | 22 | config MESON_GXBB |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 23 | bool "GXBB" |
Jerome Brunet | f897c4b | 2018-10-05 17:00:37 +0200 | [diff] [blame] | 24 | select MESON_GX |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 25 | help |
| 26 | Select this if your SoC is an S905 |
Beniamino Galvani | d1037e4 | 2016-05-08 08:30:16 +0200 | [diff] [blame] | 27 | |
Neil Armstrong | 4c2ea41 | 2017-10-12 15:50:32 +0200 | [diff] [blame] | 28 | config MESON_GXL |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 29 | bool "GXL" |
Jerome Brunet | f897c4b | 2018-10-05 17:00:37 +0200 | [diff] [blame] | 30 | select MESON_GX |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 31 | help |
| 32 | Select this if your SoC is an S905X/D or S805X |
Neil Armstrong | 4c2ea41 | 2017-10-12 15:50:32 +0200 | [diff] [blame] | 33 | |
Loic Devulder | d17b809 | 2018-10-03 12:02:07 +0200 | [diff] [blame] | 34 | config MESON_GXM |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 35 | bool "GXM" |
Jerome Brunet | f897c4b | 2018-10-05 17:00:37 +0200 | [diff] [blame] | 36 | select MESON_GX |
Loic Devulder | d17b809 | 2018-10-03 12:02:07 +0200 | [diff] [blame] | 37 | help |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 38 | Select this if your SoC is an S912 |
Loic Devulder | d17b809 | 2018-10-03 12:02:07 +0200 | [diff] [blame] | 39 | |
Neil Armstrong | 0fca923 | 2018-09-05 15:56:12 +0200 | [diff] [blame] | 40 | config MESON_AXG |
| 41 | bool "AXG" |
| 42 | select MESON64_COMMON |
| 43 | help |
| 44 | Select this if your SoC is an A113X/D |
| 45 | |
Jerome Brunet | 630239d | 2018-10-05 10:25:47 +0200 | [diff] [blame] | 46 | endchoice |
Loic Devulder | d17b809 | 2018-10-03 12:02:07 +0200 | [diff] [blame] | 47 | |
Beniamino Galvani | d1037e4 | 2016-05-08 08:30:16 +0200 | [diff] [blame] | 48 | config SYS_SOC |
| 49 | default "meson" |
| 50 | |
| 51 | config SYS_MALLOC_F_LEN |
| 52 | default 0x1000 |
| 53 | |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 54 | config SYS_VENDOR |
| 55 | string "Vendor name" |
| 56 | default "amlogic" |
| 57 | help |
| 58 | This option contains information about board name. |
| 59 | Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will |
| 60 | be used. |
Beniamino Galvani | d1037e4 | 2016-05-08 08:30:16 +0200 | [diff] [blame] | 61 | |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 62 | config SYS_BOARD |
| 63 | string "Board name" |
| 64 | default "odroid-c2" if MESON_GXBB |
| 65 | default "p212" if MESON_GXL |
| 66 | default "q200" if MESON_GXM |
Neil Armstrong | 64b6de9 | 2018-09-05 15:57:11 +0200 | [diff] [blame] | 67 | default "s400" if MESON_AXG |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 68 | default "" |
| 69 | help |
| 70 | This option contains information about board name. |
| 71 | Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will |
| 72 | be used. |
Neil Armstrong | 4c2ea41 | 2017-10-12 15:50:32 +0200 | [diff] [blame] | 73 | |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 74 | config SYS_CONFIG_NAME |
| 75 | string "Board configuration name" |
| 76 | default "meson64" |
| 77 | help |
| 78 | This option contains information about board configuration name. |
| 79 | Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header |
| 80 | will be used for board configuration. |
Loic Devulder | d17b809 | 2018-10-03 12:02:07 +0200 | [diff] [blame] | 81 | |
Beniamino Galvani | d1037e4 | 2016-05-08 08:30:16 +0200 | [diff] [blame] | 82 | endif |