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