mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
iPod Nano 2G NAND: Use the correct bit names for FMCSTAT
Looks like they were always off-by-one, so the wrong functions have been used to rectify this bug. This is now properly fixed. No changes to the ipodnano2g binaries (bootloader, rockbox) Change-Id: I19fe1b89f9e5d722f7e877d60f68fc3275c3642a
This commit is contained in:
parent
a0bfcd77c8
commit
7e2019fde9
2 changed files with 21 additions and 12 deletions
|
|
@ -931,10 +931,10 @@
|
|||
#define FMCTRL1_DOWRITEDATA (1 << 2)
|
||||
#define FMCTRL1_CLEARWFIFO (1 << 6)
|
||||
#define FMCTRL1_CLEARRFIFO (1 << 7)
|
||||
#define FMCSTAT_RBB (1 << 0)
|
||||
#define FMCSTAT_RBBDONE (1 << 1)
|
||||
#define FMCSTAT_CMDDONE (1 << 2)
|
||||
#define FMCSTAT_ADDRDONE (1 << 3)
|
||||
#define FMCSTAT_RBBDONE (1 << 0)
|
||||
#define FMCSTAT_CMDDONE (1 << 1)
|
||||
#define FMCSTAT_ADDRDONE (1 << 2)
|
||||
#define FMCSTAT_TRANSDONE (1 << 3)
|
||||
#define FMCSTAT_BANK0READY (1 << 4)
|
||||
#define FMCSTAT_BANK1READY (1 << 5)
|
||||
#define FMCSTAT_BANK2READY (1 << 6)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue