X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fcompulab%2Fcm_fx6%2Fcm_fx6.c;h=4d71bedfb92e60616db4ce92397bfc493be431cc;hb=c05ed00afb95fa5237f16962fccf5810437317bf;hp=c72efc5964277754f080dab4538cece3c4a31dc1;hpb=9925f1dbc38c0ef7220c6fca5968c708b8e48764;p=oweals%2Fu-boot.git diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c index c72efc5964..4d71bedfb9 100644 --- a/board/compulab/cm_fx6/cm_fx6.c +++ b/board/compulab/cm_fx6/cm_fx6.c @@ -1,21 +1,22 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Board functions for Compulab CM-FX6 board * * Copyright (C) 2014, Compulab Ltd - http://compulab.co.il/ * * Author: Nikita Kiryanov - * - * SPDX-License-Identifier: GPL-2.0+ */ #include #include #include #include -#include -#include +#include +#include +#include #include #include +#include #include #include #include @@ -34,6 +35,7 @@ #include #include #include +#include #include "common.h" #include "../common/eeprom.h" #include "../common/common.h" @@ -147,6 +149,11 @@ int board_video_skip(void) static inline void cm_fx6_setup_display(void) {} #endif /* CONFIG_VIDEO_IPUV3 */ +int ipu_displays_init(void) +{ + return board_video_skip(); +} + #ifdef CONFIG_DWC_AHSATA static int cm_fx6_issd_gpios[] = { /* The order of the GPIOs in the array is important! */ @@ -520,7 +527,7 @@ int cm_fx6_setup_ecspi(void) { return 0; } #ifdef CONFIG_OF_BOARD_SETUP #define USDHC3_PATH "/soc/aips-bus@02100000/usdhc@02198000/" -struct node_info nodes[] = { +static const struct node_info nodes[] = { /* * Both entries target the same flash chip. The st,m25p compatible * is used in the vendor device trees, while upstream uses (the @@ -609,7 +616,7 @@ int board_init(void) cm_fx6_setup_display(); /* This should be done in the MMC driver when MX6 has a clock driver */ -#ifdef CONFIG_FSL_ESDHC +#ifdef CONFIG_FSL_ESDHC_IMX if (IS_ENABLED(CONFIG_BLK)) { int i;