summaryrefslogtreecommitdiff
path: root/board/altera
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-10-21 21:33:45 +0800
committerThomas Chou <thomas@wytron.com.tw>2015-10-23 07:37:03 +0800
commit88d5ecf4b9c0d5a3bff5d6d98ab7383a550a57db (patch)
tree599e4aee08402b27726c8ae80c86a90d44d8220a /board/altera
parentd21275ef5e7fe67c592896d6dbb157e219ec0450 (diff)
downloadu-boot-88d5ecf4b9c0d5a3bff5d6d98ab7383a550a57db.tar.gz
u-boot-88d5ecf4b9c0d5a3bff5d6d98ab7383a550a57db.tar.bz2
u-boot-88d5ecf4b9c0d5a3bff5d6d98ab7383a550a57db.zip
nios2 : convert altera_pio to driver model
Convert altera_pio to driver model. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Acked-by: Chin Liang See <clsee@altera.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/altera')
-rw-r--r--board/altera/nios2-generic/nios2-generic.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/board/altera/nios2-generic/nios2-generic.c b/board/altera/nios2-generic/nios2-generic.c
index 384fee9b75..cb98a08895 100644
--- a/board/altera/nios2-generic/nios2-generic.c
+++ b/board/altera/nios2-generic/nios2-generic.c
@@ -35,18 +35,6 @@ int board_early_init_f(void)
return 0;
}
-int board_early_init_r(void)
-{
-#ifdef CONFIG_ALTERA_PIO
-#ifdef LED_PIO_BASE
- altera_pio_init(LED_PIO_BASE, LED_PIO_WIDTH, 'o',
- LED_PIO_RSTVAL, (1 << LED_PIO_WIDTH) - 1,
- "led");
-#endif
-#endif
- return 0;
-}
-
int checkboard(void)
{
printf("BOARD : %s\n", CONFIG_BOARD_NAME);