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 D3D41C433FE for ; Sun, 20 Nov 2022 14:19:38 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AB8D38546B; Sun, 20 Nov 2022 15:10:36 +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="XRLAkIIP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F11B1852FA; Sun, 20 Nov 2022 15:09:32 +0100 (CET) Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (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 44A8485329 for ; Sun, 20 Nov 2022 15:09:25 +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-qk1-x734.google.com with SMTP id s20so6541925qkg.5 for ; Sun, 20 Nov 2022 06:09:25 -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=2b3mp0G+zuvHap67KY8CCM9mvb8Df1F62rdh2V3iBNE=; b=XRLAkIIPR7qyV2fVDk8VXspKqwUwFgwgyP0WalETQUT7PWSRoGjsydfYBDvbKWPLYE PI11dYTyGuMmtOT4EuWjqRoDuFV93RM/L0PEBTbGFlZSxMOtR1jI2y2W7aXjlXHB6Z+I ujJJ+tv/p68fn7QQJ72DJ4PQhCgLfkbtylRCs= 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=2b3mp0G+zuvHap67KY8CCM9mvb8Df1F62rdh2V3iBNE=; b=KjwMKGGg6S0LGxbDHzVXbUi2ezqosA6PKOoGrdwmK6Nj6VtgcsTSDCuD3loT27dTB0 RZYYOmT+gJMHW4QDj68x2dIcQ0VKZGB658JZdaeAz6v7t3YECq09C5L83DLZFT+YYtB2 +pVtUEk0H/PD/yM2qMUxLtTscMUSZ3vE7C5+siHejroHuriNaWUnwJ/IuObn9BijLnBe 3nhl+/3O+WL3OsP6MWmXgOatigRqSCZ9ghDgjeDYYlE1styI7slJDgqcISdPX6im2kAe gzLsx4NyfbievksrFLvmLb8Nhc+zEbENhLTXm7UyTqfsLejbvHuTQ53Ph022rDkElyyZ RWsw== X-Gm-Message-State: ANoB5pkfXd4iqpw09zHP0yxigfJ9nC+KZ6Lzp3qvbcZ3sCpX8vahjKH3 1+DfVf33NLc4SYotrb9xPKNpIduT82kv7w== X-Google-Smtp-Source: AA0mqf7eM8eS+KUg4xnbtA9wHKYIX2dWqI0lVyYMUPpBNHhGp703EVtAXxGIKp38bYoN/h5ha6SXfA== X-Received: by 2002:a37:b42:0:b0:6fb:dbda:2e71 with SMTP id 63-20020a370b42000000b006fbdbda2e71mr7590264qkl.139.1668953364687; Sun, 20 Nov 2022 06:09:24 -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.09.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 06:09:24 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 193/241] global: Migrate CONFIG_SPI_FLASH_SIZE to CFG Date: Sun, 20 Nov 2022 09:08:23 -0500 Message-Id: <20221120140829.3057894-84-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 --- include/configs/beaver.h | 2 +- include/configs/cardhu.h | 2 +- include/configs/cei-tk1-som.h | 2 +- include/configs/dalmore.h | 2 +- include/configs/jetson-tk1.h | 2 +- include/configs/nyan-big.h | 2 +- include/configs/p2371-0000.h | 2 +- include/configs/p2371-2180.h | 2 +- include/configs/p2571.h | 2 +- include/configs/p3450-0000.h | 2 +- include/configs/tec-ng.h | 2 +- include/configs/venice2.h | 2 +- scripts/config_whitelist.txt | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/include/configs/beaver.h b/include/configs/beaver.h index 6b5f650811b8..1a540c9f7122 100644 --- a/include/configs/beaver.h +++ b/include/configs/beaver.h @@ -22,7 +22,7 @@ /* SPI */ #define CONFIG_TEGRA_SLINK_CTRLS 6 -#define CONFIG_SPI_FLASH_SIZE (4 << 20) +#define CFG_SPI_FLASH_SIZE (4 << 20) #include "tegra-common-post.h" diff --git a/include/configs/cardhu.h b/include/configs/cardhu.h index 35c5a4f12261..0a5eaf03d9a5 100644 --- a/include/configs/cardhu.h +++ b/include/configs/cardhu.h @@ -26,7 +26,7 @@ /* SPI */ #define CONFIG_TEGRA_SLINK_CTRLS 6 -#define CONFIG_SPI_FLASH_SIZE (4 << 20) +#define CFG_SPI_FLASH_SIZE (4 << 20) #include "tegra-common-post.h" diff --git a/include/configs/cei-tk1-som.h b/include/configs/cei-tk1-som.h index 55e2d744c4a0..3aaed94e15cb 100644 --- a/include/configs/cei-tk1-som.h +++ b/include/configs/cei-tk1-som.h @@ -23,7 +23,7 @@ #define CFG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE /* SPI */ -#define CONFIG_SPI_FLASH_SIZE (4 << 20) +#define CFG_SPI_FLASH_SIZE (4 << 20) #include "tegra-common-post.h" diff --git a/include/configs/dalmore.h b/include/configs/dalmore.h index 24cf554649ba..39e1aded3730 100644 --- a/include/configs/dalmore.h +++ b/include/configs/dalmore.h @@ -20,7 +20,7 @@ /* Environment in eMMC, at the end of 2nd "boot sector" */ /* SPI */ -#define CONFIG_SPI_FLASH_SIZE (4 << 20) +#define CFG_SPI_FLASH_SIZE (4 << 20) #include "tegra-common-post.h" diff --git a/include/configs/jetson-tk1.h b/include/configs/jetson-tk1.h index b846889541c7..d3bb6d760376 100644 --- a/include/configs/jetson-tk1.h +++ b/include/configs/jetson-tk1.h @@ -21,7 +21,7 @@ /* Environment in eMMC, at the end of 2nd "boot sector" */ /* SPI */ -#define CONFIG_SPI_FLASH_SIZE (4 << 20) +#define CFG_SPI_FLASH_SIZE (4 << 20) #include "tegra-common-post.h" diff --git a/include/configs/nyan-big.h b/include/configs/nyan-big.h index baa452156ecd..fbba4ca701db 100644 --- a/include/configs/nyan-big.h +++ b/include/configs/nyan-big.h @@ -19,7 +19,7 @@ #define CFG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE /* SPI */ -#define CONFIG_SPI_FLASH_SIZE (4 << 20) +#define CFG_SPI_FLASH_SIZE (4 << 20) #include "tegra-common-post.h" diff --git a/include/configs/p2371-0000.h b/include/configs/p2371-0000.h index ecd0405d297b..dd756a5056c8 100644 --- a/include/configs/p2371-0000.h +++ b/include/configs/p2371-0000.h @@ -20,7 +20,7 @@ /* Environment in eMMC, at the end of 2nd "boot sector" */ /* SPI */ -#define CONFIG_SPI_FLASH_SIZE (4 << 20) +#define CFG_SPI_FLASH_SIZE (4 << 20) #include "tegra-common-post.h" diff --git a/include/configs/p2371-2180.h b/include/configs/p2371-2180.h index 7f942888e74d..10b36e6a1657 100644 --- a/include/configs/p2371-2180.h +++ b/include/configs/p2371-2180.h @@ -20,7 +20,7 @@ /* Environment in eMMC, at the end of 2nd "boot sector" */ /* SPI */ -#define CONFIG_SPI_FLASH_SIZE (4 << 20) +#define CFG_SPI_FLASH_SIZE (4 << 20) #include "tegra-common-post.h" diff --git a/include/configs/p2571.h b/include/configs/p2571.h index 50cddb4a4acb..6578350990d7 100644 --- a/include/configs/p2571.h +++ b/include/configs/p2571.h @@ -20,7 +20,7 @@ /* Environment in eMMC, at the end of 2nd "boot sector" */ /* SPI */ -#define CONFIG_SPI_FLASH_SIZE (4 << 20) +#define CFG_SPI_FLASH_SIZE (4 << 20) #include "tegra-common-post.h" diff --git a/include/configs/p3450-0000.h b/include/configs/p3450-0000.h index ec1a8634e718..34ab82fe1173 100644 --- a/include/configs/p3450-0000.h +++ b/include/configs/p3450-0000.h @@ -24,7 +24,7 @@ func(DHCP, dhcp, na) /* Environment at end of QSPI, in the VER partition */ -#define CONFIG_SPI_FLASH_SIZE (4 << 20) +#define CFG_SPI_FLASH_SIZE (4 << 20) #define BOARD_EXTRA_ENV_SETTINGS \ "preboot=if test -e mmc 1:1 /u-boot-preboot.scr; then " \ diff --git a/include/configs/tec-ng.h b/include/configs/tec-ng.h index 098796637010..6566dc170ff6 100644 --- a/include/configs/tec-ng.h +++ b/include/configs/tec-ng.h @@ -20,7 +20,7 @@ /* SPI */ #define CONFIG_TEGRA_SLINK_CTRLS 6 -#define CONFIG_SPI_FLASH_SIZE (4 << 20) +#define CFG_SPI_FLASH_SIZE (4 << 20) #include "tegra-common-post.h" diff --git a/include/configs/venice2.h b/include/configs/venice2.h index b2dc04a975ad..1cf493a50373 100644 --- a/include/configs/venice2.h +++ b/include/configs/venice2.h @@ -21,7 +21,7 @@ /* Environment in eMMC, at the end of 2nd "boot sector" */ /* SPI */ -#define CONFIG_SPI_FLASH_SIZE (4 << 20) +#define CFG_SPI_FLASH_SIZE (4 << 20) #include "tegra-common-post.h" diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 371a292a17de..c1e6c9cc89bc 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -202,7 +202,7 @@ CFG_SOCRATES CFG_SPI_ADDR CFG_SPI_BOOTING CFG_SPI_FLASH_QUAD -CONFIG_SPI_FLASH_SIZE +CFG_SPI_FLASH_SIZE CONFIG_SPI_HALF_DUPLEX CONFIG_SPI_N25Q256A_RESET CONFIG_STACKBASE -- 2.25.1