From mboxrd@z Thu Jan 1 00:00:00 1970 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 35CDBC433EF for ; Wed, 29 Sep 2021 07:45:41 +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 1BE6D613A0 for ; Wed, 29 Sep 2021 07:45:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1BE6D613A0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmx.de 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 4A3A382DC1; Wed, 29 Sep 2021 09:45:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmx.de 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; secure) header.d=gmx.net header.i=@gmx.net header.b="lQTM+LPZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C44DD8320D; Wed, 29 Sep 2021 09:45:36 +0200 (CEST) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7B8E88281E for ; Wed, 29 Sep 2021 09:45:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=xypron.glpk@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1632901508; bh=QzN750uleqGfA7BUrNYsuIlmtl/UX90cc5DmalW1RJM=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=lQTM+LPZ8R84mFXOJu5DhnQcaeZ0wSRbJht9T9cd84k/lUMF1v3C8G6sm+/OEDW7A l3alElkI5mbVGZjsmqJPgc0otHGSebCOJ993ZHMMrJ3TEujxJ15Iuyo1LIe7w92K45 N27yQO9oGI8uTPA2n/Y5CwPkmBIC8gjOJfbFSqqI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.123.55] ([88.152.144.157]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M7sHy-1mRcf80Dek-0053cQ; Wed, 29 Sep 2021 09:45:08 +0200 Message-ID: Date: Wed, 29 Sep 2021 09:44:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.1 Subject: Re: [PATCH] sandbox: Remove OF_HOSTFILE Content-Language: en-US To: Ilias Apalodimas Cc: Tom Rini , =?UTF-8?Q?Pali_Roh=c3=a1r?= , =?UTF-8?Q?Marek_Beh=c3=ban?= , Bin Meng , Chee Hong Ang , Sean Anderson , Patrick Delaunay , Joe Hershberger , Nicolas Saenz Julienne , Wasim Khan , AKASHI Takahiro , Etienne Carriere , Alexandru Gagniuc , Nandor Han , Steffen Jaeckel , Heiko Schocher , Asherah Connor , Andre Przywara , U-Boot Mailing List , Simon Glass References: <20210928090544.186489-1-ilias.apalodimas@linaro.org> <20210928090544.186489-2-ilias.apalodimas@linaro.org> From: Heinrich Schuchardt In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:s11Yzh5Z1ikFgB1vyUTlCmOH2huAd/2L3NdGO0uRZslLNWr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KnfbN08Hv4lmg/YbOM7TYI7ZJ 5eIeMoitqjsfwg0E/5MVCGHrNiXdj0588L2cIS9vbmjVISkYYdph+VUKq9ArTHgBl3oWo5Fli g6o43j5VQh1oz4/1yvKR9b8yJKf05kmajEEm0B/hGJ6IOSql5KgrQfkuBwHgkyYRq46NsbdLN 4KBUb8aa8bCiM8OAhcQzqd+dVqSde/8ico3uCmNww/dZG6U+E6cem+EQlhql9ozgNIvmkREoc VsZlqj0bs1BsVQ= X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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 On 9/29/21 08:25, Ilias Apalodimas wrote: >>>> - */ >>>> -int sandbox_read_fdt_from_file(void); >>>> - >>>> /** >>>> * sandbox_reset() - reset sandbox >>>> * >>>> diff --git a/configs/sandbox64_defconfig b/configs/sandbox64_defconfi= g >>>> index f7098b496983..358a6c168259 100644 >>>> --- a/configs/sandbox64_defconfig >>>> +++ b/configs/sandbox64_defconfig >>>> @@ -86,7 +86,7 @@ CONFIG_MAC_PARTITION=3Dy >>>> CONFIG_AMIGA_PARTITION=3Dy >>>> CONFIG_OF_CONTROL=3Dy >>>> CONFIG_OF_LIVE=3Dy >>>> -CONFIG_OF_HOSTFILE=3Dy >>>> +CONFIG_OF_BOARD=3Dy >>> >>> Can we put this in Kconfig instead, so it is enabled for all sandbox b= oards? >> >> Sure > > Looking at this again, is this doable? I remember 'select' being > available only on bool or tristate options. Is there another way? > > Cheers > /Ilias > This will work: diff --git a/dts/Kconfig b/dts/Kconfig index dabe0080c1..6aca8a8738 100644 =2D-- a/dts/Kconfig +++ b/dts/Kconfig @@ -90,6 +90,7 @@ config OF_LIVE choice prompt "Provider of DTB for DT control" depends on OF_CONTROL + default OF_BOARD if SANDBOX config OF_SEPARATE bool "Separate DTB for DT control" Best regards Heinrich