summaryrefslogtreecommitdiff
path: root/board/altera/nios2-generic/Makefile
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2010-04-30 03:34:15 (GMT)
committerScott McNutt <smcnutt@psyent.com>2010-05-28 14:56:03 (GMT)
commit1e8e9bad2db38e93c3bc9f4b6238b3d8be99e469 (patch)
tree2dfdb65f3c2fd1bfdfa7f5b5d585396d9c98123b /board/altera/nios2-generic/Makefile
parent3e6b86b5552840bb4147871a753840eb3923374c (diff)
downloadu-boot-1e8e9bad2db38e93c3bc9f4b6238b3d8be99e469.tar.xz
nios2: add gpio support to nios2-generic board
This patch adds gpio support of Altera PIO component to the nios2-generic board. Though it drives only gpio_led at the moment, it supports bidirectional port to control bit-banging I2C, NAND flash busy status or button switches, etc. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Tested-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Scott McNutt <smcnutt@psyent.com>
Diffstat (limited to 'board/altera/nios2-generic/Makefile')
-rw-r--r--board/altera/nios2-generic/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/altera/nios2-generic/Makefile b/board/altera/nios2-generic/Makefile
index 6780872..d1fca70 100644
--- a/board/altera/nios2-generic/Makefile
+++ b/board/altera/nios2-generic/Makefile
@@ -32,6 +32,7 @@ LIB = $(obj)lib$(BOARD).a
COBJS-y := $(BOARD).o
COBJS-$(CONFIG_CMD_IDE) += ../common/cfide.o
COBJS-$(CONFIG_EPLED) += ../common/epled.o
+COBJS-$(CONFIG_GPIO) += gpio.o
COBJS-$(CONFIG_SEVENSEG) += ../common/sevenseg.o
SOBJS-y := text_base.o