Skip to content

Commit

Permalink
HACK: H6: Add 32 bit build
Browse files Browse the repository at this point in the history
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
  • Loading branch information
jernejsk committed Feb 13, 2018
1 parent 68f495e commit 11d35f1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions arch/arm/mach-sunxi/Kconfig
Expand Up @@ -32,6 +32,10 @@ config SUNXI_GEN_SUN6I
separate ahb reset control registers, custom pmic bus, new style
watchdog, etc.

config MACH_SUN50I_H6
bool
select SUPPORT_SPL

config SUNXI_DRAM_DW
bool
---help---
Expand Down Expand Up @@ -193,13 +197,18 @@ config MACH_SUN50I_H5
select FIT
select SPL_LOAD_FIT

config MACH_SUN50I_H6
config MACH_SUN50I_H6_64
bool "sun50i (Allwinner H6)"
select ARM64
select SUPPORT_SPL
select MACH_SUN50I_H6
select FIT
select SPL_LOAD_FIT

config MACH_SUN50I_H6_32
bool "sun50i (Allwinner H6 32-bit)"
select CPU_V7
select MACH_SUN50I_H6

endchoice

# The sun8i SoCs share a lot, this helps to avoid a lot of "if A23 || A33"
Expand Down
2 changes: 1 addition & 1 deletion configs/pine_h64_defconfig
@@ -1,6 +1,6 @@
CONFIG_ARM=y
CONFIG_ARCH_SUNXI=y
CONFIG_MACH_SUN50I_H6=y
CONFIG_MACH_SUN50I_H6_32=y
CONFIG_DRAM_ODT_EN=y
CONFIG_MMC0_CD_PIN="PF6"
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
Expand Down

0 comments on commit 11d35f1

Please sign in to comment.