mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 16:07:30 +00:00
5d71bd210f
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@gmail.com> Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Stefano Babic <sbabic@denx.de>
21 lines
572 B
C
21 lines
572 B
C
/*
|
|
* Copyright (C) 2012
|
|
* Anatolij Gustschin, DENX Software Engineering, <agust@denx.de>
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation; either version 2 of
|
|
* the License, or (at your option) any later version.
|
|
*/
|
|
#ifndef __MX5_VIDEO_H
|
|
#define __MX5_VIDEO_H
|
|
|
|
#ifdef CONFIG_VIDEO
|
|
void lcd_enable(void);
|
|
void setup_iomux_lcd(void);
|
|
#else
|
|
static inline void lcd_enable(void) { }
|
|
static inline void setup_iomux_lcd(void) { }
|
|
#endif
|
|
|
|
#endif
|