summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/spl.h
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-01-21 07:30:37 +0100
committerMichal Simek <michal.simek@xilinx.com>2014-02-04 16:39:50 +0100
commit9d24274509cdd463992dc1fb1a2820d6a4b6d21d (patch)
treeaa599f1c017ae0a597daf3394e8a45ed3192396d /arch/microblaze/include/asm/spl.h
parent22ff7f4d195b49ca7db5b2a0c3aa2c987ab88c34 (diff)
downloadtalos-obmc-uboot-9d24274509cdd463992dc1fb1a2820d6a4b6d21d.tar.gz
talos-obmc-uboot-9d24274509cdd463992dc1fb1a2820d6a4b6d21d.zip
microblaze: Add SPL support
Add support for U-BOOT SPL. NOR and RAM mode are supported. There are 3 images in NOR flash. u-boot.img, dtb and kernel. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/include/asm/spl.h')
-rw-r--r--arch/microblaze/include/asm/spl.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/spl.h b/arch/microblaze/include/asm/spl.h
new file mode 100644
index 0000000000..c1cae6cf0f
--- /dev/null
+++ b/arch/microblaze/include/asm/spl.h
@@ -0,0 +1,16 @@
+/*
+ * (C) Copyright 2013 - 2014 Xilinx, Inc
+ *
+ * Michal Simek <michal.simek@xilinx.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef _ASM_MICROBLAZE_SPL_H_
+#define _ASM_MICROBLAZE_SPL_H_
+
+#define BOOT_DEVICE_RAM 1
+#define BOOT_DEVICE_NOR 2
+#define BOOT_DEVICE_SPI 3
+
+#endif
OpenPOWER on IntegriCloud