X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=inline;f=arch%2Farm%2Fmach-meson%2FKconfig;h=e29e4c0acc06d0d843de16989a5ff80fe41d2f82;hb=d62be2f0d2ccc192263ce486613952c2e0217076;hp=77d3cfec5967ea24790cdce5eb0d7e81c908dc70;hpb=3fc304b8d77ce6646d38ae506e9fae74b9975631;p=oweals%2Fu-boot.git diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig index 77d3cfec59..e29e4c0acc 100644 --- a/arch/arm/mach-meson/Kconfig +++ b/arch/arm/mach-meson/Kconfig @@ -1,24 +1,55 @@ if ARCH_MESON -config MESON_GXBB - bool "Support Meson GXBaby" +config MESON64_COMMON + bool select ARM64 + select CLK select DM select DM_SERIAL + select SYSCON + select REGMAP + select BOARD_LATE_INIT + imply CMD_DM + +config MESON_GX + bool + select MESON64_COMMON + +choice + prompt "Platform select" + default MESON_GXBB + +config MESON_GXBB + bool "GXBB" + select MESON_GX help - The Amlogic Meson GXBaby (S905) is an ARM SoC with a - quad-core Cortex-A53 CPU and a Mali-450 GPU. + Select this if your SoC is an S905 -if MESON_GXBB +config MESON_GXL + bool "GXL" + select MESON_GX + help + Select this if your SoC is an S905X/D or S805X -config TARGET_ODROID_C2 - bool "ODROID-C2" +config MESON_GXM + bool "GXM" + select MESON_GX help - ODROID-C2 is a single board computer based on Meson GXBaby - with 2 GiB of RAM, Gigabit Ethernet, HDMI, 4 USB, micro-SD - slot, eMMC, IR receiver and a 40-pin GPIO header. + Select this if your SoC is an S912 -endif +config MESON_AXG + bool "AXG" + select MESON64_COMMON + help + Select this if your SoC is an A113X/D + +config MESON_G12A + bool "G12A" + select MESON64_COMMON + help + Select this if your SoC is an S905X/D2 + +endchoice config SYS_SOC default "meson" @@ -26,6 +57,33 @@ config SYS_SOC config SYS_MALLOC_F_LEN default 0x1000 -source "board/hardkernel/odroid-c2/Kconfig" +config SYS_VENDOR + string "Vendor name" + default "amlogic" + help + This option contains information about board name. + Based on this option board// will + be used. + +config SYS_BOARD + string "Board name" + default "p200" if MESON_GXBB + default "p212" if MESON_GXL + default "q200" if MESON_GXM + default "s400" if MESON_AXG + default "u200" if MESON_G12A + default "" + help + This option contains information about board name. + Based on this option board// will + be used. + +config SYS_CONFIG_NAME + string "Board configuration name" + default "meson64" + help + This option contains information about board configuration name. + Based on this option include/configs/.h header + will be used for board configuration. endif