[U-Boot] [PATCH] boards/T4240qds:Fix IFC AMASK init as per FPGA register space

Prabhakar Kushwaha prabhakar at freescale.com
Tue Dec 18 11:16:07 CET 2012


T4240QDS's QIXIS FPGA has 4k register space size and IFC controller's
Address Mask Registers is initialised 64K size.

So Fix the Address Mask Register initilisation as 4K

Signed-off-by: Prabhakar Kushwaha <prabhakar at freescale.com>
---
 include/configs/t4qds.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/t4qds.h b/include/configs/t4qds.h
index d58c24c..c909ed8 100644
--- a/include/configs/t4qds.h
+++ b/include/configs/t4qds.h
@@ -259,7 +259,7 @@ unsigned long get_board_ddr_clk(void);
 				| CSPR_PORT_SIZE_8 \
 				| CSPR_MSEL_GPCM \
 				| CSPR_V)
-#define CONFIG_SYS_AMASK3	IFC_AMASK(64*1024)
+#define CONFIG_SYS_AMASK3	IFC_AMASK(4*1024)
 #define CONFIG_SYS_CSOR3	0x0
 /* QIXIS Timing parameters for IFC CS3 */
 #define CONFIG_SYS_CS3_FTIM0		(FTIM0_GPCM_TACSE(0x0e) | \
-- 
1.7.9.5





More information about the U-Boot mailing list