aboutsummaryrefslogtreecommitdiff
path: root/board/altera
diff options
context:
space:
mode:
authorThomas Chou2015-10-21 21:33:45 +0800
committerThomas Chou2015-10-23 07:37:03 +0800
commit88d5ecf4b9c0d5a3bff5d6d98ab7383a550a57db (patch)
tree599e4aee08402b27726c8ae80c86a90d44d8220a /board/altera
parentd21275ef5e7fe67c592896d6dbb157e219ec0450 (diff)
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 384fee9b75d..cb98a088955 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);