aboutsummaryrefslogtreecommitdiff
path: root/lib_avr32
diff options
context:
space:
mode:
Diffstat (limited to 'lib_avr32')
-rw-r--r--lib_avr32/board.c3
-rw-r--r--lib_avr32/bootm.c1
2 files changed, 2 insertions, 2 deletions
diff --git a/lib_avr32/board.c b/lib_avr32/board.c
index 8771de90c3..2a98bd41f6 100644
--- a/lib_avr32/board.c
+++ b/lib_avr32/board.c
@@ -23,6 +23,7 @@
#include <command.h>
#include <malloc.h>
#include <devices.h>
+#include <timestamp.h>
#include <version.h>
#include <net.h>
@@ -36,7 +37,7 @@
DECLARE_GLOBAL_DATA_PTR;
const char version_string[] =
- U_BOOT_VERSION " (" __DATE__ " - " __TIME__ ") " CONFIG_IDENT_STRING;
+ U_BOOT_VERSION " ("U_BOOT_DATE" - "U_BOOT_TIME") " CONFIG_IDENT_STRING;
unsigned long monitor_flash_len;
diff --git a/lib_avr32/bootm.c b/lib_avr32/bootm.c
index 556e3ea03b..03ab8d1fa3 100644
--- a/lib_avr32/bootm.c
+++ b/lib_avr32/bootm.c
@@ -176,7 +176,6 @@ int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)
void (*theKernel)(int magic, void *tagtable);
struct tag *params, *params_start;
char *commandline = getenv("bootargs");
- int ret;
if ((flag != 0) && (flag != BOOTM_STATE_OS_GO))
return 1;