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 /cpu | |
parent | 8b74bf31fe57edfc502f94e905977304eac943ca (diff) | |
download | u-boot-e86e5a07485bc0f33103004594a28882c028e7af.zip u-boot-e86e5a07485bc0f33103004594a28882c028e7af.tar.gz u-boot-e86e5a07485bc0f33103004594a28882c028e7af.tar.bz2 |
Code cleanup for GCC-3.3.x compilers
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/arm720t/serial_netarm.c | 1 | ||||
-rw-r--r-- | cpu/s3c44b0/cpu.c | 2 | ||||
-rw-r--r-- | cpu/s3c44b0/serial.c | 6 |
3 files changed, 5 insertions, 4 deletions
diff --git a/cpu/arm720t/serial_netarm.c b/cpu/arm720t/serial_netarm.c index 56cdb0a..5b41949 100644 --- a/cpu/arm720t/serial_netarm.c +++ b/cpu/arm720t/serial_netarm.c @@ -169,6 +169,7 @@ int serial_getc (void) break; default: /* panic, be never here */ + break; } serial_reg_ch1->status_a |= NETARM_SER_STATA_RX_CLOSED; diff --git a/cpu/s3c44b0/cpu.c b/cpu/s3c44b0/cpu.c index 1a8a17d..2d5e2e8 100644 --- a/cpu/s3c44b0/cpu.c +++ b/cpu/s3c44b0/cpu.c @@ -272,7 +272,7 @@ int i2c_probe(uchar chip) not implemented */ - printf(__FUNCTION__ " chip %d\n", (int) chip); + printf("i2c_probe chip %d\n", (int) chip); return -1; } diff --git a/cpu/s3c44b0/serial.c b/cpu/s3c44b0/serial.c index 61ccfc7..70b4ee8 100644 --- a/cpu/s3c44b0/serial.c +++ b/cpu/s3c44b0/serial.c @@ -112,7 +112,7 @@ void serial_setbrg (void) divisor = 121; #else # error CONFIG_S3C44B0_CLOCK_SPEED undefined -#endif break; +#endif /* break; */ case 57600: #if CONFIG_S3C44B0_CLOCK_SPEED==66 @@ -121,7 +121,7 @@ void serial_setbrg (void) divisor = 80; #else # error CONFIG_S3C44B0_CLOCK_SPEED undefined -#endif break; +#endif /* break; */ case 115200: #if CONFIG_S3C44B0_CLOCK_SPEED==66 @@ -130,7 +130,7 @@ void serial_setbrg (void) divisor = 40; #else # error CONFIG_S3C44B0_CLOCK_SPEED undefined -#endif break; +#endif /* break; */ } serial_flush_output(); |