Changeset 12408

Show
Ignore:
Timestamp:
06/30/2009 12:46:56 AM (4 months ago)
Author:
BrainSlayer
Message:

flash mapping fix for eoc5610

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/linux/ar531x/linux-2.6.23/drivers/mtd/maps/eoc5610_flash.c

    r12400 r12408  
    178178                 { 
    179179                        int offset = 0x0; 
    180                         unsigned char *buf = (unsigned char *)0xa8000000; 
     180                        unsigned char *buf = (unsigned char *)0xbe000000; 
    181181                        while ((offset + mymtd->erasesize) < mymtd->size) { 
    182182                                if (*((__u32 *)buf) == SQUASHFS_MAGIC) { 
     
    207207                                        rootsize = dir_parts[4].offset - offset;        //size of rootfs aligned to nvram offset 
    208208 
    209                                         p = (unsigned char *)(0xa8000000 + 
     209                                        p = (unsigned char *)(0xbe000000 + 
    210210                                                              dir_parts[5]. 
    211211                                                              offset);