[U-Boot] [PATCH 2/2] board_init.c: Always use memset()

Simon Glass sjg at chromium.org
Thu Jan 19 14:57:51 CET 2017


On 12 January 2017 at 11:16, Tom Rini <trini at konsulko.com> wrote:
> We can make the code read more easily here by simply using memset()
> always as when we don't have an optimized version of the function we
> will still have a version of this function around anyhow.
>
> Cc: Simon Glass <sjg at chromium.org>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>  common/init/board_init.c | 18 ------------------
>  1 file changed, 18 deletions(-)

I recall this didn't work before, but I'm pleased it now does.

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list