Add-support-for-the-LeMaker-Banana-Pro
authorVagrant Cascadian <vagrant@debian.org>
Tue, 7 Apr 2015 20:42:30 +0000 (20:42 +0000)
committerVagrant Cascadian <vagrant@debian.org>
Tue, 7 Apr 2015 20:42:30 +0000 (20:42 +0000)
===================================================================

Gbp-Pq: Topic BananaPro
Gbp-Pq: Name Add-support-for-the-LeMaker-Banana-Pro.patch

board/sunxi/MAINTAINERS
board/sunxi/Makefile
board/sunxi/gmac.c
configs/Bananapro_defconfig [new file with mode: 0644]

index 4ed82cf6e307a4ae3d07ca9aed684663545eaae6..4a34375d3e0f59d3a831a7d4b04a75fedf7397d6 100644 (file)
@@ -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
index d63a6d2c79159cbd150e384cff4d552d00f58303..3b7359f86371f327a70ed978eb8c1bb8db2fa591 100644 (file)
@@ -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
index 6348d27282748d66cf6d55f484fdefa69d4a0af6..8e41b83517f58739b6e764b7c927c3b18ab3d502 100644 (file)
@@ -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 (file)
index 0000000..8140cc4
--- /dev/null
@@ -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
+