
26 Oct
2010
26 Oct
'10
10:42 a.m.
On Tue, Oct 26, 2010 at 4:34 PM, Stefano Babic sbabic@denx.de wrote:
On 10/26/2010 10:25 AM, Heiko Schocher wrote:
We should set the CONFIG_SYS_INIT_SP_ADDR @ (IRAM_BASE_ADDR + IRAM_BASE_SIZE
- CONFIG_SYS_GBL_DATA_SIZE)
Agree, this is what I set for the vision2 board. We should be consistent and do the same for the mx51evk.
Don;t know if IRAM_BASE_SIZE exists ...
we must define it. I set it in the board configuration file, but it is wrong. The value should be moved into register definition file for the SoC (imx-regs.h)
I see many other platforms using 0x1000 offset way to define CONFIG_SYS_INIT_SP_ADDR, so I did that to make it a little bit more common. But I'm fine to start from the end, and will send v3 of this patch soon.
--
Regards,
Shawn