]> git.sur5r.net Git - u-boot/commit
blackfin: don't use 'bool' when it causes problems
authorWolfgang Denk <wd@denx.de>
Tue, 19 Nov 2013 07:01:44 +0000 (08:01 +0100)
committerTom Rini <trini@ti.com>
Mon, 25 Nov 2013 15:41:55 +0000 (10:41 -0500)
commita5750b805828f471469d6ad31e052e83a564de2e
tree37bc6605d04b9f38b89df29e229792fecf58a7ef
parent4d1584bd0df86044a17daf3812b4a3b48913d970
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@denx.de>
arch/blackfin/cpu/os_log.c
arch/blackfin/include/asm/blackfin_local.h