]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/rbc823/rbc823.c
Cleanup for GCC-4.x
[people/ms/u-boot.git] / board / rbc823 / rbc823.c
index d0ceb4a7d5c29a23296b2ce94504d69536624d61..9e60c2b646978beb3193740a2bc537f4e0610aa9 100644 (file)
@@ -127,7 +127,7 @@ const uint static_table[] =
 
 int checkboard (void)
 {
-       unsigned char *s = getenv ("serial#");
+       char *s = getenv ("serial#");
 
        if (!s || strncmp (s, "TQM8", 4)) {
                printf ("### No HW ID - assuming RBC823\n");
@@ -193,14 +193,14 @@ long int initdram (int board_type)
         *
         * try 8 column mode
         */
-       size8 = dram_size (CFG_MAMR_8COL, (ulong *) SDRAM_BASE4_PRELIM,
+       size8 = dram_size (CFG_MAMR_8COL, (long *) SDRAM_BASE4_PRELIM,
                           SDRAM_MAX_SIZE);
        udelay (1000);
 
        /*
         * try 9 column mode
         */
-       size9 = dram_size (CFG_MAMR_9COL, (ulong *) SDRAM_BASE4_PRELIM,
+       size9 = dram_size (CFG_MAMR_9COL, (long *) SDRAM_BASE4_PRELIM,
                           SDRAM_MAX_SIZE);
 
        if (size8 < size9) {    /* leave configuration at 9 columns     */