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

Simon Glass sjg at chromium.org
Sat Jan 21 04:50:31 CET 2017


Hi Tom,

On 19 January 2017 at 07:25, Tom Rini <trini at konsulko.com> wrote:
>
> On Thu, Jan 19, 2017 at 06:57:51AM -0700, Simon Glass wrote:
> > 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.
>
> Do you recall where, if it was a runtime rather than build time failure?
> There was a case or two of build-time failure I had to address.

Yes it was just a build failure, so we should be fine.

Regards,
Simon


More information about the U-Boot mailing list