projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
brcm47xx: initialize mtd bankwidth to fix problems with DIR-320 and others (patch...
[openwrt.git]
/
target
/
linux
/
brcm47xx
/
files-2.6.28
/
drivers
/
mtd
/
maps
/
bcm47xx-flash.c
diff --git
a/target/linux/brcm47xx/files-2.6.28/drivers/mtd/maps/bcm47xx-flash.c
b/target/linux/brcm47xx/files-2.6.28/drivers/mtd/maps/bcm47xx-flash.c
index
118d4c4
..
3ceec40
100644
(file)
--- a/
target/linux/brcm47xx/files-2.6.28/drivers/mtd/maps/bcm47xx-flash.c
+++ b/
target/linux/brcm47xx/files-2.6.28/drivers/mtd/maps/bcm47xx-flash.c
@@
-378,6
+378,7
@@
int __init init_bcm47xx_map(void)
printk("flash init: 0x%08x 0x%08x\n", window, window_size);
bcm47xx_map.phys = window;
bcm47xx_map.size = window_size;
printk("flash init: 0x%08x 0x%08x\n", window, window_size);
bcm47xx_map.phys = window;
bcm47xx_map.size = window_size;
+ bcm47xx_map.bankwidth = mcore->flash_buswidth;
bcm47xx_map.virt = ioremap_nocache(window, window_size);
#else
printk("flash init: 0x%08x 0x%08x\n", WINDOW_ADDR, WINDOW_SIZE);
bcm47xx_map.virt = ioremap_nocache(window, window_size);
#else
printk("flash init: 0x%08x 0x%08x\n", WINDOW_ADDR, WINDOW_SIZE);
This page took
0.023215 seconds
and
4
git commands to generate.