better PP checks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10433 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f2591d38c3
commit
75f3fd05b9
2 changed files with 2 additions and 2 deletions
|
@ -285,7 +285,7 @@ boot_table:
|
|||
/* Set up stack for FIQ mode */
|
||||
msr cpsr_c, #0xd1
|
||||
ldr sp, =fiq_stack
|
||||
#if CONFIG_CPU == PP5020 || CONFIG_CPU == PP5002
|
||||
#ifdef CPU_PP
|
||||
/* We'll load the banked FIQ mode registers with useful values here.
|
||||
These values will be used in the FIQ handler in pcm_playback.c */
|
||||
#if CONFIG_CPU == PP5002
|
||||
|
|
|
@ -29,7 +29,7 @@ extern void system_init(void);
|
|||
|
||||
extern long cpu_frequency;
|
||||
|
||||
#if (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020)
|
||||
#ifdef CPU_PP
|
||||
#define inl(a) (*(volatile unsigned long *) (a))
|
||||
#define outl(a,b) (*(volatile unsigned long *) (b) = (a))
|
||||
#define inb(a) (*(volatile unsigned char *) (a))
|
||||
|
|
Loading…
Reference in a new issue