mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[adm5120] fix flash driver, it should work on RB150 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9418 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -140,6 +140,7 @@ static unsigned char rb133c_vlans[6] __initdata = {
|
||||
static unsigned char rb15x_vlans[6] __initdata = {
|
||||
/* FIXME: untested */
|
||||
0x41, 0x42, 0x44, 0x48, 0x50, 0x00
|
||||
};
|
||||
|
||||
static unsigned char rb192_vlans[6] __initdata = {
|
||||
/* FIXME: untested */
|
||||
@@ -261,6 +262,8 @@ static void __init rb150_setup(void)
|
||||
adm5120_nand_data.ctrl.cmd_ctrl = rb150_nand_cmd_ctrl;
|
||||
adm5120_nand_data.ctrl.dev_ready = rb150_nand_ready;
|
||||
|
||||
adm5120_flash0_data.window_size = 512*1024;
|
||||
|
||||
rb1xx_flash_setup();
|
||||
rb1xx_mac_setup();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user