mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-11 06:05:21 -05:00
xduoox3: Disable the LCD and MSC0 clocks as we don't use them
Change-Id: If2261aed464fcbe3ea1f036dd18376fa8ff42e69
This commit is contained in:
parent
1a8939cc3d
commit
f913829d06
2 changed files with 5 additions and 2 deletions
|
|
@ -1335,6 +1335,7 @@ int sd_init(void)
|
||||||
|
|
||||||
if(!inited)
|
if(!inited)
|
||||||
{
|
{
|
||||||
|
__cpm_stop_msc0(); /* We don't use MSC0 */
|
||||||
|
|
||||||
#if SD_DMA_INTERRUPT || SD_INTERRUPT
|
#if SD_DMA_INTERRUPT || SD_INTERRUPT
|
||||||
semaphore_init(&sd_wakeup[SD_SLOT_1], 1, 0);
|
semaphore_init(&sd_wakeup[SD_SLOT_1], 1, 0);
|
||||||
|
|
|
||||||
|
|
@ -118,6 +118,8 @@ void lcd_hw_init(void)
|
||||||
udelay(1);
|
udelay(1);
|
||||||
__gpio_set_pin(PIN_LCD_RES);
|
__gpio_set_pin(PIN_LCD_RES);
|
||||||
__gpio_clear_pin(PIN_LCD_CS);
|
__gpio_clear_pin(PIN_LCD_CS);
|
||||||
|
|
||||||
|
__cpm_stop_lcd(); /* We don't use the LCD controller */
|
||||||
}
|
}
|
||||||
|
|
||||||
void lcd_write_command(int byte)
|
void lcd_write_command(int byte)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue