diff options
author | Andrew Ryabinin <ryabinin.a.a@gmail.com> | 2012-04-30 17:54:06 +0400 |
---|---|---|
committer | Andrew Ryabinin <ryabinin.a.a@gmail.com> | 2012-04-30 17:54:06 +0400 |
commit | a3e3791342d0622785575495e894eb30460af8b0 (patch) | |
tree | ca9674d6b62647a1c0cd7e20e16b47cd5b79eaad | |
parent | 84355f3493a0318c9b5a75d99c8de0991507c4e5 (diff) | |
download | rockbox-a3e3791342d0622785575495e894eb30460af8b0.tar.gz rockbox-a3e3791342d0622785575495e894eb30460af8b0.zip |
rk27xx: Print rockbox version in bootloader.bootloader_hifimanhm801_v1bootloader_hifimanhm60x_v1
Change-Id: I7f19f45e85aa09b0b19573053f7f27794196e6fb
-rw-r--r-- | bootloader/rk27xx.c | 2 |
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 @@ | |||
18 | #include "file.h" | 18 | #include "file.h" |
19 | #include "crc32-rkw.h" | 19 | #include "crc32-rkw.h" |
20 | #include "rkw-loader.h" | 20 | #include "rkw-loader.h" |
21 | #include "version.h" | ||
21 | 22 | ||
22 | /* beginning of DRAM */ | 23 | /* beginning of DRAM */ |
23 | #define DRAM_ORIG 0x60000000 | 24 | #define DRAM_ORIG 0x60000000 |
@@ -127,6 +128,7 @@ void main(void) | |||
127 | else if (boot == of) | 128 | else if (boot == of) |
128 | snprintf(filename,sizeof(filename), BOOTDIR "/%s", "BASE.RKW"); | 129 | snprintf(filename,sizeof(filename), BOOTDIR "/%s", "BASE.RKW"); |
129 | 130 | ||
131 | printf("Bootloader version: %s", RBVERSION); | ||
130 | printf("Loading: %s", filename); | 132 | printf("Loading: %s", filename); |
131 | 133 | ||
132 | ret = load_rkw(loadbuffer, filename, LOAD_SIZE); | 134 | ret = load_rkw(loadbuffer, filename, LOAD_SIZE); |