]> git.sur5r.net Git - u-boot/commit
arm: omap: Detect boot mode very early
authorLokesh Vutla <lokeshvutla@ti.com>
Tue, 27 Jun 2017 08:20:56 +0000 (13:50 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 10 Jul 2017 18:26:04 +0000 (14:26 -0400)
commit4bd754d8abef61835d5da2ba0c65b2b0d3badec9
tree28107b5d5705d25984e289664168e4c55dad9c34
parentd754254f20d29a9cb25b6fed0423b224384263aa
arm: omap: Detect boot mode very early

ROM stores the boot params information in a known location
and passes it to SPL. This information needs to be copied
very early during boot or else there is a chance of getting
corrupted by SPL. So move this boot device detection very early
during boot.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-omap2/am33xx/board.c
arch/arm/mach-omap2/boot-common.c
arch/arm/mach-omap2/hwinit-common.c