1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

bcm63xx: Add a fixup for rt2x00 devices.

This patch adds support for defining rt2x00 eeprom data.
This eeprom data can be extracted from flash or loaded directly from a firmware file.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34322 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jogo
2012-11-24 14:19:22 +00:00
parent e14736a8d8
commit 0b36fa881c
75 changed files with 567 additions and 150 deletions

View File

@@ -9,7 +9,7 @@
#include <asm/addrspace.h>
#include <bcm63xx_board.h>
#include <bcm63xx_cpu.h>
@@ -43,6 +45,12 @@
@@ -44,6 +46,12 @@
#define CFE_OFFSET_64K 0x10000
#define CFE_OFFSET_128K 0x20000
@@ -22,7 +22,7 @@
static struct board_info board;
/*
@@ -708,6 +716,586 @@ static struct board_info __initdata boar
@@ -709,6 +717,586 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
};
@@ -609,7 +609,7 @@
#endif
/*
@@ -741,6 +1329,11 @@ static const struct board_info __initdat
@@ -742,6 +1330,11 @@ static const struct board_info __initdat
&board_96358vw2,
&board_AGPFS0,
&board_DWVS0,
@@ -621,7 +621,7 @@
#endif
};
@@ -795,6 +1388,16 @@ static void __init boardid_fixup(u8 *boo
@@ -796,6 +1389,16 @@ static void __init boardid_fixup(u8 *boo
struct bcm_tag *tag = (struct bcm_tag *)(boot_addr + CFE_OFFSET_64K);
char *board_name = (char *)bcm63xx_nvram_get_name();