mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-08 06:18:22 +01:00
u-boot: add support for eMMC for OLinuXino Lime2
Add support for eMMC for Olimex A20-OLinuXino Lime2 eMMC board by adding the appropriate defconfig while waiting it is upstreamed in mainline U-Boot. Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
This commit is contained in:
parent
6705d227ad
commit
54bc239a3f
@ -0,0 +1,49 @@
|
||||
From f50ee5d9684ddc237d86841fb57a0cc6daaa76e7 Mon Sep 17 00:00:00 2001
|
||||
From: Diego Rondini <diego.rondini@kynetics.com>
|
||||
Date: Thu, 13 Apr 2017 06:51:39 +0000
|
||||
Subject: [PATCH] sunxi: add A20-OLinuXino-Lime2-eMMC defconfig
|
||||
|
||||
---
|
||||
configs/A20-OLinuXino-Lime2-eMMC_defconfig | 30 ++++++++++++++++++++++++++++++
|
||||
1 file changed, 30 insertions(+)
|
||||
create mode 100644 configs/A20-OLinuXino-Lime2-eMMC_defconfig
|
||||
|
||||
diff --git a/configs/A20-OLinuXino-Lime2-eMMC_defconfig b/configs/A20-OLinuXino-Lime2-eMMC_defconfig
|
||||
new file mode 100644
|
||||
index 0000000..b7be1a2
|
||||
--- /dev/null
|
||||
+++ b/configs/A20-OLinuXino-Lime2-eMMC_defconfig
|
||||
@@ -0,0 +1,30 @@
|
||||
+CONFIG_ARM=y
|
||||
+CONFIG_ARCH_SUNXI=y
|
||||
+CONFIG_MACH_SUN7I=y
|
||||
+CONFIG_DRAM_CLK=384
|
||||
+CONFIG_MMC0_CD_PIN="PH1"
|
||||
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
||||
+CONFIG_USB0_VBUS_PIN="PC17"
|
||||
+CONFIG_USB0_VBUS_DET="PH5"
|
||||
+CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olinuxino-lime2-emmc"
|
||||
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
+CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPC(3)"
|
||||
+CONFIG_SPL=y
|
||||
+CONFIG_SPL_I2C_SUPPORT=y
|
||||
+# CONFIG_CMD_IMLS is not set
|
||||
+# CONFIG_CMD_FLASH is not set
|
||||
+CONFIG_CMD_DFU=y
|
||||
+CONFIG_CMD_USB_MASS_STORAGE=y
|
||||
+# CONFIG_CMD_FPGA is not set
|
||||
+CONFIG_DFU_RAM=y
|
||||
+CONFIG_RTL8211X_PHY_FORCE_MASTER=y
|
||||
+CONFIG_ETH_DESIGNWARE=y
|
||||
+CONFIG_AXP_ALDO3_VOLT=2800
|
||||
+CONFIG_AXP_ALDO4_VOLT=2800
|
||||
+CONFIG_USB_EHCI_HCD=y
|
||||
+CONFIG_USB_MUSB_GADGET=y
|
||||
+CONFIG_USB_GADGET=y
|
||||
+CONFIG_USB_GADGET_DOWNLOAD=y
|
||||
+CONFIG_G_DNL_MANUFACTURER="Allwinner Technology"
|
||||
+CONFIG_G_DNL_VENDOR_NUM=0x1f3a
|
||||
+CONFIG_G_DNL_PRODUCT_NUM=0x1010
|
||||
--
|
||||
1.9.1
|
||||
|
@ -27,7 +27,9 @@ DEFAULT_PREFERENCE_sun7i="1"
|
||||
DEFAULT_PREFERENCE_sun8i="1"
|
||||
|
||||
SRC_URI = "git://git.denx.de/u-boot.git;branch=master \
|
||||
file://boot.cmd"
|
||||
file://boot.cmd \
|
||||
file://0001-sunxi-add-A20-OLinuXino-Lime2-eMMC-defconfig.patch \
|
||||
"
|
||||
|
||||
SRCREV = "8537ddd769f460d7fb7a62a3dcc9669049702e51"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user