003-add-lemaker-bananapro.diff 1.2 KB

12345678910111213141516171819202122
  1. diff -ruN u-boot-2015.01-rc3.old/board/sunxi/Makefile u-boot-2015.01-rc3/board/sunxi/Makefile
  2. --- u-boot-2015.01-rc3.old/board/sunxi/Makefile 2015-01-04 13:01:29.000000000 +0100
  3. +++ u-boot-2015.01-rc3/board/sunxi/Makefile 2015-01-04 18:06:50.304380318 +0100
  4. @@ -22,6 +22,7 @@
  5. obj-$(CONFIG_TARGET_AUXTEK_T004) += dram_a10s_olinuxino_m.o
  6. obj-$(CONFIG_TARGET_BA10_TV_BOX) += dram_sun4i_384_1024_iow8.o
  7. obj-$(CONFIG_TARGET_BANANAPI) += dram_bananapi.o
  8. +obj-$(CONFIG_TARGET_BANANAPRO) += dram_bananapi.o
  9. obj-$(CONFIG_TARGET_CUBIEBOARD) += dram_cubieboard.o
  10. obj-$(CONFIG_TARGET_CUBIEBOARD2) += dram_cubieboard2.o
  11. obj-$(CONFIG_TARGET_CUBIETRUCK) += dram_cubietruck.o
  12. diff -ruN u-boot-2015.01-rc3.old/configs/Bananapro_defconfig u-boot-2015.01-rc3/configs/Bananapro_defconfig
  13. --- u-boot-2015.01-rc3.old/configs/Bananapro_defconfig 1970-01-01 01:00:00.000000000 +0100
  14. +++ u-boot-2015.01-rc3/configs/Bananapro_defconfig 2015-01-04 18:06:19.784880656 +0100
  15. @@ -0,0 +1,7 @@
  16. +CONFIG_SPL=y
  17. +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI,USB_EHCI"
  18. +CONFIG_FDTFILE="sun7i-a20-bananapro.dtb"
  19. ++S:CONFIG_ARM=y
  20. ++S:CONFIG_ARCH_SUNXI=y
  21. ++S:CONFIG_MACH_SUN7I=y
  22. ++S:CONFIG_TARGET_BANANAPRO=y