Wrong access mask for LCD and ATA registers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5353 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2a83ce5ddd
commit
e5b141c439
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ start:
|
|||
/* Chip select 1 - LCD controller */
|
||||
move.l #0xf0000000,%d0 /* CSAR1 - Base = 0xf0000000 */
|
||||
move.l %d0,(0x08c,%a0)
|
||||
move.l #0x0000007b,%d0 /* CSMR1 - 64K, Only data access */
|
||||
move.l #0x00000075,%d0 /* CSMR1 - 64K, Only data access */
|
||||
move.l %d0,(0x090,%a0)
|
||||
move.l #0x00002180,%d0 /* CSCR1 - 8 wait states, 16 bits, no bursts */
|
||||
move.l %d0,(0x094,%a0)
|
||||
|
@ -66,7 +66,7 @@ start:
|
|||
/* Chip select 2 - ATA controller */
|
||||
move.l #0x20000000,%d0 /* CSAR2 - Base = 0x20000000 */
|
||||
move.l %d0,(0x098,%a0)
|
||||
move.l #0x0000007b,%d0 /* CSMR2 - 64K, Only data access */
|
||||
move.l #0x00000075,%d0 /* CSMR2 - 64K, Only data access */
|
||||
move.l %d0,(0x09c,%a0)
|
||||
move.l #0x00000180,%d0 /* CSCR2 - no wait states, 16 bits, no bursts */
|
||||
move.l %d0,(0x0a0,%a0) /* NOTE: I'm not sure about the wait states.
|
||||
|
|
Loading…
Reference in a new issue