diff options
author | Timothy Pearson <tpearson@raptorengineeringinc.com> | 2015-11-24 14:11:54 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-01-29 00:42:42 +0100 |
commit | 4c9c2f0d0df4a1c30bf78f80e282e2f6a2459a2b (patch) | |
tree | 536b12f653d4fde00c49ff55c28e85b903af4625 /src/mainboard/asus/kgpe-d16 | |
parent | 8e9106db2064b3ab96ea840b60ab14c8fb558449 (diff) |
mainboard/asus/kgpe-d16: Move memory test before IMD setup
Change-Id: Ic6fbf6688e4c2adc85e4eb9fa17e79d29dda58c0
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Reviewed-on: https://review.coreboot.org/13151
Tested-by: build bot (Jenkins)
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/asus/kgpe-d16')
-rw-r--r-- | src/mainboard/asus/kgpe-d16/romstage.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/asus/kgpe-d16/romstage.c b/src/mainboard/asus/kgpe-d16/romstage.c index c29ac5ff4f..13af96f98a 100644 --- a/src/mainboard/asus/kgpe-d16/romstage.c +++ b/src/mainboard/asus/kgpe-d16/romstage.c @@ -541,6 +541,10 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx) raminit_amdmct(sysinfo); timestamp_add_now(TS_AFTER_INITRAM); +#ifdef TEST_MEMORY + execute_memory_test(); +#endif + #if !IS_ENABLED(CONFIG_LATE_CBMEM_INIT) if (s3resume) cbmem_initialize(); @@ -565,10 +569,6 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx) timestamp_add_now(TS_END_ROMSTAGE); -#ifdef TEST_MEMORY - execute_memory_test(); -#endif - post_cache_as_ram(); // BSP switch stack to ram, copy then execute LB. post_code(0x43); // Should never see this post code. } |