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