On Mon, Apr 2, 2012 at 12:18, Stefano Babic wrote: > Misaligned warnings are useful to debug faulty drivers. > A misaligned warning is printed also when the driver > is correct - use debug() instead of printf().
unfortunately, this turns the failure into a silent one. if i read the code correctly, you still return an error in this code path which means things don't actually get flushed/invalidated. to the original concept, i have no problem with cache funcs all warning on misalignment via debug() so developers can quickly see if things need to be reviewed. -mike _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot