Message ID | 20221120141743.3059310-22-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=HaxsPxH+; 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 4NFXrh3LLyz23n6 for <incoming@patchwork.ozlabs.org>; Mon, 21 Nov 2022 01:26:28 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 600A0854A9; Sun, 20 Nov 2022 15:18:29 +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="HaxsPxH+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 02B368533B; Sun, 20 Nov 2022 15:18:09 +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-qv1-xf36.google.com (mail-qv1-xf36.google.com [IPv6:2607:f8b0:4864:20::f36]) (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 A0836854C0 for <u-boot@lists.denx.de>; Sun, 20 Nov 2022 15:17:59 +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-qv1-xf36.google.com with SMTP id d18so2986465qvs.6 for <u-boot@lists.denx.de>; Sun, 20 Nov 2022 06:17:59 -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=SgYORdgHwPivmeCCN2kQxHUJFAeEP3IItnVV4oHs6YY=; b=HaxsPxH+giSQZmRRfsofBAS4MHjBTpnEeAz1mWfteGgAPmU6+jKqK18S/fkHPWC5KA 8QnGUMQ1F8NPcnZMWRj8sK14EL3ylc6Le0rDhLbGU27GPs7xXUr05kt/HGFFp6xIRe63 y6/yFgF8rFtP/BKNXQk6pydBF1QqdqHH2BtFs= 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=SgYORdgHwPivmeCCN2kQxHUJFAeEP3IItnVV4oHs6YY=; b=Cfqmj6e6OlinkKx+tGkWfQyjiKtf4T2218L1dBGIqkTarAC1tPcnOpI6QvbDy7XYTF pQyYUtMU5tjeIvki5HzegYzITSFXx3GQaRXoYar1k3st1ycphfxv970xxnExpe9VXm+I toSrQZqOMhgbQ4tx9Az8cs51v33jUDFjcyxLe2G1UOK53wpHw8iVmCFJJhGf9VIgZNsw YLyf3xgpzbsirtRUTvn9Q4UL5M3hu7RuEE7vt/vx1eP3lggFCa/sOK7vmRYwom0AHnyT 2xtE0pRU72QG0DFgm7uBu8e4pAE53PRCDGBgkKEZr4txrWK3CkLeO/Z07GAPh3WB5f/Z WLIQ== X-Gm-Message-State: ANoB5pkFJmdjhIB5/hwKxO+tGLUbpOHERq8pIKz6Snb8zcm11GhkjIgA 6RrG8voh2a/MvGMviw6Be9o7bB3gEh3+Ig== X-Google-Smtp-Source: AA0mqf4ke0g3DZh7z8y/sDsEb8+BIIbbjfyvkPm3VK0bneWrH1gAhtzAHRR67Cp4/3I6R38VfFT1DA== X-Received: by 2002:ad4:408c:0:b0:4c6:8fa7:c94b with SMTP id l12-20020ad4408c000000b004c68fa7c94bmr12212403qvp.43.1668953878262; Sun, 20 Nov 2022 06:17:58 -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-20020a05620a1a1700b006ce580c2663sm6400114qkb.35.2022.11.20.06.17.57 for <u-boot@lists.denx.de> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 06:17:57 -0800 (PST) From: Tom Rini <trini@konsulko.com> To: u-boot@lists.denx.de Subject: [PoC 221/241] global: Migrate CONFIG_UBOOT_SECTOR_COUNT to CFG Date: Sun, 20 Nov 2022 09:17:23 -0500 Message-Id: <20221120141743.3059310-22-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221120141743.3059310-1-trini@konsulko.com> References: <20221120140829.3057894-90-trini@konsulko.com> <20221120141743.3059310-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/include/configs/xpress.h b/include/configs/xpress.h index f8ee40a9543b..2b57ba34be9c 100644 --- a/include/configs/xpress.h +++ b/include/configs/xpress.h @@ -35,7 +35,7 @@ #define CFG_FEC_MXC_PHYADDR 0x0 #define CONFIG_UBOOT_SECTOR_START 0x2 -#define CONFIG_UBOOT_SECTOR_COUNT 0x3fe +#define CFG_UBOOT_SECTOR_COUNT 0x3fe #define CFG_EXTRA_ENV_SETTINGS \ "script=boot.scr\0" \ @@ -76,7 +76,7 @@ "fi;\0" \ "uboot=ccv/u-boot.imx\0" \ "uboot_start="__stringify(CONFIG_UBOOT_SECTOR_START)"\0" \ - "uboot_size="__stringify(CONFIG_UBOOT_SECTOR_COUNT)"\0" \ + "uboot_size="__stringify(CFG_UBOOT_SECTOR_COUNT)"\0" \ "update_uboot=if tftp ${uboot}; then " \ "if itest ${filesize} > 0; then " \ "mmc dev 0 1;" \ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index cd44d281e0ec..a520c70a2baf 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -235,7 +235,7 @@ CFG_TSEC_TBICR_SETTINGS CFG_UBIFS_VOLUME CFG_UBI_PART CFG_UBOOTPATH -CONFIG_UBOOT_SECTOR_COUNT +CFG_UBOOT_SECTOR_COUNT CONFIG_UBOOT_SECTOR_START CONFIG_UEC_ETH CONFIG_USART_BASE
Signed-off-by: Tom Rini <trini@konsulko.com> --- include/configs/xpress.h | 4 ++-- scripts/config_whitelist.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)