xref: /openbmc/u-boot/arch/arm/mach-meson/Kconfig (revision 78a08019cd743e681b7172b7deff1d17f6a6568d)
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	imply CMD_DM
12
13config MESON_GX
14	bool
15	select MESON64_COMMON
16
17choice
18	prompt "Platform select"
19	default MESON_GXBB
20
21config MESON_GXBB
22	bool "GXBB"
23	select MESON_GX
24	help
25	  Select this if your SoC is an S905
26
27config MESON_GXL
28	bool "GXL"
29	select MESON_GX
30	help
31	  Select this if your SoC is an S905X/D or S805X
32
33config MESON_GXM
34	bool "GXM"
35	select MESON_GX
36	help
37	  Select this if your SoC is an S912
38
39config MESON_AXG
40	bool "AXG"
41	select MESON64_COMMON
42	help
43		Select this if your SoC is an A113X/D
44
45endchoice
46
47config SYS_SOC
48	default "meson"
49
50config SYS_MALLOC_F_LEN
51	default 0x1000
52
53config SYS_VENDOR
54	string "Vendor name"
55	default "amlogic"
56	help
57	  This option contains information about board name.
58	  Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
59	  be used.
60
61config SYS_BOARD
62	string "Board name"
63	default "odroid-c2" if MESON_GXBB
64	default "p212" if MESON_GXL
65	default "q200" if MESON_GXM
66	default ""
67	help
68	  This option contains information about board name.
69	  Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
70	  be used.
71
72config SYS_CONFIG_NAME
73	string "Board configuration name"
74	default "meson64"
75	help
76	  This option contains information about board configuration name.
77	  Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
78	  will be used for board configuration.
79
80endif
81