H300: power_init() adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7962 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f4c2b96daa
commit
64d9ee70c2
1 changed files with 3 additions and 2 deletions
|
@ -62,7 +62,7 @@ int radio_get_status(void)
|
|||
void power_init(void)
|
||||
{
|
||||
#if CONFIG_CPU == MCF5249
|
||||
#if IRIVER_H100_SERIES
|
||||
#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)
|
||||
or_l(0x00080000, &GPIO1_OUT);
|
||||
or_l(0x00080000, &GPIO1_ENABLE);
|
||||
or_l(0x00080000, &GPIO1_FUNCTION);
|
||||
|
@ -76,9 +76,10 @@ void power_init(void)
|
|||
#ifdef HAVE_SPDIF_POWER
|
||||
spdif_power_enable(false);
|
||||
#endif
|
||||
#elif defined(IRIVER_H300_SERIES)
|
||||
#ifdef IRIVER_H300_SERIES
|
||||
pcf50606_init();
|
||||
#endif
|
||||
#endif
|
||||
#elif CONFIG_CPU == PP5020
|
||||
/* TODO: Implement power_init() */
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue