Skip to contentSkip to conversation

boards/T4240qds:Fix IFC AMASK init as per FPGA register space

PATCH New Prabhakar Kushwaha 2 participants 3 messages Dec 18, 2012 – Dec 19, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 boards/T4240qds:Fix IFC AMASK init as per FPGA register space

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

---
 include/configs/t4qds.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/t4qds.h +1 -1
index d58c24c..c909ed8 100644
@@ -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) | \
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 boards/T4240qds:Fix IFC AMASK init as per FPGA register space

Quoted 1 line · Prabhakar Kushwaha

+#define CONFIG_SYS_AMASK3 IFC_AMASK(4*1024)

	IFC_AMASK(4 * 1024)

Spaces around binary operators, please.

Signature · 2 lines
Timur Tabi
Linux kernel developer at Freescale
#2 lore raw

PATCH 1/1 boards/T4240qds:Fix IFC AMASK init as per FPGA register space

Quoted 6 lines · Timur Tabi
Quoted 1 line · Prabhakar Kushwaha

+#define CONFIG_SYS_AMASK3 IFC_AMASK(4*1024)

	IFC_AMASK(4 * 1024)

Spaces around binary operators, please.

Thanks Timur for reviewing it.

I will fix this in next patch version.

Regards,
Prabhakar