[OpenWrt-Devel] [PATCH 3/14] brcm63xx: Add fallback sprom for CT5361_CT5621

Álvaro Fernández Rojas noltari at gmail.com
Sat Aug 2 08:05:34 EDT 2014


Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
diff --git a/target/linux/brcm63xx/patches-3.14/514-board_ct536_ct5621.patch b/target/linux/brcm63xx/patches-3.14/514-board_ct536_ct5621.patch
index 4a2c493..583c052 100644
--- a/target/linux/brcm63xx/patches-3.14/514-board_ct536_ct5621.patch
+++ b/target/linux/brcm63xx/patches-3.14/514-board_ct536_ct5621.patch
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -535,6 +535,51 @@ static struct board_info __initdata boar
+@@ -535,6 +535,58 @@ static struct board_info __initdata boar
  };
  
  
@@ -12,6 +12,7 @@
 +	.has_enet0			= 0,
 +	.has_enet1			= 1,
 +	.has_pci			= 1,
++	.use_fallback_sprom		= 1,
 +
 +	.enet1 = {
 +		.has_phy		= 1,
@@ -47,6 +48,12 @@
 +			.debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
 +		},
 +	},
++
++	.fallback_sprom = {
++		.type 				= SPROM_BCM4318,
++		.pci_bus			= 0,
++		.pci_dev			= 1,
++	},
 +};
 +
  static struct board_info __initdata board_96348gw = {
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list