summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorRobert Keevil <rkeevil+rockbox@gmail.com>2009-07-13 21:09:39 +0000
committerRobert Keevil <rkeevil+rockbox@gmail.com>2009-07-13 21:09:39 +0000
commiteea149bd1399e749a6dae8b3a6fe5ff076ead985 (patch)
treea131998421757859c25c567c657223ece0430c31 /bootloader
parent5f6998bde9b8a7a7aa61df602202ff41feb13ea1 (diff)
downloadrockbox-eea149bd1399e749a6dae8b3a6fe5ff076ead985.tar.gz
rockbox-eea149bd1399e749a6dae8b3a6fe5ff076ead985.tar.bz2
rockbox-eea149bd1399e749a6dae8b3a6fe5ff076ead985.zip
FS#10436 - add the Sansa View to the build system. The bootloader builds but doesn't do anything useful yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21848 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/SOURCES3
-rw-r--r--bootloader/main-pp.c6
2 files changed, 7 insertions, 2 deletions
diff --git a/bootloader/SOURCES b/bootloader/SOURCES
index f748403a85..459a1a27bf 100644
--- a/bootloader/SOURCES
+++ b/bootloader/SOURCES
@@ -11,7 +11,8 @@ gigabeat-s.c
defined(SANSA_E200) || defined(SANSA_C200) || \
defined(MROBE_100) || defined(PHILIPS_SA9200) || \
defined(PHILIPS_HDD1630) || defined(SAMSUNG_YH820) || \
- defined(SAMSUNG_YH920) || defined(SAMSUNG_YH925)
+ defined(SAMSUNG_YH920) || defined(SAMSUNG_YH925) || \
+ defined(SANSA_VIEW)
#ifdef E200R_INSTALLER
main-e200r-installer.c
#elif defined(C240_ERASE)
diff --git a/bootloader/main-pp.c b/bootloader/main-pp.c
index b79ca30ea4..c213a65121 100644
--- a/bootloader/main-pp.c
+++ b/bootloader/main-pp.c
@@ -73,6 +73,9 @@ extern int show_logo(void);
#elif CONFIG_KEYPAD == SAMSUNG_YH_PAD
#define BOOTLOADER_BOOT_OF BUTTON_LEFT
+#elif CONFIG_KEYPAD == SANSA_FUZE_PAD
+#define BOOTLOADER_BOOT_OF BUTTON_LEFT
+
#endif
/* Maximum allowed firmware image size. 10MB is more than enough */
@@ -447,7 +450,8 @@ void* main(void)
int rc;
int num_partitions;
struct partinfo* pinfo;
-#if defined(SANSA_E200) || defined(SANSA_C200) || defined(PHILIPS_SA9200)
+#if defined(SANSA_E200) || defined(SANSA_C200) || defined(PHILIPS_SA9200) \
+ || defined (SANSA_VIEW)
#if !defined(USE_ROCKBOX_USB)
int usb_retry = 0;
#endif