From: Joachim Foerster Date: Fri, 21 Oct 2011 15:48:49 +0200 Subject: [U-Boot] [PATCH 0/2] Replace nios2-generic's gpio.c with dedicated driver. In-Reply-To: <4EA11D7A.50105@wytron.com.tw> References: <4EA11D7A.50105@wytron.com.tw> Message-ID: <1319204931-21948-1-git-send-email-joachim.foerster@missinglinkelectronics.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Let's have a dedicated driver for Altera's PIO ip core, which does not have to be duplicated for each board using PIO. Joachim Foerster (2): gpio: Add driver for Altera's PIO core board/nios2-generic: Use altera_pio driver and remove board specific driver Changes for v2: PATCH 1/2: - get rid of checkpatch warnings about init.ing static - use %d instead of %u together the usage of the space-flag PATCH 2/2: nothing arch/nios2/include/asm/gpio.h | 13 +- board/altera/nios2-generic/Makefile | 1 - board/altera/nios2-generic/custom_fpga.h | 1 + board/altera/nios2-generic/gpio.c | 71 ------- board/altera/nios2-generic/nios2-generic.c | 8 + drivers/gpio/Makefile | 1 + drivers/gpio/altera_pio.c | 299 ++++++++++++++++++++++++++++ include/configs/nios2-generic.h | 4 + 8 files changed, 324 insertions(+), 74 deletions(-) delete mode 100644 board/altera/nios2-generic/gpio.c create mode 100644 drivers/gpio/altera_pio.c -- 1.7.6