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 509B8C433EF for ; Mon, 11 Oct 2021 19:21:04 +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 8C8F160F23 for ; Mon, 11 Oct 2021 19:21:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8C8F160F23 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 5793B82FC5; Mon, 11 Oct 2021 21:21:00 +0200 (CEST) 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="AH8HvhO6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4BD4282D13; Mon, 11 Oct 2021 21:20:57 +0200 (CEST) Received: from mail-ua1-x933.google.com (mail-ua1-x933.google.com [IPv6:2607:f8b0:4864:20::933]) (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 B9AAC82F1D for ; Mon, 11 Oct 2021 21:20:53 +0200 (CEST) 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@google.com Received: by mail-ua1-x933.google.com with SMTP id u5so14751569uao.13 for ; Mon, 11 Oct 2021 12:20:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yrOAliS6GFiobklGJ5mf2EgWpucO0Nvn6WQL9N7/ZNw=; b=AH8HvhO6YFx+eKgVUtKoFnkzPwadKWiW/tc2nTgg0qSyJJyANbkf228QDlZZvCTctU Z+8/Tf/K5NSeI/6u1zdtxAgOXfi1VRZclh56Mz7N7UYO/fGImUJRQWR2gzaq0mQImCRA l7QrMXLePbZchceQe0zbCwCN3H0FPoTBmp8Ow= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yrOAliS6GFiobklGJ5mf2EgWpucO0Nvn6WQL9N7/ZNw=; b=laEfJQ4nXa0PuRsAdIF5901R/FDexj5LHtlw/P2VRl5RbruvSy/BdDvg4jUO/BSvXW h+pnAyU/13cssu3QZvYGh/BshsNVEdtp6/0Lrz8IWyc59n/5ajvK8/qEIr2VEcR3fOMb y4ytiyeH46M5LSpXdz7AwY7dR3BHmemo/fz/TE/iEf5xf0K/i8BwrJgGWxqDwxyhvktv PUvb3Z9gDNL00+hcoAPc//X7POL1SM/cvPlYqQfix2q9XQKMMQQ13mChXmAxb3r70qyX 7pWz10E/MkEA28cWC3t1RlxS9cPr6xQsnnpKo8b9W6n3/4s/teWrMR+Amv/y9wiDEDVp DgZg== X-Gm-Message-State: AOAM531EciPxIz9E1Go28WFew1dIgwS961QtnjGy/TWWRBKyRDrB2w9F 8Nn7I46JQifMaTzWWC3AWhXR6s2xjTdbI1Onq9fBsQ== X-Google-Smtp-Source: ABdhPJxXEn31/6H5HtSeKazZ1zhTyl33TXvCOXoxSGA7sVd3gT7ZUIUtS19RvJ3P5KaLJp9fB/IC1G8Tb30S49uFcmk= X-Received: by 2002:a67:c30b:: with SMTP id r11mr25889730vsj.20.1633980052313; Mon, 11 Oct 2021 12:20:52 -0700 (PDT) MIME-Version: 1.0 References: <20210928090544.186489-1-ilias.apalodimas@linaro.org> <20210928090544.186489-2-ilias.apalodimas@linaro.org> In-Reply-To: From: Simon Glass Date: Mon, 11 Oct 2021 13:20:41 -0600 Message-ID: Subject: Re: [PATCH] sandbox: Remove OF_HOSTFILE To: Heinrich Schuchardt Cc: Ilias Apalodimas , Tom Rini , =?UTF-8?Q?Pali_Roh=C3=A1r?= , =?UTF-8?B?TWFyZWsgQmVow7pu?= , 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 Content-Type: text/plain; charset="UTF-8" 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 Hi Ilias, On Wed, 29 Sept 2021 at 01:52, Heinrich Schuchardt wrote: > > > > 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_defconfig > >>>> index f7098b496983..358a6c168259 100644 > >>>> --- a/configs/sandbox64_defconfig > >>>> +++ b/configs/sandbox64_defconfig > >>>> @@ -86,7 +86,7 @@ CONFIG_MAC_PARTITION=y > >>>> CONFIG_AMIGA_PARTITION=y > >>>> CONFIG_OF_CONTROL=y > >>>> CONFIG_OF_LIVE=y > >>>> -CONFIG_OF_HOSTFILE=y > >>>> +CONFIG_OF_BOARD=y > >>> > >>> Can we put this in Kconfig instead, so it is enabled for all sandbox boards? > >> > >> 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 > --- 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" > Do you have a new version of this one, please? We should try to get it in soon. Regards SImon