vexpress64: remove #error
authorRyan Harkin <ryan.harkin@linaro.org>
Wed, 18 Nov 2015 10:39:08 +0000 (10:39 +0000)
committerTom Rini <trini@konsulko.com>
Sun, 22 Nov 2015 02:50:28 +0000 (21:50 -0500)
commit3e933f43e993791d9bad304189ff2178ca04a1c8
tree1a2e415af4ff32edce1f748964e5f0866086242e
parent2c2b218383f05be51e1bd5f5982a44b969c4b5a6
vexpress64: remove #error

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@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
include/configs/vexpress_aemv8a.h