diff options
author | Simon Glass <sjg@chromium.org> | 2019-09-25 08:11:43 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2019-10-08 13:57:36 +0800 |
commit | 6172e94c3c4729347624626d71e4eaf96ff9dcb9 (patch) | |
tree | 60fb165c81c067931ab5386cad5925a7b551db2a /configs/slimbootloader_defconfig | |
parent | c3863eadbc60d21b234ac5fb15c525b3cbc4f637 (diff) | |
download | u-boot-6172e94c3c4729347624626d71e4eaf96ff9dcb9.tar.gz |
x86: Change condition for using CAR
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@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: fix a typo in the commit message]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'configs/slimbootloader_defconfig')
-rw-r--r-- | configs/slimbootloader_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/slimbootloader_defconfig b/configs/slimbootloader_defconfig index f9fecff45e..3cbb83c7a4 100644 --- a/configs/slimbootloader_defconfig +++ b/configs/slimbootloader_defconfig @@ -18,3 +18,4 @@ CONFIG_REGMAP=y CONFIG_SYSCON=y # CONFIG_PCI_PNP is not set CONFIG_CONSOLE_SCROLL_LINES=5 +# CONFIG_USE_CAR is not set |