diff options
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/Kconfig | 7 | ||||
-rw-r--r-- | src/arch/x86/car.ld | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig index c97fecb3e4..b0e479b1c4 100644 --- a/src/arch/x86/Kconfig +++ b/src/arch/x86/Kconfig @@ -153,6 +153,13 @@ config CBFS_MCACHE_SIZE Increase this value if you see CBFS mcache overflow warnings. Do NOT change this value for vboot RW updates! +config PRERAM_CBFS_CACHE_SIZE + hex + default 0x4000 + help + Define the size of the Pre-RAM stages CBFS cache. A size of + zero disables the CBFS cache feature in pre-memory stages. + config PC80_SYSTEM bool default y if ARCH_X86 diff --git a/src/arch/x86/car.ld b/src/arch/x86/car.ld index 14fdba6331..2ad1ca2cd8 100644 --- a/src/arch/x86/car.ld +++ b/src/arch/x86/car.ld @@ -51,6 +51,9 @@ FMAP_CACHE(., FMAP_SIZE) #endif + . = ALIGN(CONFIG_CBFS_CACHE_ALIGN); + CBFS_CACHE(., CONFIG_PRERAM_CBFS_CACHE_SIZE) + /* Reserve sizeof(struct ehci_dbg_info). */ REGION(car_ehci_dbg_info, ., 80, 1) |