All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ilias Apalodimas <ilias.apalodimas@linaro.org>
To: Tom Rini <trini@konsulko.com>
Cc: sjg@chromium.org,
	"Patrick Delaunay" <patrick.delaunay@foss.st.com>,
	"Patrice Chotard" <patrice.chotard@foss.st.com>,
	"Liviu Dudau" <liviu.dudau@foss.arm.com>,
	"Thomas Fitzsimmons" <fitzsim@fitzsim.org>,
	"Matthias Brugger" <mbrugger@suse.com>,
	"Michal Simek" <monstr@monstr.eu>, "Pali Rohár" <pali@kernel.org>,
	"Marek Behún" <marek.behun@nic.cz>,
	"Bin Meng" <bmeng.cn@gmail.com>,
	"Heinrich Schuchardt" <xypron.glpk@gmx.de>,
	"Stefan Roese" <sr@denx.de>, "Tim Harvey" <tharvey@gateworks.com>,
	"Harald Seiler" <hws@denx.de>,
	"Sughosh Ganu" <sughosh.ganu@linaro.org>,
	"Priyanka Jain" <priyanka.jain@nxp.com>,
	"Vladimir Oltean" <vladimir.oltean@nxp.com>,
	"Andre Przywara" <andre.przywara@arm.com>,
	"Ramon Fried" <rfried.dev@gmail.com>,
	"Nicolas Saenz Julienne" <nsaenzjulienne@suse.de>,
	"Peter Robinson" <pbrobinson@gmail.com>,
	"Ivan T. Ivanov" <iivanov@suse.de>,
	"Marek Szyprowski" <m.szyprowski@samsung.com>,
	"Zong Li" <zong.li@sifive.com>,
	"Leo Yu-Chi Liang" <ycliang@andestech.com>,
	"Sean Anderson" <seanga2@gmail.com>,
	"Rick Chen" <rick@andestech.com>,
	"Green Wan" <green.wan@sifive.com>,
	"T Karthik Reddy" <t.karthik.reddy@xilinx.com>,
	"Ashok Reddy Soma" <ashok.reddy.soma@xilinx.com>,
	"Rasmus Villemoes" <rasmus.villemoes@prevas.dk>,
	"Alper Nebi Yasak" <alpernebiyasak@gmail.com>,
	"AKASHI Takahiro" <takahiro.akashi@linaro.org>,
	"Wasim Khan" <wasim.khan@nxp.com>,
	"Alexandru Gagniuc" <mr.nuke.me@gmail.com>,
	"Nandor Han" <nandor.han@vaisala.com>,
	"Pratyush Yadav" <p.yadav@ti.com>,
	"Steffen Jaeckel" <jaeckel-floss@eyet-services.de>,
	"Heiko Schocher" <hs@denx.de>,
	"Asherah Connor" <ashe@kivikakk.ee>,
	u-boot@lists.denx.de, uboot-stm32@st-md-mailman.stormreply.com
Subject: Re: [PATCH v4] sandbox: Remove OF_HOSTFILE
Date: Tue, 26 Oct 2021 08:57:59 +0300	[thread overview]
Message-ID: <CAC_iWjJdmAFRNPc9nikEbucH5zTgL4RRmjhQ57Yqo8W5CMfatQ@mail.gmail.com> (raw)
In-Reply-To: <20211025211713.GA1992726@bill-the-cat>

