]> git.sur5r.net Git - u-boot/blobdiff - board/sunxi/Kconfig
sunxi: Add defconfig and dts for the Polaroid MID2809PXE4 tablet
[u-boot] / board / sunxi / Kconfig
index 2dd9d3bfecd2eaa5a26a191a1547a70ac057bdbf..5e9d3af336e1b7fea403cd30642d3748a30dc7e9 100644 (file)
@@ -71,6 +71,15 @@ config MACH_SUN8I_A33
 config MACH_SUN8I_H3
        bool "sun8i (Allwinner H3)"
        select CPU_V7
+       select CPU_V7_HAS_NONSEC
+       select CPU_V7_HAS_VIRT
+       select SUNXI_GEN_SUN6I
+       select SUPPORT_SPL
+       select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
+
+config MACH_SUN8I_A83T
+       bool "sun8i (Allwinner A83T)"
+       select CPU_V7
        select SUNXI_GEN_SUN6I
        select SUPPORT_SPL
 
@@ -84,8 +93,14 @@ endchoice
 # The sun8i SoCs share a lot, this helps to avoid a lot of "if A23 || A33"
 config MACH_SUN8I
        bool
-       default y if MACH_SUN8I_A23 || MACH_SUN8I_A33 || MACH_SUN8I_H3
+       default y if MACH_SUN8I_A23 || MACH_SUN8I_A33 || MACH_SUN8I_H3 || MACH_SUN8I_A83T
 
+config DRAM_TYPE
+       int "sunxi dram type"
+       depends on MACH_SUN8I_A83T
+       default 3
+       ---help---
+       Set the dram type, 3: DDR3, 7: LPDDR3
 
 config DRAM_CLK
        int "sunxi dram clock speed"
@@ -357,6 +372,15 @@ config I2C3_ENABLE
        See I2C0_ENABLE help text.
 endif
 
+if SUNXI_GEN_SUN6I
+config R_I2C_ENABLE
+       bool "Enable the PRCM I2C/TWI controller"
+       # This is used for the pmic on H3
+       default y if SY8106A_POWER
+       ---help---
+       Set this to y to enable the I2C controller which is part of the PRCM.
+endif
+
 if MACH_SUN7I
 config I2C4_ENABLE
        bool "Enable I2C/TWI controller 4"
@@ -373,6 +397,7 @@ config AXP_GPIO
 
 config VIDEO
        boolean "Enable graphical uboot console on HDMI, LCD or VGA"
+       depends on !MACH_SUN8I_A83T
        default y
        ---help---
        Say Y here to add support for using a cfb console on the HDMI, LCD