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 CB838C433FE for ; Sun, 20 Nov 2022 13:43:02 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 02F718532D; Sun, 20 Nov 2022 14:35:21 +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="H+TVLRtf"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0879E85293; Sun, 20 Nov 2022 14:34:35 +0100 (CET) Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) (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 6851B85283 for ; Sun, 20 Nov 2022 14:34:32 +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-x72d.google.com with SMTP id k2so6488454qkk.7 for ; Sun, 20 Nov 2022 05:34:32 -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=Tz5qT1FF9+5aXGI5FyYSkAFfuAaWW4/Rvrao3ojrVIc=; b=H+TVLRtfe4IrZSElGtKIS0hfeQkVSpL3zzVY0CH8laQcd/4pIdzfm6AihE0qJ1vE3f N0wp8Ax3SiigLheGoYy6HWFlaw124sq4rFNfqqaoyrAD/Gva2jZUdQPhuqEy4SGjmIoR /LrMz1c7AX9P6oMkmSjr+qrBJiXd/f/lVTVVk= 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=Tz5qT1FF9+5aXGI5FyYSkAFfuAaWW4/Rvrao3ojrVIc=; b=4b15tBnsUNHxqwX0O/3nwFtLuw05OuveimlLY7qsv8ScEwZ3iV6lcgSmUGvyDGP3sQ tit3Up5jGn75AIbbejyavMh5l+HNBFzBoBqIBYABas4u+zDdYjVbGbvhpCAdf2vipTLY fUdvSEbS6osSpccqPjjWqsM/3ZQkw6OKIUvQ0mi7Y/J/wTJ6h7gupxTw2hZHy33SaZSV oc16rFWUPlR2svwsvAaPSo/hImsfBC+vqbqi+yAGgT3qte9LNi1bN9lWy5Omv9KlmkRY zh4y+Zeip+1/a49U3ZkZeRxRHyTZxU3vFFV0REM5LG8JyT7Ouf/gyEZJmx1UIZZYhKEi f84w== X-Gm-Message-State: ANoB5pkB2HYtDB/VmzhXlttYobGh0YndA8NEpPOYs6FkhHx1JtzVJqaF pPCLAJYrxr9MwMD+gpJI3zAijJJ0GC+4jw== X-Google-Smtp-Source: AA0mqf6t2lW1Ypr5l6d9uZQo7GI+u0alATsR3yvf50/S5w/SrwpaqtqkOZQBIMtYd3+G4FgegvMRfw== X-Received: by 2002:a37:64c8:0:b0:6f9:6c61:ea58 with SMTP id y191-20020a3764c8000000b006f96c61ea58mr13133338qkb.518.1668951271798; Sun, 20 Nov 2022 05:34:31 -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 m21-20020a05620a24d500b006ce0733caebsm6487740qkn.14.2022.11.20.05.34.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 05:34:31 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 052/241] global: Migrate CONFIG_G_DNL_UMS_VENDOR_NUM to CFG Date: Sun, 20 Nov 2022 08:30:43 -0500 Message-Id: <20221120133352.3055600-53-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221120133352.3055600-1-trini@konsulko.com> References: <20221119234545.404563-38-trini@konsulko.com> <20221120133352.3055600-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 --- board/samsung/common/gadget.c | 2 +- include/configs/dh_imx6.h | 2 +- include/configs/exynos4-common.h | 2 +- include/configs/odroid_xu3.h | 2 +- include/configs/s5p_goni.h | 2 +- include/configs/socfpga_common.h | 2 +- scripts/config_whitelist.txt | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/board/samsung/common/gadget.c b/board/samsung/common/gadget.c index 71d361548434..0fe20be48556 100644 --- a/board/samsung/common/gadget.c +++ b/board/samsung/common/gadget.c @@ -13,7 +13,7 @@ int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name) put_unaligned(CFG_G_DNL_THOR_VENDOR_NUM, &dev->idVendor); put_unaligned(CFG_G_DNL_THOR_PRODUCT_NUM, &dev->idProduct); } else if (!strcmp(name, "usb_dnl_ums")) { - put_unaligned(CONFIG_G_DNL_UMS_VENDOR_NUM, &dev->idVendor); + put_unaligned(CFG_G_DNL_UMS_VENDOR_NUM, &dev->idVendor); put_unaligned(CFG_G_DNL_UMS_PRODUCT_NUM, &dev->idProduct); } else { put_unaligned(CONFIG_USB_GADGET_VENDOR_NUM, &dev->idVendor); diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h index a53846b762c1..1fbdebb64511 100644 --- a/include/configs/dh_imx6.h +++ b/include/configs/dh_imx6.h @@ -40,7 +40,7 @@ #define DFU_DEFAULT_POLL_TIMEOUT 300 /* USB IDs */ -#define CONFIG_G_DNL_UMS_VENDOR_NUM 0x0525 +#define CFG_G_DNL_UMS_VENDOR_NUM 0x0525 #define CFG_G_DNL_UMS_PRODUCT_NUM 0xA4A5 #endif #endif diff --git a/include/configs/exynos4-common.h b/include/configs/exynos4-common.h index f3db02d78d8b..63e26687dbce 100644 --- a/include/configs/exynos4-common.h +++ b/include/configs/exynos4-common.h @@ -18,7 +18,7 @@ /* USB Samsung's IDs */ #define CFG_G_DNL_THOR_VENDOR_NUM 0x04E8 #define CFG_G_DNL_THOR_PRODUCT_NUM 0x685D -#define CONFIG_G_DNL_UMS_VENDOR_NUM 0x0525 +#define CFG_G_DNL_UMS_VENDOR_NUM 0x0525 #define CFG_G_DNL_UMS_PRODUCT_NUM 0xA4A5 /* Common environment variables */ diff --git a/include/configs/odroid_xu3.h b/include/configs/odroid_xu3.h index bd8d455375dd..50213a383528 100644 --- a/include/configs/odroid_xu3.h +++ b/include/configs/odroid_xu3.h @@ -25,7 +25,7 @@ #define CFG_G_DNL_THOR_PRODUCT_NUM 0x685D /* UMS */ -#define CONFIG_G_DNL_UMS_VENDOR_NUM 0x0525 +#define CFG_G_DNL_UMS_VENDOR_NUM 0x0525 #define CFG_G_DNL_UMS_PRODUCT_NUM 0xA4A5 #define CFG_DFU_ALT_SYSTEM \ diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index d1c3f495c253..1e211eccee7b 100644 --- a/include/configs/s5p_goni.h +++ b/include/configs/s5p_goni.h @@ -28,7 +28,7 @@ #define CFG_G_DNL_THOR_VENDOR_NUM 0x04E8 #define CFG_G_DNL_THOR_PRODUCT_NUM 0x685D -#define CONFIG_G_DNL_UMS_VENDOR_NUM 0x0525 +#define CFG_G_DNL_UMS_VENDOR_NUM 0x0525 #define CFG_G_DNL_UMS_PRODUCT_NUM 0xA4A5 /* Actual modem binary size is 16MiB. Add 2MiB for bad block handling */ diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index dbb84ab9ad08..d6809f8118d7 100644 --- a/include/configs/socfpga_common.h +++ b/include/configs/socfpga_common.h @@ -85,7 +85,7 @@ #define DFU_DEFAULT_POLL_TIMEOUT 300 /* USB IDs */ -#define CONFIG_G_DNL_UMS_VENDOR_NUM 0x0525 +#define CFG_G_DNL_UMS_VENDOR_NUM 0x0525 #define CFG_G_DNL_UMS_PRODUCT_NUM 0xA4A5 #endif diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 5da8953712a5..3473e7c4560b 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -52,7 +52,7 @@ CFG_GMII CFG_G_DNL_THOR_PRODUCT_NUM CFG_G_DNL_THOR_VENDOR_NUM CFG_G_DNL_UMS_PRODUCT_NUM -CONFIG_G_DNL_UMS_VENDOR_NUM +CFG_G_DNL_UMS_VENDOR_NUM CONFIG_HDMI_ENCODER_I2C_ADDR CONFIG_HOSTNAME CONFIG_HSMMC2_8BIT -- 2.25.1