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.goncal...@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
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot