public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Simon Schwarz <simonschwarzcor@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] armv7: only call save_boot_params for OMAP
Date: Fri, 16 Sep 2011 17:32:58 +0200	[thread overview]
Message-ID: <1316187178-13700-1-git-send-email-simonschwarzcor@gmail.com> (raw)

save_boot_params in start.S got called for all armv7 based cpus. Since the
function relys on the OMAP specific bootloader this broke some boards
(or to be specific added more errors to already broken ones). This patch
wraps the call in #ifdef CONFIG_OMAP.

Signed-off-by: Simon Schwarz <simonschwarzcor@gmail.com>
---
 arch/arm/cpu/armv7/start.S |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/cpu/armv7/start.S b/arch/arm/cpu/armv7/start.S
index db8e9d2..7cb380c 100644
--- a/arch/arm/cpu/armv7/start.S
+++ b/arch/arm/cpu/armv7/start.S
@@ -134,7 +134,9 @@ IRQ_STACK_START_IN:
  */
 
 reset:
+#ifdef CONFIG_OMAP
 	bl	save_boot_params
+#endif
 	/*
 	 * set the cpu to SVC32 mode
 	 */
-- 
1.7.4.1

             reply	other threads:[~2011-09-16 15:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-16 15:32 Simon Schwarz [this message]
2011-09-16 16:13 ` [U-Boot] [PATCH] armv7: only call save_boot_params for OMAP Aneesh V
2011-09-19  8:02   ` Simon Schwarz
2011-09-20  6:22     ` Aneesh V

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=1316187178-13700-1-git-send-email-simonschwarzcor@gmail.com \
    --to=simonschwarzcor@googlemail.com \
    --cc=u-boot@lists.denx.de \
    /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