Ticket #800: bcm47xx-flash.diff

File bcm47xx-flash.diff, 565 bytes (added by FlorianEchtler <floe@…>, 11 years ago)

patch for bcm47xx-flash.c

  • drivers/mtd/maps/bcm47xx-flash.c

    diff -Naur linux-2.6.17-old/drivers/mtd/maps/bcm47xx-flash.c linux-2.6.17/drivers/mtd/maps/bcm47xx-flash.c
    old new  
    5656 
    5757#define ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y)) 
    5858#define NVRAM_SPACE 0x8000 
    59 #define WINDOW_ADDR 0x1c000000 
    60 #define WINDOW_SIZE 0x800000 
     59#define WINDOW_ADDR 0x1fc00000 
     60#define WINDOW_SIZE 0x400000 
    6161#define BUSWIDTH 2 
    6262 
    6363static struct mtd_info *bcm947xx_mtd;