forked from len0rd/rockbox
iPod: Fix the detection of lcd type for the iPod Photo - this should fix problems with that LCD. Affected users also need to install a new bootloader - available from the iPod Installation wiki page.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8499 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ea72d05ec6
commit
f9dac40cf3
4 changed files with 15 additions and 3 deletions
|
@ -36,6 +36,8 @@ extern long cpu_frequency;
|
|||
#define outb(a,b) (*(volatile unsigned char *) (b) = (a))
|
||||
#define inw(a) (*(volatile unsigned short *) (a))
|
||||
#define outw(a,b) (*(volatile unsigned short *) (b) = (a))
|
||||
extern unsigned int ipod_hw_rev;
|
||||
|
||||
static inline void udelay(unsigned usecs)
|
||||
{
|
||||
unsigned start = inl(0x60005010);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue