[U-Boot] [PATCH v3 047/108] x86: Update mrccache to support multiple caches
Bin Meng
bmeng.cn at gmail.com
Mon Nov 4 15:22:55 UTC 2019
On Mon, Oct 21, 2019 at 11:40 AM Simon Glass <sjg at chromium.org> wrote:
>
> With apollolake we need to support a normal cache, which almost never
> changes and a much smaller 'variable' cache which changes every time.
>
> Update the code to add a cache type, use an array for the caches and use a
> for loop to iterate over the caches.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v3:
> - Move line related to variable-cache into the next patch
>
> Changes in v2: None
>
> arch/x86/cpu/broadwell/sdram.c | 8 ++-
> arch/x86/cpu/ivybridge/sdram.c | 8 ++-
> arch/x86/cpu/quark/dram.c | 8 ++-
> arch/x86/include/asm/global_data.h | 21 +++++--
> arch/x86/include/asm/mrccache.h | 11 +++-
> arch/x86/lib/fsp/fsp_common.c | 2 +-
> arch/x86/lib/fsp1/fsp_dram.c | 8 ++-
> arch/x86/lib/mrccache.c | 88 ++++++++++++++++++++----------
> 8 files changed, 106 insertions(+), 48 deletions(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list