[U-Boot] [U-Boot,v2,3/4] vexpress64: remove #error

Tom Rini trini at konsulko.com
Sun Nov 22 16:55:22 CET 2015


On Wed, Nov 18, 2015 at 10:39:08AM +0000, Ryan Harkin wrote:

> This patch allows vexpress64 targets to be compiled when
> CONFIG_SYS_FLASH_CFI is enabled.
> 
> I considered using #warning instead of #error, but this just clutters up
> the build output and hides real warnings.
> 
> Without this patch, you see errors during compilation like this:
> 
> include/configs/vexpress_aemv8a.h:42:2: error: #error "Unknown board
> variant"
>  #error "Unknown board variant"
> include/configs/vexpress_aemv8a.h:115:2: error: #error "Unknown board
> variant"
>  #error "Unknown board variant"
> include/configs/vexpress_aemv8a.h:280:2: error: #error "Unknown board
> variant"
>  #error "Unknown board variant"
> make[1]: *** [tools/envcrc.o] Error 1
> make: *** [tools] Error 2
> In file included from include/config.h:5:0,
>                  from tools/envcrc.c:19:
> 
> Signed-off-by: Ryan Harkin <ryan.harkin at linaro.org>
> Acked-by: Linus Walleij <linus.walleij at linaro.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151122/0f6273c0/attachment.sig>


More information about the U-Boot mailing list