public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] cm-t35: move the leds code to common place
@ 2013-11-05  8:23 Igor Grinberg
  2013-11-06 14:39 ` [U-Boot] [PATCH] cm-t35: use gpio_led driver for status led Igor Grinberg
  2013-11-06 14:40 ` [U-Boot] [PATCH] cm-t35: move the leds code to common place Igor Grinberg
  0 siblings, 2 replies; 4+ messages in thread
From: Igor Grinberg @ 2013-11-05  8:23 UTC (permalink / raw)
  To: u-boot

Compulab boards can use the same leds code, so move the leds related
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>
---
Tom,

AFAIU the merge window closes on Thursday.
Can we please have this patch in for 2014.01?

Thanks!

Sorry, if anyone gets this message twice...
I had a problem with my mailer...


 board/compulab/cm_t35/Makefile           | 2 +-
 board/compulab/common/Makefile           | 1 +
 board/compulab/{cm_t35 => common}/leds.c | 0
 3 files changed, 2 insertions(+), 1 deletion(-)
 rename board/compulab/{cm_t35 => common}/leds.c (100%)

diff --git a/board/compulab/cm_t35/Makefile b/board/compulab/cm_t35/Makefile
index 213423e..4b1d591 100644
--- a/board/compulab/cm_t35/Makefile
+++ b/board/compulab/cm_t35/Makefile
@@ -11,7 +11,7 @@ include $(TOPDIR)/config.mk
 
 LIB	= $(obj)lib$(BOARD).o
 
-COBJS	:= cm_t35.o leds.o $(COBJS-y)
+COBJS	:= cm_t35.o $(COBJS-y)
 
 SRCS	:= $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(COBJS))
diff --git a/board/compulab/common/Makefile b/board/compulab/common/Makefile
index b399c8f..312d955 100644
--- a/board/compulab/common/Makefile
+++ b/board/compulab/common/Makefile
@@ -16,6 +16,7 @@ LIB	= $(obj)lib$(VENDOR).o
 
 COBJS-$(CONFIG_DRIVER_OMAP34XX_I2C) += eeprom.o
 COBJS-$(CONFIG_LCD) += omap3_display.o
+COBJS-$(CONFIG_STATUS_LED) += leds.o
 
 COBJS	:= $(COBJS-y)
 SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
diff --git a/board/compulab/cm_t35/leds.c b/board/compulab/common/leds.c
similarity index 100%
rename from board/compulab/cm_t35/leds.c
rename to board/compulab/common/leds.c
-- 
1.8.1.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-12 14:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-05  8:23 [U-Boot] [PATCH] cm-t35: move the leds code to common place Igor Grinberg
2013-11-06 14:39 ` [U-Boot] [PATCH] cm-t35: use gpio_led driver for status led Igor Grinberg
2013-11-12 14:52   ` [U-Boot] " Tom Rini
2013-11-06 14:40 ` [U-Boot] [PATCH] cm-t35: move the leds code to common place Igor Grinberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox