]> git.dujemihanovic.xyz Git - u-boot.git/commit
nios2: add gpio support to nios2-generic board
authorThomas Chou <thomas@wytron.com.tw>
Fri, 30 Apr 2010 03:34:15 +0000 (11:34 +0800)
committerScott McNutt <smcnutt@psyent.com>
Fri, 28 May 2010 14:56:03 +0000 (10:56 -0400)
commit1e8e9bad2db38e93c3bc9f4b6238b3d8be99e469
tree2dfdb65f3c2fd1bfdfa7f5b5d585396d9c98123b
parent3e6b86b5552840bb4147871a753840eb3923374c
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>
board/altera/nios2-generic/Makefile
board/altera/nios2-generic/gpio.c [new file with mode: 0644]
include/configs/nios2-generic.h