Hi Andy, On Sun, Jan 8, 2012 at 7:36 PM, Andy Fleming <aflem...@gmail.com> wrote: > On Wed, Dec 21, 2011 at 2:02 PM, Simon Glass <s...@chromium.org> wrote: >> When the data cache is enabled we must flush on write and invalidate >> on read. We also check that buffers are aligned to data cache lines >> boundaries. With recent work in U-Boot this should generally be the case >> but the warnings will catch problems. >> >> Signed-off-by: Simon Glass <s...@chromium.org> >H > With this patch applied, I see these warnings:
Yes Tom mentioned this also. Since it seems this is the way we are going (rather than a fix at the generic MMC level) I will tidy this up and resubmit. > > tegra2_mmc.c: In function 'mmc_set_transfer_mode': > tegra2_mmc.c:122:4: warning: passing argument 1 of > 'flush_dcache_range' makes integer from pointer without a cast > /local/afleming/u-boot/include/common.h:695:6: note: expected 'long > unsigned int' but argument is of type 'const char *' > tegra2_mmc.c:122:4: warning: passing argument 2 of > 'flush_dcache_range' makes integer from pointer without a cast > /local/afleming/u-boot/include/common.h:695:6: note: expected 'long > unsigned int' but argument is of type 'const char *' > tegra2_mmc.c: In function 'mmc_send_cmd': > tegra2_mmc.c:326:5: warning: passing argument 1 of > 'invalidate_dcache_range' makes integer from pointer without a cast > /local/afleming/u-boot/include/common.h:696:6: note: expected 'long > unsigned int' but argument is of type 'char *' > tegra2_mmc.c:326:5: warning: passing argument 2 of > 'invalidate_dcache_range' makes integer from pointer without a cast > /local/afleming/u-boot/include/common.h:696:6: note: expected 'long > unsigned int' but argument is of type 'char *' > > Andy Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot