diff options
author | wdenk <wdenk> | 2004-10-17 21:12:06 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-10-17 21:12:06 +0000 |
commit | e86e5a07485bc0f33103004594a28882c028e7af (patch) | |
tree | b3f2496049f2e8f82676372d840bc10bf077de44 /board/trab | |
parent | 8b74bf31fe57edfc502f94e905977304eac943ca (diff) | |
download | u-boot-imx-e86e5a07485bc0f33103004594a28882c028e7af.zip u-boot-imx-e86e5a07485bc0f33103004594a28882c028e7af.tar.gz u-boot-imx-e86e5a07485bc0f33103004594a28882c028e7af.tar.bz2 |
Code cleanup for GCC-3.3.x compilers
Diffstat (limited to 'board/trab')
-rw-r--r-- | board/trab/cmd_trab.c | 1 | ||||
-rw-r--r-- | board/trab/flash.c | 2 | ||||
-rw-r--r-- | board/trab/memory.c | 2 | ||||
-rw-r--r-- | board/trab/trab_fkt.c | 2 |
4 files changed, 4 insertions, 3 deletions
diff --git a/board/trab/cmd_trab.c b/board/trab/cmd_trab.c index 509e071..794c527 100644 --- a/board/trab/cmd_trab.c +++ b/board/trab/cmd_trab.c @@ -718,6 +718,7 @@ static void led_set (unsigned int state) gpio->PADAT &= ~(1 << 12); break; default: + break; } } diff --git a/board/trab/flash.c b/board/trab/flash.c index 2cccee6..b4435e3 100644 --- a/board/trab/flash.c +++ b/board/trab/flash.c @@ -166,7 +166,7 @@ void flash_print_info (flash_info_t * info) } printf ("\n"); - Done: +Done: ; } /*----------------------------------------------------------------------- diff --git a/board/trab/memory.c b/board/trab/memory.c index 97cb0f8..9104413 100644 --- a/board/trab/memory.c +++ b/board/trab/memory.c @@ -479,7 +479,7 @@ int memory_post_test (int flags) return ret; } -#endif 0 +#endif /* 0 */ /* #endif */ /* CONFIG_POST & CFG_POST_MEMORY */ /* #endif */ /* CONFIG_POST */ diff --git a/board/trab/trab_fkt.c b/board/trab/trab_fkt.c index f51a356..abb3b29 100644 --- a/board/trab/trab_fkt.c +++ b/board/trab/trab_fkt.c @@ -35,7 +35,7 @@ * command do_touch is invoked and the touch is not pressed within an specific * interval. */ -#undef CONFIG_TOUCH_WAIT_PRESSED 1 +#undef CONFIG_TOUCH_WAIT_PRESSED /* max time to wait for touch is pressed */ #ifndef CONFIG_TOUCH_WAIT_PRESSED |