xref: /openbmc/u-boot/arch/arm/mach-meson/Kconfig (revision 485bba39)
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
9*485bba39SNeil Armstrong	select SYSCON
10*485bba39SNeil Armstrong	select REGMAP
1108a00cbaSMichal Simek	imply CMD_DM
1232caa1e2SJerome Brunet
1333e33780SJerome Brunetconfig MESON_GX
1433e33780SJerome Brunet	bool
1533e33780SJerome Brunet	select MESON64_COMMON
1633e33780SJerome Brunet
1732caa1e2SJerome Brunetchoice
1832caa1e2SJerome Brunet	prompt "Platform select"
1996a739b4SJerome Brunet	default MESON_GXBB
20bfcef28aSBeniamino Galvani
2196a739b4SJerome Brunetconfig MESON_GXBB
2296a739b4SJerome Brunet	bool "GXBB"
2333e33780SJerome Brunet	select MESON_GX
24bfcef28aSBeniamino Galvani	help
2596a739b4SJerome Brunet	  Select this if your SoC is an S905
26cade865aSNeil Armstrong
2796a739b4SJerome Brunetconfig MESON_GXL
2896a739b4SJerome Brunet	bool "GXL"
2933e33780SJerome Brunet	select MESON_GX
30cade865aSNeil Armstrong	help
3196a739b4SJerome Brunet	  Select this if your SoC is an S905X/D or S805X
325ff2ee44SNeil Armstrong
3396a739b4SJerome Brunetconfig MESON_GXM
3496a739b4SJerome Brunet	bool "GXM"
3533e33780SJerome Brunet	select MESON_GX
368afd4ea5SLoic Devulder	help
3796a739b4SJerome Brunet	  Select this if your SoC is an S912
388afd4ea5SLoic Devulder
39*485bba39SNeil Armstrongconfig MESON_AXG
40*485bba39SNeil Armstrong	bool "AXG"
41*485bba39SNeil Armstrong	select MESON64_COMMON
42*485bba39SNeil Armstrong	help
43*485bba39SNeil Armstrong		Select this if your SoC is an A113X/D
44*485bba39SNeil Armstrong
4532caa1e2SJerome Brunetendchoice
468afd4ea5SLoic Devulder
47bfcef28aSBeniamino Galvaniconfig SYS_SOC
48bfcef28aSBeniamino Galvani	default "meson"
49bfcef28aSBeniamino Galvani
50bfcef28aSBeniamino Galvaniconfig SYS_MALLOC_F_LEN
51bfcef28aSBeniamino Galvani	default 0x1000
52bfcef28aSBeniamino Galvani
5396a739b4SJerome Brunetconfig SYS_VENDOR
5496a739b4SJerome Brunet	string "Vendor name"
5596a739b4SJerome Brunet	default "amlogic"
5696a739b4SJerome Brunet	help
5796a739b4SJerome Brunet	  This option contains information about board name.
5896a739b4SJerome Brunet	  Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
5996a739b4SJerome Brunet	  be used.
60bfcef28aSBeniamino Galvani
6196a739b4SJerome Brunetconfig SYS_BOARD
6296a739b4SJerome Brunet	string "Board name"
6396a739b4SJerome Brunet	default "odroid-c2" if MESON_GXBB
6496a739b4SJerome Brunet	default "p212" if MESON_GXL
6596a739b4SJerome Brunet	default "q200" if MESON_GXM
6696a739b4SJerome Brunet	default ""
6796a739b4SJerome Brunet	help
6896a739b4SJerome Brunet	  This option contains information about board name.
6996a739b4SJerome Brunet	  Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
7096a739b4SJerome Brunet	  be used.
71cade865aSNeil Armstrong
7296a739b4SJerome Brunetconfig SYS_CONFIG_NAME
7396a739b4SJerome Brunet	string "Board configuration name"
7496a739b4SJerome Brunet	default "meson64"
7596a739b4SJerome Brunet	help
7696a739b4SJerome Brunet	  This option contains information about board configuration name.
7796a739b4SJerome Brunet	  Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
7896a739b4SJerome Brunet	  will be used for board configuration.
798afd4ea5SLoic Devulder
80bfcef28aSBeniamino Galvaniendif
81