summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8183/include
diff options
context:
space:
mode:
authorXi Chen <xixi.chen@mediatek.com>2021-03-03 18:04:28 +0800
committerHung-Te Lin <hungte@chromium.org>2021-03-08 03:16:19 +0000
commita3b19441f6956c09e175973899f92f8774090582 (patch)
tree55b3123e0cef8af39e5305f77f7a4f131e019cd3 /src/soc/mediatek/mt8183/include
parent05764cd6c913deab616d958838f5000ed8d0fbad (diff)
soc/mediatek/mt8173,mt8183: revise SOC DRAM implementation
Many header files and helper macros have been moved to the common folder and we want to use them in mt8173/mt8183 DRAM calibration code. Signed-off-by: Xi Chen <xixi.chen@mediatek.com> Change-Id: Ifa483dcfffe0e1383cb46811563c90f0ab484d5d Reviewed-on: https://review.coreboot.org/c/coreboot/+/51224 Reviewed-by: Hung-Te Lin <hungte@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8183/include')
-rw-r--r--src/soc/mediatek/mt8183/include/soc/dramc_pi_api.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/soc/mediatek/mt8183/include/soc/dramc_pi_api.h b/src/soc/mediatek/mt8183/include/soc/dramc_pi_api.h
index b1a0c74f14..5ee6300efb 100644
--- a/src/soc/mediatek/mt8183/include/soc/dramc_pi_api.h
+++ b/src/soc/mediatek/mt8183/include/soc/dramc_pi_api.h
@@ -4,17 +4,10 @@
#define _DRAMC_PI_API_MT8183_H
#include <types.h>
+#include <soc/dramc_common.h>
#include <soc/emi.h>
#include <console/console.h>
-#define dramc_err(_x_...) printk(BIOS_ERR, _x_)
-#define dramc_show(_x_...) printk(BIOS_INFO, _x_)
-#if CONFIG(DEBUG_DRAM)
-#define dramc_dbg(_x_...) printk(BIOS_DEBUG, _x_)
-#else
-#define dramc_dbg(_x_...)
-#endif
-
#define DATLAT_TAP_NUMBER 32
#define HW_REG_SHUFFLE_MAX 4