commit | 3c573b53347c3e3c606ecd8968da21064accc28b | [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 | a8f0c9439b25f4edc5329e0e62d395c5c72fd172 [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>