On Sun, Jun 02, 2019 at 10:31:00AM +0300, Antony Pavlov wrote: > * litex platform does not use ns16550 at all > so debug_ll_ns16550_init should be eliminated; > > * there is no IH_ARCH_RISCV definition in include/image.h > at the moment, so the error stops compiling: > common/bootm.c: In function 'bootm_open_os_uimage': > common/bootm.c:491:34: error: 'IH_ARCH' undeclared (first use in this > function) > if (data->os->header.ih_arch != IH_ARCH) { > ^~~~~~~ U-Boot has IH_ARCH_RISCV already, you can copy it there. > > Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx> > --- > arch/riscv/boot/start.S | 2 -- > common/bootm.c | 2 ++ > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/riscv/boot/start.S b/arch/riscv/boot/start.S > index d1dbe48b7b..fab23e926f 100644 > --- a/arch/riscv/boot/start.S > +++ b/arch/riscv/boot/start.S > @@ -28,8 +28,6 @@ > > .globl _start > _start: > - debug_ll_ns16550_init > - This should be done by board code. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox