[U-Boot] [PATCH 046/126] spl: Allow distinguishing between two phases in U-Boot

Bin Meng bmeng.cn at gmail.com
Mon Oct 7 01:55:23 UTC 2019


On Sat, Oct 5, 2019 at 11:30 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass <sjg at chromium.org> wrote:
> >
> > U-Boot has two distinct phases: before and after relocation. These are
> > commonly referred to as F (running from Flash) and R (Relocated and
> > running from RAM). Some drivers want to do different things in these
> > phases so update the SPL phase function to return a different value for
> > each.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> >  include/spl.h | 16 +++++++++++-----
> >  1 file changed, 11 insertions(+), 5 deletions(-)
> >
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

applied to u-boot-x86/next, thanks!


More information about the U-Boot mailing list