]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi: spl: Detect at runtime where SPL was read from
authorDaniel Kochmański <dkochmanski@turtle-solutions.eu>
Fri, 29 May 2015 14:55:42 +0000 (16:55 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:49:05 +0000 (13:49 +0200)
commit18acac48ded292e4a87e16f92d0a5ac41771c601
tree8dec228536273c8c579f4cc9ed730deafe941945
parentf69ffb24ad76a9fde07a824000cb3e28e86a5d54
sunxi: spl: Detect at runtime where SPL was read from

Make possible using a single `u-boot-sunxi-with-spl.bin` binary for both NAND
memory and SD card. Detection where SPL was read from is implemented in
`spl_boot_device`.

Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
CC: Roy Spliet <r.spliet@ultimaker.com>
Cc: Ian Campbell <ijc@hellion.org.uk>
[hdegoede@redhat.com: Some small coding style fixes]
Acked-by: Hans De Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/cpu/armv7/sunxi/board.c