diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-10-21 13:33:45 (GMT) |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2015-10-22 23:37:03 (GMT) |
commit | 88d5ecf4b9c0d5a3bff5d6d98ab7383a550a57db (patch) | |
tree | 599e4aee08402b27726c8ae80c86a90d44d8220a /board/altera/nios2-generic | |
parent | d21275ef5e7fe67c592896d6dbb157e219ec0450 (diff) | |
download | u-boot-fsl-qoriq-88d5ecf4b9c0d5a3bff5d6d98ab7383a550a57db.tar.xz |
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/nios2-generic')
-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 384fee9..cb98a08 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); |