diff options
author | wdenk <wdenk> | 2004-07-01 16:30:44 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-07-01 16:30:44 +0000 |
commit | 39539887ea7dc298c98ac1fddd38551dfa335120 (patch) | |
tree | 31e3bc0bd93cead0c977b8fd26ede7d06f70e0a1 /include/configs/h2_p2_dbg_board.h | |
parent | e94d2cd9d1dc0f58b18e7c31fc9345129b1a44fb (diff) | |
download | u-boot-imx-39539887ea7dc298c98ac1fddd38551dfa335120.zip u-boot-imx-39539887ea7dc298c98ac1fddd38551dfa335120.tar.gz u-boot-imx-39539887ea7dc298c98ac1fddd38551dfa335120.tar.bz2 |
* Code cleanup (ARM mostly)
* Patch by Curt Brune, 17 May 2004:
- Add support for Samsung S3C4510B CPU (ARM7tdmi based SoC)
- Add support for ESPD-Inc. EVB4510 Board
Diffstat (limited to 'include/configs/h2_p2_dbg_board.h')
-rw-r--r-- | include/configs/h2_p2_dbg_board.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/h2_p2_dbg_board.h b/include/configs/h2_p2_dbg_board.h index 6082d2c..e0d823f 100644 --- a/include/configs/h2_p2_dbg_board.h +++ b/include/configs/h2_p2_dbg_board.h @@ -108,14 +108,14 @@ static inline void set_led_state(int state) { static unsigned long hw_led_state = 0; - volatile unsigned short *led_address = 0x04000016; + volatile unsigned short *led_address = (volatile unsigned short *)0x04000016; hw_led_state = ((unsigned long)state); *((unsigned short *) (led_address)) = (unsigned short) (~hw_led_state & 0xFFFF); } -static inline void spin_up_leds() +static inline void spin_up_leds(void) { volatile int i, j, k; |