summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvebu/include
diff options
context:
space:
mode:
authorSean Nyekjaer <sean.nyekjaer@prevas.dk>2017-11-24 16:01:47 +0300
committerStefan Roese <sr@denx.de>2017-11-30 10:30:27 +0300
commit926c8b2e3241f3a694b46d5db3453bc546a01f69 (patch)
treeeb3e7c7254247b2f40e2eada0eef9cb11cd14ce0 /arch/arm/mach-mvebu/include
parente83e2b390038c9075642cb243a6292241beb8d73 (diff)
downloadu-boot-926c8b2e3241f3a694b46d5db3453bc546a01f69.tar.xz
arm: mvebu: enable boot from NAND
Check if we are booting from NAND and let the bootrom continue to load the rest of the bootloader Signed-off-by: Sean Nyekjaer <sean.nyekjaer@prevas.dk> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/mach-mvebu/include')
-rw-r--r--arch/arm/mach-mvebu/include/mach/soc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/include/mach/soc.h b/arch/arm/mach-mvebu/include/mach/soc.h
index 4f81285bb5..1a06a1e876 100644
--- a/arch/arm/mach-mvebu/include/mach/soc.h
+++ b/arch/arm/mach-mvebu/include/mach/soc.h
@@ -147,6 +147,7 @@
#define BOOT_DEV_SEL_OFFS 4
#define BOOT_DEV_SEL_MASK (0x3f << BOOT_DEV_SEL_OFFS)
+#define BOOT_FROM_NAND 0x0A
#define BOOT_FROM_UART 0x28
#define BOOT_FROM_UART_ALT 0x3f
#define BOOT_FROM_SPI 0x32