On Fri, Apr 2, 2010 at 11:52 AM, Mike Frysinger <vap...@gentoo.org> wrote:
> On Thursday 01 April 2010 13:16:53 Michael Zaidman wrote:
>> The BUILD_BUG_ON macros made availible for rest of the u-boot code
>> by moving it from ubi_uboot.h to common.h. In Linux kernel this
>> widely used macros is defined in kernel.h file.
>
> compiler.h might be a better place so that it is available to host tools too
> -mike
>
The common.h includes image.h which includes compiler.h, so
technically it should works also. I have a doubt however - what about
location of similar staff such as BUG, BUG_ON, debug, error, etc.
Should it also be moved into compiler.h file?
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot