Message ID | 20221120140829.3057894-24-trini@konsulko.com |
---|---|
State | RFC |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=XHZp1/jf; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NFXX20WnQz23n6 for <incoming@patchwork.ozlabs.org>; Mon, 21 Nov 2022 01:12:02 +1100 (AEDT) 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) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 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 <u-boot@lists.denx.de>; 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 <u-boot@lists.denx.de>; 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 <u-boot@lists.denx.de> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 06:08:43 -0800 (PST) From: Tom Rini <trini@konsulko.com> 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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
None
|
expand
|
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
Signed-off-by: Tom Rini <trini@konsulko.com> --- 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(-)