summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorAndrew Ryabinin <ryabinin.a.a@gmail.com>2012-04-30 17:54:06 +0400
committerAndrew Ryabinin <ryabinin.a.a@gmail.com>2012-04-30 17:54:06 +0400
commita3e3791342d0622785575495e894eb30460af8b0 (patch)
treeca9674d6b62647a1c0cd7e20e16b47cd5b79eaad /bootloader
parent84355f3493a0318c9b5a75d99c8de0991507c4e5 (diff)
downloadrockbox-a3e3791342d0622785575495e894eb30460af8b0.tar.gz
rockbox-a3e3791342d0622785575495e894eb30460af8b0.tar.bz2
rockbox-a3e3791342d0622785575495e894eb30460af8b0.zip
rk27xx: Print rockbox version in bootloader.bootloader_hifimanhm801_v1bootloader_hifimanhm60x_v1
Change-Id: I7f19f45e85aa09b0b19573053f7f27794196e6fb
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/rk27xx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootloader/rk27xx.c b/bootloader/rk27xx.c
index 4afefebd2d..62280e2749 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 @@ void main(void)
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);