Fix compilation warnings on a few 85xx boards.
authorJon Loeliger <jdl@freescale.com>
Fri, 20 Oct 2006 20:54:34 +0000 (15:54 -0500)
committerJon Loeliger <jdl@freescale.com>
Fri, 20 Oct 2006 20:54:34 +0000 (15:54 -0500)
Signed-off-by: Jon Loeliger <jdl@freescale.com>
board/cds/common/ft_board.c
board/cds/mpc8548cds/mpc8548cds.c
board/mpc8560ads/mpc8560ads.c

index a897d045a0a35b4aa88dcf448c2df5408ceb7a8c..9d97905ca9b13b1a6bc2466ac4b075a55cf79e03 100644 (file)
@@ -45,8 +45,6 @@ static void cds_pci_fixup(void *blob)
                /* We rotate the interrupt pins so that the mapping
                 * changes depending on the slot the carrier card is in.
                 */
-               int j;
-
                map[3] = ((map[3] + slot - 2) % 4) + 1;
 
                map+=7;
index 41bcf885181c8a75d08ecdb893936c1602718e6a..7433ebf25bc7c96daa838817b07e15279d63efa2 100644 (file)
@@ -329,7 +329,7 @@ pci_init_board(void)
 
 int last_stage_init(void)
 {
-       unsigned int temp;
+       unsigned short temp;
 
        /* Change the resistors for the PHY */
        /* This is needed to get the RGMII working for the 1.3+
index c1572a35d3f7be4c6dd469958654a53a1c6064d3..d19bad683533ffa822af5db2b9169c646f0993f8 100644 (file)
 #include <spd.h>
 #include <miiphy.h>
 
+#if defined(CONFIG_OF_FLAT_TREE)
+#include <ft_build.h>
+#endif
+
 #if defined(CONFIG_DDR_ECC) && !defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER)
 extern void ddr_enable_ecc(unsigned int dram_size);
 #endif