diff options
author | Wolfgang Denk <wd@denx.de> | 2008-06-03 00:24:36 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-06-03 00:24:36 +0200 |
commit | 912810eeca90eedd1503f5e883f3a8da39d7ff89 (patch) | |
tree | 56d7a80b4d10e12e088eb51ad4aeb0fa22d0ed7a /board/atmel/at91sam9260ek/at91sam9260ek.c | |
parent | 7a68389a231ac061ba2ffd628f86e15ed0545a7b (diff) | |
parent | 602cac1389b755b223272f2328a47e6f8c240848 (diff) | |
download | u-boot-imx-912810eeca90eedd1503f5e883f3a8da39d7ff89.zip u-boot-imx-912810eeca90eedd1503f5e883f3a8da39d7ff89.tar.gz u-boot-imx-912810eeca90eedd1503f5e883f3a8da39d7ff89.tar.bz2 |
Merge remote branch 'u-boot-at91/for-1.3.4'
Diffstat (limited to 'board/atmel/at91sam9260ek/at91sam9260ek.c')
-rw-r--r-- | board/atmel/at91sam9260ek/at91sam9260ek.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/board/atmel/at91sam9260ek/at91sam9260ek.c b/board/atmel/at91sam9260ek/at91sam9260ek.c index b30aad8..ef4d486 100644 --- a/board/atmel/at91sam9260ek/at91sam9260ek.c +++ b/board/atmel/at91sam9260ek/at91sam9260ek.c @@ -90,7 +90,12 @@ static void at91sam9260ek_nand_hw_init(void) at91_sys_write(AT91_SMC_MODE(3), AT91_SMC_READMODE | AT91_SMC_WRITEMODE | AT91_SMC_EXNWMODE_DISABLE | - AT91_SMC_DBW_8 | AT91_SMC_TDF_(2)); +#ifdef CFG_NAND_DBW_16 + AT91_SMC_DBW_16 | +#else /* CFG_NAND_DBW_8 */ + AT91_SMC_DBW_8 | +#endif + AT91_SMC_TDF_(2)); at91_sys_write(AT91_PMC_PCER, 1 << AT91SAM9260_ID_PIOC); |