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