diff options
author | Zoltan HERPAI <wigyori@uid0.hu> | 2015-01-09 19:19:35 +0000 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2015-01-09 19:19:35 +0000 |
commit | 1e1319729b33e879f4dbbb407f06e8ee08b6bcc6 (patch) | |
tree | 3106d7c459f90312834216cc6defeed0794721eb /package/boot/uboot-sunxi/patches/003-uboot-fix-gmac-not-working-reliable-on-bananapi.patch | |
parent | 60a5ab1efecd4e36f83216a4648db155582b7625 (diff) | |
download | master-187ad058-1e1319729b33e879f4dbbb407f06e8ee08b6bcc6.tar.gz master-187ad058-1e1319729b33e879f4dbbb407f06e8ee08b6bcc6.tar.bz2 master-187ad058-1e1319729b33e879f4dbbb407f06e8ee08b6bcc6.zip |
[packages] uboot-sunxi: various updates
- use mainline uboot-sunxi version (2015.01-rc3)
- add support for Bananapro
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43899 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/boot/uboot-sunxi/patches/003-uboot-fix-gmac-not-working-reliable-on-bananapi.patch')
-rw-r--r-- | package/boot/uboot-sunxi/patches/003-uboot-fix-gmac-not-working-reliable-on-bananapi.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/package/boot/uboot-sunxi/patches/003-uboot-fix-gmac-not-working-reliable-on-bananapi.patch b/package/boot/uboot-sunxi/patches/003-uboot-fix-gmac-not-working-reliable-on-bananapi.patch deleted file mode 100644 index 6bc8c93902..0000000000 --- a/package/boot/uboot-sunxi/patches/003-uboot-fix-gmac-not-working-reliable-on-bananapi.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/board/sunxi/gmac.c b/board/sunxi/gmac.c -index e7ff952..f58c963 100644 ---- a/board/sunxi/gmac.c -+++ b/board/sunxi/gmac.c -@@ -24,6 +24,15 @@ int sunxi_gmac_initialize(bd_t *bis) - CCM_GMAC_CTRL_GPIT_MII); - #endif - -+ /* -+ * HdG: this is necessary to get GMAC to work reliable on the -+ * Bananapi. We don't know what these undocumented bits do, so this -+ * is a Bananapi specific hack for now. -+ */ -+#ifdef CONFIG_BANANAPI -+ setbits_le32(&ccm->gmac_clk_cfg, 0x3 << 10); -+#endif -+ - /* Configure pin mux settings for GMAC */ - for (pin = SUNXI_GPA(0); pin <= SUNXI_GPA(16); pin++) { - #ifdef CONFIG_RGMII |