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 08F12C433F5 for ; Mon, 13 Dec 2021 03:13:48 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5958883790; Mon, 13 Dec 2021 04:13:14 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id B35DC83772; Mon, 13 Dec 2021 04:12:53 +0100 (CET) Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) (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 8A17D83775 for ; Mon, 13 Dec 2021 04:12:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qk1-f170.google.com with SMTP id a11so12902759qkh.13 for ; Sun, 12 Dec 2021 19:12:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=W1W4HLOPyRkkhASxrpY6RSW15EUX7U4U5P7EN0IfWw8=; b=oZ6lNZe/L6bKsSK5yCW4jc+ux/cG1ZCpEYA6sAJjiMEOGEI6uF4+uHdpFPbMZUeGe9 agZ+kz2YTiI8dbePVG0c8x9AS/Mw2zmsmSoveVJw8AbdWsBoq7iZOo/QwsX/jBKnzM3n 7XTdP43MW9tDW1kMzH8Fmoei55ghFtsJ4MiVD1rmaqjocTI0LaMTQDnqV2O+lvR4P75L jOlFl4GJbKQMcaBlB7bARBZRRojSRelv/QAiLfRtEzqF10N10i5elS3jqUyrT0U0lmrc WiR6sMBvacjyl629x4yzpKKWxDcW/ZQm/+u8V1+bfn3T/NV9mta5d7OlNL7lMBuH2FgP Nzag== X-Gm-Message-State: AOAM532WQfc6ZotSzf2b3M3yMpf6rwOVD3Xqyrar25jwqx9lgBhBKK1V rxldIDnFldNFEnuo5lJ9afqBlRFHBg== X-Google-Smtp-Source: ABdhPJzVYtJTU6BIqLUiDPXQJ/0u3wDP7D+cQ1pDZM/bqeregzdrYGfGIBTBvwhVbI/SijcqfpAUfA== X-Received: by 2002:a05:620a:220b:: with SMTP id m11mr31559285qkh.778.1639365163302; Sun, 12 Dec 2021 19:12:43 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b01-cbda-f09f-ce0b-00bb-266e.res6.spectrum.com. [2603:6081:7b01:cbda:f09f:ce0b:bb:266e]) by smtp.gmail.com with ESMTPSA id n13sm5715716qkp.19.2021.12.12.19.12.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Dec 2021 19:12:43 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 08/11] warp7, pic32mzdask: Remove SYS_FDT_ADDR/SYS_ENV_ADDR from CONFIG namespace Date: Sun, 12 Dec 2021 22:12:33 -0500 Message-Id: <20211213031236.3222252-8-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211213031236.3222252-1-trini@konsulko.com> References: <20211213031236.3222252-1-trini@konsulko.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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.2 at phobos.denx.de X-Virus-Status: Clean In the case of CONFIG_SYS_FDT_ADDR this was being used to modify the default value of fdt_addr / fdt_addr_r, which is not something to expose in this manner and is not otherwise done. The case of SYS_ENV_ADDR is similar but only done on the pic32mzdask platform, for scriptaddr. Signed-off-by: Tom Rini --- board/warp7/Kconfig | 6 ------ include/configs/pic32mzdask.h | 7 ++----- include/configs/warp7.h | 2 +- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/board/warp7/Kconfig b/board/warp7/Kconfig index e5051cdda66a..05b4420afc82 100644 --- a/board/warp7/Kconfig +++ b/board/warp7/Kconfig @@ -14,12 +14,6 @@ config WARP7_ROOT_PART partition that is typically specified with root=/dev/sdaX or which gets converted into a root=PARTUUID=some_uuid. -config SYS_FDT_ADDR - hex "FDT load address" - default 0x83000000 - help - The address the FDT file should be loaded to. - config IMX_CONFIG default "board/warp7/imximage.cfg" diff --git a/include/configs/pic32mzdask.h b/include/configs/pic32mzdask.h index cc2e6a7ae89c..3624c122fcdb 100644 --- a/include/configs/pic32mzdask.h +++ b/include/configs/pic32mzdask.h @@ -33,9 +33,6 @@ #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE #define CONFIG_SYS_MONITOR_LEN (192 << 10) -#define CONFIG_SYS_ENV_ADDR 0x88300000 -#define CONFIG_SYS_FDT_ADDR 0x89d00000 - /* Memory Test */ /*---------------------------------------------------------------------- @@ -74,8 +71,8 @@ #define MEM_LAYOUT_ENV_SETTINGS \ "kernel_addr_r="__stringify(CONFIG_SYS_LOAD_ADDR)"\0" \ - "fdt_addr_r="__stringify(CONFIG_SYS_FDT_ADDR)"\0" \ - "scriptaddr="__stringify(CONFIG_SYS_ENV_ADDR)"\0" + "fdt_addr_r=0x89d00000\0" \ + "scriptaddr=0x88300000\0" \ #define CONFIG_LEGACY_BOOTCMD_ENV \ "legacy_bootcmd= " \ diff --git a/include/configs/warp7.h b/include/configs/warp7.h index da7c753ddd73..83ee1784ce91 100644 --- a/include/configs/warp7.h +++ b/include/configs/warp7.h @@ -39,7 +39,7 @@ "fdt_high=0xffffffff\0" \ "initrd_high=0xffffffff\0" \ "fdt_file=imx7s-warp.dtb\0" \ - "fdt_addr=" __stringify(CONFIG_SYS_FDT_ADDR)"\0" \ + "fdt_addr=0x83000000\0" \ "fdtovaddr=0x83100000\0" \ "boot_fdt=try\0" \ "ip_dyn=yes\0" \ -- 2.25.1