openwrt-owl/package/boot/uboot-sunxi/patches/006-add-lamobo-r1.patch

25 lines
1.1 KiB
Diff

Index: u-boot-2015.01/board/sunxi/Makefile
===================================================================
--- u-boot-2015.01.orig/board/sunxi/Makefile
+++ u-boot-2015.01/board/sunxi/Makefile
@@ -23,6 +23,7 @@ obj-$(CONFIG_TARGET_AUXTEK_T004) += dram
obj-$(CONFIG_TARGET_BA10_TV_BOX) += dram_sun4i_384_1024_iow8.o
obj-$(CONFIG_TARGET_BANANAPI) += dram_bananapi.o
obj-$(CONFIG_TARGET_BANANAPRO) += dram_bananapi.o
+obj-$(CONFIG_TARGET_LAMOBO_R1) += dram_bananapi.o
obj-$(CONFIG_TARGET_CUBIEBOARD) += dram_cubieboard.o
obj-$(CONFIG_TARGET_CUBIEBOARD2) += dram_cubieboard2.o
obj-$(CONFIG_TARGET_CUBIETRUCK) += dram_cubietruck.o
Index: u-boot-2015.01/configs/Lamobo_R1_defconfig
===================================================================
--- /dev/null
+++ u-boot-2015.01/configs/Lamobo_R1_defconfig
@@ -0,0 +1,7 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,SUNXI_GMAC_TX_DELAY_3,RGMII,MACPWR=SUNXI_GPH(23),AHCI,USB_EHCI"
+CONFIG_FDTFILE="sun7i-a20-lamobo-r1.dtb"
++S:CONFIG_ARM=y
++S:CONFIG_ARCH_SUNXI=y
++S:CONFIG_MACH_SUN7I=y
++S:CONFIG_TARGET_LAMOBO_R1=y