Prechádzať zdrojové kódy

Add support for Sagem F@ST2404 (#4332)

SVN-Revision: 13583
Florian Fainelli 17 rokov pred
rodič
commit
4dc65aed63

+ 26 - 0
target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c

@@ -115,6 +115,31 @@ static struct board_info __initdata board_96348gw = {
 
 	.has_ohci0 = 1,
 };
+
+static struct board_info __initdata board_FAST2404 = {
+        .name                           = "F@ST2404",
+        .expected_cpu_id                = 0x6348,
+
+        .has_enet0                      = 1,
+        .has_enet1                      = 1,
+        .has_pci                        = 1,
+
+        .enet0 = {
+                .has_phy                = 1,
+                .use_internal_phy       = 1,
+        },
+
+        .enet1 = {
+                .force_speed_100        = 1,
+                .force_duplex_full      = 1,
+        },
+
+
+        .has_ohci0 = 1,
+        .has_pccard = 1,
+        .has_ehci0 = 1,
+};
+
 #endif
 
 /*
@@ -179,6 +204,7 @@ static const struct board_info __initdata *bcm963xx_boards[] = {
 	&board_96348gw,
 	&board_96348gw_10,
 	&board_96348gw_11,
+	&board_FAST2404,
 #endif
 
 #ifdef CONFIG_BCM63XX_CPU_6358

+ 2 - 0
target/linux/brcm63xx/image/Makefile

@@ -80,6 +80,8 @@ define Image/Build
 	$(call Image/Build/CFE,$(1),96348GW-11,6348)
 	# DG834G
 	$(call Image/Build/CFE,$(1),96348GW-10,6348)
+	# Sagem F@ST2404
+	$(call Image/Build/CFE,$(1),F@ST2404,6348)
 endef
 
 $(eval $(call BuildImage))