
2 Oct
2019
2 Oct
'19
4:07 p.m.
On Wed, Sep 25, 2019 at 10:13 PM Simon Glass sjg@chromium.org wrote:
At present we assume that CAR (Cache-as-RAM) is used if HOBs (Hand-off bLocks) are not, since HOBs typically indicate that an FSP is in use, and
nits: blocks
FSPs handle the CAR init.
However this is a bit indirect, and for FSP2 machines which use their own CAR implementation (such as apollolake) but use the FSP for other functions, the logic is wrong.
To fix this, add a dedicated Kconfig option to indicate when CAR is used.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2: None
arch/x86/Kconfig | 8 ++++++++ arch/x86/cpu/start.S | 4 ++-- configs/slimbootloader_defconfig | 1 + 3 files changed, 11 insertions(+), 2 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com