From: Igor Grinberg <grinberg@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] gplugD: Fix for error:MACH_TYPE_SHEEVAD undeclared
Date: Mon, 31 Oct 2011 10:11:47 +0200 [thread overview]
Message-ID: <4EAE5843.4050007@compulab.co.il> (raw)
In-Reply-To: <1320046607-14445-1-git-send-email-ajay.bhargav@einfochips.com>
On 10/31/11 09:36, Ajay Bhargav wrote:
> This patch fix the build failure (error: 'MACH_TYPE_SHEEVAD' undeclared
> (first use in this function)) for gplugD due to recent sync of
> mach-types.h with its linux original.
>
> Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
> ---
> include/configs/gplugd.h | 12 +++++++++++-
> 1 files changed, 11 insertions(+), 1 deletions(-)
>
> diff --git a/include/configs/gplugd.h b/include/configs/gplugd.h
> index 24bf767..9813309 100644
> --- a/include/configs/gplugd.h
> +++ b/include/configs/gplugd.h
> @@ -32,6 +32,16 @@
> #define __CONFIG_GPLUGD_H
>
> /*
> + * FIXME: fix for error caused due to recent update to mach-types.h
> + */
> +#include <asm/mach-types.h>
> +#ifdef MACH_TYPE_SHEEVAD
> +#error "MACH_TYPE_SHEEVAD has been defined properly, please remove this."
> +#else
> +#define MACH_TYPE_SHEEVAD 2625
> +#endif
> +
> +/*
> * Version number information
> */
> #define CONFIG_IDENT_STRING "\nMarvell-gplugD"
> @@ -42,7 +52,7 @@
> #define CONFIG_SHEEVA_88SV331xV5 1 /* CPU Core subversion */
> #define CONFIG_ARMADA100 1 /* SOC Family Name */
> #define CONFIG_ARMADA168 1 /* SOC Used on this Board */
> -#define CONFIG_MACH_SHEEVAD /* Machine type */
> +#define CONFIG_MACH_TYPE MACH_TYPE_SHEEVAD /* Machine type */
> #define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */
>
> #define CONFIG_SYS_TEXT_BASE 0x00f00000
--
Regards,
Igor.
next prev parent reply other threads:[~2011-10-31 8:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-31 7:36 [U-Boot] [PATCH] gplugD: Fix for error:MACH_TYPE_SHEEVAD undeclared Ajay Bhargav
2011-10-31 8:11 ` Igor Grinberg [this message]
2011-10-31 8:20 ` Prafulla Wadaskar
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=4EAE5843.4050007@compulab.co.il \
--to=grinberg@compulab.co.il \
--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