From: <dinguyen@opensource.altera.com>
To: <linux@arm.linux.org.uk>, <arnd@arndb.de>, <olof@lixom.net>,
<khilman@linaro.org>, <robh+dt@kernel.org>,
<ijc+devicetree@hellion.org.uk>, <galak@codeaurora.org>,
<mark.rutland@arm.com>, <pawel.moll@arm.com>
Cc: <dinh.linux@gmail.com>, <devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
Dinh Nguyen <dinguyen@opensource.altera.com>
Subject: [PATCH 6/7] ARM: socfpga: remove the need to map uart_io_desc
Date: Thu, 2 Apr 2015 23:39:57 -0500 [thread overview]
Message-ID: <1428035998-27542-7-git-send-email-dinguyen@opensource.altera.com> (raw)
In-Reply-To: <1428035998-27542-1-git-send-email-dinguyen@opensource.altera.com>
From: Dinh Nguyen <dinguyen@opensource.altera.com>
All the necessary debug uart mapping is already being done in
debug_ll_io_init, there's no need for it here.
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
---
arch/arm/mach-socfpga/socfpga.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/arch/arm/mach-socfpga/socfpga.c b/arch/arm/mach-socfpga/socfpga.c
index f5e597c..358f2c7 100644
--- a/arch/arm/mach-socfpga/socfpga.c
+++ b/arch/arm/mach-socfpga/socfpga.c
@@ -39,13 +39,6 @@ static struct map_desc scu_io_desc __initdata = {
.type = MT_DEVICE,
};
-static struct map_desc uart_io_desc __initdata = {
- .virtual = 0xfec02000,
- .pfn = __phys_to_pfn(0xffc02000),
- .length = SZ_8K,
- .type = MT_DEVICE,
-};
-
static void __init socfpga_scu_map_io(void)
{
unsigned long base;
@@ -60,8 +53,6 @@ static void __init socfpga_scu_map_io(void)
static void __init socfpga_map_io(void)
{
socfpga_scu_map_io();
- iotable_init(&uart_io_desc, 1);
- early_printk("Early printk initialized\n");
}
void __init socfpga_sysmgr_init(void)
--
2.2.1
next prev parent reply other threads:[~2015-04-03 4:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-03 4:39 [PATCH 0/7] ARM: socfpga: Add support for Arria10 devkit dinguyen
2015-04-03 4:39 ` [PATCH 1/7] ARM: socfpga: add cpu1-start-addr for Arria 10 dinguyen
2015-04-03 4:39 ` [PATCH 2/7] ARM: socfpga: disable the sdmmc, and uart nodes in the base arria10 dinguyen
2015-04-03 4:39 ` [PATCH 3/7] ARM: socfpga: dts: enable UART1 for the debug uart dinguyen
2015-04-03 4:39 ` [PATCH 4/7] ARM: socfpga: rename socdk board file to socdk_sdmmc dinguyen
2015-04-03 4:39 ` [PATCH 5/7] ARM: socfpga: Add support for UART1 debug uart for earlyprintk dinguyen
2015-04-03 4:39 ` dinguyen [this message]
2015-04-03 4:39 ` [PATCH 7/7] Documentation: DT bindings: add doc for Altera's SoCFPGA platform dinguyen
2015-04-27 20:37 ` [PATCH 0/7] ARM: socfpga: Add support for Arria10 devkit Pavel Machek
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=1428035998-27542-7-git-send-email-dinguyen@opensource.altera.com \
--to=dinguyen@opensource.altera.com \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=dinh.linux@gmail.com \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=khilman@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=olof@lixom.net \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.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).