]> git.baikalelectronics.ru Git - uboot.git/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)
commit00f3a54556321905c3142087f80f1cf61d3d283b
tree28107b5d5705d25984e289664168e4c55dad9c34
parent93260e0956ff8d8c221e771055c8d1e87b6dc149
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