Changeset 18413


Ignore:
Timestamp:
2009-11-13T21:32:47+01:00 (8 years ago)
Author:
hauke
Message:

[brcm47xx] fix problem with 128MB ram.

This patch is out of broadcoms official source code

Location:
trunk/target/linux
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm-2.4/files/arch/mips/bcm947xx/prom.c

    r15242 r18413  
    3232                        break; 
    3333        } 
     34 
     35        /* Ignoring the last page when ddr size is 128M. Cached 
     36         * accesses to last page is causing the processor to prefetch 
     37         * using address above 128M stepping out of the ddr address 
     38         * space. 
     39         */ 
     40        if (mem == 0x8000000) 
     41                mem -= 0x1000; 
     42 
    3443        add_memory_region(0, mem, BOOT_MEM_RAM); 
    3544} 
Note: See TracChangeset for help on using the changeset viewer.