On Fri, 17 Sep 2010 23:41:46 +0200
Ilya Yanok <ya...@emcraft.com> wrote:

> MPC8308 has only one PCIE host controller so we want it to compile
> without CONFIG_SYS_PCIE2_CFG_{BASE,SIZE} defined.
> 
> Signed-off-by: Ilya Yanok <ya...@emcraft.com>
> ---

5 out of 5 patches applied to u-boot-mpc83xx/next.

one more added:

>From 432f64e8c076ee215fd47903e30e2eca72a7fe54 Mon Sep 17 00:00:00 2001
From: Kim Phillips <kim.phill...@freescale.com>
Date: Wed, 22 Sep 2010 15:31:01 -0500
Subject: [PATCH] mpc83xx: fix pcie build warning

Configuring for MPC8308RDB board...
pcie.c: In function 'mpc83xx_pcie_register_hose':
pcie.c:143: warning: assignment makes pointer from integer without a cast

Signed-off-by: Kim Phillips <kim.phill...@freescale.com>
---
 arch/powerpc/cpu/mpc83xx/pcie.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/cpu/mpc83xx/pcie.c b/arch/powerpc/cpu/mpc83xx/pcie.c
index e70d19e..09912be 100644
--- a/arch/powerpc/cpu/mpc83xx/pcie.c
+++ b/arch/powerpc/cpu/mpc83xx/pcie.c
@@ -140,7 +140,7 @@ static void mpc83xx_pcie_register_hose(int bus, struct 
pci_region *reg,
        hose->first_busno = pci_last_busno() + 1;
        hose->last_busno = 0xff;
 
-       hose->cfg_addr = mpc83xx_pcie_cfg_space[bus].base;
+       hose->cfg_addr = (unsigned int *)mpc83xx_pcie_cfg_space[bus].base;
 
        pci_set_ops(hose,
                        pcie_read_config_byte,
-- 
1.7.2.1

Thanks,

Kim

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to