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 F3FD1C4332F for ; Sun, 20 Nov 2022 14:11:59 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1779B8532A; Sun, 20 Nov 2022 15:09:28 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="XHZp1/jf"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CFDBA852D4; Sun, 20 Nov 2022 15:08:49 +0100 (CET) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 99F2D85297 for ; Sun, 20 Nov 2022 15:08:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x833.google.com with SMTP id e15so5937386qts.1 for ; Sun, 20 Nov 2022 06:08:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=IZTBUgi+qxTFa7cr7Tk1Caqle0ZAE/twx5aphfifoW0=; b=XHZp1/jfgFUWsSGpqhjT85C4OSCzgrkGbt2kEbNNQP86y+XDP+/FUCpEvnVJYk3z1f ublq/P5UExdXPZW3kP0wYcu8YyceuLUINYNMDHFfN3e6ysBYnEc+cKJzE3og+AT7/46v upJ65OqrySB1AdByP6pTpwTfPbJl6mBQew4i0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IZTBUgi+qxTFa7cr7Tk1Caqle0ZAE/twx5aphfifoW0=; b=ODz+CW+H69TmpDbyO+eGeBobhDKMhCbQRGMKyohBMEzdsV8QoTmaBzYXE5bpgDWdxV Q55jqy9PCrAzSqBz2EbMaPPN8YLXtDgsD0uFSlew4B9VHnpQn1bJZTx+lri0ND9vI4Jw zLCIofXa4cdE4bhTi8laym3+QIKCd3CXukaPvIxZD8WmuvCwD7rVVwvmipYveXxct5T/ Fjsg8yQiO50yqe/wiv4XvsY6cYE3MTsBHpidGHgzpH1GW4i7f62ycG8SFYAoS2ARcA+w Vo7y+EaZGJtQhHKU3f/Wdd8oN8LtOjMyuenxkWBqcWmoP97l4szTLAUFSyqm4Aa3map7 0DVw== X-Gm-Message-State: ANoB5pmK6y4nbMSR1PsZi1u5DXU/WXWd1SSALaH0EYS0+9CoKzrJa85A waE3vKw6wwTbUmDLpkpz8nd5aa+zOCbBJA== X-Google-Smtp-Source: AA0mqf5fso1sUGhwzp0ydhXyJsLzZv62JlO8t9nNjBrkEXMZ0MzcqKvc3XiPIA6uwFP4LuMbCuV3rg== X-Received: by 2002:ac8:7542:0:b0:3a5:c5c1:43ff with SMTP id b2-20020ac87542000000b003a5c5c143ffmr361226qtr.312.1668953324118; Sun, 20 Nov 2022 06:08:44 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-29a0-035f-b06a-235e.res6.spectrum.com. [2603:6081:7b00:6400:29a0:35f:b06a:235e]) by smtp.gmail.com with ESMTPSA id bk23-20020a05620a1a1700b006ce580c2663sm6387502qkb.35.2022.11.20.06.08.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 06:08:43 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 133/241] global: Migrate CONFIG_NAND_CS_INIT to CFG Date: Sun, 20 Nov 2022 09:07:23 -0500 Message-Id: <20221120140829.3057894-24-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221120140829.3057894-1-trini@konsulko.com> References: <20221120135520.3057773-4-trini@konsulko.com> <20221120140829.3057894-1-trini@konsulko.com> 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 Signed-off-by: Tom Rini --- board/siemens/common/board.c | 2 +- board/siemens/draco/board.c | 2 +- include/configs/etamin.h | 2 +- scripts/config_whitelist.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/board/siemens/common/board.c b/board/siemens/common/board.c index 2efede62aa5d..1b3c06d13e55 100644 --- a/board/siemens/common/board.c +++ b/board/siemens/common/board.c @@ -93,7 +93,7 @@ int board_init(void) gpmc_init(); -#ifdef CONFIG_NAND_CS_INIT +#ifdef CFG_NAND_CS_INIT board_nand_cs_init(); #endif diff --git a/board/siemens/draco/board.c b/board/siemens/draco/board.c index f898bba4b0ee..fb81f40abceb 100644 --- a/board/siemens/draco/board.c +++ b/board/siemens/draco/board.c @@ -370,7 +370,7 @@ U_BOOT_CMD( #endif /* #if defined(CONFIG_DRIVER_TI_CPSW) */ #endif /* #if (defined(CONFIG_DRIVER_TI_CPSW) && !defined(CONFIG_SPL_BUILD)) */ -#ifdef CONFIG_NAND_CS_INIT +#ifdef CFG_NAND_CS_INIT /* GPMC definitions for second nand cs1 */ static const u32 gpmc_nand_config[] = { ETAMIN_NAND_GPMC_CONFIG1, diff --git a/include/configs/etamin.h b/include/configs/etamin.h index 8b2745ea96e4..861070866923 100644 --- a/include/configs/etamin.h +++ b/include/configs/etamin.h @@ -129,7 +129,7 @@ #ifndef CONFIG_SPL_BUILD -#define CONFIG_NAND_CS_INIT +#define CFG_NAND_CS_INIT #define ETAMIN_NAND_GPMC_CONFIG1 0x00000800 #define ETAMIN_NAND_GPMC_CONFIG2 0x001e1e00 #define ETAMIN_NAND_GPMC_CONFIG3 0x001e1e00 diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index a7409a7f4978..e7d5f9ba57ca 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -142,7 +142,7 @@ CFG_MXC_USB_FLAGS CFG_MXC_USB_PORT CFG_MXC_USB_PORTSC CFG_NAND_6BYTES_OOB_FREE_10BYTES_ECC -CONFIG_NAND_CS_INIT +CFG_NAND_CS_INIT CONFIG_NETDEV CONFIG_NETMASK CONFIG_NORBOOT -- 2.25.1