[U-Boot] [PATCH v2] include: define bool type in the same way as Linux

Wolfgang Denk wd at denx.de
Tue Nov 19 08:06:51 CET 2013


Dear Masahiro Yamada,

In message <1384834977-10536-1-git-send-email-yamada.m at jp.panasonic.com> you wrote:
> Before this commit, U-Boot included <stdbool.h>
> in order to define bool, true and false.
...
> This commit changes header files to define bool, true and false
> in the same way as Linux Kernel does.

I'm not happy with this modification.  I feel we should leave the
compiler provided implementation as is, and rather fix the root cause
of the problem.

See the example patch I jut posted in the other thread -
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/174351


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Extended Epstein-Heisenberg Principle: In an R & D orbit, only  2  of
the  existing 3 parameters can be defined simultaneously. The parame-
ters are: task, time and resources ($).


More information about the U-Boot mailing list