[U-Boot] [PATCH v2 34/38] x86: Change condition for using CAR
bmeng.cn at gmail.com
Wed Oct 2 14:07:50 UTC 2019
On Wed, Sep 25, 2019 at 10:13 PM Simon Glass <sjg at 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
> 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 at 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 at gmail.com>
More information about the U-Boot