diff options
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/amd/agesa/cache_as_ram.S | 3 | ||||
-rw-r--r-- | src/drivers/intel/fsp1_1/cache_as_ram.S | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/amd/agesa/cache_as_ram.S b/src/drivers/amd/agesa/cache_as_ram.S index 5e77263c97..c10c369643 100644 --- a/src/drivers/amd/agesa/cache_as_ram.S +++ b/src/drivers/amd/agesa/cache_as_ram.S @@ -57,6 +57,9 @@ bootblock_pre_c_entry: movd %mm1, %eax pushl %eax /* tsc[31:0] */ + /* Copy .data section content to Cache-As-Ram */ +#include <cpu/x86/copy_data_section.inc> + post_code(POSTCODE_BOOTBLOCK_PRE_C_DONE) call bootblock_c_entry diff --git a/src/drivers/intel/fsp1_1/cache_as_ram.S b/src/drivers/intel/fsp1_1/cache_as_ram.S index 17e0a69cd8..c8eae7fdc1 100644 --- a/src/drivers/intel/fsp1_1/cache_as_ram.S +++ b/src/drivers/intel/fsp1_1/cache_as_ram.S @@ -180,6 +180,9 @@ CAR_init_done: movd %mm0, %eax pushl %eax /* tsc[31:0] */ + /* Copy .data section content to Cache-As-Ram */ +#include <cpu/x86/copy_data_section.inc> + before_romstage: /* Call bootblock_c_entry(uint64_t base_timestamp) */ call bootblock_c_entry |