aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/aopen/dxplplusu
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/aopen/dxplplusu')
-rw-r--r--src/mainboard/aopen/dxplplusu/Kconfig1
-rw-r--r--src/mainboard/aopen/dxplplusu/romstage.c12
2 files changed, 0 insertions, 13 deletions
diff --git a/src/mainboard/aopen/dxplplusu/Kconfig b/src/mainboard/aopen/dxplplusu/Kconfig
index 8e3178529e..85c45d51f3 100644
--- a/src/mainboard/aopen/dxplplusu/Kconfig
+++ b/src/mainboard/aopen/dxplplusu/Kconfig
@@ -12,7 +12,6 @@ config BOARD_SPECIFIC_OPTIONS
select UDELAY_TSC
select HAVE_ACPI_TABLES
select BOARD_ROMSIZE_KB_2048
-# select HW_SCRUBBER
config MAINBOARD_DIR
string
diff --git a/src/mainboard/aopen/dxplplusu/romstage.c b/src/mainboard/aopen/dxplplusu/romstage.c
index 73a9ce07e3..75aad28093 100644
--- a/src/mainboard/aopen/dxplplusu/romstage.c
+++ b/src/mainboard/aopen/dxplplusu/romstage.c
@@ -66,18 +66,6 @@ void mainboard_romstage_entry(unsigned long bist)
/* The real MCH initialisation. */
e7505_mch_init(memctrl);
- /*
- * ECC scrub invalidates cache, so all stack in CAR
- * is lost. Only return addresses from main() and
- * scrub_ecc() are recovered to stack via xmm0-xmm3.
- */
-#if IS_ENABLED(CONFIG_HW_SCRUBBER)
-#if !IS_ENABLED(CONFIG_USBDEBUG_IN_ROMSTAGE)
- unsigned long ret_addr = (unsigned long)((unsigned long*)&bist - 1);
- e7505_mch_scrub_ecc(ret_addr);
-#endif
-#endif
-
/* Hook for post ECC scrub settings and debug. */
e7505_mch_done(memctrl);