forked from len0rd/rockbox
Remove some cruft not being used that interferes with building rockboy on Gigabeat S.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17302 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f74cf934d6
commit
05423386d4
2 changed files with 0 additions and 15 deletions
|
|
@ -1119,10 +1119,6 @@
|
|||
#define SDRAM_COMPARE_CONST2 0xAAAAAAAA
|
||||
#define UART_FIFO_CTRL 0x881
|
||||
#define TIMEOUT 1000
|
||||
#define writel(v,a) (*(REG32_PTR_T)(a) = (v))
|
||||
#define readl(a) (*(REG32_PTR_T)(a))
|
||||
#define writew(v,a) (*(REG16_PTR_T)(a) = (v))
|
||||
#define readw(a) (*(REG16_PTR_T)(a))
|
||||
|
||||
#define USB_BASE OTG_BASE_ADDR
|
||||
|
||||
|
|
|
|||
|
|
@ -28,17 +28,6 @@ bool lcd_enabled()
|
|||
}
|
||||
#endif
|
||||
|
||||
void printscreen(unsigned int colour)
|
||||
{
|
||||
int i;
|
||||
char * base = (char *)FRAME;
|
||||
for(i = 0; i < (320*240*2); i++)
|
||||
{
|
||||
writel(colour, base);
|
||||
base++;
|
||||
}
|
||||
}
|
||||
|
||||
/* LCD init */
|
||||
void lcd_init_device(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue