Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1B185C4708D for ; Tue, 3 Jan 2023 19:04:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 438BA852CE; Tue, 3 Jan 2023 20:03:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1672772639; bh=0awwnMShCZF2thQdO0aGdjE2b7/ZXYJ6B14BKaM5ZFA=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=Rc7nV6w0+bL86m2tL8eni0bSRFXvg5pSxd9Z8Al4qHMCWTtkYO5LQSdeP1CFQcpKM CeI9p3aUSSH9dcQguCmSb8Ok54p7UdEg9rAz3ThwzYR4YUp9IjaeOwqduUyHw1OFYe 6jQNi+YkZP5/ECTEyiCDNXw7M6WUC1NDXBBr4vC4Vs/BRL06E1H9iEcvXGoA9IUkXH 2pMUxN/iuorV4QcLUs96fZ5K7IjUmWseK/IjESY+W7Lmujv+7UIgKo/a0sFwFE/lQb u0kqmQepGtxKsRlPIx2WaiDric/qXRTRGtN92/ITokP2jqo3hmxCOdUpf4uR0kcnPQ pugWuINNtF0Iw== Received: from localhost.localdomain (unknown [IPv6:2804:14c:485:4b69:bd04:8d9d:bd6c:ddb]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: festevam@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 365DD835AE; Tue, 3 Jan 2023 20:03:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1672772636; bh=0awwnMShCZF2thQdO0aGdjE2b7/ZXYJ6B14BKaM5ZFA=; h=From:To:Cc:Subject:Date:From; b=wLV2JsjSJfe4iwogKd5hyjnhgIBO8LSdZ23kyRp5oA82fvP0m8IXQR2vJ5+YD2T9P SZTpB5zBK4KO3/tkAEioCVtUvx5UaAAR/Nu7v+0CpIsRt+wxaD/X6n+WbydKjs+JmQ hmbeJiUNkhOsLnFFiqUzwe5Uf1qvSIzzI4WAXsEDFKSu7w0u45jDMjEfg0DplS+8Qf 3wOTYFsIaQT4T184K6ySxlB6qRwfERYp8V/HPrsZ4x1guL2S5TE1jm5mtDZDU3ZTnW pJnbgSDMv2WJTqApqfmgm/TkFaIu5k9a3sxKKb02HaBENNRRI++fXLwuUcZ4ZK2MQJ 40g0LU6hosFrw== From: Fabio Estevam To: hs@denx.de Cc: u-boot@lists.denx.de, Fabio Estevam Subject: [PATCH] i2c: mxc_i2c: Use hex notation for the base address Date: Tue, 3 Jan 2023 16:03:44 -0300 Message-Id: <20230103190344.216541-1-festevam@denx.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Printing the I2C controller base address in decimal notation is not helpful. Change it to hex notation, which is the standard format found in the Reference Manual and devicetree. Signed-off-by: Fabio Estevam --- drivers/i2c/mxc_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index f80ff5383b..9dd349d056 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@ -938,7 +938,7 @@ static int mxc_i2c_probe(struct udevice *bus) * we can set pinmux here in probe function. */ - debug("i2c : controller bus %d at %lu , speed %d: ", + debug("i2c : controller bus %d at 0x%lx , speed %d: ", dev_seq(bus), i2c_bus->base, i2c_bus->speed); -- 2.25.1