mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
Merge pull request #13 from Sgch/fix-lcdif
sharp: fix to reset LCDIF module before running linux
This commit is contained in:
commit
4a52b35110
|
@ -1,7 +1,10 @@
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <bootm.h>
|
#include <bootm.h>
|
||||||
#include <asm/mach-imx/dma.h>
|
#include <asm/mach-imx/dma.h>
|
||||||
|
#include <asm/arch/sys_proto.h>
|
||||||
|
|
||||||
void board_quiesce_devices(void) {
|
void board_quiesce_devices(void) {
|
||||||
mxs_dma_disable(MXS_DMA_CHANNEL_AHB_APBH_LCDIF);
|
mxs_dma_disable(MXS_DMA_CHANNEL_AHB_APBH_LCDIF);
|
||||||
|
mxs_dma_release(MXS_DMA_CHANNEL_AHB_APBH_LCDIF);
|
||||||
|
lcdif_power_down();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user