diff options
author | Nico Huber <nico.h@gmx.de> | 2024-05-31 18:18:48 +0200 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2024-11-11 09:17:11 +0000 |
commit | 391ba65a9e1150ff594c881003dfebcdd18b8aba (patch) | |
tree | c7e6807b4abbaf29b79959a8b0033a28129918ec /src/cpu/via/c7/Kconfig | |
parent | 003d6397c6237e618e846b655283bdb9c605c518 (diff) |
cpu/via: Implement cache as RAM
The overall procedure is taken from the original code that was removed
in commit 4c38ed3c38ac (cpu/via/nano: Drop support). Boilerplate at the
start and end was updated (expect timestamp and BIST result in `xmm*'
registers), stack is aligned to 16B, and linker symbols are now used
for the CAR and cached XIP ranges.
Change-Id: Ia190a3006fe897861b7b8a64d47e588871120dd1
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82766
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/cpu/via/c7/Kconfig')
-rw-r--r-- | src/cpu/via/c7/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cpu/via/c7/Kconfig b/src/cpu/via/c7/Kconfig index df81b3f84e..b6a970b69f 100644 --- a/src/cpu/via/c7/Kconfig +++ b/src/cpu/via/c7/Kconfig @@ -14,4 +14,10 @@ if CPU_VIA_C7 config DCACHE_BSP_STACK_SIZE default 0x1000 +config DCACHE_RAM_BASE + default 0xffef0000 + +config DCACHE_RAM_SIZE + default 0x10000 + endif |