summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoachim Foerster <joachim.foerster@missinglinkelectronics.com>2011-10-21 15:48:51 +0200
committerThomas Chou <thomas@wytron.com.tw>2011-10-28 09:51:19 +0800
commitdf969b5ffd62449f3625dacb036bef107d5306d4 (patch)
tree2fb05ca0b04c46547ae919bb13e75a897992acd7 /include
parent03d67e127685f65513e7b78dacbd4ccaf01053f6 (diff)
downloadu-boot-imx-df969b5ffd62449f3625dacb036bef107d5306d4.zip
u-boot-imx-df969b5ffd62449f3625dacb036bef107d5306d4.tar.gz
u-boot-imx-df969b5ffd62449f3625dacb036bef107d5306d4.tar.bz2
board/nios2-generic: Use altera_pio driver and remove board specific driver
Signed-off-by: Joachim Foerster <joachim.foerster@missinglinkelectronics.com> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Diffstat (limited to 'include')
-rw-r--r--include/configs/nios2-generic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/nios2-generic.h b/include/configs/nios2-generic.h
index 1395939..9ba35e8 100644
--- a/include/configs/nios2-generic.h
+++ b/include/configs/nios2-generic.h
@@ -63,6 +63,10 @@
/*
* STATUS LED
*/
+#define CONFIG_ALTERA_PIO
+#define CONFIG_SYS_ALTERA_PIO_NUM 1
+#define CONFIG_SYS_ALTERA_PIO_GPIO_NUM LED_PIO_WIDTH
+
#define CONFIG_STATUS_LED /* Enable status driver */
#define CONFIG_GPIO_LED /* Enable GPIO LED driver */
#define CONFIG_GPIO /* Enable GPIO driver */