diff options
Diffstat (limited to 'bootloader/ipodnano2g.c')
-rw-r--r-- | bootloader/ipodnano2g.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bootloader/ipodnano2g.c b/bootloader/ipodnano2g.c index 14b5bbce20..b2b2138f78 100644 --- a/bootloader/ipodnano2g.c +++ b/bootloader/ipodnano2g.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include "power.h" | 44 | #include "power.h" |
45 | #include "file.h" | 45 | #include "file.h" |
46 | #include "common.h" | 46 | #include "common.h" |
47 | #include "version.h" | ||
47 | 48 | ||
48 | /* Safety measure - maximum allowed firmware image size. | 49 | /* Safety measure - maximum allowed firmware image size. |
49 | The largest known current (October 2009) firmware is about 6.2MB so | 50 | The largest known current (October 2009) firmware is about 6.2MB so |
@@ -54,9 +55,6 @@ | |||
54 | /* The buffer to load the firmware into - use an uncached alias of 0x08000000 */ | 55 | /* The buffer to load the firmware into - use an uncached alias of 0x08000000 */ |
55 | unsigned char *loadbuffer = (unsigned char *)0x48000000; | 56 | unsigned char *loadbuffer = (unsigned char *)0x48000000; |
56 | 57 | ||
57 | /* Bootloader version */ | ||
58 | char version[] = APPSVERSION; | ||
59 | |||
60 | extern int line; | 58 | extern int line; |
61 | 59 | ||
62 | void fatal_error(void) | 60 | void fatal_error(void) |
@@ -209,7 +207,7 @@ void main(void) | |||
209 | lcd_setfont(FONT_SYSFIXED); | 207 | lcd_setfont(FONT_SYSFIXED); |
210 | 208 | ||
211 | printf("Rockbox boot loader"); | 209 | printf("Rockbox boot loader"); |
212 | printf("Version: %s", version); | 210 | printf("Version: " RBVERSION); |
213 | 211 | ||
214 | i = storage_init(); | 212 | i = storage_init(); |
215 | 213 | ||