summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8173/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/mt8173/memory.c')
-rw-r--r--src/soc/mediatek/mt8173/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8173/memory.c b/src/soc/mediatek/mt8173/memory.c
index 066b18ba48..f17f793cae 100644
--- a/src/soc/mediatek/mt8173/memory.c
+++ b/src/soc/mediatek/mt8173/memory.c
@@ -32,7 +32,7 @@ void mt_mem_init(const struct mt8173_sdram_params *sdram_params)
/* memory calibration */
mt_set_emi(sdram_params);
- if (IS_ENABLED(CONFIG_MEMORY_TEST)) {
+ if (CONFIG(MEMORY_TEST)) {
/*
* do memory test:
* set memory scan range 0x2000