summaryrefslogtreecommitdiff
path: root/board/cds
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2006-10-20 15:54:34 -0500
committerJon Loeliger <jdl@freescale.com>2006-10-20 15:54:34 -0500
commitf5012827df11ca0c9be1df5f8b153e188dc2fa7c (patch)
treefa4879a5be8e7d9a4adfbb712b035b2147adfd63 /board/cds
parentd22200f0204ce3210ed47d4e13864ebc60b93918 (diff)
downloadu-boot-imx-f5012827df11ca0c9be1df5f8b153e188dc2fa7c.zip
u-boot-imx-f5012827df11ca0c9be1df5f8b153e188dc2fa7c.tar.gz
u-boot-imx-f5012827df11ca0c9be1df5f8b153e188dc2fa7c.tar.bz2
Fix compilation warnings on a few 85xx boards.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'board/cds')
-rw-r--r--board/cds/common/ft_board.c2
-rw-r--r--board/cds/mpc8548cds/mpc8548cds.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/board/cds/common/ft_board.c b/board/cds/common/ft_board.c
index a897d04..9d97905 100644
--- a/board/cds/common/ft_board.c
+++ b/board/cds/common/ft_board.c
@@ -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;
diff --git a/board/cds/mpc8548cds/mpc8548cds.c b/board/cds/mpc8548cds/mpc8548cds.c
index 41bcf88..7433ebf 100644
--- a/board/cds/mpc8548cds/mpc8548cds.c
+++ b/board/cds/mpc8548cds/mpc8548cds.c
@@ -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+