lasat mtd device fixup
PATCH 1/1 lasat mtd device fixup
Hi Ralf,
this fixes (in as far as I can test at the moment)
the mtd devices for 2.5.
There seems to be a spurious log message in the mtd code here:
drivers/mtd/mtd_blkdevs.c:blktrans_notify_add 331: count 0
/Brian
Index: drivers/mtd/maps/Kconfig
===================================================================
RCS file: /cvs/linux/drivers/mtd/maps/Kconfig,v
retrieving revision 1.5
mtd/maps/Kconfig +0 -6
@@ -175,12 +175,6 @@ help Support for the flash chip on Tsunami TIG bus. -config MTD_LASAT - tristate "Flash chips on LASAT board" - depends on LASAT && MTD_CFI - help - Support for the flash chips on the Lasat 100 and 200 boards. - config MTD_NETtel tristate "CFI flash device on SnapGear/SecureEdge" depends on X86 && MTD_PARTITIONS && MTD_JEDECPROBE
Index: drivers/mtd/maps/lasat.c
===================================================================
RCS file: /cvs/linux/drivers/mtd/maps/lasat.c,v
retrieving revision 1.3
mtd/maps/lasat.c +16 -67
118 lines not on this page · raw message
Index: arch/mips/lasat/lasat_board.c
===================================================================
RCS file: /cvs/linux/arch/mips/lasat/lasat_board.c,v retrieving revision 1.4
mips/lasat/lasat_board.c +4 -4
@@ -71,19 +71,19 @@ ls[LASAT_MTD_NORMAL ] =0x100000 ;if (mips_machtype ==MACH_LASAT_100 ) { - lasat_board_info.li_flash_base =KSEG1ADDR (0x1e000000 ); + lasat_board_info.li_flash_base =0x1e000000 ; - lb[LASAT_MTD_BOOTLOADER ] =KSEG1ADDR (0x1e400000 ); + lb[LASAT_MTD_BOOTLOADER ] =0x1e400000 ;if (lasat_board_info.li_flash_size >0x200000 ) { ls[LASAT_MTD_CONFIG ] =0x100000 ; ls[LASAT_MTD_FS ] =0x500000 ; } }else { - lasat_board_info.li_flash_base =KSEG1ADDR (0x10000000 ); + lasat_board_info.li_flash_base =0x10000000 ;if (lasat_board_info.li_flash_size <0x1000000 ) { - lb[LASAT_MTD_BOOTLOADER ] =KSEG1ADDR (0x10000000 ); + lb[LASAT_MTD_BOOTLOADER ] =0x10000000 ; ls[LASAT_MTD_CONFIG ] =0x100000 ;if (lasat_board_info.li_flash_size >=0x400000 ) { ls[LASAT_MTD_FS ] = lasat_board_info.li_flash_size -0x300000 ;