sharp: disable LCDIF DMA just before jumping to Linux

This commit is contained in:
Takumi Sueda 2020-11-01 03:09:12 +09:00 committed by Suguru Saito
parent f38dc6c7a5
commit 0524cc6241
2 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,6 @@
ifdef CONFIG_VIDEO_MXS
obj-$(CONFIG_VIDEO_MXS) += lcd.o
obj-$(CONFIG_VIDEO_MXS) += dma.o
else
obj- = __dummy__.o
endif

7
board/sharp/common/dma.c Normal file
View File

@ -0,0 +1,7 @@
#include <common.h>
#include <bootm.h>
#include <asm/mach-imx/dma.h>
void board_quiesce_devices(void) {
mxs_dma_disable(MXS_DMA_CHANNEL_AHB_APBH_LCDIF);
}