From 1d895bc68d8e36fdd79226a7db860718402bf743 Mon Sep 17 00:00:00 2001 From: Suguru Saito Date: Tue, 27 Apr 2021 19:19:15 +0900 Subject: [PATCH 1/2] sharp: fix to reset LCDIF module before running linux --- board/sharp/common/dma.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/sharp/common/dma.c b/board/sharp/common/dma.c index 572d04577f..f725c6bd50 100644 --- a/board/sharp/common/dma.c +++ b/board/sharp/common/dma.c @@ -4,4 +4,6 @@ void board_quiesce_devices(void) { mxs_dma_disable(MXS_DMA_CHANNEL_AHB_APBH_LCDIF); + mxs_dma_release(MXS_DMA_CHANNEL_AHB_APBH_LCDIF); + lcdif_power_down(); } From 94e91aa4d57c0b298ee45babde720d24e0f3a08a Mon Sep 17 00:00:00 2001 From: Suguru Saito Date: Sat, 29 May 2021 23:12:38 +0900 Subject: [PATCH 2/2] sharp: fix implicit declaration --- board/sharp/common/dma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/sharp/common/dma.c b/board/sharp/common/dma.c index f725c6bd50..93804e1d1a 100644 --- a/board/sharp/common/dma.c +++ b/board/sharp/common/dma.c @@ -1,6 +1,7 @@ #include #include #include +#include void board_quiesce_devices(void) { mxs_dma_disable(MXS_DMA_CHANNEL_AHB_APBH_LCDIF);