]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cm-t35: move the display code to common place
authorIgor Grinberg <grinberg@compulab.co.il>
Mon, 16 Sep 2013 18:49:59 +0000 (21:49 +0300)
committerTom Rini <trini@ti.com>
Fri, 1 Nov 2013 19:55:59 +0000 (15:55 -0400)
Compulab OMAP3 boards use the same display initialization code.
Move the display initialization code to live under board/compulab/common
directory.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Tested-by: Nikita Kiryanov <nikita@compulab.co.il>
board/compulab/cm_t35/Makefile
board/compulab/common/Makefile
board/compulab/common/omap3_display.c [moved from board/compulab/cm_t35/display.c with 100% similarity]

index 8b922b3d7e53650e29940cc3ef087dec26b5b206..213423ec65e0f81ae99234e5995cf1c3ad16c216 100644 (file)
@@ -11,8 +11,6 @@ include $(TOPDIR)/config.mk
 
 LIB    = $(obj)lib$(BOARD).o
 
-COBJS-$(CONFIG_LCD) += display.o
-
 COBJS  := cm_t35.o leds.o $(COBJS-y)
 
 SRCS   := $(COBJS:.o=.c)
index ec2e510cd64421ef35792a125df232945a37536c..b399c8f46b076d5ba3079f56010e31ef32121474 100644 (file)
@@ -15,6 +15,7 @@ endif
 LIB    = $(obj)lib$(VENDOR).o
 
 COBJS-$(CONFIG_DRIVER_OMAP34XX_I2C) += eeprom.o
+COBJS-$(CONFIG_LCD) += omap3_display.o
 
 COBJS  := $(COBJS-y)
 SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)