[U-Boot] [PATCH] 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
Signed-off-by: Prabhakar Kushwaha prabhakar@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) | \

Prabhakar Kushwaha wrote:
+#define CONFIG_SYS_AMASK3 IFC_AMASK(4*1024)
IFC_AMASK(4 * 1024)
Spaces around binary operators, please.

On 12/18/2012 09:12 PM, Timur Tabi wrote:
Prabhakar Kushwaha wrote:
+#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
participants (2)
-
Prabhakar Kushwaha
-
Timur Tabi