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/at91cap9adk/nand.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/at91cap9adk/nand.c')
-rw-r--r-- | board/atmel/at91cap9adk/nand.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/atmel/at91cap9adk/nand.c b/board/atmel/at91cap9adk/nand.c index 28091a4..0432ef1 100644 --- a/board/atmel/at91cap9adk/nand.c +++ b/board/atmel/at91cap9adk/nand.c @@ -63,6 +63,9 @@ static void at91cap9adk_nand_hwcontrol(struct mtd_info *mtd, int cmd) int board_nand_init(struct nand_chip *nand) { nand->eccmode = NAND_ECC_SOFT; +#ifdef CFG_NAND_DBW_16 + nand->options = NAND_BUSWIDTH_16; +#endif nand->hwcontrol = at91cap9adk_nand_hwcontrol; nand->chip_delay = 20; |