
14 Sep
2012
14 Sep
'12
8:47 p.m.
On Fri, Sep 14, 2012 at 06:29:00PM +0100, Jos?? Miguel Gon??alves wrote:
NAND Flash driver with HW ECC for the S3C24XX SoCs. Currently it only supports SLC NAND chips.
Signed-off-by: Jos?? Miguel Gon??alves jose.goncalves@inov.pt
[snip]
+#ifdef CONFIG_SPL_BUILD +#define printf(arg...) do {} while (0) +#endif
As Marek pointed out, this isn't the right way to do this.
[snip]
- case 2: /* Multiple error */
- case 3: /* ECC area error */
printf("S3C24XX NAND: ECC uncorrectable error detected.\n");
Use puts() here.
--
Tom