[U-Boot] Boot reason in SPL for OMAP4

Tom Rini trini at ti.com
Wed Oct 1 19:34:56 CEST 2014


On Tue, Sep 30, 2014 at 10:26:08AM -0700, Gregoire Gentil wrote:

> Hello,
> 
> In TI x-loader, the boot reason is copied to a scratchpad 0x4A326000
> as shown here:
> https://gitorious.org/x-loader/x-loader/source/HEAD:cpu/omap4/start.S#L102
> 
> How can I access the boot reason in u-boot or in the SPL?

spl_boot_mode() and spl_boot_device().

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141001/b75e45a2/attachment.pgp>


More information about the U-Boot mailing list