fix add-emmc-orangepi.patch that was broken since u-boot v2016.07

This commit is contained in:
Martin Ayotte
2016-07-22 17:27:20 -04:00
parent 9a02a964b2
commit a766bb2014

View File

@@ -40,15 +40,16 @@ index c2f63c5..4a4926b 100644
ahb_rst: reset@01c202c0 {
diff --git a/configs/orangepi_pc_defconfig b/configs/orangepi_pc_defconfig
index 7bade8f..3ca75be 100644
index 7eaa795..cca89ec 100644
--- a/configs/orangepi_pc_defconfig
+++ b/configs/orangepi_pc_defconfig
@@ -13,6 +13,8 @@ CONFIG_CMD_BOOTZ=y
# CONFIG_CMD_IMLS is not set
# CONFIG_CMD_FLASH is not set
CONFIG_CMD_MMC=y
@@ -7,6 +7,9 @@ CONFIG_DRAM_ODT_EN=y
# CONFIG_VIDEO is not set
CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-pc"
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_CMD_MMC=y
+CONFIG_MMC0_CD_PIN="PF6"
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
CONFIG_CMD_I2C=y
# CONFIG_CMD_FPGA is not set
CONFIG_CMD_DHCP=y
CONFIG_SPL=y
# CONFIG_CMD_IMLS is not set
# CONFIG_CMD_FLASH is not set