From 71f9b205e495e01a36f17bf87a9118b414ab65c8 Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Tue, 23 Oct 2007 12:31:13 +0000
Subject: fix flash driver, it should work on RB150 as well

SVN-Revision: 9418
---
 target/linux/adm5120/files/arch/mips/adm5120/boards/mikrotik.c | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'target/linux/adm5120/files/arch')

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 1ed420e..855ec3a 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();
 }
-- 
cgit v1.1