From: Vagrant Cascadian Date: Tue, 7 Apr 2015 20:42:30 +0000 (+0000) Subject: Add-support-for-the-LeMaker-Banana-Pro X-Git-Tag: archive/raspbian/2016.11+dfsg1-3+rpi1~1^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c3986f6831c79fea23b2a7e1cce25d5b050ea45d;p=u-boot.git Add-support-for-the-LeMaker-Banana-Pro =================================================================== Gbp-Pq: Topic BananaPro Gbp-Pq: Name Add-support-for-the-LeMaker-Banana-Pro.patch --- diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS index 4ed82cf6e..4a34375d3 100644 --- a/board/sunxi/MAINTAINERS +++ b/board/sunxi/MAINTAINERS @@ -19,6 +19,7 @@ F: configs/r7-tv-dongle_defconfig F: include/configs/sun7i.h F: configs/A20-OLinuXino_MICRO_defconfig F: configs/Bananapi_defconfig +F: configs/Bananapro_defconfig F: configs/i12-tvbox_defconfig F: configs/Linksprite_pcDuino3_defconfig F: configs/qt840a_defconfig diff --git a/board/sunxi/Makefile b/board/sunxi/Makefile index d63a6d2c7..3b7359f86 100644 --- a/board/sunxi/Makefile +++ b/board/sunxi/Makefile @@ -22,6 +22,7 @@ obj-$(CONFIG_A20_OLINUXINO_M) += dram_sun7i_384_1024_iow16.o obj-$(CONFIG_AUXTEK_T004) += dram_a10s_olinuxino_m.o obj-$(CONFIG_BA10_TV_BOX) += dram_sun4i_384_1024_iow8.o obj-$(CONFIG_BANANAPI) += dram_bananapi.o +obj-$(CONFIG_BANANAPRO) += dram_bananapi.o obj-$(CONFIG_CUBIEBOARD) += dram_cubieboard.o obj-$(CONFIG_CUBIEBOARD2) += dram_cubieboard2.o obj-$(CONFIG_CUBIETRUCK) += dram_cubietruck.o diff --git a/board/sunxi/gmac.c b/board/sunxi/gmac.c index 6348d2728..8e41b8351 100644 --- a/board/sunxi/gmac.c +++ b/board/sunxi/gmac.c @@ -29,7 +29,7 @@ int sunxi_gmac_initialize(bd_t *bis) * need to set bits 10-12 GTXDC "GMAC Transmit Clock Delay Chain" * of the GMAC clk register to 3. */ -#ifdef CONFIG_BANANAPI +#if defined CONFIG_BANANAPI || defined CONFIG_BANANAPRO setbits_le32(&ccm->gmac_clk_cfg, 0x3 << 10); #endif diff --git a/configs/Bananapro_defconfig b/configs/Bananapro_defconfig new file mode 100644 index 000000000..8140cc4dd --- /dev/null +++ b/configs/Bananapro_defconfig @@ -0,0 +1,6 @@ +CONFIG_SPL=y +CONFIG_SYS_EXTRA_OPTIONS="BANANAPRO,AXP209_POWER,SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI,USB_EHCI,SUNXI_USB_VBUS0_GPIO=SUNXI_GPH(0),SUNXI_USB_VBUS1_GPIO=SUNXI_GPH(1)" +CONFIG_FDTFILE="sun7i-a20-bananapro.dtb" ++S:CONFIG_ARM=y ++S:CONFIG_TARGET_SUN7I=y +