HDD6330: fix loading of the OF through the Rockbox bootloader (correct magic values in registers at the start), fix bootloader warnings.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28322 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Szymon Dziok 2010-10-21 21:16:00 +00:00
parent f81c0c05ce
commit 93ac986867
2 changed files with 11 additions and 2 deletions

View file

@ -156,7 +156,7 @@ cpu:
mov r1, #WAKE mov r1, #WAKE
str r1, [r0] str r1, [r0]
#if defined(SANSA_C200) || defined(PHILIPS_HDD1630) || defined(PHILIPS_HDD6330) #if defined(SANSA_C200) || defined(PHILIPS_HDD1630)
/* Magic for loading the c200 OF */ /* Magic for loading the c200 OF */
ldr r0, =0xb00d10ad ldr r0, =0xb00d10ad
mov r1, #0x700 mov r1, #0x700
@ -164,6 +164,14 @@ cpu:
mov r3, #0x7 mov r3, #0x7
#endif #endif
#if defined(PHILIPS_HDD6330)
/* Magic for loading the HDD6XX0 OF */
ldr r0, =0xb00d10ad
mov r1, #0x800
ldr r2, =0xfff0
mov r3, #0x7
#endif
ldr r4, =startup_loc ldr r4, =startup_loc
ldr pc, [r4] ldr pc, [r4]

View file

@ -29,9 +29,10 @@
#include "logf.h" #include "logf.h"
static int int_btn = BUTTON_NONE; static int int_btn = BUTTON_NONE;
#ifndef BOOTLOADER
static int old_pos = -1; static int old_pos = -1;
static int scroll_repeat = BUTTON_NONE; static int scroll_repeat = BUTTON_NONE;
#endif
static int repeat = 0; static int repeat = 0;
/* /*