1if ARCH_MESON
2
3config MESON64_COMMON
4	bool
5	select ARM64
6	select CLK
7	select DM
8	select DM_SERIAL
9	select SYSCON
10	select REGMAP
11	select PWRSEQ
12	select MMC_PWRSEQ
13	select BOARD_LATE_INIT
14	imply CMD_DM
15
16config MESON_GX
17	bool
18	select MESON64_COMMON
19
20choice
21	prompt "Platform select"
22	default MESON_GXBB
23
24config MESON_GXBB
25	bool "GXBB"
26	select MESON_GX
27	help
28	  Select this if your SoC is an S905
29
30config MESON_GXL
31	bool "GXL"
32	select MESON_GX
33	help
34	  Select this if your SoC is an S905X/D or S805X
35
36config MESON_GXM
37	bool "GXM"
38	select MESON_GX
39	help
40	  Select this if your SoC is an S912
41
42config MESON_AXG
43	bool "AXG"
44	select MESON64_COMMON
45	help
46	  Select this if your SoC is an A113X/D
47
48config MESON_G12A
49	bool "G12A"
50	select MESON64_COMMON
51	help
52	  Select this if your SoC is an S905X/D2
53
54endchoice
55
56config SYS_SOC
57	default "meson"
58
59config SYS_MALLOC_F_LEN
60	default 0x1000
61
62config 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.
69
70config SYS_BOARD
71	string "Board name"
72	default "p200" if MESON_GXBB
73	default "p212" if MESON_GXL
74	default "q200" if MESON_GXM
75	default "s400" if MESON_AXG
76	default "u200" if MESON_G12A
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.
82
83config 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.
90
91endif
92