From 99f50c7465cd6d75a1e5c6c4452136106092cf3c Mon Sep 17 00:00:00 2001 From: Marshall Dawson Date: Wed, 17 May 2017 14:13:49 -0600 Subject: amd/gardenia: Add PSP DRAM notify to romstage Change-Id: I6ccbbee00aab947079c3471fcf83ae9a66c01d59 Signed-off-by: Marshall Dawson Reviewed-on: https://review.coreboot.org/19754 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/amd/gardenia/romstage.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/mainboard/amd/gardenia/romstage.c b/src/mainboard/amd/gardenia/romstage.c index 471d63248e..85e8e2f256 100644 --- a/src/mainboard/amd/gardenia/romstage.c +++ b/src/mainboard/amd/gardenia/romstage.c @@ -24,6 +24,7 @@ #include #include #include +#include void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx) { @@ -65,9 +66,12 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx) AGESAWRAPPER(amdinitpost); post_code(0x41); - cbmem_initialize_empty(); + psp_notify_dram(); post_code(0x42); + cbmem_initialize_empty(); + + post_code(0x43); AGESAWRAPPER(amdinitenv); /* TODO: Disable cache is not ok. */ disable_cache_as_ram(); -- cgit v1.2.3