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 1D7B0C76188 for ; Tue, 4 Apr 2023 22:59:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ABEE785D66; Wed, 5 Apr 2023 00:59:39 +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="Amkz0ckK"; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=kernel-space.org header.i=@kernel-space.org header.b="aR70PZr1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 226C485B82; Wed, 5 Apr 2023 00:59:37 +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 D3B4680B9E for ; Wed, 5 Apr 2023 00:59:33 +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 9b35e845; Tue, 4 Apr 2023 22:59:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=kernel-space.org; h=from:to :cc:subject:date:message-id:mime-version :content-transfer-encoding; s=default; bh=+UryWueYgXzCbUHP/UVXQY SahL8=; b=Amkz0ckKntCQ7VVNOup6dq/u2wjlzWFLVxaqvhKTiQqzo0TAPAl3Xd YUJWF3Lszkfy8gvqAXFUJe81UwMh51sJU1tzS8InV0LswsxrFHXjSAKK2siH5wWG QTP/VvREYw3wC2ecq+qn+gioI7+VoDSgYzRlaD35tpK8z/7AZabJI= DomainKey-Signature: a=rsa-sha1; c=simple; d=kernel-space.org; h=from:to :cc:subject:date:message-id:mime-version :content-transfer-encoding; q=dns; s=default; b=TyQ/mVLY+97MV4u1 KwJQ2C4yUnfe3yyVOBZcOx+tZ581sQah6K0Ix7gh6Vr9G94otOaJK1Vg02+fj3EE ZUY7YLRMC7t5HLjKI2qcHY9tmJzZAri1/LJHlW9Co7ADqRhPiRujKvzKMJPZhAV4 Y/rD4QBq8CNWC4B97LSA8lvxUhw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-space.org; s=20190913; t=1680649173; 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; bh=NESOLQyuqeOsPnuU2hdp3EXN9alHmEQWxhhA3h1pfa4=; b=aR70PZr1laLE8+Xn1HGfzVvL3ZcxWbJ74mmIJWAJf2yPrvOm0OotGLzHzVibld7MkrHMxc XApHOaqKDkqnXCU4X7L+qTQhi7Kz/YChTlrZZceu9OuhWwwJ01xbdB50/4bVp8EHON98VQ z922PuHkXClulfuRwgnMqwH6r9XdhwY= Received: from localhost.localdomain (host-79-50-12-19.retail.telecomitalia.it [79.50.12.19]) by ziongate (OpenSMTPD) with ESMTPSA id 8a7f12f1 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 4 Apr 2023 22:59:32 +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 1/6] m68k: move CONFIG_SYS_I2C to CFG_ namespace Date: Wed, 5 Apr 2023 00:59:23 +0200 Message-Id: <20230404225928.3032456-1-angelo@kernel-space.org> X-Mailer: git-send-email 2.40.0 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 Move CONFIG_SYS_I2C_X to CFG_ namespace. This is a preliminary step to move to dm i2c. Signed-off-by: Angelo Dureghello --- arch/m68k/cpu/mcf5445x/cpu_init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/m68k/cpu/mcf5445x/cpu_init.c b/arch/m68k/cpu/mcf5445x/cpu_init.c index 1ce244872f..bc3a2f3aed 100644 --- a/arch/m68k/cpu/mcf5445x/cpu_init.c +++ b/arch/m68k/cpu/mcf5445x/cpu_init.c @@ -159,14 +159,14 @@ void cpu_init_f(void) /* NAND */ out_8(&pm->pmcr0, 63); -#ifdef CONFIG_SYS_I2C_0 +#ifdef CFG_SYS_I2C_0 out_8(&gpio->par_cani2c, 0xF0); /* I2C0 pull up */ out_be16(&gpio->pcr_b, 0x003C); /* I2C0 max speed */ out_8(&gpio->srcr_cani2c, 0x03); #endif -#ifdef CONFIG_SYS_I2C_2 +#ifdef CFG_SYS_I2C_2 /* I2C2 */ out_8(&gpio->par_ssi0h, 0xA0); /* I2C2, UART7 */ @@ -184,7 +184,7 @@ void cpu_init_f(void) /* I2C2 pull up */ out_be16(&gpio->pcr_h, 0xF000); #endif -#ifdef CONFIG_SYS_I2C_5 +#ifdef CFG_SYS_I2C_5 /* I2C5 */ out_8(&gpio->par_uart1, 0x0A); /* I2C5 pull up */ -- 2.40.0