]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
video: move fsl_diu_fb driver to drivers/video
authorAnatolij Gustschin <agust@denx.de>
Mon, 29 Nov 2010 20:17:37 +0000 (21:17 +0100)
committerAnatolij Gustschin <agust@denx.de>
Wed, 1 Dec 2010 19:48:13 +0000 (20:48 +0100)
Since the driver is used not only on Freescale boards,
we move it to a common place for video drivers as
suggested by Wolfgang. The patch also cleans up the
top level Makefile.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Makefile
board/freescale/common/Makefile
drivers/video/Makefile
drivers/video/fsl_diu_fb.c [moved from board/freescale/common/fsl_diu_fb.c with 100% similarity]

index 87a383d32c4d6ff72a473e633b2e4d04b957cf9a..0685ef9955c2115babdee36cd9c879f5ff7cbbc2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -185,9 +185,6 @@ LIBS += lib/lzma/liblzma.o
 LIBS += lib/lzo/liblzo.o
 LIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \
        "board/$(VENDOR)/common/lib$(VENDOR).o"; fi)
-ifdef CONFIG_FSL_DIU_FB
-LIBS += board/freescale/common/libfreescale.o
-endif
 LIBS += $(CPUDIR)/lib$(CPU).o
 ifdef SOC
 LIBS += $(CPUDIR)/$(SOC)/lib$(SOC).o
index 905dd7a0ae46f8bc174a2c001ddffccb438045b0..1abd3e56703b014d0a0085ae332d139e8634e170 100644 (file)
@@ -31,7 +31,6 @@ LIB   = $(obj)libfreescale.o
 
 COBJS-$(CONFIG_FSL_CADMUS)     += cadmus.o
 COBJS-$(CONFIG_FSL_VIA)                += cds_via.o
-COBJS-$(CONFIG_FSL_DIU_FB)     += fsl_diu_fb.o
 COBJS-$(CONFIG_FSL_PIXIS)      += pixis.o
 COBJS-$(CONFIG_FSL_NGPIXIS)    += ngpixis.o
 COBJS-$(CONFIG_PQ_MDS_PIB)     += pq-mds-pib.o
index 83274c3d7e939404d7e65ecf06f14521e20920dc..2c53a6f3e33f2248be94041f1c8d56c19a53d848 100644 (file)
@@ -28,6 +28,7 @@ LIB   := $(obj)libvideo.o
 COBJS-$(CONFIG_ATI_RADEON_FB) += ati_radeon_fb.o videomodes.o
 COBJS-$(CONFIG_ATMEL_LCD) += atmel_lcdfb.o
 COBJS-$(CONFIG_CFB_CONSOLE) += cfb_console.o
+COBJS-$(CONFIG_FSL_DIU_FB) += fsl_diu_fb.o
 COBJS-$(CONFIG_S6E63D6) += s6e63d6.o
 COBJS-$(CONFIG_VIDEO_AMBA) += amba.o
 COBJS-$(CONFIG_VIDEO_CT69000) += ct69000.o videomodes.o