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 7F9A2C433F5 for ; Wed, 29 Sep 2021 06:25:28 +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 A1FD8613C8 for ; Wed, 29 Sep 2021 06:25:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A1FD8613C8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.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 E0E848296F; Wed, 29 Sep 2021 08:25:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="hqm/zAgv"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 25BCA83216; Wed, 29 Sep 2021 08:25:22 +0200 (CEST) Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (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 837D18281E for ; Wed, 29 Sep 2021 08:25:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-ed1-x535.google.com with SMTP id g8so4389558edt.7 for ; Tue, 28 Sep 2021 23:25:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=6v7mGIbqkV5hLsN1VKp2qJ12L7AHrTklhjpzZhzJlwU=; b=hqm/zAgvjPZsBYxoQEnASLu6O5RbWPyUCulGsqqJvvtUh6L7sXUzmOeVDoK+tGGTQp 0iwzZKC2HwKxEHTjo7ofN+jH0sKKI04bDQ9tYMdfwVjIx4A4Z+RDVQpF/PpgvHatsMUr UVPE9A34bNZzhMCrngrRTrmFqd2ErV6l0Om8T7beTzweRxmQUYUV5sJPKkcVUGz2Cpn+ WzVrOGAVVrJLtKCAooN6oTGjT54mwlukXa2x+M+HHXvrJ3LQtcTR7VanMIo/T9eyKQN3 PZIY5GBm7LVSw32L29JiLtS9+BKXQHAYvWqxR83FUJaLx+yz2qZOUDMadyxAWc7rtLVg TSGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=6v7mGIbqkV5hLsN1VKp2qJ12L7AHrTklhjpzZhzJlwU=; b=eZ8BnWSUDi3h4pdVeAJcevOqK2spP4XrUQmrvDXQu0bZtvTfLUBExrqLoBrb0KeuaR i85LdvFDkPVn81xVUdxjbJjPve2s8L8HRdeVVeCviJDx9GIS7lgrBCbSedqF6udgEqjG M/mTGJiz2ebGb1sbAmVvMuFb2SIbDmCbpRib5EnpC0k1+//5NEBClYD85TmdbdXme4uC eMJFRB3hZoLJNc1xlxHxHJzp8JiLKkwTzC6Te9H/blzXpMb0yRAYdrpmZYQZXcwB5ujy EF+3M0dZWBWeiqOpN5HUIqP8vcuPHnR+Ateu4uwkwAl/wElkxgwyebdnu+rpLKpOUtFJ lSsQ== X-Gm-Message-State: AOAM530jaTQ+vmh9UHt1aCJu9T81NjrVaoQjNhNpy6ZBUo+2Fi9EYiK1 PxRJ9jBOnXDgyJJV7xWjjwbriQ== X-Google-Smtp-Source: ABdhPJw6XBlJOwXaovEoX1JyU0zIEiA+fkDA2jourF1emcTUey+R5Axj5JQVoXAHw1LzNfVMDLTogA== X-Received: by 2002:a50:bf4a:: with SMTP id g10mr13060355edk.11.1632896718137; Tue, 28 Sep 2021 23:25:18 -0700 (PDT) Received: from apalos.home (ppp-94-66-220-209.home.otenet.gr. [94.66.220.209]) by smtp.gmail.com with ESMTPSA id ca4sm723384ejb.1.2021.09.28.23.25.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 23:25:17 -0700 (PDT) Date: Wed, 29 Sep 2021 09:25:14 +0300 From: Ilias Apalodimas To: Simon Glass Cc: Tom Rini , Pali =?iso-8859-1?Q?Roh=E1r?= , Marek =?iso-8859-1?Q?Beh=FAn?= , Bin Meng , Chee Hong Ang , Heinrich Schuchardt , 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 Subject: Re: [PATCH] sandbox: Remove OF_HOSTFILE Message-ID: References: <20210928090544.186489-1-ilias.apalodimas@linaro.org> <20210928090544.186489-2-ilias.apalodimas@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 > > > - */ > > > -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