aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-sunxi/patches/003-add-lemaker-bananapro.diff
diff options
context:
space:
mode:
Diffstat (limited to 'package/boot/uboot-sunxi/patches/003-add-lemaker-bananapro.diff')
-rw-r--r--package/boot/uboot-sunxi/patches/003-add-lemaker-bananapro.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/boot/uboot-sunxi/patches/003-add-lemaker-bananapro.diff b/package/boot/uboot-sunxi/patches/003-add-lemaker-bananapro.diff
new file mode 100644
index 0000000000..1d2677c5b4
--- /dev/null
+++ b/package/boot/uboot-sunxi/patches/003-add-lemaker-bananapro.diff
@@ -0,0 +1,22 @@
+diff -ruN u-boot-2015.01-rc3.old/board/sunxi/Makefile u-boot-2015.01-rc3/board/sunxi/Makefile
+--- u-boot-2015.01-rc3.old/board/sunxi/Makefile 2015-01-04 13:01:29.000000000 +0100
++++ u-boot-2015.01-rc3/board/sunxi/Makefile 2015-01-04 18:06:50.304380318 +0100
+@@ -22,6 +22,7 @@
+ obj-$(CONFIG_TARGET_AUXTEK_T004) += dram_a10s_olinuxino_m.o
+ obj-$(CONFIG_TARGET_BA10_TV_BOX) += dram_sun4i_384_1024_iow8.o
+ obj-$(CONFIG_TARGET_BANANAPI) += dram_bananapi.o
++obj-$(CONFIG_TARGET_BANANAPI) += dram_bananapi.o
+ obj-$(CONFIG_TARGET_CUBIEBOARD) += dram_cubieboard.o
+ obj-$(CONFIG_TARGET_CUBIEBOARD2) += dram_cubieboard2.o
+ obj-$(CONFIG_TARGET_CUBIETRUCK) += dram_cubietruck.o
+diff -ruN u-boot-2015.01-rc3.old/configs/Bananapro_defconfig u-boot-2015.01-rc3/configs/Bananapro_defconfig
+--- u-boot-2015.01-rc3.old/configs/Bananapro_defconfig 1970-01-01 01:00:00.000000000 +0100
++++ u-boot-2015.01-rc3/configs/Bananapro_defconfig 2015-01-04 18:06:19.784880656 +0100
+@@ -0,0 +1,7 @@
++CONFIG_SPL=y
++CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI,USB_EHCI"
++CONFIG_FDTFILE="sun7i-a20-bananapro.dtb"
+++S:CONFIG_ARM=y
+++S:CONFIG_ARCH_SUNXI=y
+++S:CONFIG_MACH_SUN7I=y
+++S:CONFIG_TARGET_BANANAPRO=y