[U-Boot] [PATCH v2 1/8] exynos: config: enable arch memcpy and arch memset
Simon Glass
sjg at chromium.org
Wed Feb 18 05:23:47 CET 2015
On 16 February 2015 at 08:13, Przemyslaw Marczak <p.marczak at samsung.com> wrote:
> This commit enables the following configs:
> - CONFIG_USE_ARCH_MEMCPY
> - CONFIG_USE_ARCH_MEMSET
> This increases the performance of memcpy/memset
> and also reduces the boot time.
>
> This was tested on Trats2.
> A quick test with trace. Boot time from start to main_loop() entry:
> - ~1527ms - before this change (arch memset enabled for .bss clear)
> - ~1384ms - after this change
>
> Signed-off-by: Przemyslaw Marczak <p.marczak at samsung.com>
> Cc: Minkyu Kang <mk7.kang at samsung.com>
> Cc: Akshay Saraswat <akshay.s at samsung.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
> ---
> include/configs/exynos-common.h | 3 +++
> 1 file changed, 3 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
BTW in case you are interested, in the Chromium U-Boot tree
(chromeos-v2013.06 branch) we have exynos support for turning on the
cache in SPL and leaving it on through to the end of U-Boot. It runs
two SPLs and two U-Boots (with verified boot and kernel verification)
in a total of about 750ms. This shipped last year with Pit and Pi
(Samsung Chromebook 2).
Might be some interesting patches there...
Regards,
Simon
More information about the U-Boot
mailing list