diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2007-10-23 12:31:13 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2007-10-23 12:31:13 +0000 |
commit | 198b1c3e4f865e6b4a63b4f5c38ce666cfbc8c79 (patch) | |
tree | 7f45ffd183b263f083bc1a7c5d9e0b2b514ffef6 /target/linux/adm5120/files/arch | |
parent | 211dc4b5a4df5b5960aaed9c5b710f694a5034f2 (diff) | |
download | master-187ad058-198b1c3e4f865e6b4a63b4f5c38ce666cfbc8c79.tar.gz master-187ad058-198b1c3e4f865e6b4a63b4f5c38ce666cfbc8c79.tar.bz2 master-187ad058-198b1c3e4f865e6b4a63b4f5c38ce666cfbc8c79.zip |
[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
Diffstat (limited to 'target/linux/adm5120/files/arch')
-rw-r--r-- | target/linux/adm5120/files/arch/mips/adm5120/boards/mikrotik.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/adm5120/files/arch/mips/adm5120/boards/mikrotik.c b/target/linux/adm5120/files/arch/mips/adm5120/boards/mikrotik.c index 1ed420e0c7..855ec3afb1 100644 --- a/target/linux/adm5120/files/arch/mips/adm5120/boards/mikrotik.c +++ b/target/linux/adm5120/files/arch/mips/adm5120/boards/mikrotik.c @@ -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(); } |