From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Minor corrections for i386 (v2008.10-rc2)
Date: Mon, 22 Sep 2008 22:29:53 +0200 [thread overview]
Message-ID: <20080922202953.52333248EE@gemini.denx.de> (raw)
In-Reply-To: <48CE15B3.1030305@gmail.com>
Dear Graeme Russ,
In message <48CE15B3.1030305@gmail.com> you wrote:
> Several minor corrections to allow clean builds of new i386 and sc520
> based boards based on 2008.10
Soory, but some parts of this cannot work:
> --- a/examples/82559_eeprom.c
> +++ b/examples/82559_eeprom.c
> @@ -19,7 +19,6 @@
> */
>
> #define _PPC_STRING_H_ /* avoid unnecessary str/mem functions */
> -#define _LINUX_STRING_H_ /* avoid unnecessary str/mem functions */
Will this still build for other architectures, say ARM and MIPS and
Power?
> diff --git a/lib_i386/video_bios.c b/lib_i386/video_bios.c
> index ce96a3e..1541773 100644
> --- a/lib_i386/video_bios.c
> +++ b/lib_i386/video_bios.c
> @@ -21,6 +21,8 @@
> * MA 02111-1307 USA
> */
>
> +#ifdef CONFIG_VIDEO
> +
> #include <common.h>
> #include <pci.h>
> #include <malloc.h>
This cannot work. CONFIG_VIDEO can only be set in the board config
file, which gets included implicitly by #include <common.h>, but you
use the variable before that, so it will always be undefined, which is
probably not what you intend.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"...and the fully armed nuclear warheads, are, of course, merely a
courtesy detail."
prev parent reply other threads:[~2008-09-22 20:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-15 7:58 [U-Boot] [PATCH] Minor corrections for i386 (v2008.10-rc2) Graeme Russ
2008-09-22 20:29 ` Wolfgang Denk [this message]
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=20080922202953.52333248EE@gemini.denx.de \
--to=wd@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