summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-01-16 09:18:21 +0100
committerMichal Simek <michal.simek@xilinx.com>2014-02-19 09:41:21 +0100
commit627981213ad1693591a03614d35ccdc060aa5935 (patch)
treed4a4463a525eedef2f935fde2834fd11119718c1 /arch/arm/include
parente66da8bbf45762a340371bf8aff730cb17454801 (diff)
downloadu-boot-imx-627981213ad1693591a03614d35ccdc060aa5935.zip
u-boot-imx-627981213ad1693591a03614d35ccdc060aa5935.tar.gz
u-boot-imx-627981213ad1693591a03614d35ccdc060aa5935.tar.bz2
zynq: Move bootmode to headers
These numbers will be reused by SPL. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-zynq/hardware.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-zynq/hardware.h b/arch/arm/include/asm/arch-zynq/hardware.h
index cd69677..1fe0448 100644
--- a/arch/arm/include/asm/arch-zynq/hardware.h
+++ b/arch/arm/include/asm/arch-zynq/hardware.h
@@ -21,6 +21,12 @@
#define ZYNQ_SPI_BASEADDR1 0xE0007000
#define ZYNQ_DDRC_BASEADDR 0xF8006000
+/* Bootmode setting values */
+#define ZYNQ_BM_MASK 0xF
+#define ZYNQ_BM_NOR 0x2
+#define ZYNQ_BM_SD 0x5
+#define ZYNQ_BM_JTAG 0x0
+
/* Reflect slcr offsets */
struct slcr_regs {
u32 scl; /* 0x0 */