Unverified Commit f7c8f31e authored by Dimitris Papastamos's avatar Dimitris Papastamos Committed by GitHub
Browse files

Merge pull request #1862 from thloh85-intel/s10_bl2

plat: intel: Improve ECC scrubbing performance
Showing with 2 additions and 1 deletion
+2 -1
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <arch_helpers.h> #include <arch_helpers.h>
#include <errno.h> #include <errno.h>
#include <lib/mmio.h> #include <lib/mmio.h>
#include <lib/utils.h>
#include <common/debug.h> #include <common/debug.h>
#include <drivers/delay_timer.h> #include <drivers/delay_timer.h>
#include <platform_def.h> #include <platform_def.h>
...@@ -403,7 +404,7 @@ void configure_hmc_adaptor_regs(void) ...@@ -403,7 +404,7 @@ void configure_hmc_adaptor_regs(void)
INFO("Scrubbing ECC\n"); INFO("Scrubbing ECC\n");
/* ECC Scrubbing */ /* ECC Scrubbing */
memset(DRAM_BASE, 0, DRAM_SIZE); zeromem(DRAM_BASE, DRAM_SIZE);
} else { } else {
INFO("ECC is disabled.\n"); INFO("ECC is disabled.\n");
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment