X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/86a107e5443812428723192711f8def571f83aa9..4d759b723b5ae1687aead4fc07b1c12f41c8c4aa:/target/linux/brcm47xx/patches-3.0/014-MIPS-BCM47xx-Setup-and-register-serial-early.patch?ds=inline diff --git a/target/linux/brcm47xx/patches-3.0/014-MIPS-BCM47xx-Setup-and-register-serial-early.patch b/target/linux/brcm47xx/patches-3.0/014-MIPS-BCM47xx-Setup-and-register-serial-early.patch index 419a4f6f1..824dd09c0 100644 --- a/target/linux/brcm47xx/patches-3.0/014-MIPS-BCM47xx-Setup-and-register-serial-early.patch +++ b/target/linux/brcm47xx/patches-3.0/014-MIPS-BCM47xx-Setup-and-register-serial-early.patch @@ -15,16 +15,16 @@ Signed-off-by: Hauke Mehrtens --- a/arch/mips/bcm47xx/setup.c +++ b/arch/mips/bcm47xx/setup.c -@@ -29,6 +29,8 @@ - #include +@@ -30,6 +30,8 @@ #include #include + #include +#include +#include #include #include #include -@@ -247,6 +249,31 @@ static int bcm47xx_get_invariants(struct +@@ -274,6 +276,31 @@ static int bcm47xx_get_invariants(struct return 0; } @@ -53,17 +53,17 @@ Signed-off-by: Hauke Mehrtens +} +#endif + - void __init plat_mem_setup(void) + static void __init bcm47xx_register_ssb(void) { int err; -@@ -277,6 +304,10 @@ void __init plat_mem_setup(void) +@@ -303,6 +330,10 @@ static void __init bcm47xx_register_ssb( + memcpy(&mcore->serial_ports[1], &port, sizeof(port)); } } - ++ +#ifdef CONFIG_SERIAL_8250 + bcm47xx_early_serial_setup(mcore); +#endif -+ - _machine_restart = bcm47xx_machine_restart; - _machine_halt = bcm47xx_machine_halt; - pm_power_off = bcm47xx_machine_halt; + } + #endif +