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 044D9C433F5 for ; Wed, 24 Nov 2021 16:27:36 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 689F982FB5; Wed, 24 Nov 2021 17:27:28 +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="Y4vYfW0L"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 40DCE82F98; Wed, 24 Nov 2021 17:27:17 +0100 (CET) Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) (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 5D7E183679 for ; Wed, 24 Nov 2021 17:27:05 +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-oi1-x233.google.com with SMTP id n66so6377931oia.9 for ; Wed, 24 Nov 2021 08:27:05 -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=efUdEaWpwBvnVUngbWef8RwC0eAkLHFcQT3snSqCljA=; b=Y4vYfW0Lghmb1HrmnBDfCjfqHtnXpJ+/fwp0GY9dBqPLUo3aygPZH4AKsPD3IYSOFn s9JkpL44Bnc9K8QS6eYEfz0Mf3tPhkpuzp/0c2om55uiVBez/A5Pe+b6hYtSE+GrQxl1 4fw1SbontKB6eO+c3tM5Afw1K8M9uj/eBl1s8= 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=efUdEaWpwBvnVUngbWef8RwC0eAkLHFcQT3snSqCljA=; b=MxuLA9VQitNBRluYz0CMBfRBBFftOXUWAZog01aqdyusOd70Wp34RGu5qQo/tu1bhW 7Sm/t1wdqN4PtP91kuKn8ZvJadOHZtfWqs20chGQyMdMkmwDD35GjZyJGPtCl6GyQ4yM EGJxmex/bQfJDyFda36W10L9k46vYBb00W6zeFOpiLtCBC0JC2o5fav5y6GI3BL53XGm gS+0kpWmidxjWbP70t3i/IeGEfHKfRfd27rLDpgUz0rLbMB2vPMPEY10Vq2cEo1ktZ9s Fp+HL+yWYzNYKoqJe1Wcn8DSPjVgms3rW0axOUDj2yGf7DYGf2QuiOD7hlsQDMmQJsdH WzRg== X-Gm-Message-State: AOAM533J/TD20Z39XUVfjbEBSxy1089d0BKv4eB4wdhroivhl2Iansux 6uC2DLsLjtyiwagOP97u7WLyG8taFnFlHw== X-Google-Smtp-Source: ABdhPJwuxo4ITtm4irH2TUHKBOyP8BCOcMoC9vqb03TdqbhXyZeUNSkvj4rkJW8jh3ii6q4+TrL7uw== X-Received: by 2002:a05:6808:23c3:: with SMTP id bq3mr7493084oib.124.1637771223648; Wed, 24 Nov 2021 08:27:03 -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 w10sm43068ott.46.2021.11.24.08.27.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Nov 2021 08:27:03 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Heinrich Schuchardt , Tom Rini , Simon Glass , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Mario Six , Patrick Delaunay , Priyanka Jain , Stefan Roese Subject: [PATCH v2 03/11] Convert CONFIG_SYS_FDT_LOAD_ADDR to Kconfig Date: Wed, 24 Nov 2021 09:26:41 -0700 Message-Id: <20211124162649.846156-4-sjg@chromium.org> X-Mailer: git-send-email 2.34.0.rc2.393.gf8c9666880-goog In-Reply-To: <20211124162649.846156-1-sjg@chromium.org> References: <20211124162649.846156-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 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 --- (no changes since v1) 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 b1689d39f11..fd972b8c46d 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.rc2.393.gf8c9666880-goog