From mboxrd@z Thu Jan 1 00:00:00 1970 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 1CA71C6FD1D for ; Tue, 4 Apr 2023 23:00:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 32A5485DD6; Wed, 5 Apr 2023 00:59:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=quarantine dis=none) header.from=kernel-space.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=kernel-space.org header.i=@kernel-space.org header.b="QoUO01r/"; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=kernel-space.org header.i=@kernel-space.org header.b="WbvAj0Tp"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 36E1585DFA; Wed, 5 Apr 2023 00:59:48 +0200 (CEST) Received: from mail.kernel-space.org (unknown [IPv6:2a01:4f8:c2c:5a84::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C0AE185714 for ; Wed, 5 Apr 2023 00:59:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=kernel-space.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=angelo@kernel-space.org Received: from ziongate (localhost [127.0.0.1]) by ziongate (OpenSMTPD) with ESMTP id cd6ca2c4; Tue, 4 Apr 2023 22:59:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=kernel-space.org; h=from:to :cc:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=default; bh=blTQ+rQwxTRwgwxwMlkeur 51EnE=; b=QoUO01r/QhM7B9bqqtQheG7Bn89oGO3UXXimxKVK4mlFhM2xbycI0v w1eweO8uwZwFJAwEjYFY3KsrFdp9LQwsnvPRbPQR8LUuUe5V23ZkgHDkxlmxKm7u F2VV8BDD3cbNIVznKaJjygBQuy/jo3UenKA1Bc1nhjRFLYwo3N0Hg= DomainKey-Signature: a=rsa-sha1; c=simple; d=kernel-space.org; h=from:to :cc:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; q=dns; s=default; b=CEXfSsuinamaNc3c TJ+aX8fq+QgJ4h4GWxeUNS/PBcxD/YTGzAt8DwvSUNC1zP77NvFvoctueMVpBAyR wM9Ydhsz6kwJG+eS5jcun7EshajGvLntjVxUM2LvSrnnviYm5ckOvAAZ4mfXxYif aIbMrqMeKE0+XuleWdCAfW+L2XA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-space.org; s=20190913; t=1680649176; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VJfzsVLnB3p87x0Qut4K/GKiNQeK3C/krwkk1fAZbfU=; b=WbvAj0TpLmDrpuWTvl/kOuku4IPVrhk3jPrZ4TN4yNK1774i7fqvDYPAu6eYdyBxVFgG3w OzLZRmhu8oa8MAJypwlwjGLV+P8yr533LNvHJAhweihsNH3m0RFcO6uh71qBe3eTQkinai RztWoXH27pbk3ECIzeEF/JGH2Lj8/k4= Received: from localhost.localdomain (host-79-50-12-19.retail.telecomitalia.it [79.50.12.19]) by ziongate (OpenSMTPD) with ESMTPSA id daa5740d (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 4 Apr 2023 22:59:36 +0000 (UTC) From: Angelo Dureghello To: trini@konsulko.com, hs@denx.de Cc: u-boot@lists.denx.de, mario.six@gdsys.cc, Angelo Dureghello Subject: [PATCH 3/6] m68k: mcf5441x: fix CONFIG_SYS_FSL_I2C definition Date: Wed, 5 Apr 2023 00:59:25 +0200 Message-Id: <20230404225928.3032456-3-angelo@kernel-space.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230404225928.3032456-1-angelo@kernel-space.org> References: <20230404225928.3032456-1-angelo@kernel-space.org> 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.8 at phobos.denx.de X-Virus-Status: Clean Fix CONFIG_SYS_FSL_I2C to correct name CONFIG_SYS_I2C_FSL. Signed-off-by: Angelo Dureghello --- arch/m68k/cpu/mcf5445x/speed.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/m68k/cpu/mcf5445x/speed.c b/arch/m68k/cpu/mcf5445x/speed.c index eb73da68c6..5c78eb9834 100644 --- a/arch/m68k/cpu/mcf5445x/speed.c +++ b/arch/m68k/cpu/mcf5445x/speed.c @@ -129,9 +129,8 @@ int get_clocks(void) setup_5441x_clocks(); #endif -#ifdef CONFIG_SYS_FSL_I2C - gd->arch.i2c1_clk = gd->bus_clk; -#endif + if (IS_ENABLED(CONFIG_SYS_I2C_FSL)) + gd->arch.i2c1_clk = gd->bus_clk; return (0); } -- 2.40.0