summaryrefslogtreecommitdiff
path: root/board/LaCie/net2big_v2/Makefile
diff options
context:
space:
mode:
authorSimon Guinot <simon.guinot@sequanux.org>2013-06-18 13:14:50 (GMT)
committerPrafulla Wadaskar <prafulla@marvell.com>2013-06-20 08:31:23 (GMT)
commit7737c994609ffb50194d5ddb67467ae0fcd8f775 (patch)
tree4661c56d436b75f323a1d9e7a4758483bd1519b3 /board/LaCie/net2big_v2/Makefile
parentd5cc3f524193d6e7ab980b5962bec72576e61551 (diff)
downloadu-boot-7737c994609ffb50194d5ddb67467ae0fcd8f775.tar.xz
net2big_v2: initialize LEDs at startup
This patch allows to configure the net2big_v2 LEDs at startup (through the GPIO extension bus). The front blue LED is enabled and the SATA rear LEDs are configured to blink in relation with the SATA activity. Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
Diffstat (limited to 'board/LaCie/net2big_v2/Makefile')
-rw-r--r--board/LaCie/net2big_v2/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/LaCie/net2big_v2/Makefile b/board/LaCie/net2big_v2/Makefile
index fbae48e..9a6dfb6 100644
--- a/board/LaCie/net2big_v2/Makefile
+++ b/board/LaCie/net2big_v2/Makefile
@@ -28,6 +28,9 @@ endif
LIB = $(obj)lib$(BOARD).o
COBJS := $(BOARD).o ../common/common.o
+ifneq ($(and $(CONFIG_KIRKWOOD_GPIO),$(CONFIG_NET2BIG_V2)),)
+COBJS += ../common/cpld-gpio-bus.o
+endif
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))