diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2010-12-27 02:46:01 (GMT) |
---|---|---|
committer | Scott McNutt <smcnutt@psyent.com> | 2011-02-08 13:29:53 (GMT) |
commit | d8a593c68bac7b9d9b26af6fa8c392671213ce93 (patch) | |
tree | 837a43ae4ef7ac2e87c1facbb480ca8d5ba21656 /board/altera/nios2-generic/custom_fpga.h | |
parent | 85debefaf2d3d0dea800fa84bfe0e9823bc03d89 (diff) | |
download | u-boot-d8a593c68bac7b9d9b26af6fa8c392671213ce93.tar.xz |
nios2: add gpio_is_valid
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
Diffstat (limited to 'board/altera/nios2-generic/custom_fpga.h')
-rw-r--r-- | board/altera/nios2-generic/custom_fpga.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/altera/nios2-generic/custom_fpga.h b/board/altera/nios2-generic/custom_fpga.h index a11add5..f7f3853 100644 --- a/board/altera/nios2-generic/custom_fpga.h +++ b/board/altera/nios2-generic/custom_fpga.h @@ -50,6 +50,7 @@ /* led_pio.s1 is a altera_avalon_pio */ #define LED_PIO_BASE 0x82120870 +#define LED_PIO_WIDTH 8 /* high_res_timer.s1 is a altera_avalon_timer */ #define CONFIG_SYS_TIMER_BASE 0x82120820 |