diff options
author | Bin Meng | 2015-08-20 06:40:20 -0700 |
---|---|---|
committer | Simon Glass | 2015-08-26 07:54:11 -0700 |
commit | 48aa6c261492235c1e48c17a6604b71e032485e8 (patch) | |
tree | cd4488812d722ee464b613545fcf0cefd782e39e /arch/x86/cpu/start.S | |
parent | 57b10f59b7c6ff0d3827e39acb6c3e348adbc14a (diff) |
x86: fsp: Add comments about U-Boot entering start.S twice
Add some comments in start.S for the fact that with FSP U-Boot
actually enters the code twice. Also change to use fsp_init()
and fsp_continue for accuracy.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/start.S')
-rw-r--r-- | arch/x86/cpu/start.S | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/cpu/start.S b/arch/x86/cpu/start.S index e2b5ef4b742..d072825bcdd 100644 --- a/arch/x86/cpu/start.S +++ b/arch/x86/cpu/start.S @@ -115,8 +115,10 @@ car_init_ret: #endif #else /* - * When we get here after car_init(), esp points to a temporary stack - * and esi holds the HOB list address returned by the FSP. + * U-Boot enters here twice. For the first time it comes from + * car_init_done() with esp points to a temporary stack and esi + * set to zero. For the second time it comes from fsp_init_done() + * with esi holding the HOB list address returned by the FSP. */ #endif /* Set up global data */ |