rockchip: rk3128: use ARM arch timer instead of rk_timer
[oweals/u-boot.git] / arch / arm / mach-meson / Kconfig
index cc943443b3a9b962eb29157e1cc69b5a15879e5c..e29e4c0acc06d0d843de16989a5ff80fe41d2f82 100644 (file)
@@ -1,89 +1,55 @@
 if ARCH_MESON
 
-config MESON_GXBB
-       bool "Support Meson GXBaby"
-       select ARM64
-       select CLK
-       select DM
-       select DM_SERIAL
-       imply CMD_DM
-       help
-         The Amlogic Meson GXBaby (S905) is an ARM SoC with a
-         quad-core Cortex-A53 CPU and a Mali-450 GPU.
-
-config MESON_GXL
-       bool "Support Meson GXL"
+config MESON64_COMMON
+       bool
        select ARM64
        select CLK
        select DM
        select DM_SERIAL
+       select SYSCON
+       select REGMAP
+       select BOARD_LATE_INIT
        imply CMD_DM
-       help
-         The Amlogic Meson GXL (S905X and S905D) is an ARM SoC with a
-         quad-core Cortex-A53 CPU and a Mali-450 GPU.
-
-config MESON_GXM
-       bool "Support Meson GXM"
-       select ARM64
-       select CLK
-       select DM
-       select DM_SERIAL
-       help
-         The Amlogic Meson GXM (S912) is an ARM SoC with an
-         octo-core Cortex-A53 CPU and a Mali-T860 GPU.
 
-if MESON_GXBB
+config MESON_GX
+       bool
+       select MESON64_COMMON
 
-config TARGET_ODROID_C2
-       bool "ODROID-C2"
-       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.
+choice
+       prompt "Platform select"
+       default MESON_GXBB
 
-config TARGET_NANOPI_K2
-       bool "NANOPI_K2"
+config MESON_GXBB
+       bool "GXBB"
+       select MESON_GX
        help
-         NANOPI_K2 is a single board computer based on Meson GXBaby
-         with 2 GiB of RAM, Gigabit Ethernet,AP6212 Wifi, HDMI, 4 USB,
-         micro-SD slot, eMMC, IR receiver and a 40-pin GPIO header.
-endif
+         Select this if your SoC is an S905
 
-if MESON_GXL
-
-config TARGET_P212
-       bool "P212"
+config MESON_GXL
+       bool "GXL"
+       select MESON_GX
        help
-         P212 is a reference dessign board based on Meson GXL S905X SoC
-         with 2 GiB of RAM, Ethernet, HDMI, 2 USB, micro-SD slot,
-         eMMC, IR receiver, CVBS+Audio jack and a SDIO WiFi module.
+         Select this if your SoC is an S905X/D or S805X
 
-config TARGET_LIBRETECH_CC
-       bool "LIBRETECH-CC"
+config MESON_GXM
+       bool "GXM"
+       select MESON_GX
        help
-         LibreTech CC is a single board computer based on Meson GXL
-         with 2 GiB of RAM, Ethernet, HDMI, 4 USB, micro-SD slot,
-         eMMC, IR receiver and a 40-pin GPIO header.
+         Select this if your SoC is an S912
 
-config TARGET_KHADAS_VIM
-       bool "KHADAS-VIM"
+config MESON_AXG
+       bool "AXG"
+       select MESON64_COMMON
        help
-         Khadas VIM is a single board computer based on Meson GXL
-         with 2 GiB of RAM, Ethernet, HDMI, 4 USB, micro-SD slot,
-         eMMC, IR receiver and a 40-pin GPIO header.
-
-endif
-
-if MESON_GXM
+         Select this if your SoC is an A113X/D
 
-config TARGET_KHADAS_VIM2
-       bool "KHADAS-VIM2"
+config MESON_G12A
+       bool "G12A"
+       select MESON64_COMMON
        help
-         Khadas VIM2 is a single board computer based on Meson GXM
-         with 2/3 GiB of RAM, Ethernet, HDMI, 4 USB, micro-SD slot,
-         eMMC, IR receiver and a 40-pin GPIO header.
+         Select this if your SoC is an S905X/D2
 
-endif
+endchoice
 
 config SYS_SOC
        default "meson"
@@ -91,16 +57,33 @@ config SYS_SOC
 config SYS_MALLOC_F_LEN
        default 0x1000
 
-source "board/amlogic/odroid-c2/Kconfig"
-
-source "board/amlogic/nanopi-k2/Kconfig"
-
-source "board/amlogic/p212/Kconfig"
-
-source "board/amlogic/libretech-cc/Kconfig"
-
-source "board/amlogic/khadas-vim/Kconfig"
+config SYS_VENDOR
+       string "Vendor name"
+       default "amlogic"
+       help
+         This option contains information about board name.
+         Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_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/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
+         be used.
 
-source "board/amlogic/khadas-vim2/Kconfig"
+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/<CONFIG_SYS_CONFIG_NAME>.h header
+         will be used for board configuration.
 
 endif