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 E09EDC4321E for ; Sun, 4 Dec 2022 15:27:13 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A9571855FD; Sun, 4 Dec 2022 16:15: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="aLVWXIcH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EF7CC855FB; Sun, 4 Dec 2022 16:14:47 +0100 (CET) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) (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 E33B4855FE for ; Sun, 4 Dec 2022 16:14:43 +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-ej1-x635.google.com with SMTP id gu23so22259017ejb.10 for ; Sun, 04 Dec 2022 07:14:43 -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=giw6PDeq52fX+gkG7IXL495glEZTbmN2SXXDFv/3aw4=; b=aLVWXIcHbbAAEWipy7pJ1HJvAzEisi0G0jzcVxXNPGcB6TNI9/Wv6WwQwZuHoxoyf5 3LQqdS94hneRa85uHv89bfEw3px8QZH8FAh5CxeTP6o1dFwN2ogeI5TnRqlMYJOQWt60 aEX3UYD+muLBsty7+eRbHz1h00GyA6FbkH4nc= 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=giw6PDeq52fX+gkG7IXL495glEZTbmN2SXXDFv/3aw4=; b=Cb3wtthGChoy425wED6TfCmwJBwlgCqOjvPW0CQPCGubXDj27SXMTRez/CpBHwU4o5 g1Ncu99T8ojJoeNcvkPf7k5Vx8xfCsUa3X095OLGUR3INRk8arbWLaLibiUDUcVYyyL+ XwTrF2F3mfhQdtQay5+QDwp8t3ESMVcEF+NUSAS4MyDSTCY6S79E7eKRLNQ2idrFX5dI Mh+vG9aXbYDWnDHcv/dJYIpL36bL7myuOAys5NbWOezY3ArSngeenH+RcTEVrGxIT03A MZlzuvYUvZ/PIe/EaSEq3T1C2K/FZAH8gCKl7seaFayQUImFhSwEajxsBr3RGFw4AYiu VJWg== X-Gm-Message-State: ANoB5plrzX/wsXzdYbm62Eg+7borztmd7oZlFFfiVq2t4w3UctlUxKZL s+Z+jk82AhN8WptTRsVviGeyX1b3sgTJkfBo X-Google-Smtp-Source: AA0mqf7PCCB0385ms/BjiTFKv4j13YqYu7mTk98oTmUJu38rOjKQDBBAOZOvvn1mpxdgzHmx3zJ18w== X-Received: by 2002:a17:907:7782:b0:7b6:dd6d:b829 with SMTP id ky2-20020a170907778200b007b6dd6db829mr53764771ejc.602.1670166883398; Sun, 04 Dec 2022 07:14:43 -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.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 07:14:43 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 108/149] global: Migrate CONFIG_RAMDISK_ADDR to CFG Date: Sun, 4 Dec 2022 10:13:39 -0500 Message-Id: <20221204151420.56851-18-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_RAMDISK_ADDR to CFG_RAMDISK_ADDR Signed-off-by: Tom Rini --- cmd/qfw.c | 4 ++-- doc/usage/cmd/qfw.rst | 2 +- include/configs/x86-common.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/qfw.c b/cmd/qfw.c index 95ddc4b79ec7..0c49c6074e16 100644 --- a/cmd/qfw.c +++ b/cmd/qfw.c @@ -130,8 +130,8 @@ static int qemu_fwcfg_do_load(struct cmd_tbl *cmdtp, int flag, env = env_get("ramdiskaddr"); initrd_addr = env ? (void *)hextoul(env, NULL) : -#ifdef CONFIG_RAMDISK_ADDR - (void *)CONFIG_RAMDISK_ADDR; +#ifdef CFG_RAMDISK_ADDR + (void *)CFG_RAMDISK_ADDR; #else NULL; #endif diff --git a/doc/usage/cmd/qfw.rst b/doc/usage/cmd/qfw.rst index b3704b92d6d9..cc0e27c27790 100644 --- a/doc/usage/cmd/qfw.rst +++ b/doc/usage/cmd/qfw.rst @@ -31,7 +31,7 @@ kernel_addr initrd_addr address to which the file specified by the -initrd parameter of QEMU shall be loaded. Defaults to environment variable *ramdiskaddr* and further to - the value of *CONFIG_RAMDISK_ADDR*. + the value of *CFG_RAMDISK_ADDR*. Examples -------- diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h index 5d461e8d0c64..f421ec580344 100644 --- a/include/configs/x86-common.h +++ b/include/configs/x86-common.h @@ -25,7 +25,7 @@ */ /* Default environment */ -#define CONFIG_RAMDISK_ADDR 0x4000000 +#define CFG_RAMDISK_ADDR 0x4000000 #if defined(CONFIG_GENERATE_ACPI_TABLE) || defined(CONFIG_EFI_STUB) #define CFG_OTHBOOTARGS "othbootargs=\0" #else -- 2.25.1