diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-02-01 21:38:07 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-02-01 21:38:07 +0000 |
commit | c5bc7f7cedf38c276e0acb9cb4bc796c9073f0fb (patch) | |
tree | a4324fa0af6620ea3eca5d20ff48fa1e4b1f8468 /package/uboot-ifxmips/patches/130-a800.patch | |
parent | 965047025807b928368a3942e1a04ba817fe6e24 (diff) |
drop uboot-ifxmips, use uboot-lantiq instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25294 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uboot-ifxmips/patches/130-a800.patch')
-rw-r--r-- | package/uboot-ifxmips/patches/130-a800.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/package/uboot-ifxmips/patches/130-a800.patch b/package/uboot-ifxmips/patches/130-a800.patch deleted file mode 100644 index f358201d18..0000000000 --- a/package/uboot-ifxmips/patches/130-a800.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- a/drivers/ifx_sw.c -+++ b/drivers/ifx_sw.c -@@ -118,7 +118,7 @@ int danube_switch_initialize(bd_t * bis) - { - struct eth_device *dev; - unsigned short chipid; -- -+ int i; - #if 0 - printf("Entered danube_switch_initialize()\n"); - #endif -@@ -130,6 +130,19 @@ int danube_switch_initialize(bd_t * bis) - } - memset(dev, 0, sizeof(*dev)); - -+#ifdef A800_SWITCH -+ printf ("bring up a800 switch and leds\n"); -+ *EBU_CON_1 = 0x1e7ff; -+ *EBU_ADDR_SEL_1 = 0x14000001; -+ -+ *((volatile u16*)0xb4000000) = 0x0; -+ for(i = 0; i < 1000; i++) -+ udelay(1000); -+ *((volatile u16*)0xb4000000) = (1 << 10); -+ *EBU_CON_1 = 0x8001e7ff; -+#define CLK_OUT2_25MHZ -+#endif -+ - danube_dma_init(); - danube_init_switch_chip(REV_MII_MODE); - |