rk27xx: Print rockbox version in bootloader.
Change-Id: I7f19f45e85aa09b0b19573053f7f27794196e6fb
diff --git a/bootloader/rk27xx.c b/bootloader/rk27xx.c
index 4afefeb..62280e2 100644
--- a/bootloader/rk27xx.c
+++ b/bootloader/rk27xx.c
@@ -18,6 +18,7 @@
#include "file.h"
#include "crc32-rkw.h"
#include "rkw-loader.h"
+#include "version.h"
/* beginning of DRAM */
#define DRAM_ORIG 0x60000000
@@ -127,6 +128,7 @@
else if (boot == of)
snprintf(filename,sizeof(filename), BOOTDIR "/%s", "BASE.RKW");
+ printf("Bootloader version: %s", RBVERSION);
printf("Loading: %s", filename);
ret = load_rkw(loadbuffer, filename, LOAD_SIZE);