From: simon.kagstrom@netinsight.net (Simon Kagstrom)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: OpenRD base: Initialize PCI express, i2c and UART 1
Date: Wed, 26 Aug 2009 09:42:30 +0200 [thread overview]
Message-ID: <20090826094230.574eda24@marrow.netinsight.se> (raw)
ARM: OpenRD base: Initialize PCI express, i2c and UART 1
Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
---
(For the marvell git tree)
arch/arm/mach-kirkwood/openrd_base-setup.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-kirkwood/openrd_base-setup.c b/arch/arm/mach-kirkwood/openrd_base-setup.c
index f9a2166..003db06 100644
--- a/arch/arm/mach-kirkwood/openrd_base-setup.c
+++ b/arch/arm/mach-kirkwood/openrd_base-setup.c
@@ -64,6 +64,7 @@ static void __init openrd_base_init(void)
kirkwood_mpp_conf(openrd_base_mpp_config);
kirkwood_uart0_init();
+ kirkwood_uart1_init();
kirkwood_nand_init(ARRAY_AND_SIZE(openrd_base_nand_parts), 25);
kirkwood_ehci_init();
@@ -71,8 +72,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,
--
1.6.0.4
next reply other threads:[~2009-08-26 7:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-26 7:42 Simon Kagstrom [this message]
2009-08-26 13:57 ` [PATCH] ARM: OpenRD base: Initialize PCI express, i2c and UART 1 Simon Kagstrom
2009-08-26 14:03 ` Dhaval Vasa
2009-10-01 9:26 ` Simon Kagstrom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090826094230.574eda24@marrow.netinsight.se \
--to=simon.kagstrom@netinsight.net \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).