u-boot: Fix up patches for latest u-boot

Minor changes to patches to make them apply.

Signed-off-by: Will Newton <willn@resin.io>
This commit is contained in:
Will Newton 2017-09-12 16:20:04 +02:00
parent 8d131e6974
commit 871b7524cc
2 changed files with 3 additions and 16 deletions

View file

@ -1,11 +1,11 @@
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 0ed36cded..822ebb812 100644
index d7a9b11..388d19b 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -578,6 +578,7 @@ config ARCH_SUNXI
@@ -562,6 +562,7 @@ config ARCH_SUNXI
select CMD_GPIO
select CMD_MMC if MMC
select CMD_USB if DISTRO_DEFAULTS
select CMD_USB
+ select OF_LIBFDT_OVERLAY
select DM
select DM_ETH

View file

@ -50,16 +50,3 @@ index f2ed941..e8219bb 100644
CONFIG_DRAM_ZQ=3881979
CONFIG_DRAM_ODT_EN=y
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
diff --git a/configs/orangepi_zero_defconfig b/configs/orangepi_zero_defconfig
index ac44937..0e761b6 100644
--- a/configs/orangepi_zero_defconfig
+++ b/configs/orangepi_zero_defconfig
@@ -2,7 +2,7 @@ CONFIG_ARM=y
CONFIG_ARCH_SUNXI=y
CONFIG_SPL_SPI_FLASH_SUPPORT=y
CONFIG_MACH_SUN8I_H3=y
-CONFIG_DRAM_CLK=672
+CONFIG_DRAM_CLK=408
CONFIG_DRAM_ZQ=3881979
CONFIG_DRAM_ODT_EN=y
CONFIG_DEFAULT_DEVICE_TREE="sun8i-h2-plus-orangepi-zero"