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 56DB4C4321E for ; Sun, 4 Dec 2022 15:28:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3153C85651; Sun, 4 Dec 2022 16:15:47 +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="KKoAKoVi"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1225D85612; Sun, 4 Dec 2022 16:14:55 +0100 (CET) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (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 60977855FD for ; Sun, 4 Dec 2022 16:14:52 +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-ed1-x52f.google.com with SMTP id v8so12624983edi.3 for ; Sun, 04 Dec 2022 07:14:52 -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=IIqYuwQhA7nEzaRSfbPa3IE7kJIOtcjKLlaovjNXLww=; b=KKoAKoViOrseGBBEjdej4m83En2dcp5ofZBMgpX6tGhFfyroRuWyIveo7ZLftcSKFg OxLf/1/wGHT2C4CgnRNmWWPoDDJklpR9m2f29uQiDBoxQvCOFvcOo5dAdhLDNFLUDdC3 oJ1Z4gHvQfhajEGsdR1GdxeN8UuFDazJf7SB0= 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=IIqYuwQhA7nEzaRSfbPa3IE7kJIOtcjKLlaovjNXLww=; b=RvlrZ4G59L+EXRBA5OcsE3c20G+mr1yfaDTIDBmqje06WOyjRJfNiYTzOWvnPY5DKj nQXmkUUvJtK9yPwf7bPMp2CyACHd3Q/geYtcwmt+Xpulb/BgJmRxhTLylEzyOAPQghUM loiH2vfcma3mUrxz5+fki7nJ8rI53eRHXjtt9Kd4zsctW/81R06i+t7/Fqhq9+U+ZUHD +KhR5Cp6n2pxli1nV4d1m483KeZu6LkJIZwwknD4eOPWHD2UzJVt1cS38DsnztwH5RwI J+cYiNmWvw/fQniC9IpOelLeIqeDVH+PXEVofb4MCuG2vbts/JdtHiP2TL6xkW7X+l4O Z/aw== X-Gm-Message-State: ANoB5plEO2NgbXFyVaYRnEuU+mB8X5YrJEz1O0Kj1uAKu7VHXX7d9XDo gSEQpBA2eC1IGIp46hw8yRNqZcOoNGw9xIKO X-Google-Smtp-Source: AA0mqf6LLQC8VNEitag4ZXjPFnNBhdfvxWHChpUb3DcFElnCQRHDMuDX3WjpvTrUViLyeGBoMUn9RQ== X-Received: by 2002:aa7:cb15:0:b0:458:e9c0:3e6f with SMTP id s21-20020aa7cb15000000b00458e9c03e6fmr72006022edt.61.1670166891702; Sun, 04 Dec 2022 07:14:51 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-61c7-2644-b62d-0af3.res6.spectrum.com. [2603:6081:7b00:6400:61c7:2644:b62d:af3]) by smtp.gmail.com with ESMTPSA id b21-20020aa7c915000000b00461816beef9sm5174405edt.14.2022.12.04.07.14.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 07:14:51 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 115/149] global: Migrate CONFIG_SET_DFU_ALT_BUF_LEN to CFG Date: Sun, 4 Dec 2022 10:13:46 -0500 Message-Id: <20221204151420.56851-25-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221204151420.56851-1-trini@konsulko.com> References: <20221202214251.3027264-41-trini@konsulko.com> <20221204151420.56851-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 Perform a simple rename of CONFIG_SET_DFU_ALT_BUF_LEN to CFG_SET_DFU_ALT_BUF_LEN Signed-off-by: Tom Rini --- board/samsung/common/misc.c | 2 +- include/configs/odroid.h | 2 +- include/configs/odroid_xu3.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c index 9c0ec29c937b..5ffa216e2e5d 100644 --- a/board/samsung/common/misc.c +++ b/board/samsung/common/misc.c @@ -41,7 +41,7 @@ DECLARE_GLOBAL_DATA_PTR; #ifdef CONFIG_SET_DFU_ALT_INFO void set_dfu_alt_info(char *interface, char *devstr) { - size_t buf_size = CONFIG_SET_DFU_ALT_BUF_LEN; + size_t buf_size = CFG_SET_DFU_ALT_BUF_LEN; ALLOC_CACHE_ALIGN_BUFFER(char, buf, buf_size); char *alt_info = "Settings not found!"; char *status = "error!\n"; diff --git a/include/configs/odroid.h b/include/configs/odroid.h index 3ac13a65d63f..560a23c23efb 100644 --- a/include/configs/odroid.h +++ b/include/configs/odroid.h @@ -37,7 +37,7 @@ ""PARTS_BOOT" part 0 1;" \ ""PARTS_ROOT" part 0 2\0" \ -#define CONFIG_SET_DFU_ALT_BUF_LEN (SZ_1K) +#define CFG_SET_DFU_ALT_BUF_LEN (SZ_1K) #define CFG_DFU_ALT_BOOT_EMMC \ "u-boot raw 0x3e 0x800 mmcpart 1;" \ diff --git a/include/configs/odroid_xu3.h b/include/configs/odroid_xu3.h index 7304851d0f33..58b5ee6ea0a9 100644 --- a/include/configs/odroid_xu3.h +++ b/include/configs/odroid_xu3.h @@ -49,7 +49,7 @@ "params.bin raw 0x1880 0x20\0" /* Enable: board/samsung/common/misc.c to use set_dfu_alt_info() */ -#define CONFIG_SET_DFU_ALT_BUF_LEN (SZ_1K) +#define CFG_SET_DFU_ALT_BUF_LEN (SZ_1K) /* Set soc_rev, soc_id, board_rev, board_name, fdtfile */ #define CFG_ODROID_REV_AIN 9 -- 2.25.1