aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot
diff options
context:
space:
mode:
authorLucian Cristian <lucian.cristian@gmail.com>2017-09-29 22:29:59 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2017-09-30 23:50:57 +0200
commit1114f5dc10755e3c92b5711b420818cf9e366874 (patch)
treedcfc7b6be108feddbfe001c88ba45ab570aaff1b /package/boot
parente95f22da369dcf925cbf0015c4049451f0685d3f (diff)
downloadupstream-1114f5dc10755e3c92b5711b420818cf9e366874.tar.gz
upstream-1114f5dc10755e3c92b5711b420818cf9e366874.tar.bz2
upstream-1114f5dc10755e3c92b5711b420818cf9e366874.zip
sunxi: improve A20 Lime2 upload speed
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Diffstat (limited to 'package/boot')
-rw-r--r--package/boot/uboot-sunxi/patches/060-sun7i-Add-support-for-Olimex-A20-OLinuXino-LIME2-eMM.patch3
-rw-r--r--package/boot/uboot-sunxi/patches/062-A20-improve-gmac-upload.patch12
2 files changed, 14 insertions, 1 deletions
diff --git a/package/boot/uboot-sunxi/patches/060-sun7i-Add-support-for-Olimex-A20-OLinuXino-LIME2-eMM.patch b/package/boot/uboot-sunxi/patches/060-sun7i-Add-support-for-Olimex-A20-OLinuXino-LIME2-eMM.patch
index e4fb958850..a7bfdd62d7 100644
--- a/package/boot/uboot-sunxi/patches/060-sun7i-Add-support-for-Olimex-A20-OLinuXino-LIME2-eMM.patch
+++ b/package/boot/uboot-sunxi/patches/060-sun7i-Add-support-for-Olimex-A20-OLinuXino-LIME2-eMM.patch
@@ -36,7 +36,7 @@ Reviewed-by: Jagan Teki <jagan@openedev.com>
S: Maintained
--- /dev/null
+++ b/configs/A20-OLinuXino-Lime2-eMMC_defconfig
-@@ -0,0 +1,36 @@
+@@ -0,0 +1,37 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN7I=y
@@ -64,6 +64,7 @@ Reviewed-by: Jagan Teki <jagan@openedev.com>
+CONFIG_ETH_DESIGNWARE=y
+CONFIG_RGMII=y
+CONFIG_SUN7I_GMAC=y
++CONFIG_GMAC_TX_DELAY=1
+CONFIG_AXP_ALDO3_VOLT=2800
+CONFIG_AXP_ALDO4_VOLT=2800
+CONFIG_USB_EHCI_HCD=y
diff --git a/package/boot/uboot-sunxi/patches/062-A20-improve-gmac-upload.patch b/package/boot/uboot-sunxi/patches/062-A20-improve-gmac-upload.patch
new file mode 100644
index 0000000000..df2300194c
--- /dev/null
+++ b/package/boot/uboot-sunxi/patches/062-A20-improve-gmac-upload.patch
@@ -0,0 +1,12 @@
+ GNU nano 2.7.4 File: 062-A20-improve-gmac-upload.patch
+
+--- a/configs/A20-OLinuXino-Lime2_defconfig
++++ b/configs/A20-OLinuXino-Lime2_defconfig
+@@ -24,6 +24,7 @@ CONFIG_DFU_RAM=y
+ CONFIG_ETH_DESIGNWARE=y
+ CONFIG_RGMII=y
+ CONFIG_SUN7I_GMAC=y
++CONFIG_GMAC_TX_DELAY=1
+ CONFIG_AXP_ALDO3_VOLT=2800
+ CONFIG_AXP_ALDO4_VOLT=2800
+ CONFIG_USB_EHCI_HCD=y