Skip to content

Commit

Permalink
[ARM] OpenRD base: Initialize PCI express and i2c
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
Acked-by: Dieter Kiermaier <dk-arm-linux@gmx.de>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
  • Loading branch information
Simon Kagstrom authored and Nicolas Pitre committed Nov 6, 2009
1 parent 662aece commit 5d89655
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/arm/mach-kirkwood/openrd_base-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,20 @@ 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> */
.phys_io = KIRKWOOD_REGS_PHYS_BASE,
Expand Down

0 comments on commit 5d89655

Please sign in to comment.