summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2020-06-05 15:48:21 -0600
committerPatrick Georgi <pgeorgi@google.com>2020-06-07 21:47:06 +0000
commit93375f270cb09c0a4e4de38f1b6d1a5f8235a6d7 (patch)
treed196dbf95903fd2648d4cb18e6931b2b807cc730 /src
parentc47422d6c3970baee5da2a9085a70bf3f987fcd5 (diff)
downloadcoreboot-93375f270cb09c0a4e4de38f1b6d1a5f8235a6d7.tar.xz
soc/amd/picasso/cpu.c: Make comment clearer
Explain why the flash is no longer cached. BUG=none TEST=none Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: Ibb18f363a215d665d53a722ed76896a75d1c5608 Reviewed-on: https://review.coreboot.org/c/coreboot/+/42108 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/soc/amd/picasso/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/picasso/cpu.c b/src/soc/amd/picasso/cpu.c
index 3512c94d95..de9a2fa96d 100644
--- a/src/soc/amd/picasso/cpu.c
+++ b/src/soc/amd/picasso/cpu.c
@@ -98,7 +98,7 @@ void mp_init_cpus(struct bus *cpu_bus)
if (mp_init_with_smm(cpu_bus, &mp_ops) < 0)
printk(BIOS_ERR, "MP initialization failure.\n");
- /* The flash is now no longer cacheable. Reset to WP for performance. */
+ /* pre_mp_init made the flash not cacheable. Reset to WP for performance. */
mtrr_use_temp_range(FLASH_BASE_ADDR, CONFIG_ROM_SIZE, MTRR_TYPE_WRPROT);
set_warm_reset_flag();