amd/gardenia: Add PSP DRAM notify to romstage
Change-Id: I6ccbbee00aab947079c3471fcf83ae9a66c01d59 Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/19754 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
68243a5157
commit
99f50c7465
|
@ -24,6 +24,7 @@
|
|||
#include <northbridge/amd/pi/agesawrapper.h>
|
||||
#include <northbridge/amd/pi/agesawrapper_call.h>
|
||||
#include <soc/hudson.h>
|
||||
#include <amdblocks/psp.h>
|
||||
|
||||
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();
|
||||
|
|
Loading…
Reference in New Issue