Subversion Repositories freemyipod

Rev

Rev 87 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 87 Rev 88
Line 20... Line 20...
20
//
20
//
21
//
21
//
22
 
22
 
23
 
23
 
24
#include "global.h"
24
#include "global.h"
25
#include "s5l8720.h"
25
#include "s5l8701.h"
26
 
26
 
27
 
27
 
28
void clockgate_enable(int gate, bool enable)
28
void clockgate_enable(int gate, bool enable)
29
{
29
{
30
    if (enable) PWRCON(gate >> 5) &= ~(1 << (gate & 0x1f));
30
    if (enable) PWRCON(gate >> 5) &= ~(1 << (gate & 0x1f));