From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Grinberg Date: Wed, 02 Nov 2011 12:13:26 +0200 Subject: [U-Boot] [PATCH] ARM: dig297: Define MACH_TYPE_OMAP3_CPS for DIG297 board In-Reply-To: <1320226830-18245-1-git-send-email-luca.ceresoli@comelit.it> References: <1320226830-18245-1-git-send-email-luca.ceresoli@comelit.it> Message-ID: <4EB117C6.9050108@compulab.co.il> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Sandeep Paulraj > Cc: Albert Aribaud > Cc: Wolfgang Denk > --- > 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 > +#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.