I'm currently trying to change u-boot-fslc (2014-10) to store its environment in SPI flash on my iMX6 platform. Strangely defining the macro to indicate this immediately causes a working u-boot build to suddenly fail to compile.
The compile shows that all sized types are now undefined:
tmp/work/ph069_qx-poky-linux-gnueabi/u-boot-fslc/v2014.10+gitAUTOINC+5fd0b607d0-r0/git/include/ide.h:77:14: error: unknown type name 'uchar'
| void ide_led(uchar led, uchar status);
and many others, u8, u16, BIT_MASK etc. are now all undefined.
Does anyone know why this is or what I must do to correct it?!