[U-Boot] [PATCH 09/18] ARM: zynq: Fix bootmode mask
Michal Simek
michal.simek at xilinx.com
Fri Apr 25 15:42:16 CEST 2014
From: Mike Looijmans <mike.looijmans at topic.nl>
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 at topic.nl>
Signed-off-by: Michal Simek <michal.simek at xilinx.com>
Acked-by: Siva Durga Prasad Paladugu <sivadur at xilinx.com>
---
arch/arm/include/asm/arch-zynq/hardware.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/arch-zynq/hardware.h b/arch/arm/include/asm/arch-zynq/hardware.h
index 20f62bf..a9d091f 100644
--- a/arch/arm/include/asm/arch-zynq/hardware.h
+++ b/arch/arm/include/asm/arch-zynq/hardware.h
@@ -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
--
1.8.2.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140425/e076a056/attachment.pgp>
More information about the U-Boot
mailing list