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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F69CC433EF for ; Sun, 14 Nov 2021 03:22:50 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id DE4186103A for ; Sun, 14 Nov 2021 03:22:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DE4186103A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 01E8183458; Sun, 14 Nov 2021 04:22:31 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="j/B+T+/B"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B0349834A1; Sun, 14 Nov 2021 04:22:23 +0100 (CET) Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) (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 418878344C for ; Sun, 14 Nov 2021 04:22:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-ot1-x32e.google.com with SMTP id v15-20020a9d604f000000b0056cdb373b82so12780351otj.7 for ; Sat, 13 Nov 2021 19:22:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1STm007uITdkmQdHrGZFDl1ULWidU83VsMM6prWW9Ic=; b=j/B+T+/Bft6ZxbD2fUgSeCU7VzAQE+gLQsO1LECcLkmGNbmOSe6lBKHG/O3NB9fhem +INygbXv37Wb6HzkoVAYuLZWY90/26zjj38fOYg91v9jbotseS2FqCohI7sLMaJU30JI uQ837OBhBAmLHb6ADta17k2ftc5S2MFDHlwRE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1STm007uITdkmQdHrGZFDl1ULWidU83VsMM6prWW9Ic=; b=wTwJ2CJoQi0ACABykroR0lLLwYyg+RJ2Kx1gIhVM6kE7+mTkLUfOskq2wI9QRNgpH4 NPaf1ZsDHys7hzFleGNBy+cgzWhVok45bVHDJyCfif1Wc69IZ6Eki47FR1tqtq+9jVM8 dR4BLtPpZN/N1Tqxwk6Yk3ul3h8hdVZzR4i+uMJdd6pl6NZi4S7xXH3NBcNox7XwnPEJ 8j5Vcb2JMUN8AzUcUQsXL93Zl9LgWDyeBcEFKPf2g2aznZN80sQMkWtTgDALJMN8YHQR grJA79hX7EY1f2pWJm6OtV84ZQUr+P9G5FtjsflOrcya2T67XjPgBT/wpygk0x5AAj31 yFiQ== X-Gm-Message-State: AOAM530oaxTQYG/VRd9heJY5tsYddTCorLlFQcT8AH3otV5+8/COuIOc GAlKix/kW9qYWIo55RWbIqnqtAq9J6mRpg== X-Google-Smtp-Source: ABdhPJyp7uqfPwXcm29N7iVL0CfKWTKjK6eDGyxZhUp1BiuCRP/6BwT4RiHctiQXnDd0Atj6ChfP/w== X-Received: by 2002:a05:6830:2712:: with SMTP id j18mr22357291otu.302.1636860135767; Sat, 13 Nov 2021 19:22:15 -0800 (PST) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id o2sm2147004otl.34.2021.11.13.19.22.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Nov 2021 19:22:15 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Mario Six , Patrick Delaunay , Priyanka Jain , Stefan Roese Subject: [PATCH 03/10] Convert CONFIG_SYS_FDT_LOAD_ADDR to Kconfig Date: Sat, 13 Nov 2021 20:21:54 -0700 Message-Id: <20211114032201.493122-4-sjg@chromium.org> X-Mailer: git-send-email 2.34.0.rc1.387.gb447b232ab-goog In-Reply-To: <20211114032201.493122-1-sjg@chromium.org> References: <20211114032201.493122-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.35 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 This converts the following to Kconfig: CONFIG_SYS_FDT_LOAD_ADDR Signed-off-by: Simon Glass --- arch/sandbox/Kconfig | 10 ++++++++++ include/configs/sandbox.h | 6 ------ scripts/config_whitelist.txt | 1 - 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig index 7606469c94e..7cdbaefb119 100644 --- a/arch/sandbox/Kconfig +++ b/arch/sandbox/Kconfig @@ -68,4 +68,14 @@ config SANDBOX_BITS_PER_LONG default 32 if HOST_32BIT default 64 if HOST_64BIT +config SYS_FDT_LOAD_ADDR + hex "Address at which to load devicetree" + default 0x100 + help + With sandbox the devicetree is loaded into the emulated RAM. This sets + the address that is used. There must be enough space at this address + to load the full devicetree without it overwriting anything else. + + See `doc/arch/sandbox.rst` for more information. + endmenu diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index ea6080869a8..09f46ca1ac2 100644 --- a/include/configs/sandbox.h +++ b/include/configs/sandbox.h @@ -18,12 +18,6 @@ #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ -/* turn on command-line edit/c/auto */ - -/* SPI - enable all SPI flash types for testing purposes */ - -#define CONFIG_SYS_FDT_LOAD_ADDR 0x100 - #define CONFIG_PHYSMEM /* Size of our emulated memory */ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 10f7a6d4c08..82a69a6c5f7 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -1613,7 +1613,6 @@ CONFIG_SYS_FAST_CLK CONFIG_SYS_FAULT_ECHO_LINK_DOWN CONFIG_SYS_FAULT_MII_ADDR CONFIG_SYS_FDT_BASE -CONFIG_SYS_FDT_LOAD_ADDR CONFIG_SYS_FDT_PAD CONFIG_SYS_FEC0_IOBASE CONFIG_SYS_FEC1_IOBASE -- 2.34.0.rc1.387.gb447b232ab-goog