Big white-space cleanup.
[oweals/u-boot.git] / board / esd / cpciiser4 / cpciiser4.c
index 3d1f1fa09726428d7120481c4e8ccf2721c8ee9e..fcb8cbbe735caf24f07e576103ea7b91097dbb29 100644 (file)
@@ -26,6 +26,8 @@
 #include <asm/processor.h>
 #include <command.h>
 
+DECLARE_GLOBAL_DATA_PTR;
+
 /*cmd_boot.c*/
 
 extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
@@ -55,8 +57,6 @@ const unsigned char fpgadata[] = {
 
 int board_early_init_f (void)
 {
-       DECLARE_GLOBAL_DATA_PTR;
-
        int index, len, i;
        volatile unsigned char dummy;
        int status;
@@ -153,7 +153,7 @@ int checkboard (void)
 {
        int index;
        int len;
-       unsigned char str[64];
+       char str[64];
        int i = getenv_r ("serial#", str, sizeof (str));
 
        puts ("Board: ");