From c0d1d6df8e6c3d793ddfd660679d3653fd32ab7e Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 17 Apr 2009 09:22:02 +0000 Subject: [brcm47xx] finally fix boot failures on buffalo devices, tested on WHR-HP-G54 and WRT54GS v1.1 with no side effects (#4061) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15232 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/brcm47xx/patches-2.6.28/800-fix_cfe_detection.patch | 4 ++-- .../brcm47xx/patches-2.6.28/900-disable_early_printk.patch | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 target/linux/brcm47xx/patches-2.6.28/900-disable_early_printk.patch (limited to 'target/linux/brcm47xx/patches-2.6.28') diff --git a/target/linux/brcm47xx/patches-2.6.28/800-fix_cfe_detection.patch b/target/linux/brcm47xx/patches-2.6.28/800-fix_cfe_detection.patch index 63a71f05f..6cba54053 100644 --- a/target/linux/brcm47xx/patches-2.6.28/800-fix_cfe_detection.patch +++ b/target/linux/brcm47xx/patches-2.6.28/800-fix_cfe_detection.patch @@ -98,8 +98,8 @@ - prom_init_console(); - prom_init_cmdline(); + if (prom_init_cfe() == 0) { -+ prom_init_console_cfe(); -+ prom_init_cmdline_cfe(); ++ //prom_init_console_cfe(); ++ //prom_init_cmdline_cfe(); + __prom_putchar = prom_putchar_cfe; + } + diff --git a/target/linux/brcm47xx/patches-2.6.28/900-disable_early_printk.patch b/target/linux/brcm47xx/patches-2.6.28/900-disable_early_printk.patch new file mode 100644 index 000000000..32b57764b --- /dev/null +++ b/target/linux/brcm47xx/patches-2.6.28/900-disable_early_printk.patch @@ -0,0 +1,10 @@ +--- linux-2.6.28.9/arch/mips/Kconfig 2009-04-17 10:43:28.000000000 +0200 ++++ linux-2.6.28.9.new/arch/mips/Kconfig 2009-04-17 10:43:51.000000000 +0200 +@@ -56,7 +56,6 @@ + select SSB_B43_PCI_BRIDGE if PCI + select SSB_PCICORE_HOSTMODE if PCI + select GENERIC_GPIO +- select SYS_HAS_EARLY_PRINTK + select CFE + help + Support for BCM47XX based boards -- cgit v1.2.3