mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 11:02:26 +02:00
[brcm47xx] Remove obsolete CFE workaround, now proper fix went in r11275
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11276 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
60bfafb866
commit
6be2f95016
@ -1,23 +0,0 @@
|
|||||||
Index: linux-2.6.25.4/arch/mips/bcm47xx/prom.c
|
|
||||||
===================================================================
|
|
||||||
--- linux-2.6.25.4.orig/arch/mips/bcm47xx/prom.c
|
|
||||||
+++ linux-2.6.25.4/arch/mips/bcm47xx/prom.c
|
|
||||||
@@ -83,9 +83,18 @@ static __init void prom_init_cfe(void)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
+ if (((unsigned int)prom_vec == 0x80300000) ||
|
|
||||||
+ ((unsigned int)prom_vec == 0x80400000)) {
|
|
||||||
+ /* WRT54G series workaround */
|
|
||||||
+ cfe_eptseal = CFE_EPTSEAL;
|
|
||||||
+ cfe_ept = 0xBFC00500;
|
|
||||||
+ cfe_handle = (uint32_t)argc;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
if (cfe_eptseal != CFE_EPTSEAL) {
|
|
||||||
/* too early for panic to do any good */
|
|
||||||
printk(KERN_ERR "CFE's entrypoint seal doesn't match.");
|
|
||||||
+ *(unsigned int*)0xb8000064 = 0x1;
|
|
||||||
while (1) ;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user