From a937fd1682625b1f87b555e2af9117fcb2999d7c Mon Sep 17 00:00:00 2001 From: Igor Grinberg Date: Mon, 3 Nov 2014 11:32:18 +0200 Subject: compulab: refactor board revision handling Move board revision handling code to a common location for further reuse. Signed-off-by: Igor Grinberg Reviewed-by: Tom Rini --- board/compulab/common/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'board/compulab/common/Makefile') diff --git a/board/compulab/common/Makefile b/board/compulab/common/Makefile index 4044ac9..e343bf0 100644 --- a/board/compulab/common/Makefile +++ b/board/compulab/common/Makefile @@ -6,5 +6,6 @@ # SPDX-License-Identifier: GPL-2.0+ # -obj-$(CONFIG_SYS_I2C) += eeprom.o -obj-$(CONFIG_LCD) += omap3_display.o +obj-y += common.o +obj-$(CONFIG_SYS_I2C) += eeprom.o +obj-$(CONFIG_LCD) += omap3_display.o -- cgit v1.1 From f4a40f05f504407a036e2beee88ce17930d5d45c Mon Sep 17 00:00:00 2001 From: Igor Grinberg Date: Mon, 3 Nov 2014 11:32:20 +0200 Subject: omap3: cm-t35: extract the splash code from board The splash screen loading code can be reused by other compulab boards. For now extract it to a common location for further reuse. This also switches the splash code dependency from CONFIG_LCD to CONFIG_SPLASH_SCREEN as it should normally be. In addition this patch fixes the accidental dependency of the get_board_mem_timings() function on CONFIG_LCD, by just moving the splash code and leaving the above function intact. Signed-off-by: Igor Grinberg Reviewed-by: Tom Rini --- board/compulab/common/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'board/compulab/common/Makefile') diff --git a/board/compulab/common/Makefile b/board/compulab/common/Makefile index e343bf0..78237d1 100644 --- a/board/compulab/common/Makefile +++ b/board/compulab/common/Makefile @@ -9,3 +9,4 @@ obj-y += common.o obj-$(CONFIG_SYS_I2C) += eeprom.o obj-$(CONFIG_LCD) += omap3_display.o +obj-$(CONFIG_SPLASH_SCREEN) += splash.o -- cgit v1.1 From 9886c3d7a803f639b975f63397cc24a3307fa7b6 Mon Sep 17 00:00:00 2001 From: Igor Grinberg Date: Mon, 3 Nov 2014 11:32:21 +0200 Subject: omap3: cm-t35: move the SMC911x code Extract the SMC911x initialization code to a common location where it can be reused by other compulab omap3 based boards. Signed-off-by: Igor Grinberg Reviewed-by: Tom Rini --- board/compulab/common/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'board/compulab/common/Makefile') diff --git a/board/compulab/common/Makefile b/board/compulab/common/Makefile index 78237d1..dbf0009 100644 --- a/board/compulab/common/Makefile +++ b/board/compulab/common/Makefile @@ -10,3 +10,4 @@ obj-y += common.o obj-$(CONFIG_SYS_I2C) += eeprom.o obj-$(CONFIG_LCD) += omap3_display.o obj-$(CONFIG_SPLASH_SCREEN) += splash.o +obj-$(CONFIG_SMC911X) += omap3_smc911x.o -- cgit v1.1