ARM: zynq: Fix bootmode mask
authorMike Looijmans <mike.looijmans@topic.nl>
Thu, 6 Mar 2014 13:43:36 +0000 (14:43 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 14 May 2014 05:43:34 +0000 (07:43 +0200)
Bootmode mask was defined as 0x0F, but documentation mentions 0x07.
Experiments show that bit "3" is the JTAG chain configuration.
Change the mask to "7" to allow systems with a different chain
configuration to boot correctly.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Acked-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/include/asm/arch-zynq/hardware.h

index 20f62bfc753b678bce3144c0453e867e102e46fd..a9d091f141efa629c73807075f3c5e60e16b9594 100644 (file)
@@ -25,7 +25,7 @@
 #define ZYNQ_EFUSE_BASEADDR            0xF800D000
 
 /* Bootmode setting values */
-#define ZYNQ_BM_MASK           0xF
+#define ZYNQ_BM_MASK           0x7
 #define ZYNQ_BM_NOR            0x2
 #define ZYNQ_BM_SD             0x5
 #define ZYNQ_BM_JTAG           0x0