P1010 IFC Interface - Registers Configuration

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

P1010 IFC Interface - Registers Configuration

679 Views
fábiowalter
Contributor I

Hello,

 

I would like to configure the field FTIM1 and FTIM2.

I am using a driver in the attachment file, that it was configurated the access to the memory with the .dtb file generating the lbc_teste.

I have the configurations to the LocalBus showed in the file xilinx.c, but only the register TACO change like I want.

The others registers like the TRAD_NOR, TCS, TCH, TWPH and TWP do not change the width in the oscilloscope.

I would like some help to resolve this problem, because I am accessing a device slower than the P1010.

 

Thanks,

Fábio Walter.

Original Attachment has been moved to: xilinx.c.zip

Labels (1)
Tags (2)
0 Kudos
2 Replies

348 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please try to configure FTIMn in u-boot include/configs/P1010RDB.h.

/* NOR Flash Timing Params */

    #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(0x1e) | \

    >--->--->--->---FTIM1_NOR_TRAD_NOR(0x0f)

    #define CONFIG_SYS_NOR_FTIM2>---FTIM2_NOR_TCS(0x4) | \

    >--->--->--->---FTIM2_NOR_TCH(0x4) | \

    >--->--->--->---FTIM2_NOR_TWP(0x1c)

    #define CONFIG_SYS_NOR_FTIM3>---0x0

0 Kudos

348 Views
fábiowalter
Contributor I

Hi Yiping Wang !!!

With some changes in the driver, I change the signals' width.

Thanks for the help,

Fábio Walter.

0 Kudos