[Armadeus-commitlog] SF.net SVN: armadeus:[971] trunk/target/linux/modules/isp1761/ apf9328-isp1761
Brought to you by:
sszy
|
From: <jo...@us...> - 2008-12-25 23:58:28
|
Revision: 971
http://armadeus.svn.sourceforge.net/armadeus/?rev=971&view=rev
Author: jorasse
Date: 2008-12-25 23:58:26 +0000 (Thu, 25 Dec 2008)
Log Message:
-----------
[linux] improved ISP1760 pre-fetch timing according datasheet - optimized RD/WR pulse width
Modified Paths:
--------------
trunk/target/linux/modules/isp1761/apf9328-isp1761.c
Modified: trunk/target/linux/modules/isp1761/apf9328-isp1761.c
===================================================================
--- trunk/target/linux/modules/isp1761/apf9328-isp1761.c 2008-12-20 21:00:40 UTC (rev 970)
+++ trunk/target/linux/modules/isp1761/apf9328-isp1761.c 2008-12-25 23:58:26 UTC (rev 971)
@@ -39,17 +39,17 @@
#define CFG_CS3_WRITE_PROTECT 0 /* 1 : write access prohibited */
#define CFG_CS3_EB_SIGNAL_CONTROL_WRITE 1 /* 1 when EB is used as write signal*/
-#define CFG_CS3_READ_CYC_LGTH 105 /* ns */
-#define CFG_CS3_OE_ASSERT_DLY 35 /* ns */
-#define CFG_CS3_OE_NEG_DLY 35 /* ns */
+#define CFG_CS3_READ_CYC_LGTH 110 /* ns */
+#define CFG_CS3_OE_ASSERT_DLY 45 /* ns */
+#define CFG_CS3_OE_NEG_DLY 40 /* ns */
#define CFG_CS3_CS_NEG_LGTH 30 /* max 30 ns CS HIGH to CS LOW at 100MHz*/
#define CFG_CS3_XTRA_DEAD_CYC 0 /* ns from CS HIGH to tristate bus */
#define CFG_CS3_WRITE_XTRA_LGTH 0 /* ns */
-#define CFG_CS3_EB_ASSERT_DLY 5 /* ns */
-#define CFG_CS3_EB_NEG_DLY 65 /* ns */
-#define CFG_CS3_CS_ASSERT_NEG_DLY 0 /* ns */
+#define CFG_CS3_EB_ASSERT_DLY 45 /* ns */
+#define CFG_CS3_EB_NEG_DLY 45 /* ns */
+#define CFG_CS3_CS_ASSERT_NEG_DLY 35 /* ns */
#define CFG_CS3_SYNC_ENABLE 0 /* enable synchronous burst mode*/
#define CFG_CS3_SYNC_PAGE_MODE_EMUL 0 /* enable page mode emulation */
@@ -144,6 +144,7 @@
/* configure the chip select 3 */
__REG(IMX_EIM_BASE + CS3U + IMX_IO_BASE) = CFG_CS3U_VAL; //CSU
__REG(IMX_EIM_BASE + CS3L + IMX_IO_BASE) = CFG_CS3L_VAL; //CSL
+ printk("CFG_CS3 %#x %#x", CFG_CS3U_VAL, CFG_CS3L_VAL);
imx_gpio_mode( ISP1761_GPIO_IRQ | GPIO_IN | GPIO_GIUS ); /* Set up IRQ line. */
set_irq_type( ISP1761_IRQ, IRQF_TRIGGER_FALLING );
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|