summaryrefslogtreecommitdiffstats
path: root/common/console.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-08-03 15:30:03 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-08-13 10:43:06 +0200
commit7d27f77b6ea0378b4a1cac0c6560661861a0b8ab (patch)
tree0f08f864d26b17dbab84aca324f38342cc9fe33b /common/console.c
parente9dc699882b65ecd84567c00757705a7ff663c8b (diff)
downloadbarebox-7d27f77b6ea0378b4a1cac0c6560661861a0b8ab.tar.gz
barebox-7d27f77b6ea0378b4a1cac0c6560661861a0b8ab.tar.xz
nand bb: Fix writing of nand page unaligned data
We used to write the data in nand_bb_write directly to the NAND flash. If we do not write a whole NAND page at once, this resulted in multiple writes of one page which corrupted the ecc data. Fix this by collecting 4096 bytes of data before actually writing the data to the flash. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/console.c')
0 files changed, 0 insertions, 0 deletions