summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/spl.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-09-25 08:11:39 -0600
committerBin Meng <bmeng.cn@gmail.com>2019-10-08 13:57:35 +0800
commitdaade119aa4b49d5ff6b1ebbdfeab0a8775c9344 (patch)
tree900a6cca277021b4de08fc003f6be7d566e3e185 /arch/x86/include/asm/spl.h
parent14dd93beb71727edf0c7ee288f2ee1ceceb6317a (diff)
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>
Diffstat (limited to 'arch/x86/include/asm/spl.h')
-rw-r--r--arch/x86/include/asm/spl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/include/asm/spl.h b/arch/x86/include/asm/spl.h
index 27432b28979..1bef4877eb3 100644
--- a/arch/x86/include/asm/spl.h
+++ b/arch/x86/include/asm/spl.h
@@ -10,8 +10,7 @@
#define CONFIG_SPL_BOARD_LOAD_IMAGE
enum {
- BOOT_DEVICE_SPI = 10,
- BOOT_DEVICE_BOARD,
+ BOOT_DEVICE_SPI_MMAP = 10,
BOOT_DEVICE_CROS_VBOOT,
};