On Tue, 26 Oct 2021 at 00:17, Tom Rini <trini@konsulko.com> wrote:
>
> On Tue, Oct 19, 2021 at 04:07:21PM +0300, Ilias Apalodimas wrote:
>
> > OF_HOSTFILE is used on sandbox configs only.  Although it's pretty
> > unique and not causing any confusions,  we are better of having simpler
> > config options for the DTB.
> >
> > So let's replace that with the existing OF_BOARD.  U-Boot would then
> > have only three config options for the DTB origin.
> > - OF_SEPARATE, build separately from U-Boot
> > - OF_BOARD, board specific way of providing the DTB
> > - OF_EMBED embedded in the u-boot binary(should not be used in production
> >
> > Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
> > Reviewed-by: Simon Glass <sjg@chromium.org>
>
>
> This doesn't build on riscv:
> +(ae350_rv64) board/AndesTech/ax25-ae350/ax25-ae350.c:57:7: error: conflicting types for 'board_fdt_blob_setup'; have 'void *(void)'
> +(ae350_rv64)    57 | void *board_fdt_blob_setup(void)
> +(ae350_rv64)       |       ^~~~~~~~~~~~~~~~~~~~
> +(ae350_rv64) In file included from include/asm-generic/global_data.h:23,
> +(ae350_rv64)                  from arch/riscv/include/asm/global_data.h:35,
> +(ae350_rv64)                  from include/init.h:21,
> +(ae350_rv64)                  from board/AndesTech/ax25-ae350/ax25-ae350.c:10:
> +(ae350_rv64) include/fdtdec.h:1164:7: note: previous declaration of 'board_fdt_blob_setup' with type 'void *(int *)'
> +(ae350_rv64)  1164 | void *board_fdt_blob_setup(int *err);
> +(ae350_rv64) board/AndesTech/ax25-ae350/ax25-ae350.c: In function 'board_fdt_blob_setup':
> +(ae350_rv64) board/AndesTech/ax25-ae350/ax25-ae350.c:59:10: error: 'err' undeclared (first use in this function); did you mean 'errno'?
> +(ae350_rv64)    59 |         *err = 0;
> +(ae350_rv64)       |          ^~~
> +(ae350_rv64)       |          errno
> +(ae350_rv64) board/AndesTech/ax25-ae350/ax25-ae350.c:59:10: note: each undeclared identifier is reported only once for each function it appears in
> +(ae350_rv64) make[2]: *** [scripts/Makefile.build:254: board/AndesTech/ax25-ae350/ax25-ae350.o] Error 1
> +(ae350_rv64) make[1]: *** [Makefile:1801: board/AndesTech/ax25-ae350] Error 2
> +(ae350_rv64) make: *** [Makefile:177: sub-make] Error 2

Yea I somehow managed to mess up my merges.  Apologies for the noise,
I'll send a v5

Cheers
/Ilias
>
> --
> Tom

      reply	other threads:[~2021-10-26 11:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-19 13:07 [PATCH v4] sandbox: Remove OF_HOSTFILE Ilias Apalodimas
2021-10-19 14:03 ` Simon Glass
2021-10-19 14:17   ` Tom Rini
2021-10-19 15:30     ` Ilias Apalodimas
2021-10-19 15:36       ` Tom Rini
2021-10-19 15:38         ` Ilias Apalodimas
2021-10-19 15:52           ` Simon Glass
2021-10-19 15:31     ` Simon Glass
2021-10-25 21:17 ` Tom Rini
2021-10-26  5:57   ` Ilias Apalodimas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAC_iWjJdmAFRNPc9nikEbucH5zTgL4RRmjhQ57Yqo8W5CMfatQ@mail.gmail.com \
    --to=ilias.apalodimas@linaro.org \
    --cc=alpernebiyasak@gmail.com \
    --cc=andre.przywara@arm.com \
    --cc=ashe@kivikakk.ee \
    --cc=ashok.reddy.soma@xilinx.com \
    --cc=bmeng.cn@gmail.com \
    --cc=fitzsim@fitzsim.org \
    --cc=green.wan@sifive.com \
    --cc=hs@denx.de \
    --cc=hws@denx.de \
    --cc=iivanov@suse.de \
    --cc=jaeckel-floss@eyet-services.de \
    --cc=liviu.dudau@foss.arm.com \
    --cc=m.szyprowski@samsung.com \
    --cc=marek.behun@nic.cz \
    --cc=mbrugger@suse.com \
    --cc=monstr@monstr.eu \
    --cc=mr.nuke.me@gmail.com \
    --cc=nandor.han@vaisala.com \
    --cc=nsaenzjulienne@suse.de \
    --cc=p.yadav@ti.com \
    --cc=pali@kernel.org \
    --cc=patrice.chotard@foss.st.com \
    --cc=patrick.delaunay@foss.st.com \
    --cc=pbrobinson@gmail.com \
    --cc=priyanka.jain@nxp.com \
    --cc=rasmus.villemoes@prevas.dk \
    --cc=rfried.dev@gmail.com \
    --cc=rick@andestech.com \
    --cc=seanga2@gmail.com \
    --cc=sjg@chromium.org \
    --cc=sr@denx.de \
    --cc=sughosh.ganu@linaro.org \
    --cc=t.karthik.reddy@xilinx.com \
    --cc=takahiro.akashi@linaro.org \
    --cc=tharvey@gateworks.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-stm32@st-md-mailman.stormreply.com \
    --cc=vladimir.oltean@nxp.com \
    --cc=wasim.khan@nxp.com \
    --cc=xypron.glpk@gmx.de \
    --cc=ycliang@andestech.com \
    --cc=zong.li@sifive.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.