From GCC-5.x version the default mode for C is -std=gnu11
instead of -std=gnu89 but the is still the code in u-boot which doesn't
full fill gnu11 standard. Enable gnu89 inlining.
https://gcc.gnu.org/gcc-5/porting_to.html (go through the
“C languages issues” section).
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
CONFIG_STANDALONE_LOAD_ADDR ?= 0x80F00000
-PLATFORM_CPPFLAGS += -ffixed-r31 -D__microblaze__
+PLATFORM_CPPFLAGS += -ffixed-r31 -D__microblaze__ -fgnu89-inline
ifeq ($(CONFIG_SPL_BUILD),)
PLATFORM_CPPFLAGS += -fPIC