• Tanmay Upadhyay's avatar
    Kirkwood: bugfix: DRAM size initialization · 28e57108
    Tanmay Upadhyay authored
    
    
    If start of any DRAM bank is greater than total DDR size, remaining DDR banks' start address & size were left un-initialized in dram_init function. This could break other functions who uses array 'gd->bd->bi_dram'. Kirkwood network driver is one example. This also stops Linux kernel from booting.
    
    v2 - Set start address also to 0. Without this Linux kernel couldn't
         boot up
    Signed-off-by: default avatarTanmay Upadhyay <tanmay.upadhyay@einfochips.com>
    28e57108
dram.c 2.73 KB