Searched hist:"859 e92b775fd8ebcfacc591eaf621b677c95b6f7" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/common/ |
| H A D | image.c | 859e92b775fd8ebcfacc591eaf621b677c95b6f7 Tue May 07 06:11:51 UTC 2013 Simon Glass <sjg@chromium.org> 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>
|
| /rk3399_rockchip-uboot/include/ |
| H A D | image.h | 859e92b775fd8ebcfacc591eaf621b677c95b6f7 Tue May 07 06:11:51 UTC 2013 Simon Glass <sjg@chromium.org> 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>
|