[U-Boot] [PATCH v2 34/38] x86: Change condition for using CAR

Bin Meng bmeng.cn at gmail.com
Fri Oct 4 03:28:50 UTC 2019


On Wed, Oct 2, 2019 at 10:07 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> 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
>
> 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 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>

applied to u-boot-x86/next, thanks!


More information about the U-Boot mailing list