diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-19 17:24:29 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-19 17:24:29 +0000 |
commit | 278549f6d430cd00e4b8df7cbf402fc32db27934 (patch) | |
tree | 91ad7906bb15d7f587e75c408df0d52dbfd70665 /target/linux/brcm63xx | |
parent | 01926e6150b87eebdc7ff674b45400838b87a0db (diff) |
[brcm63xx] add board registration of the bcm96338gw
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13693 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx')
-rw-r--r-- | target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c b/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c index a899f508c..8b42b7ff2 100644 --- a/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c @@ -35,6 +35,25 @@ static unsigned int mac_addr_used = 0; static struct board_info board; /* + * known 6338 boards + */ + +#ifdef CONFIG_BCM63XX_CPU_6338 +static struct board_info __initdata board_96338gw = { + .name = "96338GW", + .expected_cpu_id = 0x6338, + + .has_enet0 = 1, + .enet0 = { + .has_phy = 1, + .use_internal_phy = 1, + }, + + .has_ohci0 = 1, +}; +#endif + +/* * known 6348 boards */ #ifdef CONFIG_BCM63XX_CPU_6348 @@ -200,6 +219,9 @@ static struct board_info __initdata board_96358vw2 = { * all boards */ static const struct board_info __initdata *bcm963xx_boards[] = { +#ifdef CONFIG_BCM63XX_CPU_6338 + &board_96338gw, +#endif #ifdef CONFIG_BCM63XX_CPU_6348 &board_96348r, &board_96348gw, |