commit | 59c871bca799e1dae0144192d936ac0a3c172686 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Sep 25 08:56:30 2019 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Tue Oct 08 13:57:45 2019 +0800 |
tree | 49b14531d74141ec4fd4ea3e43ab4cc1eb1e8867 | |
parent | b51882d0079d3275bdb83ce49fdc8a90133f7f07 [diff] |
spl: Allow distinguishing between two phases in U-Boot 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@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>