[U-Boot] [PATCH 3/4] fs: prevent overwriting reserved memory
Simon Goldschmidt
simon.k.r.goldschmidt at gmail.com
Tue Nov 13 05:47:02 UTC 2018
On Tue, Nov 13, 2018 at 3:23 AM Fabio Estevam <festevam at gmail.com> wrote:
>
> Hi Simon,
>
> On Mon, Nov 12, 2018 at 7:25 PM Simon Goldschmidt
> <simon.k.r.goldschmidt at gmail.com> wrote:
>
> > diff --git a/fs/fs.c b/fs/fs.c
> > index adae98d021..4baf6b1c39 100644
> > --- a/fs/fs.c
> > +++ b/fs/fs.c
> > @@ -428,13 +428,57 @@ int fs_size(const char *filename, loff_t *size)
> > return ret;
> > }
> >
> > -int fs_read(const char *filename, ulong addr, loff_t offset, loff_t len,
> > - loff_t *actread)
> > +#ifdef CONFIG_LMB
>
> Unrelated to your series, but I was wondering if we could get rid of
> the CONFIG_LMB option.
>
> As far as I can see all the architectures define it, the only
> exception being arch/sh.
>
> If you agree I can send a patch after your series gets applied that
> removes CONFIG_LMB.
Sure, that would clean things up.
Simon
More information about the U-Boot
mailing list