From 7737c994609ffb50194d5ddb67467ae0fcd8f775 Mon Sep 17 00:00:00 2001 From: Simon Guinot Date: Tue, 18 Jun 2013 15:14:50 +0200 Subject: 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 --- board/LaCie/net2big_v2/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'board/LaCie/net2big_v2/Makefile') 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)) -- cgit v1.1