diff options
author | Jon Hunter <jon-hunter@ti.com> | 2013-04-10 01:41:31 +0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-04-11 00:03:01 +0400 |
commit | 2a309f33def4a8f72cb3b2e6f6a93ad487a50189 (patch) | |
tree | 6df335a53178ad17f8efdda7b6e42ea9ac9c1e15 /include/configs | |
parent | 5faba1eac6ebfd769e25727283afa9d7275e9700 (diff) | |
download | u-boot-2a309f33def4a8f72cb3b2e6f6a93ad487a50189.tar.xz |
omap5912-osk: Fix device initialisation
In the current u-boot, the device pin multiplexing and clock
initialisation needs to be early during the boot process and before
board_init() is called. U-boot is currently crashing on this board
because this is not being done early enough. Therefore, add a s_init()
function for the omap5912-osk board to do this.
Also fix the stack pointer so that it is pointing to the end of the
internal RAM and not the beginning as this was also causing the device
to crash.
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/omap5912osk.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/configs/omap5912osk.h b/include/configs/omap5912osk.h index 40ca9bb98d..558e933b0a 100644 --- a/include/configs/omap5912osk.h +++ b/include/configs/omap5912osk.h @@ -183,7 +183,10 @@ #define CONFIG_ENV_SIZE 0x20000 /* Total Size of Environment Sector */ #define CONFIG_ENV_OFFSET 0x20000 /* environment starts here */ -#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 -#define CONFIG_SYS_INIT_SP_ADDR PHYS_SRAM +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_RAM_ADDR PHYS_SRAM +#define CONFIG_SYS_INIT_RAM_SIZE (250 * 1024) +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \ + CONFIG_SYS_INIT_RAM_SIZE) #endif /* __CONFIG_H */ |