public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] nand_spl/nand_boot.c: why can't we do anything on ECC error?
@ 2008-08-13 17:03 Jens Gehrlein
  2008-08-13 17:18 ` Scott Wood
  0 siblings, 1 reply; 3+ messages in thread
From: Jens Gehrlein @ 2008-08-13 17:03 UTC (permalink / raw)
  To: u-boot

Hi,

in nand_spl/nand_boot.c in function nand_read_page() one can read the 
comment in the case of ECC errors:
"No chance to do something with the possible error message from 
correct_data(). We just hope that all possible errors are corrected by 
this routine."

Why can't we do anything? If an uncorrectable error has been recognized, 
we could at least execute an endless loop or issue a reset. Depending on 
the bit errors and their location in the U-Boot image, U-Boot may though 
boot and a runtime error could probably appear never or later or only 
under special circumtances. Because this is a risk (the image is 
corrupted), what do you think of inserting some blocking functionality?

Or did I missed something in interpreting this code?

Kind regards,
Jens

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-14  7:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-13 17:03 [U-Boot] nand_spl/nand_boot.c: why can't we do anything on ECC error? Jens Gehrlein
2008-08-13 17:18 ` Scott Wood
2008-08-14  7:42   ` Jens Gehrlein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox