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

Bin Meng bmeng.cn at gmail.com
Sat Oct 5 15:30:46 UTC 2019


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>


More information about the U-Boot mailing list