]> git.sur5r.net Git - u-boot/commit
omap5912-osk: Fix device initialisation
authorJon Hunter <jon-hunter@ti.com>
Tue, 9 Apr 2013 21:41:31 +0000 (16:41 -0500)
committerTom Rini <trini@ti.com>
Wed, 10 Apr 2013 20:03:01 +0000 (16:03 -0400)
commit2a309f33def4a8f72cb3b2e6f6a93ad487a50189
tree6df335a53178ad17f8efdda7b6e42ea9ac9c1e15
parent5faba1eac6ebfd769e25727283afa9d7275e9700
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>
board/ti/omap5912osk/lowlevel_init.S
board/ti/omap5912osk/omap5912osk.c
include/configs/omap5912osk.h