[PATCH 1/2] board: solidrun lx2160a-cex7: new board
Baruch Siach
baruch at tkos.co.il
Thu Feb 6 12:46:18 CET 2020
Hi Priyanka,
On Thu, Jan 23, 2020 at 11:42:56AM +0200, Baruch Siach wrote:
> On Thu, Jan 23, 2020 at 09:25:29AM +0000, Priyanka Jain wrote:
> > >-----Original Message-----
> > >From: Baruch Siach <baruch at tkos.co.il>
> > >Sent: Wednesday, December 4, 2019 6:59 PM
> > >To: Priyanka Jain <priyanka.jain at nxp.com>
> > >Cc: u-boot at lists.denx.de; Rabeeh Khoury <rabeeh at solid-run.com>; Jon
> > >Nettleton <jon at solid-run.com>; Baruch Siach <baruch at tkos.co.il>
> > >Subject: [PATCH 1/2] board: solidrun lx2160a-cex7: new board
> > >
> > >Add board level support code for the SolidRun LX2160A based COM-Express
> > >7 system.
> > >
> > >Signed-off-by: Baruch Siach <baruch at tkos.co.il>
> > >---
> > This patch has below compilation warning. Kindly fix.
> > aarch64: + lx2160acex7_tfa
> > +board/solidrun/lx2160acex7/lx2160acex7.c: In function 'uart_get_clock':
> > +board/solidrun/lx2160acex7/lx2160acex7.c:50:18: error: implicit declaration of function 'get_serial_clock'; did you mean 'uart_get_clock'? [-Werror=implicit-function-declaration]
> > + serial0.clock = get_serial_clock();
> > + ^~~~~~~~~~~~~~~~
> > + uart_get_clock
> > +cc1: all warnings being treated as errors
> > +make[2]: *** [board/solidrun/lx2160acex7/lx2160acex7.o] Error 1
> > +make[1]: *** [board/solidrun/lx2160acex7] Error 2
> > +make: *** [sub-make] Error 2
>
> Thanks for your review.
>
> This build error is because of commit d96c26040e901 ("common: Move clock
> functions into a new file"). clock_legacy.h include in now missing. I'll
> rebase the patches on current master and post an update.
It turns out that adding clock_legacy.h is not enough. The board does not boot
current U-Boot master with nothing shown on the console. Do you have any idea
what LX2160A related code change might have caused that?
Thanks,
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the U-Boot
mailing list