x86: spl: Reduce priority of the basic SPL image loader
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:11:39 +0000 (08:11 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:35 +0000 (13:57 +0800)
commitdaade119aa4b49d5ff6b1ebbdfeab0a8775c9344
tree900a6cca277021b4de08fc003f6be7d566e3e185
parent14dd93beb71727edf0c7ee288f2ee1ceceb6317a
x86: spl: Reduce priority of the basic SPL image loader

This image loader works on systems where the flash is directly mapped to
the last part of the 32-bit address space. On recent Intel systems (such
as apollolake) this is not the case.

Reduce the priority of this loader so that another one can override it.

While we are here, rename the loader to BOOT_DEVICE_SPI_MMAP since
BOOT_DEVICE_BOARD is not very descriptive.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/spl.h
arch/x86/lib/spl.c
arch/x86/lib/tpl.c