diff options
author | Thomas Chou | 2015-10-21 21:33:45 +0800 |
---|---|---|
committer | Thomas Chou | 2015-10-23 07:37:03 +0800 |
commit | 88d5ecf4b9c0d5a3bff5d6d98ab7383a550a57db (patch) | |
tree | 599e4aee08402b27726c8ae80c86a90d44d8220a /board/altera | |
parent | d21275ef5e7fe67c592896d6dbb157e219ec0450 (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.c | 12 |
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); |