rk27xx: Print rockbox version in bootloader.

Change-Id: I7f19f45e85aa09b0b19573053f7f27794196e6fb
This commit is contained in:
Andrew Ryabinin 2012-04-30 17:54:06 +04:00
parent 84355f3493
commit a3e3791342

View file

@ -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);