From: Magnus Damm <magnus.damm@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 02/02] ARM: shmobile: Remove romImage CONFIG_MEMORY_START
Date: Wed, 05 Jun 2013 07:55:31 +0000 [thread overview]
Message-ID: <20130605075531.17653.38073.sendpatchset@w520> (raw)
In-Reply-To: <20130605075514.17653.77135.sendpatchset@w520>
From: Magnus Damm <damm@opensource.se>
Instead of relying on CONFIG_MEMORY_START for memory
base address, let each romImage board header file
specify this information.
This is reworks code not to rely on CONFIG_MEMORY_START
which in turn is needed for ARCH_MULTIPLATFORM.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/boot/compressed/head-shmobile.S | 2 +-
arch/arm/mach-shmobile/include/mach/zboot.h | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
--- 0025/arch/arm/boot/compressed/head-shmobile.S
+++ work/arch/arm/boot/compressed/head-shmobile.S 2013-06-05 11:56:07.000000000 +0900
@@ -46,7 +46,7 @@ __image_start:
__image_end:
.long _got_end
__load_base:
- .long CONFIG_MEMORY_START + 0x02000000 @ Load at 32Mb into SDRAM
+ .long MEMORY_START + 0x02000000 @ Load at 32Mb into SDRAM
__loaded:
.long __continue
.align
--- 0001/arch/arm/mach-shmobile/include/mach/zboot.h
+++ work/arch/arm/mach-shmobile/include/mach/zboot.h 2013-06-05 11:55:55.000000000 +0900
@@ -12,9 +12,11 @@
#ifdef CONFIG_MACH_AP4EVB
#define MACH_TYPE MACH_TYPE_AP4EVB
+#define MEMORY_START 0x40000000
#include "mach/head-ap4evb.txt"
#elif defined(CONFIG_MACH_MACKEREL)
#define MACH_TYPE MACH_TYPE_MACKEREL
+#define MEMORY_START 0x40000000
#include "mach/head-mackerel.txt"
#else
#error "unsupported board."
next prev parent reply other threads:[~2013-06-05 7:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-05 7:55 [PATCH 00/02] ARM: shmobile: romImage update Magnus Damm
2013-06-05 7:55 ` [PATCH 01/02] ARM: shmobile: Let romImage rely on default ATAGS Magnus Damm
2013-06-05 11:51 ` Arnd Bergmann
2013-06-06 3:13 ` Magnus Damm
2013-06-06 16:19 ` Arnd Bergmann
2013-06-07 0:14 ` Magnus Damm
2013-06-12 14:10 ` Simon Horman
2013-06-05 7:55 ` Magnus Damm [this message]
2013-06-12 14:10 ` [PATCH 02/02] ARM: shmobile: Remove romImage CONFIG_MEMORY_START Simon Horman
2013-06-12 14:09 ` [PATCH 00/02] ARM: shmobile: romImage update Simon Horman
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=20130605075531.17653.38073.sendpatchset@w520 \
--to=magnus.damm@gmail.com \
--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).