main: Add debug_parser() to avoid #ifdefs
authorSimon Glass <sjg@chromium.org>
Wed, 15 May 2013 06:24:00 +0000 (06:24 +0000)
committerTom Rini <trini@ti.com>
Tue, 4 Jun 2013 20:06:31 +0000 (16:06 -0400)
commit3e4088737b0c21811f72ae02fb8b4b8a672ee38c
tree097097e6c6ecc807c86239e0810bca489bf7f583
parentfbcdf32af74102276a154895f325d2cd92d1a3e9
main: Add debug_parser() to avoid #ifdefs

Define a simple debug condition at the top of the file, to avoid using
lots of #ifdefs later on.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
common/main.c