summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/amd/agesa/romstage.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/amd/agesa/romstage.c b/src/drivers/amd/agesa/romstage.c
index 617416ab7a..29423ef1ba 100644
--- a/src/drivers/amd/agesa/romstage.c
+++ b/src/drivers/amd/agesa/romstage.c
@@ -107,3 +107,9 @@ asmlinkage void car_stage_entry(void)
{
romstage_main();
}
+
+void *cbmem_top_chipset(void)
+{
+ /* Top of CBMEM is at highest usable DRAM address below 4GiB. */
+ return (void *)restore_top_of_low_cacheable();
+}