This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335X: Calculation of nand timings

Hello,

I'm struggling with the nand-timings. I understand there are calculations, which can be found in the TRM. But these are conviently called A,B,C... which doesn't....err...map to the struct in the PSP:

static struct gpmc_timings am335x_nand_timings = {
.sync_clk = 0,

.cs_on = 0,
.cs_rd_off = 44,
.cs_wr_off = 44,

.adv_on = 6,
.adv_rd_off = 34,
.adv_wr_off = 44,

.we_off = 40,
.oe_off = 54,

.access = 64,
.rd_cycle = 82,
.wbr_cycle = 82,

.wr_access = 40,
.wr_data_mux_bus = 0,

};

Please note that these are the default values. However, I don't know how I can map these A,B,C.... variables on this struct. I really need this, as my performance is now below set standard ( I actually doubled the above values, to get my custom board to start :s )

Kind regards!