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 B2774C4332F for ; Sun, 20 Nov 2022 14:28:06 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A59DF8551C; Sun, 20 Nov 2022 15:18:48 +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="XSCgjmT9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D50C9854E3; Sun, 20 Nov 2022 15:18:18 +0100 (CET) Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) (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 3C549852D0 for ; Sun, 20 Nov 2022 15:18:00 +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-xf35.google.com with SMTP id d13so795996qvj.8 for ; Sun, 20 Nov 2022 06:18:00 -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=vwN1MeeltJugSWTafSsMHL7nV2KyoYR2FIWyYHZ67qg=; b=XSCgjmT9Jaw7eUxDSp5kdsc96vO6Kdc/TnW+nPA1J8/hjwptAqGQwk6GIkau/DiWtR Ko4SZG9hZ8O/LzecsXtdtHiiyS4tGc5z+mBzhQH4BrfidnEwwK2Pd6GpUo+mUoronHZF hInOLCSOYaXyy9Uyu26X5VX3O+CLOY3E0dQnE= 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=vwN1MeeltJugSWTafSsMHL7nV2KyoYR2FIWyYHZ67qg=; b=wSuO6iXkiwsKcJbVBS8ql6IcuYSY9bzPSEeI1cmdM+zJdS3k+zDSafhjfLMMwn01W0 d5wbdTORYQED7hmYn6GTractVMyFkSSpAgd/eibQUpWDStFlZeJ4yGwW2n3MgRltGaVk rxYbwCnjzqzB57jfPDD9DwYlQ6P7Mhw2dqpyt/9edOeBn8YGx4A8eB0aKEhdhQnxofxi Tbj0p/oFJECfnGmmg3cJgym+dev6UmtZ2wAisYhWdSYOZ+8oldVWIz867QkEE9aCkD9U lmh7ufD7if1YFC71N1j+PRulO4u6EEl9dHHXsj0j8IWx/X+uiXVU3M38KhlAgdWvH5hm JfWA== X-Gm-Message-State: ANoB5pkYd8NVsoExaNFtMYyL0F5vlWgzNFjxPF++CafFdLzMtFtPMT2B 8xDXOLKxCuF1B4WJoXdcLMNK0zjHy3CeVw== X-Google-Smtp-Source: AA0mqf5utQnuffuFPsPOwENa1+yYSgNby6F4vBVXymQ8LmxXDdI4xh2D7EaxpcD2txQNAZDu5D4gmg== X-Received: by 2002:a0c:ed51:0:b0:4c6:a624:654b with SMTP id v17-20020a0ced51000000b004c6a624654bmr3697490qvq.104.1668953878930; 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.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 06:17:58 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 222/241] global: Migrate CONFIG_UBOOT_SECTOR_START to CFG Date: Sun, 20 Nov 2022 09:17:24 -0500 Message-Id: <20221120141743.3059310-23-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 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/xpress.h | 4 ++-- scripts/config_whitelist.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/xpress.h b/include/configs/xpress.h index 2b57ba34be9c..fc1b08360ce5 100644 --- a/include/configs/xpress.h +++ b/include/configs/xpress.h @@ -34,7 +34,7 @@ #define CFG_FEC_ENET_DEV 0 #define CFG_FEC_MXC_PHYADDR 0x0 -#define CONFIG_UBOOT_SECTOR_START 0x2 +#define CFG_UBOOT_SECTOR_START 0x2 #define CFG_UBOOT_SECTOR_COUNT 0x3fe #define CFG_EXTRA_ENV_SETTINGS \ @@ -75,7 +75,7 @@ "bootz; " \ "fi;\0" \ "uboot=ccv/u-boot.imx\0" \ - "uboot_start="__stringify(CONFIG_UBOOT_SECTOR_START)"\0" \ + "uboot_start="__stringify(CFG_UBOOT_SECTOR_START)"\0" \ "uboot_size="__stringify(CFG_UBOOT_SECTOR_COUNT)"\0" \ "update_uboot=if tftp ${uboot}; then " \ "if itest ${filesize} > 0; then " \ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index a520c70a2baf..ba5d1be700a3 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -236,7 +236,7 @@ CFG_UBIFS_VOLUME CFG_UBI_PART CFG_UBOOTPATH CFG_UBOOT_SECTOR_COUNT -CONFIG_UBOOT_SECTOR_START +CFG_UBOOT_SECTOR_START CONFIG_UEC_ETH CONFIG_USART_BASE CONFIG_USART_ID -- 2.25.1