forked from len0rd/rockbox
iRiver: Correct cold start detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5824 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bf11674d10
commit
d4313ce88b
1 changed files with 1 additions and 1 deletions
|
|
@ -1347,7 +1347,7 @@ int ata_init(void)
|
|||
/* TODO: check for cold start (never happenning now) */
|
||||
bool coldstart = false;
|
||||
#elif CONFIG_CPU == MCF5249
|
||||
bool coldstart = true; /* FIXME */
|
||||
bool coldstart = (GPIO_FUNCTION & 0x00080000) == 0;
|
||||
#else
|
||||
bool coldstart = (PACR2 & 0x4000) != 0;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue