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/s3c44b0 | |
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 'cpu/s3c44b0')
-rw-r--r-- | cpu/s3c44b0/cpu.c | 2 | ||||
-rw-r--r-- | cpu/s3c44b0/serial.c | 6 |
2 files changed, 4 insertions, 4 deletions
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(); |