I've added 32-bit lcd to the Nomadik (not submitted yet), and I found the scroll to be very slow, as the screen is big.
Instead of activating the "if 0" stanza for 32-bit scroll in lcd.c, I'd better have a faster memcpy/memset globally. So this patch set adds 32-bit memcpy and memset and removes the "#if 0" part in the scroll function. For me it's 4 times faster ("help" from 14s to 3.5s). I agree I should use 8-bits in u-boot, but the speedup of 32bit memcpy/memset is there regardless, as most users are 32-bit aligned anyways. Alessandro Rubini (3): memcpy: use 32-bit copies if possible memset: use 32-bit copies if possible lcd: remove '#if 0' 32-bit scroll, now memcpy does it common/lcd.c | 21 --------------------- lib_generic/string.c | 27 +++++++++++++++++++++++++-- 2 files changed, 25 insertions(+), 23 deletions(-) _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot