Dear Anton Staaf, In message <[email protected]> you wrote: > Currently the sd_change_freq function allocates two buffers on the > stack that it passes down to the MMC device driver. These buffers > could be unaligned to the L1 dcache line size. This causes problems > when using DMA and with caches enabled. > > This patch correctly cache alignes the buffers used for reading the > scr register and switch status values from an MMC device. > > Signed-off-by: Anton Staaf <[email protected]> > Acked-by: Mike Frysinger <[email protected]> > Cc: Lukasz Majewski <[email protected]> > Cc: Mike Frysinger <[email protected]> > Cc: Albert ARIBAUD <[email protected]> > --- > drivers/mmc/mmc.c | 10 +++++----- > 1 files changed, 5 insertions(+), 5 deletions(-)
Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] If today is the first day of the rest of your life, what the hell was yesterday? _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

