From: Igor Grinberg <grinberg@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARM: dig297: Define MACH_TYPE_OMAP3_CPS for DIG297 board
Date: Wed, 02 Nov 2011 12:13:26 +0200 [thread overview]
Message-ID: <4EB117C6.9050108@compulab.co.il> (raw)
In-Reply-To: <1320226830-18245-1-git-send-email-luca.ceresoli@comelit.it>
Hi Luca,
On 11/02/11 11:40, Luca Ceresoli wrote:
> This was dropped in the latest mach-types sync (47af6f61bcd9) because it is
> not mainlined in Linux.
>
> Signed-off-by: Luca Ceresoli <luca.ceresoli@comelit.it>
> Cc: Sandeep Paulraj <s-paulraj@ti.com>
> Cc: Albert Aribaud <albert.u.boot@aribaud.net>
> Cc: Wolfgang Denk <wd@denx.de>
> ---
> include/configs/dig297.h | 7 +++++++
> 1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/dig297.h b/include/configs/dig297.h
> index 3a05c82..e1e308c 100644
> --- a/include/configs/dig297.h
> +++ b/include/configs/dig297.h
> @@ -32,6 +32,13 @@
> #ifndef __CONFIG_H
> #define __CONFIG_H
>
> +#include <asm/mach-types.h>
> +#ifdef MACH_TYPE_OMAP3_CPS
> +#error "MACH_TYPE_OMAP3_CPS has been defined properly, please remove this."
> +#else
> +#define MACH_TYPE_OMAP3_CPS 2751
> +#endif
It will be a good thing to use CONFIG_MACH_TYPE, while you are at this.
--
Regards,
Igor.
next prev parent reply other threads:[~2011-11-02 10:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-02 9:40 [U-Boot] [PATCH] ARM: dig297: Define MACH_TYPE_OMAP3_CPS for DIG297 board Luca Ceresoli
2011-11-02 10:05 ` [U-Boot] [PATCH 2/2] ARM: dig297: define CONFIG_MACH_TYPE Luca Ceresoli
2011-11-02 10:13 ` Igor Grinberg [this message]
2011-11-04 8:47 ` [U-Boot] [PATCH v2] ARM: dig297: Define MACH_TYPE_OMAP3_CPS and CONFIG_MACH_TYPE Luca Ceresoli
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=4EB117C6.9050108@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