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 BB15FC433FE for ; Sun, 20 Nov 2022 14:26:36 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D9B24854EE; Sun, 20 Nov 2022 15:18: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="hxnmLrQZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C59E4854CD; Sun, 20 Nov 2022 15:18:08 +0100 (CET) Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (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 E88B285498 for ; Sun, 20 Nov 2022 15:17:58 +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-x72e.google.com with SMTP id d8so6510315qki.13 for ; Sun, 20 Nov 2022 06:17:58 -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=VMt3SPiyU0ZL6BHWxEn68cVrpvyofc6ZxFEclSabjio=; b=hxnmLrQZMndensXsMcL9OLUyShfa0lG5wu1tVH/SlIK8jzxKzr1TK741nl9NjmhiYp eYktUi4zo6niiHxArXuMxUabWPeaQbh+K573/ui5GZ+CD4v0Tsjtt+7ZWe6xmfQ9EcLv ce7KHF1KM27QRTfT6O/Eg1LFD6GkfW/tQmZQk= 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=VMt3SPiyU0ZL6BHWxEn68cVrpvyofc6ZxFEclSabjio=; b=SiHG+jJbyvQ+e7NAxkCxh3QQyM3RCdiE347yHQ7yvVPLoF/i6omlh01SQ018bPy3RE I2eP92B4f2CDjiELDXsw153AmPLJ6/1Qt/awn5Y99OoG78AJ9N5ZOsmU6lV8Z8C3kQKc AUMnTiEE3GInT3VHR+L36VuZRK8NFM97EPZxvj5KHxIJ4yYAvBurTdKc84v8BYG1weaW PJpHiJQ+sAfOJUjgOM7v4VoOv0WjeYq4giFoVz37nngXCiZYa10XMDsNY67GQuL+5riH V2KTh4WBO/srn735JRg0wGeZVnSFZpP0IYEItGNFSNBVlfYSLUGqu8IgsphUTWFuFhKS UTjQ== X-Gm-Message-State: ANoB5pmMzNz2VM2sjyviB7WwOJYKZdfEPYkK3vDBaooTK0TyD6QnmVkD fxyYuZUh+zx0V7jEfqu48dcZBPVhNyxbRw== X-Google-Smtp-Source: AA0mqf4jjDi9OSQMfHwM+jy8hMHdRrv5QqJq9mbRI67CYJmct/e7NvrJdFWVnLhN+5jvjH8wlE2m7w== X-Received: by 2002:a37:9383:0:b0:6fa:3fbf:6b51 with SMTP id v125-20020a379383000000b006fa3fbf6b51mr12839396qkd.519.1668953877444; Sun, 20 Nov 2022 06:17:57 -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.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 06:17:57 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 220/241] global: Migrate CONFIG_UBOOTPATH to CFG Date: Sun, 20 Nov 2022 09:17:22 -0500 Message-Id: <20221120141743.3059310-21-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/MPC837XERDB.h | 4 ++-- include/configs/MPC8548CDS.h | 4 ++-- include/configs/P1010RDB.h | 4 ++-- include/configs/P2041RDB.h | 4 ++-- include/configs/T102xRDB.h | 4 ++-- include/configs/T104xRDB.h | 4 ++-- include/configs/T208xQDS.h | 4 ++-- include/configs/T208xRDB.h | 4 ++-- include/configs/T4240RDB.h | 4 ++-- include/configs/p1_p2_rdb_pc.h | 4 ++-- include/configs/qemu-ppce500.h | 2 +- scripts/config_whitelist.txt | 2 +- 12 files changed, 22 insertions(+), 22 deletions(-) diff --git a/include/configs/MPC837XERDB.h b/include/configs/MPC837XERDB.h index b9ac67fae0be..13406cfa547b 100644 --- a/include/configs/MPC837XERDB.h +++ b/include/configs/MPC837XERDB.h @@ -228,12 +228,12 @@ #define CFG_HOSTNAME "mpc837x_rdb" #define CFG_ROOTPATH "/nfsroot" /* U-Boot image on TFTP server */ -#define CONFIG_UBOOTPATH "u-boot.bin" +#define CFG_UBOOTPATH "u-boot.bin" #define CFG_FDTFILE "mpc8379_rdb.dtb" #define CFG_EXTRA_ENV_SETTINGS \ "netdev=" CFG_NETDEV "\0" \ - "uboot=" CONFIG_UBOOTPATH "\0" \ + "uboot=" CFG_UBOOTPATH "\0" \ "tftpflash=tftp $loadaddr $uboot;" \ "protect off " __stringify(CONFIG_TEXT_BASE) \ " +$filesize; " \ diff --git a/include/configs/MPC8548CDS.h b/include/configs/MPC8548CDS.h index a493d73a4a82..ef3f8f4b2b0e 100644 --- a/include/configs/MPC8548CDS.h +++ b/include/configs/MPC8548CDS.h @@ -329,7 +329,7 @@ #define CFG_HOSTNAME "unknown" #define CFG_ROOTPATH "/nfsroot" -#define CONFIG_UBOOTPATH 8548cds/u-boot.bin /* TFTP server */ +#define CFG_UBOOTPATH 8548cds/u-boot.bin /* TFTP server */ #define CFG_SERVERIP 192.168.1.1 #define CFG_GATEWAYIP 192.168.1.1 @@ -338,7 +338,7 @@ #define CFG_EXTRA_ENV_SETTINGS \ "hwconfig=fsl_ddr:ecc=off\0" \ "netdev=eth0\0" \ - "uboot=" __stringify(CONFIG_UBOOTPATH) "\0" \ + "uboot=" __stringify(CFG_UBOOTPATH) "\0" \ "tftpflash=tftpboot $loadaddr $uboot; " \ "protect off " __stringify(CONFIG_TEXT_BASE) \ " +$filesize; " \ diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h index 91e5c544f616..15700b390b66 100644 --- a/include/configs/P1010RDB.h +++ b/include/configs/P1010RDB.h @@ -413,12 +413,12 @@ extern unsigned long get_sdram_size(void); */ #define CFG_ROOTPATH "/opt/nfsroot" -#define CONFIG_UBOOTPATH u-boot.bin/* U-Boot image on TFTP server */ +#define CFG_UBOOTPATH u-boot.bin/* U-Boot image on TFTP server */ #define CFG_EXTRA_ENV_SETTINGS \ "hwconfig=" __stringify(CONFIG_DEF_HWCONFIG) "\0" \ "netdev=eth0\0" \ - "uboot=" __stringify(CONFIG_UBOOTPATH) "\0" \ + "uboot=" __stringify(CFG_UBOOTPATH) "\0" \ "loadaddr=1000000\0" \ "consoledev=ttyS0\0" \ "ramdiskaddr=2000000\0" \ diff --git a/include/configs/P2041RDB.h b/include/configs/P2041RDB.h index 5432ad9e3950..2fa9d777b926 100644 --- a/include/configs/P2041RDB.h +++ b/include/configs/P2041RDB.h @@ -309,7 +309,7 @@ * Environment Configuration */ #define CFG_ROOTPATH "/opt/nfsroot" -#define CONFIG_UBOOTPATH u-boot.bin +#define CFG_UBOOTPATH u-boot.bin #define __USB_PHY_TYPE utmi @@ -317,7 +317,7 @@ "hwconfig=fsl_ddr:ctlr_intlv=cacheline," \ "bank_intlv=cs0_cs1\0" \ "netdev=eth0\0" \ - "uboot=" __stringify(CONFIG_UBOOTPATH) "\0" \ + "uboot=" __stringify(CFG_UBOOTPATH) "\0" \ "ubootaddr=" __stringify(CONFIG_TEXT_BASE) "\0" \ "tftpflash=tftpboot $loadaddr $uboot && " \ "protect off $ubootaddr +$filesize && " \ diff --git a/include/configs/T102xRDB.h b/include/configs/T102xRDB.h index 36db5a5ad0bf..dff468d93bf1 100644 --- a/include/configs/T102xRDB.h +++ b/include/configs/T102xRDB.h @@ -424,7 +424,7 @@ * Environment Configuration */ #define CFG_ROOTPATH "/opt/nfsroot" -#define CONFIG_UBOOTPATH u-boot.bin /* U-Boot image on TFTP server */ +#define CFG_UBOOTPATH u-boot.bin /* U-Boot image on TFTP server */ #define __USB_PHY_TYPE utmi #ifdef CONFIG_ARCH_T1024 @@ -443,7 +443,7 @@ ARCH_EXTRA_ENV_SETTINGS \ "hwconfig=fsl_ddr:ctlr_intlv=cacheline," \ "usb1:dr_mode=host,phy_type=" __stringify(__USB_PHY_TYPE) "\0" \ - "uboot=" __stringify(CONFIG_UBOOTPATH) "\0" \ + "uboot=" __stringify(CFG_UBOOTPATH) "\0" \ "ubootaddr=" __stringify(CONFIG_TEXT_BASE) "\0" \ "bootargs=root=/dev/ram rw console=ttyS0,115200\0" \ "netdev=eth0\0" \ diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h index b7aab1c1087c..7b9669a6eb98 100644 --- a/include/configs/T104xRDB.h +++ b/include/configs/T104xRDB.h @@ -414,7 +414,7 @@ * Environment Configuration */ #define CFG_ROOTPATH "/opt/nfsroot" -#define CONFIG_UBOOTPATH "u-boot.bin" /* U-Boot image on TFTP server*/ +#define CFG_UBOOTPATH "u-boot.bin" /* U-Boot image on TFTP server*/ #define __USB_PHY_TYPE utmi #define RAMDISKFILE "t104xrdb/ramdisk.uboot" @@ -436,7 +436,7 @@ "usb1:dr_mode=host,phy_type=" __stringify(__USB_PHY_TYPE) ";"\ "usb2:dr_mode=host,phy_type=" __stringify(__USB_PHY_TYPE) "\0"\ "netdev=eth0\0" \ - "uboot=" __stringify(CONFIG_UBOOTPATH) "\0" \ + "uboot=" __stringify(CFG_UBOOTPATH) "\0" \ "ubootaddr=" __stringify(CONFIG_TEXT_BASE) "\0" \ "tftpflash=tftpboot $loadaddr $uboot && " \ "protect off $ubootaddr +$filesize && " \ diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h index 9d0141586156..ac1a7614b6a2 100644 --- a/include/configs/T208xQDS.h +++ b/include/configs/T208xQDS.h @@ -422,7 +422,7 @@ * Environment Configuration */ #define CFG_ROOTPATH "/opt/nfsroot" -#define CONFIG_UBOOTPATH "u-boot.bin" /* U-Boot image on TFTP server */ +#define CFG_UBOOTPATH "u-boot.bin" /* U-Boot image on TFTP server */ #define __USB_PHY_TYPE utmi @@ -432,7 +432,7 @@ "bank_intlv=auto;" \ "usb1:dr_mode=host,phy_type=" __stringify(__USB_PHY_TYPE) "\0"\ "netdev=eth0\0" \ - "uboot=" __stringify(CONFIG_UBOOTPATH) "\0" \ + "uboot=" __stringify(CFG_UBOOTPATH) "\0" \ "ubootaddr=" __stringify(CONFIG_TEXT_BASE) "\0" \ "tftpflash=tftpboot $loadaddr $uboot && " \ "protect off $ubootaddr +$filesize && " \ diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h index fb7bdea3fe48..3f51554d2322 100644 --- a/include/configs/T208xRDB.h +++ b/include/configs/T208xRDB.h @@ -388,7 +388,7 @@ * Environment Configuration */ #define CFG_ROOTPATH "/opt/nfsroot" -#define CONFIG_UBOOTPATH "u-boot.bin" /* U-Boot image on TFTP server */ +#define CFG_UBOOTPATH "u-boot.bin" /* U-Boot image on TFTP server */ #define __USB_PHY_TYPE utmi @@ -398,7 +398,7 @@ "bank_intlv=auto;" \ "usb1:dr_mode=host,phy_type=" __stringify(__USB_PHY_TYPE) "\0"\ "netdev=eth0\0" \ - "uboot=" __stringify(CONFIG_UBOOTPATH) "\0" \ + "uboot=" __stringify(CFG_UBOOTPATH) "\0" \ "ubootaddr=" __stringify(CONFIG_TEXT_BASE) "\0" \ "tftpflash=tftpboot $loadaddr $uboot && " \ "protect off $ubootaddr +$filesize && " \ diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h index 1b3eb7d9f2b8..9081bd03749d 100644 --- a/include/configs/T4240RDB.h +++ b/include/configs/T4240RDB.h @@ -139,7 +139,7 @@ * Environment Configuration */ #define CFG_ROOTPATH "/opt/nfsroot" -#define CONFIG_UBOOTPATH "u-boot.bin" /* U-Boot image on TFTP server*/ +#define CFG_UBOOTPATH "u-boot.bin" /* U-Boot image on TFTP server*/ #define HVBOOT \ "setenv bootargs config-addr=0x60000000; " \ @@ -388,7 +388,7 @@ "bank_intlv=auto;" \ "usb1:dr_mode=host,phy_type=" __stringify(__USB_PHY_TYPE) "\0"\ "netdev=eth0\0" \ - "uboot=" __stringify(CONFIG_UBOOTPATH) "\0" \ + "uboot=" __stringify(CFG_UBOOTPATH) "\0" \ "ubootaddr=" __stringify(CONFIG_TEXT_BASE) "\0" \ "tftpflash=tftpboot $loadaddr $uboot && " \ "protect off $ubootaddr +$filesize && " \ diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h index 4560a432bed6..2dc271771615 100644 --- a/include/configs/p1_p2_rdb_pc.h +++ b/include/configs/p1_p2_rdb_pc.h @@ -420,13 +420,13 @@ */ #define CFG_HOSTNAME "unknown" #define CFG_ROOTPATH "/opt/nfsroot" -#define CONFIG_UBOOTPATH u-boot.bin /* U-Boot image on TFTP server */ +#define CFG_UBOOTPATH u-boot.bin /* U-Boot image on TFTP server */ #include "p1_p2_bootsrc.h" #define CFG_EXTRA_ENV_SETTINGS \ "netdev=eth0\0" \ -"uboot=" __stringify(CONFIG_UBOOTPATH) "\0" \ +"uboot=" __stringify(CFG_UBOOTPATH) "\0" \ "loadaddr=1000000\0" \ "bootfile=uImage\0" \ "tftpflash=tftpboot $loadaddr $uboot; " \ diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-ppce500.h index edf8222d5411..9040874a23ea 100644 --- a/include/configs/qemu-ppce500.h +++ b/include/configs/qemu-ppce500.h @@ -59,6 +59,6 @@ extern unsigned long long get_phys_ccsrbar_addr_early(void); * Environment Configuration */ #define CFG_ROOTPATH "/opt/nfsroot" -#define CONFIG_UBOOTPATH "u-boot.bin" /* U-Boot image on TFTP server*/ +#define CFG_UBOOTPATH "u-boot.bin" /* U-Boot image on TFTP server*/ #endif /* __QEMU_PPCE500_H */ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index c2bc53a582f0..cd44d281e0ec 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -234,7 +234,7 @@ CFG_TSECV2_1 CFG_TSEC_TBICR_SETTINGS CFG_UBIFS_VOLUME CFG_UBI_PART -CONFIG_UBOOTPATH +CFG_UBOOTPATH CONFIG_UBOOT_SECTOR_COUNT CONFIG_UBOOT_SECTOR_START CONFIG_UEC_ETH -- 2.25.1