diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/selfboot.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/selfboot.c b/src/lib/selfboot.c index f933142144..be03b853a6 100644 --- a/src/lib/selfboot.c +++ b/src/lib/selfboot.c @@ -20,6 +20,7 @@ #include <arch/byteorder.h> #include <console/console.h> +#include <cpu/cpu.h> #include <fallback.h> #include <boot/elf.h> #include <boot/elf_boot.h> @@ -540,6 +541,10 @@ int selfboot(struct lb_memory *mem, struct cbfs_payload *payload) coverage_exit(); #endif + /* Tear down the caching of the ROM. */ + if (disable_cache_rom) + disable_cache_rom(); + /* Before we go off to run the payload, see if * we stayed within our bounds. */ |