mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-19 00:18:51 +09:00
![Sjoerd Simons](/assets/img/avatar_default.png)
Not all exynos 5420 based devices with an LCD also have a parade LVDS bridge. So make sure compilation doesn't break if CONFIG_LCD is enabled and CONFIG_VIDEO_PARADE is not. As a side-effect move the parade functions from the exynos system header file to its own file. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
19 lines
392 B
C
19 lines
392 B
C
/*
|
|
* (C) Copyright 2012 Samsung Electronics
|
|
* Donghwa Lee <dh09.lee@samsung.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __PARADE_H__
|
|
#define __PARADE_H__
|
|
|
|
/* Initialize the Parade dP<->LVDS bridge if present */
|
|
#ifdef CONFIG_VIDEO_PARADE
|
|
int parade_init(const void *blob);
|
|
#else
|
|
static inline int parade_init(const void *blob) { return -1; }
|
|
#endif
|
|
|
|
#endif /* __PARADE_H__ */
|