forked from len0rd/rockbox
rk27xx: Print rockbox version in bootloader.
Change-Id: I7f19f45e85aa09b0b19573053f7f27794196e6fb
This commit is contained in:
parent
84355f3493
commit
a3e3791342
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
#include "crc32-rkw.h"
|
#include "crc32-rkw.h"
|
||||||
#include "rkw-loader.h"
|
#include "rkw-loader.h"
|
||||||
|
#include "version.h"
|
||||||
|
|
||||||
/* beginning of DRAM */
|
/* beginning of DRAM */
|
||||||
#define DRAM_ORIG 0x60000000
|
#define DRAM_ORIG 0x60000000
|
||||||
|
@ -127,6 +128,7 @@ void main(void)
|
||||||
else if (boot == of)
|
else if (boot == of)
|
||||||
snprintf(filename,sizeof(filename), BOOTDIR "/%s", "BASE.RKW");
|
snprintf(filename,sizeof(filename), BOOTDIR "/%s", "BASE.RKW");
|
||||||
|
|
||||||
|
printf("Bootloader version: %s", RBVERSION);
|
||||||
printf("Loading: %s", filename);
|
printf("Loading: %s", filename);
|
||||||
|
|
||||||
ret = load_rkw(loadbuffer, filename, LOAD_SIZE);
|
ret = load_rkw(loadbuffer, filename, LOAD_SIZE);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue