summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-02-16 23:54:18 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-02-16 23:54:18 +0000
commit4b0ae103197be83586a0f082eb2d0ee57b579f30 (patch)
treec303bdfdbbd7d9df444d44be36c442a2f6e88b93
parent21ab16a36f3702780a3db4da55835de006a6fd25 (diff)
downloadrockbox-4b0ae103197be83586a0f082eb2d0ee57b579f30.tar.gz
rockbox-4b0ae103197be83586a0f082eb2d0ee57b579f30.tar.bz2
rockbox-4b0ae103197be83586a0f082eb2d0ee57b579f30.zip
Don't display logo in Onda VX747 bootloader (which also fixes bootloader builds)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20026 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--bootloader/common.c2
-rwxr-xr-xbootloader/ondavx747.c13
2 files changed, 2 insertions, 13 deletions
diff --git a/bootloader/common.c b/bootloader/common.c
index 3c4e67abbe..1f1e519991 100644
--- a/bootloader/common.c
+++ b/bootloader/common.c
@@ -40,7 +40,7 @@
#if defined(IPOD_ARCH) || defined(IRIVER_H10) || defined(IRIVER_H10_5GB) \
|| defined(SANSA_E200) || defined(SANSA_C200) || defined(GIGABEAT_F) \
|| defined(PHILIPS_SA9200) || (CONFIG_CPU == AS3525) || defined(COWON_D2) \
- || defined(MROBE_100) || defined(PHILIPS_HDD1630)
+ || defined(MROBE_100) || defined(PHILIPS_HDD1630) || defined(ONDA_VX747)
bool verbose = false;
#else
bool verbose = true;
diff --git a/bootloader/ondavx747.c b/bootloader/ondavx747.c
index 12ab397078..39c0aa83aa 100755
--- a/bootloader/ondavx747.c
+++ b/bootloader/ondavx747.c
@@ -31,7 +31,6 @@
#include "storage.h"
#include "disk.h"
#include "string.h"
-#include "rockboxlogo.h"
static void show_splash(int timeout, const char *msg)
{
@@ -43,13 +42,6 @@ static void show_splash(int timeout, const char *msg)
sleep(timeout);
}
-extern int line;
-static void show_logo(void)
-{
- lcd_bitmap(rockboxlogo, 0, 0, BMPWIDTH_rockboxlogo, BMPHEIGHT_rockboxlogo);
- line += BMPHEIGHT_rockboxlogo/SYSFONT_HEIGHT + 1;
-}
-
static void usb_mode(void)
{
int button;
@@ -126,12 +118,9 @@ int main(void)
else if(rc)
verbose = true;
+ /* Only enable backlight when button is pressed */
if(verbose)
backlight_init();
-
- show_logo();
- printf(MODEL_NAME" Rockbox Bootloader");
- printf("Version "APPSVERSION);
rc = storage_init();
if(rc)