|
@@ -10,7 +10,7 @@ diff -Nur linux-3.5.orig//arch/mips/bcm47xx/Makefile linux-3.5/arch/mips/bcm47xx
|
|
|
+obj-y += gpio.o irq.o nvram.o prom.o serial.o setup.o time.o sprom.o platform.o
|
|
|
diff -Nur linux-3.5.orig//arch/mips/bcm47xx/platform.c linux-3.5/arch/mips/bcm47xx/platform.c
|
|
|
--- linux-3.5.orig//arch/mips/bcm47xx/platform.c 1970-01-01 01:00:00.000000000 +0100
|
|
|
-+++ linux-3.5/arch/mips/bcm47xx/platform.c 2012-07-31 11:00:54.000000000 +0200
|
|
|
|
|
|
@@ -0,0 +1,146 @@
|
|
|
+/*
|
|
|
+ * This file is subject to the terms and conditions of the GNU General Public
|
|
@@ -105,7 +105,7 @@ diff -Nur linux-3.5.orig//arch/mips/bcm47xx/platform.c linux-3.5/arch/mips/bcm47
|
|
|
+{
|
|
|
+ u32 flash_size;
|
|
|
+ size_t left, posn;
|
|
|
-+ struct ssb_mipscore *mcore = &ssb_bcm47xx.mipscore;
|
|
|
++ struct ssb_mipscore *mcore = &bcm47xx_bus.ssb.mipscore;
|
|
|
+ struct bcm47xx_trx_header *trx_hdr;
|
|
|
+
|
|
|
+ trx_hdr = (void *)KSEG1ADDR(mcore->flash_window + BCM47XX_OVERRIDE_CFESIZE);
|
|
@@ -158,6 +158,7 @@ diff -Nur linux-3.5.orig//arch/mips/bcm47xx/platform.c linux-3.5/arch/mips/bcm47
|
|
|
+}
|
|
|
+
|
|
|
+device_initcall(bcm47xx_register_devices);
|
|
|
+Binary files linux-3.5.orig//arch/mips/bcm47xx/.wgt634u.c.swp and linux-3.5/arch/mips/bcm47xx/.wgt634u.c.swp differ
|
|
|
diff -Nur linux-3.5.orig//arch/mips/boot/compressed/decompress.c linux-3.5/arch/mips/boot/compressed/decompress.c
|
|
|
--- linux-3.5.orig//arch/mips/boot/compressed/decompress.c 2012-07-21 22:58:29.000000000 +0200
|
|
|
+++ linux-3.5/arch/mips/boot/compressed/decompress.c 2012-07-31 11:00:54.000000000 +0200
|