[U-Boot] cmd_test: fix a compile error on Blackfin

Tom Rini trini at ti.com
Mon Nov 25 22:58:17 CET 2013


On Tue, Nov 19, 2013 at 08:01:44AM +0100, Wolfgang Denk wrote:
> From: Wolfgang Denk <wd at denx.de>
> Date: Tue, 19 Nov 2013 07:50:46 +0100
> Subject: [PATCH] Blackfin: don't use 'bool' when it causes problems
> 
> The use of 'bool' data types in globally used header files cases build
> errors like this:
> 
> In file included from arch/blackfin/include/asm/blackfin.h:13:0,
>                  from include/common.h:92,
>                  from cmd_test.c:17:
> arch/blackfin/include/asm/blackfin_local.h:54:1: error: unknown type name 'bool'
> 
> Use plain 'int' instead to avoid such kind of trouble.
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>

Applied to u-boot/master (and re-worded patchwork dl'd patch to match
this), thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131125/1e31e493/attachment.pgp>


More information about the U-Boot mailing list