diff options
author | Scott Wood <scottwood@freescale.com> | 2009-06-24 22:23:49 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2009-07-07 22:58:10 (GMT) |
commit | 1dac3a51875967f32641bbc0d26dc382ef02330a (patch) | |
tree | da3189b90533d3a383021a92a91352141e138d36 /drivers/mtd/nand/fsl_elbc_nand.c | |
parent | 98713d2663d5d30dde74f48f547114a2bfd9d463 (diff) | |
download | u-boot-1dac3a51875967f32641bbc0d26dc382ef02330a.tar.xz |
nand_spl: Fix cmd_ctrl usage in nand_boot.c.
When adding large page NAND support to this file, I had a misunderstanding
about the exact semantics of NAND_CTRL_CHANGE (which isn't documented
anywhere I can find) -- it is apparently just a hint to drivers,
which aren't required to preserve the old value for subsequent
non-"change" invocations.
This change makes nand_boot.c no longer assume this. Note that this
happened to work by chance with some NAND drivers, which don't preserve
the value, but treat 0 equivalently to NAND_CTRL_ALE.
I don't have hardware to test this, so any testing is appreciated.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'drivers/mtd/nand/fsl_elbc_nand.c')
0 files changed, 0 insertions, 0 deletions