summaryrefslogtreecommitdiff
path: root/board/netstar/nand.c
diff options
context:
space:
mode:
authorPeter Pearse <peter.pearse@arm.com>2008-02-15 12:58:10 +0000
committerPeter Pearse <peter.pearse@arm.com>2008-02-15 12:58:10 +0000
commite42d2b0479ff5fd9f041e8dfa52105d521fa9264 (patch)
tree01f5d277ac3958a313d57b0599a36a890411338e /board/netstar/nand.c
parent45da195cf675d0b4054aeeabf7b9c0daf798841d (diff)
parentf4e7cbfcb0fcbc325a2bcfea7e00e3dd37f93846 (diff)
downloadu-boot-imx-e42d2b0479ff5fd9f041e8dfa52105d521fa9264.zip
u-boot-imx-e42d2b0479ff5fd9f041e8dfa52105d521fa9264.tar.gz
u-boot-imx-e42d2b0479ff5fd9f041e8dfa52105d521fa9264.tar.bz2
Merge branch '070524_netstar' of git://linux-arm.org/u-boot-armdev
Diffstat (limited to 'board/netstar/nand.c')
-rw-r--r--board/netstar/nand.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/board/netstar/nand.c b/board/netstar/nand.c
index d47e1d8..b76d2a3 100644
--- a/board/netstar/nand.c
+++ b/board/netstar/nand.c
@@ -45,23 +45,12 @@ static void netstar_nand_hwcontrol(struct mtd_info *mtd, int cmd)
this->IO_ADDR_W = (void *) IO_ADDR_W;
}
-/*
- * chip R/B detection
- */
-/***
-static int netstar_nand_ready(struct mtd_info *mtd)
-{
- return (*(volatile ushort *)GPIO_DATA_INPUT_REG) & 0x02;
-}
-***/
-
int board_nand_init(struct nand_chip *nand)
{
nand->options = NAND_SAMSUNG_LP_OPTIONS;
nand->eccmode = NAND_ECC_SOFT;
nand->hwcontrol = netstar_nand_hwcontrol;
-/* nand->dev_ready = netstar_nand_ready; */
- nand->chip_delay = 18;
+ nand->chip_delay = 400;
return 0;
}
#endif