Messages in this thread Patch in this message | | | Date | Wed, 19 Aug 2009 15:45:20 +0200 | From | Simon Kagstrom <> | 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@netinsight.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@netinsight.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@einfochips.com> */
| |