commit | 9a5ff78d6deb66eb2c6ea4f04b46b5ee0961b7a2 | [log] [tgz] |
---|---|---|
author | Tanmay Upadhyay <[tanmay.upadhyay@einfochips.com]> | Thu Oct 28 20:06:22 2010 +0530 |
committer | Prafulla Wadaskar <prafulla@marvell.com> | Thu Oct 28 20:06:22 2010 +0530 |
tree | 85f4238317b8f6b4fd043bca5a2b7de753a0b5b9 | |
parent | 84cba2e5dd25306d5a4c76da8265178cdec09de2 [diff] |
Kirkwood: bugfix: DRAM size initialization 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: Tanmay Upadhyay <tanmay.upadhyay@einfochips.com>