summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-03-14 05:32:51 +0000
committerMarek Vasut <marex@denx.de>2013-04-10 15:22:24 +0200
commitc4df2f41005063cf1d1dcddeed4bd7f12a5dff77 (patch)
tree9d9c3ace2b7ca7a8bfd9013d762fb6fd1a75b6cc /common
parentc39d6a0ea57d57b53bd7fb8933874e1640e47888 (diff)
downloadtalos-obmc-uboot-c4df2f41005063cf1d1dcddeed4bd7f12a5dff77.tar.gz
talos-obmc-uboot-c4df2f41005063cf1d1dcddeed4bd7f12a5dff77.zip
cmd_nand.c: Fix CONFIG_CMD_NAND_YAFFS
The flag changed from WITH_INLINE_OOB to WITH_YAFFS_OOB by accident in 418396e. Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index 110c78c187..e9d3d3c1bf 100644
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -673,7 +673,7 @@ static int do_nand(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
}
ret = nand_write_skip_bad(nand, off, &rwsize, NULL,
maxsize, (u_char *)addr,
- WITH_INLINE_OOB);
+ WITH_YAFFS_OOB);
#endif
} else if (!strcmp(s, ".oob")) {
/* out-of-band data */
OpenPOWER on IntegriCloud