public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] scb9328: Add ARM relocation support
Date: Sat, 09 Jul 2011 08:52:56 +0200	[thread overview]
Message-ID: <4E17FAC8.4020702@denx.de> (raw)
In-Reply-To: <4E119EBE.7020102@synertronixx.de>

On 07/04/2011 01:06 PM, Torsten Koschorrek wrote:
> This patch fixes compiler errors due to missing definitions of
> CONFIG_SYS_SDRAM_BASE and CONFIG_SYS_INIT_SP_ADDR.
> It also does some cleanup: CONFIG_SYS_TEXT_BASE was moved to scb9328.h,
> obsolete config.mk was removed. The scb9328 board has 1 DRAM bank, so don't
> ask for more banks. CONFIG_NR_DRAM_BANKS will ever be 1.
> 
> Signed-off-by: Torsten Koschorrek <koschorrek@synertronixx.de>
> ---

Torsten,

checkpatch reports a couple of errors and your patch seems corrupted.
Have you used "git send-email" to post your patch ?

WARNING: space prohibited between function name and open parenthesis '('
#60: FILE: board/scb9328/scb9328.c:48:
+void dram_init_banksize (void)

ERROR: patch seems to be corrupt (line wrapped?)
#80: FILE: board/scb9328/scb9328.c:53:
diff --git a/include/configs/scb9328.h b/include/configs/scb9328.h

ERROR: Macros with complex values should be enclosed in parenthesis
#90: FILE: board/scb9328/scb9328.c:131:
+#define CONFIG_SYS_INIT_SP_ADDR	SCB9328_SDRAM_1 + 0xf00000

total: 2 errors, 2 warnings, 46 lines checked

Can you fix them and repost ?

> +#define CONFIG_SYS_INIT_SP_ADDR	SCB9328_SDRAM_1 + 0xf00000

You must add parenthesis surrounding the values.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2011-07-09  6:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-04 11:06 [U-Boot] [PATCH v2] scb9328: Add ARM relocation support Torsten Koschorrek
2011-07-09  6:52 ` Stefano Babic [this message]
2011-07-09 15:36   ` Torsten Koschorrek
2011-07-10  5:25     ` Graeme Russ

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=4E17FAC8.4020702@denx.de \
    --to=sbabic@denx.de \
    --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