From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Sun, 29 Dec 2019 11:26:19 +0100 (CET) Subject: [U-Boot] [PATCH 1/2] board: cm_fx6: Enable DM support for video, fix build error In-Reply-To: <1574243701-14953-1-git-send-email-sunil.m@techveda.org> Message-ID: <20191229102619.AF5EB81791@phobos.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > From: Suniel Mahesh > Enable driver model for Video to remove the following > compile warning on CM-FX6 SOM based target: > ===================== WARNING ====================== > This board does not use CONFIG_DM_VIDEO Please update > the board to use CONFIG_DM_VIDEO before the v2019.07 release. > ==================================================== > This change introduced build error as shown: > LD u-boot > drivers/built-in.o: In function ipu_displays_init' > arm-linux-ld.bfd: BFD (GNU Binutils) 2.29.1 assertion fail elf32-arm.c:9509 > Makefile:1621: recipe for target 'u-boot' failed > make: *** [u-boot] Error 1 > The DM converted video driver calls ipu_displays_init > in its probe, which inturn calls relevant board_video_skip. > Defining ipu_displays_init in the board file fixes build error. > Target was compile tested, build was clean. > Signed-off-by: Suniel Mahesh Applied to u-boot-imx, -next, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================