summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Grinberg <grinberg@compulab.co.il>2013-09-16 21:49:59 +0300
committerTom Rini <trini@ti.com>2013-11-01 15:55:59 -0400
commite1e55c13c965c1c2316cd1540c3e46e1c07fc4ee (patch)
tree68f61ee0044bae157462ef78e4d2b0824af5b11d
parent689be5f83c17af6221764ab3a3890510af3c9022 (diff)
downloadu-boot-imx-e1e55c13c965c1c2316cd1540c3e46e1c07fc4ee.zip
u-boot-imx-e1e55c13c965c1c2316cd1540c3e46e1c07fc4ee.tar.gz
u-boot-imx-e1e55c13c965c1c2316cd1540c3e46e1c07fc4ee.tar.bz2
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 <grinberg@compulab.co.il> Tested-by: Nikita Kiryanov <nikita@compulab.co.il>
-rw-r--r--board/compulab/cm_t35/Makefile2
-rw-r--r--board/compulab/common/Makefile1
-rw-r--r--board/compulab/common/omap3_display.c (renamed from board/compulab/cm_t35/display.c)0
3 files changed, 1 insertions, 2 deletions
diff --git a/board/compulab/cm_t35/Makefile b/board/compulab/cm_t35/Makefile
index 8b922b3..213423e 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 ec2e510..b399c8f 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
index fae8d95..fae8d95 100644
--- a/board/compulab/cm_t35/display.c
+++ b/board/compulab/common/omap3_display.c