[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090819154520.61e33fc1@marrow.netinsight.se>
Date: Wed, 19 Aug 2009 15:45:20 +0200
From: Simon Kagstrom <simon.kagstrom@...insight.net>
To: Simon Kagstrom <simon.kagstrom@...insight.net>
Cc: Dhaval Vasa <dhaval.vasa@...fochips.com>, nico@....org,
linux-kernel@...r.kernel.org, rabeeh@...vell.com,
linux-arm-kernel@...ts.arm.linux.org.uk
Subject: Re: [PATCH v2] [ARM] Kirkwood: Marvell OpenRD-Base board support
added to v2.6.31-rc5
On Wed, 19 Aug 2009 15:18:14 +0200
Simon Kagstrom <simon.kagstrom@...insight.net> wrote:
> In my patch, I also called kirkwood_i2c_init (see below), which at
> least make the I2C bus appear (not that I've tested it very much).
And also from my patch, I added initialization of PCIe as well (taken
from rd88f6281-setup.c). So you could perhaps also add that to your
patch as well?
If needed:
Signed-off-by: Simon Kagstrom <simon.kagstrom@...insight.net>
// Simon
diff --git a/arch/arm/mach-kirkwood/openrd_base-setup.c b/arch/arm/mach-kirkwood/openrd_base-setup.c
index f9a2166..30f84b1 100644
--- a/arch/arm/mach-kirkwood/openrd_base-setup.c
+++ b/arch/arm/mach-kirkwood/openrd_base-setup.c
@@ -71,7 +71,18 @@ static void __init openrd_base_init(void)
kirkwood_ge00_init(&openrd_base_ge00_data);
kirkwood_sata_init(&openrd_base_sata_data);
kirkwood_sdio_init(&openrd_base_mvsdio_data);
+
+ kirkwood_i2c_init();
+}
+
+static int __init openrd_base_pci_init(void)
+{
+ if (machine_is_openrd_base())
+ kirkwood_pcie_init();
+
+ return 0;
}
+subsys_initcall(openrd_base_pci_init);
MACHINE_START(OPENRD_BASE, "Marvell OpenRD Base Board")
/* Maintainer: Dhaval Vasa <dhaval.vasa@...fochips.com> */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists