From mboxrd@z Thu Jan 1 00:00:00 1970 From: Craig Lilley Date: Fri, 19 Jun 2015 12:14:32 +0000 (UTC) Subject: [U-Boot] [PATCH] arm, imx: fix spl compile for mxs boards References: <1426576811-572-1-git-send-email-hs@denx.de> <5507E55A.8000107@denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > > ...I do not understand why I can compile clean (u-boot-imx): > > ./tools/buildman/buildman mx28evk > boards.cfg is up to date. Nothing to do. > Building current source for 4 boards (4 threads, 2 jobs per thread) > 4 0 0 /4 0:00:48 : mx28evk_auart_console > > And all mxb boards are compiled clean, too. > It appears you can compile clean because that defconfig (mx28evk_auart_console) doesnt fully enable the serial output. You still need to define CONFIG_SPL_SERIAL_SUPPORT somewhere or else mxs_spl_console_init() just optimises away. When I define this in configs/mxs.h I get the build error. Can you re-consider applying this patch given the above?