* [U-Boot] [PATCH 2/2] at91: modified NAND flash timing on otc570 board
@ 2012-01-25 13:19 Daniel Gorsulowski
2012-02-20 8:02 ` Albert ARIBAUD
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Gorsulowski @ 2012-01-25 13:19 UTC (permalink / raw)
To: u-boot
Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu>
---
board/esd/otc570/otc570.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/board/esd/otc570/otc570.c b/board/esd/otc570/otc570.c
index 5dded41..0c12b66 100644
--- a/board/esd/otc570/otc570.c
+++ b/board/esd/otc570/otc570.c
@@ -81,20 +81,20 @@ static void otc570_nand_hw_init(void)
writel(csa, &matrix->csa[0]);
/* Configure SMC CS3 for NAND/SmartMedia */
- writel(AT91_SMC_SETUP_NWE(1) | AT91_SMC_SETUP_NCS_WR(0) |
- AT91_SMC_SETUP_NRD(1) | AT91_SMC_SETUP_NCS_RD(0),
+ writel(AT91_SMC_SETUP_NWE(1) | AT91_SMC_SETUP_NCS_WR(1) |
+ AT91_SMC_SETUP_NRD(2) | AT91_SMC_SETUP_NCS_RD(2),
&smc->cs[3].setup);
writel(AT91_SMC_PULSE_NWE(3) | AT91_SMC_PULSE_NCS_WR(3) |
AT91_SMC_PULSE_NRD(3) | AT91_SMC_PULSE_NCS_RD(3),
&smc->cs[3].pulse);
- writel(AT91_SMC_CYCLE_NWE(5) | AT91_SMC_CYCLE_NRD(5),
+ writel(AT91_SMC_CYCLE_NWE(6) | AT91_SMC_CYCLE_NRD(6),
&smc->cs[3].cycle);
writel(AT91_SMC_MODE_RM_NRD | AT91_SMC_MODE_WM_NWE |
AT91_SMC_MODE_EXNW_DISABLE |
AT91_SMC_MODE_DBW_8 |
- AT91_SMC_MODE_TDF_CYCLE(3),
+ AT91_SMC_MODE_TDF_CYCLE(12),
&smc->cs[3].mode);
/* Configure RDY/BSY */
--
1.5.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH 2/2] at91: modified NAND flash timing on otc570 board
2012-01-25 13:19 [U-Boot] [PATCH 2/2] at91: modified NAND flash timing on otc570 board Daniel Gorsulowski
@ 2012-02-20 8:02 ` Albert ARIBAUD
0 siblings, 0 replies; 2+ messages in thread
From: Albert ARIBAUD @ 2012-02-20 8:02 UTC (permalink / raw)
To: u-boot
Hi Daniel,
Le 25/01/2012 14:19, Daniel Gorsulowski a ?crit :
> Signed-off-by: Daniel Gorsulowski<Daniel.Gorsulowski@esd.eu>
> ---
> board/esd/otc570/otc570.c | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/board/esd/otc570/otc570.c b/board/esd/otc570/otc570.c
> index 5dded41..0c12b66 100644
> --- a/board/esd/otc570/otc570.c
> +++ b/board/esd/otc570/otc570.c
> @@ -81,20 +81,20 @@ static void otc570_nand_hw_init(void)
> writel(csa,&matrix->csa[0]);
>
> /* Configure SMC CS3 for NAND/SmartMedia */
> - writel(AT91_SMC_SETUP_NWE(1) | AT91_SMC_SETUP_NCS_WR(0) |
> - AT91_SMC_SETUP_NRD(1) | AT91_SMC_SETUP_NCS_RD(0),
> + writel(AT91_SMC_SETUP_NWE(1) | AT91_SMC_SETUP_NCS_WR(1) |
> + AT91_SMC_SETUP_NRD(2) | AT91_SMC_SETUP_NCS_RD(2),
> &smc->cs[3].setup);
>
> writel(AT91_SMC_PULSE_NWE(3) | AT91_SMC_PULSE_NCS_WR(3) |
> AT91_SMC_PULSE_NRD(3) | AT91_SMC_PULSE_NCS_RD(3),
> &smc->cs[3].pulse);
>
> - writel(AT91_SMC_CYCLE_NWE(5) | AT91_SMC_CYCLE_NRD(5),
> + writel(AT91_SMC_CYCLE_NWE(6) | AT91_SMC_CYCLE_NRD(6),
> &smc->cs[3].cycle);
> writel(AT91_SMC_MODE_RM_NRD | AT91_SMC_MODE_WM_NWE |
> AT91_SMC_MODE_EXNW_DISABLE |
> AT91_SMC_MODE_DBW_8 |
> - AT91_SMC_MODE_TDF_CYCLE(3),
> + AT91_SMC_MODE_TDF_CYCLE(12),
> &smc->cs[3].mode);
>
> /* Configure RDY/BSY */
Considered as a bug fix, and
Applied to u-boot-arm/master, thanks.
Amicalement,
--
Albert.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-20 8:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-25 13:19 [U-Boot] [PATCH 2/2] at91: modified NAND flash timing on otc570 board Daniel Gorsulowski
2012-02-20 8:02 ` Albert ARIBAUD
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).