From 8ed22bf2b4e604914a19bff938fb16da711db344 Mon Sep 17 00:00:00 2001 From: YuzukiTsuru Date: Sat, 3 Feb 2024 21:12:28 +0800 Subject: [PATCH] [arch] inbond stdinc --- src/drivers/sun8iw20/sys-dram.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/sun8iw20/sys-dram.c b/src/drivers/sun8iw20/sys-dram.c index f675b5b4..f39b5db0 100644 --- a/src/drivers/sun8iw20/sys-dram.c +++ b/src/drivers/sun8iw20/sys-dram.c @@ -1292,7 +1292,7 @@ int init_DRAM(int type, dram_para_t *para) { udelay(10); setbits_le32((SYS_CONTROL_REG_BASE + ZQ_CAL_CTRL_REG), (1 << 0)); udelay(20); - printk(LOG_LEVEL_DEBUG, "ZQ value = 0x%" PRIx32 "\n", readl((SYS_CONTROL_REG_BASE + ZQ_RES_STATUS_REG))); + printk(LOG_LEVEL_DEBUG, "ZQ value = 0x%08x\n", readl((SYS_CONTROL_REG_BASE + ZQ_RES_STATUS_REG))); } dram_voltage_set(para); @@ -1310,7 +1310,7 @@ int init_DRAM(int type, dram_para_t *para) { if ((rc & 0x44) == 0) printk(LOG_LEVEL_DEBUG, "DRAM ODT off\n"); else - printk(LOG_LEVEL_DEBUG, "DRAM ODT value: 0x%" PRIx32 "\n", rc); + printk(LOG_LEVEL_DEBUG, "DRAM ODT value: 0x%08x\n", rc); /* Init core, final run */ if (mctl_core_init(para) == 0) {