diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2007-10-04 04:53:01 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2007-10-04 04:53:01 +0000 |
| commit | 940e8990b5daf5b78d97331b956b517c6e802cf0 (patch) | |
| tree | a0fdf7ca43759523d90dee2dbcc5ddb724313629 /firmware/export/pp5020.h | |
| parent | bee29d285db992a3ae85d4e09fa38384550b893c (diff) | |
| download | rockbox-940e8990b5daf5b78d97331b956b517c6e802cf0.zip rockbox-940e8990b5daf5b78d97331b956b517c6e802cf0.tar.gz rockbox-940e8990b5daf5b78d97331b956b517c6e802cf0.tar.bz2 rockbox-940e8990b5daf5b78d97331b956b517c6e802cf0.tar.xz | |
PP502x: Make RAM physical addresses uncached. Cache the flash ROM on targets with one. Kill all the now unneeded cache flushing and i2s tweaking on e200 so clicking is no worry. Write the driver framebuffer at uncached addresses. Recording monitoring may be a little noisy in the left channel for the moment when not boosted and will be addressed. All seems to work as advertised including flash ROM dump.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14976 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/pp5020.h')
| -rw-r--r-- | firmware/export/pp5020.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/pp5020.h b/firmware/export/pp5020.h index 57e76f9..cbaa64d 100644 --- a/firmware/export/pp5020.h +++ b/firmware/export/pp5020.h @@ -189,7 +189,6 @@ #define CACHE_OP_FLUSH 0x0002 #define CACHE_OP_INVALIDATE 0x0004 - /* GPIO Ports */ #define GPIOA_ENABLE (*(volatile unsigned long *)(0x6000d000)) #define GPIOB_ENABLE (*(volatile unsigned long *)(0x6000d004)) @@ -354,6 +353,10 @@ #define CACHE_STATUS_BASE (*(volatile unsigned long*)(0xf0004000)) #define CACHE_FLUSH_BASE (*(volatile unsigned long*)(0xf0008000)) #define CACHE_INVALID_BASE (*(volatile unsigned long*)(0xf000c000)) +#define MMAP_PHYS_READ_MASK 0x0100 +#define MMAP_PHYS_WRITE_MASK 0x0200 +#define MMAP_PHYS_DATA_MASK 0x0400 +#define MMAP_PHYS_CODE_MASK 0x0800 #define MMAP_FIRST (*(volatile unsigned long*)(0xf000f000)) #define MMAP_LAST (*(volatile unsigned long*)(0xf000f03c)) #define MMAP0_LOGICAL (*(volatile unsigned long*)(0xf000f000)) |