mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
[ARM] OpenRD base: Initialize PCI express and i2c
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>
This commit is contained in:
parent
662aeced15
commit
5d89655573
1 changed files with 12 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue