Ticket #3180: adm5120-memory-size.diff

File adm5120-memory-size.diff, 391 bytes (added by tom@…, 8 years ago)

adm5120-memory-size.diff

  • target/linux/adm5120/files/arch/mips/adm5120/memory.c

    old new  
    102102        mem_dbg("chip size in 1st bank is %uMB\n", size >> 20); 
    103103        adm5120_memsize = size; 
    104104 
    105         if (size != maxsize) 
     105        if (size == maxsize) 
    106106                /* 2nd bank is not supported */ 
    107107                goto out; 
    108108