Subversion Repositories freemyipod

Rev

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

Rev 427 Rev 563
Line 21... Line 21...
21
//
21
//
22
 
22
 
23
 
23
 
24
#include "global.h"
24
#include "global.h"
25
#include "clickwheel.h"
25
#include "clickwheel.h"
-
 
26
#include "s5l8701.h"
26
 
27
 
27
 
28
 
28
#define nor ((uint8_t*)0x24000000)
29
#define nor ((uint8_t*)0x24000000)
29
#define norword ((uint32_t*)0x24000000)
30
#define norword ((uint32_t*)0x24000000)
30
#define sysi ((uint8_t*)0x2202bdf0)
31
#define sysi ((uint8_t*)0x2202bdf0)
Line 120... Line 121...
120
        sysiword[0x3d] = 0x24000000;
121
        sysiword[0x3d] = 0x24000000;
121
        sysiword[0x4a] = 0x53797349;
122
        sysiword[0x4a] = 0x53797349;
122
        sysiword[0x4b] = 0x2202bdf0;
123
        sysiword[0x4b] = 0x2202bdf0;
123
    }
124
    }
124
}
125
}
-
 
126
 
-
 
127
void targetinit_execfirmware()
-
 
128
{
-
 
129
    PWRCON(0) &= ~(1 << 5);
-
 
130
    IICSTAT = (1 << 4);
-
 
131
}