]> git.sur5r.net Git - u-boot/commit
DEBUG: Fix debug macros
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 24 Oct 2011 23:41:42 +0000 (23:41 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 27 Oct 2011 21:54:10 +0000 (23:54 +0200)
commit88a85fb9f3578f513d7053ac9a3f1ff7521b2771
treeaca5840b9441d72d1cb3bd72a4eac3dd4bdb0f46
parent75753699ae3ff32796e24ce48c8f4e09995c0920
DEBUG: Fix debug macros

The current implementation of debug doesn't play well with GCC4.6.
This implementation also fixes GCC4.6 complaints about unused variables
while maintaining code size.

Also, drop the debugX() as that's not used anywhere anymore.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Simon Glass <sjg@chromium.org>
include/common.h