[U-Boot] [PATCH v2] mx51evk: Fix build error when CONFIG_VIDEO is disabled

Anatolij Gustschin agust at denx.de
Wed Nov 14 14:08:31 CET 2012


Hi,

On Sat, 10 Nov 2012 13:28:52 +0100
Anatolij Gustschin <agust at denx.de> wrote:

> From: Vikram Narayanan <vikram186 at gmail.com>
> 
> The inclusion of LCD patch into mx51evk breaks the build when
> CONFIG_VIDEO is disabled. Fix this by splitting the video related
> stuff to a new file.
> 
> Also rename the function lcd_iomux to setup_iomux_lcd to make the
> namings aligned with the other iomux functions.
> 
> Signed-off-by: Vikram Narayanan <vikram186 at gmail.com>
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> Cc: Fabio Estevam <fabio.estevam at freescale.com>
> Cc: Stefano Babic <sbabic at denx.de>
> ---
> Changes in v2:
>  - rebased on current master
>  - added common file mx5_video.h for function prorotypes
> 
>  arch/arm/include/asm/imx-common/mx5_video.h |   21 +++++++
>  board/freescale/mx51evk/Makefile            |    4 +-
>  board/freescale/mx51evk/mx51evk.c           |   57 +------------------
>  board/freescale/mx51evk/mx51evk_video.c     |   81 +++++++++++++++++++++++++++
>  4 files changed, 107 insertions(+), 56 deletions(-)
>  create mode 100644 arch/arm/include/asm/imx-common/mx5_video.h
>  create mode 100644 board/freescale/mx51evk/mx51evk_video.c

Applied to video/master, thanks!

Anatolij


More information about the U-Boot mailing list