public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V2] I2C: S3C24X0: Resolve build error for VCMA9
Date: Mon, 14 Jan 2013 07:42:38 +0100	[thread overview]
Message-ID: <50F3A8DE.2060300@denx.de> (raw)
In-Reply-To: <1358142576-1957-1-git-send-email-rajeshwari.s@samsung.com>

Hello Rajeshwari,

On 14.01.2013 06:49, Rajeshwari Shinde wrote:
> This patch resolves the following build errors for I2C driver in
> VCMA9:
>
> In file included from s3c24x0_i2c.c:40:0:
> s3c24x0_i2c.h:38:17: error: field 'id' has incomplete type
> s3c24x0_i2c.c:70:39: error: 'CONFIG_MAX_I2C_NUM' undeclared here (not
> in a function) s3c24x0_i2c.c:70:31: warning: 'i2c_bus' defined but
> not used [-Wunused-variable] s3c24x0_i2c.c:72:12: warning:
> 'i2c_busses' defined but not used [-Wunused-variable]

Which U-Boot do you use? I just tried current head of mainline:

[hs at pollux u-boot]$ git log
commit fd70aa41468be4324275910f85578cb5be6a0439
Author: angelo <sysamfw@gmail.com>
Date:   Fri Nov 23 12:23:39 2012 +0000

     m68k/lib: fix serial driver relocation

     Fix coldfire serial driver bindings no more relocated to ram after last
     changes to drivers/serial/serial.c (regression).
     Serial initialization in ram has to be called after that gd->reloc_off is
     calculated.

     Signed-off-by: Angelo Dureghello <sysamfw@gmail.com>
     Cc: Jason Jin <jason.jin@freescale.com>
     Acked-by: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
     Tested-by: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>

and it compiles clean with eldk-5.2:

[hs at pollux u-boot]$ ./MAKEALL VCMA9
Configuring for VCMA9 board...
    text    data     bss     dec     hex filename
  523055   15112  296056  834223   cbaaf ./u-boot

--------------------- SUMMARY ----------------------------
Boards compiled: 1
----------------------------------------------------------
[hs at pollux u-boot]$

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  reply	other threads:[~2013-01-14  6:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <712aayush@samsung.com>
2013-01-14  5:49 ` [U-Boot] [PATCH V2] I2C: S3C24X0: Resolve build error for VCMA9 Rajeshwari Shinde
2013-01-14  6:42   ` Heiko Schocher [this message]
2013-01-14  6:49     ` Rajeshwari Birje
2013-01-14 10:22   ` Minkyu Kang

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=50F3A8DE.2060300@denx.de \
    --to=hs@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