xref: /openbmc/u-boot/arch/arm/mach-meson/Kconfig (revision 9450ab2b)
1bfcef28aSBeniamino Galvaniif ARCH_MESON
2bfcef28aSBeniamino Galvani
332caa1e2SJerome Brunetconfig MESON64_COMMON
432caa1e2SJerome Brunet	bool
5bfcef28aSBeniamino Galvani	select ARM64
6c0fc1e21SBeniamino Galvani	select CLK
7bfcef28aSBeniamino Galvani	select DM
8bfcef28aSBeniamino Galvani	select DM_SERIAL
9485bba39SNeil Armstrong	select SYSCON
10485bba39SNeil Armstrong	select REGMAP
11*d96a782dSNeil Armstrong	select BOARD_LATE_INIT
1208a00cbaSMichal Simek	imply CMD_DM
1332caa1e2SJerome Brunet
1433e33780SJerome Brunetconfig MESON_GX
1533e33780SJerome Brunet	bool
1633e33780SJerome Brunet	select MESON64_COMMON
1733e33780SJerome Brunet
1832caa1e2SJerome Brunetchoice
1932caa1e2SJerome Brunet	prompt "Platform select"
2096a739b4SJerome Brunet	default MESON_GXBB
21bfcef28aSBeniamino Galvani
2296a739b4SJerome Brunetconfig MESON_GXBB
2396a739b4SJerome Brunet	bool "GXBB"
2433e33780SJerome Brunet	select MESON_GX
25bfcef28aSBeniamino Galvani	help
2696a739b4SJerome Brunet	  Select this if your SoC is an S905
27cade865aSNeil Armstrong
2896a739b4SJerome Brunetconfig MESON_GXL
2996a739b4SJerome Brunet	bool "GXL"
3033e33780SJerome Brunet	select MESON_GX
31cade865aSNeil Armstrong	help
3296a739b4SJerome Brunet	  Select this if your SoC is an S905X/D or S805X
335ff2ee44SNeil Armstrong
3496a739b4SJerome Brunetconfig MESON_GXM
3596a739b4SJerome Brunet	bool "GXM"
3633e33780SJerome Brunet	select MESON_GX
378afd4ea5SLoic Devulder	help
3896a739b4SJerome Brunet	  Select this if your SoC is an S912
398afd4ea5SLoic Devulder
40485bba39SNeil Armstrongconfig MESON_AXG
41485bba39SNeil Armstrong	bool "AXG"
42485bba39SNeil Armstrong	select MESON64_COMMON
43485bba39SNeil Armstrong	help
44485bba39SNeil Armstrong		Select this if your SoC is an A113X/D
45485bba39SNeil Armstrong
4632caa1e2SJerome Brunetendchoice
478afd4ea5SLoic Devulder
48bfcef28aSBeniamino Galvaniconfig SYS_SOC
49bfcef28aSBeniamino Galvani	default "meson"
50bfcef28aSBeniamino Galvani
51bfcef28aSBeniamino Galvaniconfig SYS_MALLOC_F_LEN
52bfcef28aSBeniamino Galvani	default 0x1000
53bfcef28aSBeniamino Galvani
5496a739b4SJerome Brunetconfig SYS_VENDOR
5596a739b4SJerome Brunet	string "Vendor name"
5696a739b4SJerome Brunet	default "amlogic"
5796a739b4SJerome Brunet	help
5896a739b4SJerome Brunet	  This option contains information about board name.
5996a739b4SJerome Brunet	  Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
6096a739b4SJerome Brunet	  be used.
61bfcef28aSBeniamino Galvani
6296a739b4SJerome Brunetconfig SYS_BOARD
6396a739b4SJerome Brunet	string "Board name"
6496a739b4SJerome Brunet	default "odroid-c2" if MESON_GXBB
6596a739b4SJerome Brunet	default "p212" if MESON_GXL
6696a739b4SJerome Brunet	default "q200" if MESON_GXM
67b72794e3SNeil Armstrong	default "s400" if MESON_AXG
6896a739b4SJerome Brunet	default ""
6996a739b4SJerome Brunet	help
7096a739b4SJerome Brunet	  This option contains information about board name.
7196a739b4SJerome Brunet	  Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
7296a739b4SJerome Brunet	  be used.
73cade865aSNeil Armstrong
7496a739b4SJerome Brunetconfig SYS_CONFIG_NAME
7596a739b4SJerome Brunet	string "Board configuration name"
7696a739b4SJerome Brunet	default "meson64"
7796a739b4SJerome Brunet	help
7896a739b4SJerome Brunet	  This option contains information about board configuration name.
7996a739b4SJerome Brunet	  Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
8096a739b4SJerome Brunet	  will be used for board configuration.
818afd4ea5SLoic Devulder
82bfcef28aSBeniamino Galvaniendif
83