From: Thomas Chou Date: Fri, 28 Oct 2011 15:29:20 +0800 Subject: [U-Boot] [PATCH 1/2 v2] gpio: Add driver for Altera's PIO core In-Reply-To: <1319204931-21948-2-git-send-email-joachim.foerster@missinglinkelectronics.com> References: <4EA11D7A.50105@wytron.com.tw> <1319204931-21948-1-git-send-email-joachim.foerster@missinglinkelectronics.com> <1319204931-21948-2-git-send-email-joachim.foerster@missinglinkelectronics.com> Message-ID: <4EAA59D0.1050305@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/21/2011 09:48 PM, Joachim Foerster wrote: > This driver may handle multiple PIO cores and thus needs to be > setup by calling the altera_pio_init() function within the early > board setup routine. > > The driver comes with some extras, see below the copyleft header. > > Signed-off-by: Joachim Foerster > Tested-by: Thomas Chou > --- > arch/nios2/include/asm/gpio.h | 13 +- > board/altera/nios2-generic/custom_fpga.h | 1 + > board/altera/nios2-generic/nios2-generic.c | 8 + > drivers/gpio/Makefile | 1 + > drivers/gpio/altera_pio.c | 299 ++++++++++++++++++++++++++++ > 5 files changed, 320 insertions(+), 2 deletions(-) > create mode 100644 drivers/gpio/altera_pio.c Hi Joachim, Applied. Thanks. Best regards, Thomas