From: Igor Grinberg Date: Mon, 16 Sep 2013 18:49:59 +0000 (+0300) Subject: cm-t35: move the display code to common place X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=e1e55c13c965c1c2316cd1540c3e46e1c07fc4ee;p=u-boot.git cm-t35: move the display code to common place 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 Tested-by: Nikita Kiryanov --- diff --git a/board/compulab/cm_t35/Makefile b/board/compulab/cm_t35/Makefile index 8b922b3d7e..213423ec65 100644 --- a/board/compulab/cm_t35/Makefile +++ b/board/compulab/cm_t35/Makefile @@ -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) diff --git a/board/compulab/common/Makefile b/board/compulab/common/Makefile index ec2e510cd6..b399c8f46b 100644 --- a/board/compulab/common/Makefile +++ b/board/compulab/common/Makefile @@ -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) diff --git a/board/compulab/cm_t35/display.c b/board/compulab/common/omap3_display.c similarity index 100% rename from board/compulab/cm_t35/display.c rename to board/compulab/common/omap3_display.c