brcm47xx: add fallback sprom for pci devices without an own sprom.
[openwrt.git] / target / linux / lantiq / patches / 106-early_printk.patch
index 34e0bdf..1cf402c 100644 (file)
@@ -1,7 +1,7 @@
 --- a/arch/mips/lantiq/Kconfig
 +++ b/arch/mips/lantiq/Kconfig
 --- a/arch/mips/lantiq/Kconfig
 +++ b/arch/mips/lantiq/Kconfig
-@@ -33,4 +33,19 @@ endchoice
- source "arch/mips/lantiq/falcon/Kconfig"
+@@ -33,4 +33,19 @@
#source "arch/mips/lantiq/falcon/Kconfig"
  source "arch/mips/lantiq/xway/Kconfig"
  
 +if EARLY_PRINTK
  source "arch/mips/lantiq/xway/Kconfig"
  
 +if EARLY_PRINTK
@@ -44,7 +44,7 @@
 +#define LQ_ASC_BASE   KSEG1ADDR(LQ_ASC1_BASE)
 +#endif
 +
 +#define LQ_ASC_BASE   KSEG1ADDR(LQ_ASC1_BASE)
 +#endif
 +
-+#elif CONFIG_SOC_LANTIQ_FALCON
++#elif defined(CONFIG_SOC_LANTIQ_FALCON)
 +#include <falcon/gpon_reg_base.h>
 +#ifdef CONFIG_LANTIQ_PROM_ASC0
 +#define LQ_ASC_BASE   GPON_ASC0_BASE
 +#include <falcon/gpon_reg_base.h>
 +#ifdef CONFIG_LANTIQ_PROM_ASC0
 +#define LQ_ASC_BASE   GPON_ASC0_BASE
This page took 0.027897 seconds and 4 git commands to generate.