mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Show the Rockbox logo in the Telechips bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19129 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
de89a00cca
commit
9f0fbec999
3 changed files with 6 additions and 4 deletions
|
@ -33,6 +33,7 @@ iriver_h300.c
|
||||||
mrobe500.c
|
mrobe500.c
|
||||||
#elif defined(CPU_TCC77X) || defined(CPU_TCC780X)
|
#elif defined(CPU_TCC77X) || defined(CPU_TCC780X)
|
||||||
telechips.c
|
telechips.c
|
||||||
|
show_logo.c
|
||||||
#elif defined(MEIZU_M6SL)
|
#elif defined(MEIZU_M6SL)
|
||||||
meizu_m6sl.c
|
meizu_m6sl.c
|
||||||
#elif defined(MEIZU_M6SP)
|
#elif defined(MEIZU_M6SP)
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
on a button press - currently only the ipod, H10 and Sansa versions do. */
|
on a button press - currently only the ipod, H10 and Sansa versions do. */
|
||||||
#if defined(IPOD_ARCH) || defined(IRIVER_H10) || defined(IRIVER_H10_5GB) \
|
#if defined(IPOD_ARCH) || defined(IRIVER_H10) || defined(IRIVER_H10_5GB) \
|
||||||
|| defined(SANSA_E200) || defined(SANSA_C200) || defined(GIGABEAT_F) \
|
|| defined(SANSA_E200) || defined(SANSA_C200) || defined(GIGABEAT_F) \
|
||||||
|| defined(PHILIPS_SA9200) || (CONFIG_CPU == AS3525)
|
|| defined(PHILIPS_SA9200) || (CONFIG_CPU == AS3525) || defined(COWON_D2)
|
||||||
bool verbose = false;
|
bool verbose = false;
|
||||||
#else
|
#else
|
||||||
bool verbose = true;
|
bool verbose = true;
|
||||||
|
|
|
@ -44,9 +44,8 @@
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
#if defined(COWON_D2) || defined(IAUDIO_7)
|
/* Show the Rockbox logo - in show_logo.c */
|
||||||
#include "pcf50606.h"
|
extern int show_logo(void);
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Address to load main Rockbox image to */
|
/* Address to load main Rockbox image to */
|
||||||
#define LOAD_ADDRESS 0x20000000 /* DRAM_START */
|
#define LOAD_ADDRESS 0x20000000 /* DRAM_START */
|
||||||
|
@ -197,6 +196,8 @@ void* main(void)
|
||||||
font_init();
|
font_init();
|
||||||
lcd_setfont(FONT_SYSFIXED);
|
lcd_setfont(FONT_SYSFIXED);
|
||||||
|
|
||||||
|
show_logo();
|
||||||
|
|
||||||
_backlight_on();
|
_backlight_on();
|
||||||
|
|
||||||
/* Only load the firmware if TCCBOOT is defined - this ensures SDRAM_START is
|
/* Only load the firmware if TCCBOOT is defined - this ensures SDRAM_START is
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue