summaryrefslogtreecommitdiffstats
path: root/include/tsi148.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-05-07 06:11:51 +0000
committerTom Rini <trini@ti.com>2013-05-14 15:37:25 -0400
commit859e92b775fd8ebcfacc591eaf621b677c95b6f7 (patch)
treef1ae2d4e34ed738a5cdac53fa3e21d3a5d998844 /include/tsi148.h
parent88f95bbadda89bfaf6a8e817bb66fd114afc1caf (diff)
downloadblackbird-obmc-uboot-859e92b775fd8ebcfacc591eaf621b677c95b6f7.tar.gz
blackbird-obmc-uboot-859e92b775fd8ebcfacc591eaf621b677c95b6f7.zip
image: Move timestamp #ifdefs to header file
Rather than repeat the line #if defined(CONFIG_TIMESTAMP) || defined(CONFIG_CMD_DATE) || \ defined(USE_HOSTCC) everywhere, put this in a header file and #define IMAGE_ENABLE_TIMESTAMP to either 1 or 0. Then we can use a plain if() in most code and avoid the #ifdefs. The compiler's dead code elimination ensures that the result is the same. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/tsi148.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud