From: York Sun Date: Wed, 19 Dec 2012 17:23:05 +0000 (+0000) Subject: powerpc/t4240qds: Update IFC timing for NOR flash X-Git-Tag: v2013.04-rc1~164 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9730b7bc11580a7fd7bdabbd76224eb1cc14d42a;p=oweals%2Fu-boot.git powerpc/t4240qds: Update IFC timing for NOR flash Relax parameters to give address latching more time to setup. Tighten parameters to make it overall faster. Signed-off-by: York Sun Signed-off-by: Andy Fleming --- diff --git a/include/configs/t4qds.h b/include/configs/t4qds.h index d93e0263f9..2c665b8a9d 100644 --- a/include/configs/t4qds.h +++ b/include/configs/t4qds.h @@ -213,14 +213,14 @@ unsigned long get_board_ddr_clk(void); /* NOR Flash Timing Params */ #define CONFIG_SYS_NOR_CSOR CSOR_NAND_TRHZ_80 -#define CONFIG_SYS_NOR_FTIM0 (FTIM0_NOR_TACSE(0x01) | \ - FTIM0_NOR_TEADC(0x01) | \ - FTIM0_NOR_TEAHC(0x20)) +#define CONFIG_SYS_NOR_FTIM0 (FTIM0_NOR_TACSE(0x4) | \ + FTIM0_NOR_TEADC(0x5) | \ + FTIM0_NOR_TEAHC(0x5)) #define CONFIG_SYS_NOR_FTIM1 (FTIM1_NOR_TACO(0x35) | \ FTIM1_NOR_TRAD_NOR(0x1A) |\ FTIM1_NOR_TSEQRAD_NOR(0x13)) -#define CONFIG_SYS_NOR_FTIM2 (FTIM2_NOR_TCS(0x01) | \ - FTIM2_NOR_TCH(0x0E) | \ +#define CONFIG_SYS_NOR_FTIM2 (FTIM2_NOR_TCS(0x4) | \ + FTIM2_NOR_TCH(0x4) | \ FTIM2_NOR_TWPH(0x0E) | \ FTIM2_NOR_TWP(0x1c)) #define CONFIG_SYS_NOR_FTIM3 0x0