mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-31 22:39:08 +09:00
![Vikram Narayanan](/assets/img/avatar_default.png)
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>
22 lines
572 B
C
22 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
|