]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/video/mxsfb.c
ARM: imx6ul: add support for mxsfb on i.MX6UL
[karo-tx-uboot.git] / drivers / video / mxsfb.c
index 68293d2b75dcc019d56ca2e98e8864ed1088759c..4a9ffcc1767b0bdc5bb44b5507f10a93bf49b76e 100644 (file)
@@ -6,15 +6,15 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <common.h>
+#include <errno.h>
 #include <malloc.h>
-#include <video_fb.h>
 #include <mxcfb.h>
-
-#include <asm/arch/imx-regs.h>
+#include <video_fb.h>
+#include <asm/io.h>
 #include <asm/arch/clock.h>
+#include <asm/arch/imx-regs.h>
+#include <asm/arch/regs-lcdif.h>
 #include <asm/arch/sys_proto.h>
-#include <asm/errno.h>
-#include <asm/io.h>
 
 #include <asm/imx-common/dma.h>
 
@@ -226,6 +226,5 @@ void *video_hw_init(void)
        /* Execute the DMA chain. */
        mxs_dma_circ_start(MXS_DMA_CHANNEL_AHB_APBH_LCDIF, &desc);
 #endif
-
-       return (void *)&panel;
+       return &panel;
 }