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 | ||||
Anand Moon | c528ed9 | 2019-12-26 11:33:53 +0000 | [diff] [blame] | 11 | select PWRSEQ |
Jaehoon Chung | 1490730 | 2021-02-16 10:16:55 +0900 | [diff] [blame] | 12 | select MMC_PWRSEQ |
Neil Armstrong | 2fbfcbb | 2018-07-27 14:10:00 +0200 | [diff] [blame] | 13 | select BOARD_LATE_INIT |
Michal Simek | 2e7c819 | 2018-07-23 15:55:14 +0200 | [diff] [blame] | 14 | imply CMD_DM |
Jerome Brunet | 630239d | 2018-10-05 10:25:47 +0200 | [diff] [blame] | 15 | |
Jerome Brunet | f897c4b | 2018-10-05 17:00:37 +0200 | [diff] [blame] | 16 | config MESON_GX |
17 | bool | ||||
18 | select MESON64_COMMON | ||||
19 | |||||
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 20 | choice |
21 | prompt "Platform select" | ||||
22 | default MESON_GXBB | ||||
23 | |||||
Jerome Brunet | 630239d | 2018-10-05 10:25:47 +0200 | [diff] [blame] | 24 | config MESON_GXBB |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 25 | bool "GXBB" |
Jerome Brunet | f897c4b | 2018-10-05 17:00:37 +0200 | [diff] [blame] | 26 | select MESON_GX |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 27 | help |
28 | Select this if your SoC is an S905 | ||||
Beniamino Galvani | d1037e4 | 2016-05-08 08:30:16 +0200 | [diff] [blame] | 29 | |
Neil Armstrong | 4c2ea41 | 2017-10-12 15:50:32 +0200 | [diff] [blame] | 30 | config MESON_GXL |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 31 | bool "GXL" |
Jerome Brunet | f897c4b | 2018-10-05 17:00:37 +0200 | [diff] [blame] | 32 | select MESON_GX |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 33 | help |
34 | Select this if your SoC is an S905X/D or S805X | ||||
Neil Armstrong | 4c2ea41 | 2017-10-12 15:50:32 +0200 | [diff] [blame] | 35 | |
Loic Devulder | d17b809 | 2018-10-03 12:02:07 +0200 | [diff] [blame] | 36 | config MESON_GXM |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 37 | bool "GXM" |
Jerome Brunet | f897c4b | 2018-10-05 17:00:37 +0200 | [diff] [blame] | 38 | select MESON_GX |
Loic Devulder | d17b809 | 2018-10-03 12:02:07 +0200 | [diff] [blame] | 39 | help |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 40 | Select this if your SoC is an S912 |
Loic Devulder | d17b809 | 2018-10-03 12:02:07 +0200 | [diff] [blame] | 41 | |
Neil Armstrong | 0fca923 | 2018-09-05 15:56:12 +0200 | [diff] [blame] | 42 | config MESON_AXG |
43 | bool "AXG" | ||||
44 | select MESON64_COMMON | ||||
45 | help | ||||
Jerome Brunet | 993709a | 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 | 0fca923 | 2018-09-05 15:56:12 +0200 | [diff] [blame] | 53 | |
Jerome Brunet | 630239d | 2018-10-05 10:25:47 +0200 | [diff] [blame] | 54 | endchoice |
Loic Devulder | d17b809 | 2018-10-03 12:02:07 +0200 | [diff] [blame] | 55 | |
Beniamino Galvani | d1037e4 | 2016-05-08 08:30:16 +0200 | [diff] [blame] | 56 | config SYS_SOC |
57 | default "meson" | ||||
58 | |||||
59 | config SYS_MALLOC_F_LEN | ||||
60 | default 0x1000 | ||||
61 | |||||
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 62 | config SYS_VENDOR |
63 | string "Vendor name" | ||||
64 | default "amlogic" | ||||
65 | help | ||||
66 | This option contains information about board name. | ||||
67 | Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will | ||||
68 | be used. | ||||
Beniamino Galvani | d1037e4 | 2016-05-08 08:30:16 +0200 | [diff] [blame] | 69 | |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 70 | config SYS_BOARD |
71 | string "Board name" | ||||
Mohammad Rasim | fbe2996 | 2019-03-23 14:52:22 +0300 | [diff] [blame] | 72 | default "p200" if MESON_GXBB |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 73 | default "p212" if MESON_GXL |
74 | default "q200" if MESON_GXM | ||||
Neil Armstrong | 64b6de9 | 2018-09-05 15:57:11 +0200 | [diff] [blame] | 75 | default "s400" if MESON_AXG |
Jerome Brunet | 993709a | 2019-02-08 16:23:20 +0100 | [diff] [blame] | 76 | default "u200" if MESON_G12A |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 77 | default "" |
78 | help | ||||
79 | This option contains information about board name. | ||||
80 | Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will | ||||
81 | be used. | ||||
Neil Armstrong | 4c2ea41 | 2017-10-12 15:50:32 +0200 | [diff] [blame] | 82 | |
Jerome Brunet | 32bacc5 | 2018-10-25 16:41:37 +0200 | [diff] [blame] | 83 | config SYS_CONFIG_NAME |
84 | string "Board configuration name" | ||||
85 | default "meson64" | ||||
86 | help | ||||
87 | This option contains information about board configuration name. | ||||
88 | Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header | ||||
89 | will be used for board configuration. | ||||
Loic Devulder | d17b809 | 2018-10-03 12:02:07 +0200 | [diff] [blame] | 90 | |
Beniamino Galvani | d1037e4 | 2016-05-08 08:30:16 +0200 | [diff] [blame] | 91 | endif |