[PATCH] sandbox: Remove OF_HOSTFILE

Simon Glass sjg at chromium.org
Mon Oct 11 21:20:41 CEST 2021


Hi Ilias,

On Wed, 29 Sept 2021 at 01:52, Heinrich Schuchardt <xypron.glpk at gmx.de> 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


More information about the U-Boot mailing list