mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
video: omap: move drivers to 'ti' directory
Add drivers/video/ti/ folder and move all TI's code in this folder for better maintenance. Signed-off-by: Dario Binacchi <dariobin@libero.it>
This commit is contained in:
parent
35ab1b6ef7
commit
260cbc9af2
12 changed files with 22 additions and 9 deletions
|
@ -12,7 +12,7 @@
|
|||
#define _BUR_COMMON_H_
|
||||
|
||||
#if !CONFIG_IS_ENABLED(DM_VIDEO)
|
||||
#include <../../../drivers/video/am335x-fb.h>
|
||||
#include <../../../drivers/video/ti/am335x-fb.h>
|
||||
|
||||
int load_lcdtiming(struct am335x_lcdpanel *panel);
|
||||
#endif
|
||||
|
|
|
@ -27,7 +27,7 @@ DECLARE_GLOBAL_DATA_PTR;
|
|||
#include <asm/arch/cpu.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <power/tps65217.h>
|
||||
#include "../../../drivers/video/am335x-fb.h"
|
||||
#include "../../../drivers/video/ti/am335x-fb.h"
|
||||
|
||||
void lcdbacklight(int on)
|
||||
{
|
||||
|
|
|
@ -546,10 +546,7 @@ config ATMEL_HLCD
|
|||
help
|
||||
HLCDC supports video output to an attached LCD panel.
|
||||
|
||||
config AM335X_LCD
|
||||
bool "Enable AM335x video support"
|
||||
help
|
||||
Supports video output to an attached LCD panel.
|
||||
source "drivers/video/ti/Kconfig"
|
||||
|
||||
config LOGICORE_DP_TX
|
||||
bool "Enable Logicore DP TX driver"
|
||||
|
|
|
@ -16,15 +16,13 @@ obj-$(CONFIG_DM_VIDEO) += video-uclass.o vidconsole-uclass.o
|
|||
obj-$(CONFIG_DM_VIDEO) += video_bmp.o
|
||||
obj-$(CONFIG_PANEL) += panel-uclass.o
|
||||
obj-$(CONFIG_SIMPLE_PANEL) += simple_panel.o
|
||||
obj-$(CONFIG_AM335X_LCD) += tilcdc.o tilcdc-panel.o
|
||||
else
|
||||
obj-$(CONFIG_AM335X_LCD) += am335x-fb.o
|
||||
endif
|
||||
|
||||
obj-${CONFIG_EXYNOS_FB} += exynos/
|
||||
obj-${CONFIG_VIDEO_ROCKCHIP} += rockchip/
|
||||
obj-${CONFIG_VIDEO_STM32} += stm32/
|
||||
obj-${CONFIG_VIDEO_TEGRA124} += tegra124/
|
||||
obj-y += ti/
|
||||
|
||||
obj-$(CONFIG_ATI_RADEON_FB) += ati_radeon_fb.o videomodes.o
|
||||
obj-$(CONFIG_ATMEL_HLCD) += atmel_hlcdfb.o
|
||||
|
|
8
drivers/video/ti/Kconfig
Normal file
8
drivers/video/ti/Kconfig
Normal file
|
@ -0,0 +1,8 @@
|
|||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
# Copyright (C) 2020 Dario Binacchi <dariobin@libero.it>
|
||||
#
|
||||
config AM335X_LCD
|
||||
bool "Enable AM335x video support"
|
||||
help
|
||||
Supports video output to an attached LCD panel.
|
10
drivers/video/ti/Makefile
Normal file
10
drivers/video/ti/Makefile
Normal file
|
@ -0,0 +1,10 @@
|
|||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
# Copyright (C) 2020 Dario Binacchi <dariobin@libero.it>
|
||||
#
|
||||
|
||||
ifdef CONFIG_DM_VIDEO
|
||||
obj-$(CONFIG_AM335X_LCD) += tilcdc.o tilcdc-panel.o
|
||||
else
|
||||
obj-$(CONFIG_AM335X_LCD) += am335x-fb.o
|
||||
endif
|
Loading…
Reference in a new issue