Hello Paul,

> -----Original Message-----
> From: [email protected] [mailto:linux-omap-
> [email protected]] On Behalf Of Paul Walmsley
> Sent: Wednesday, January 20, 2010 2:44 AM
> To: [email protected]
> Cc: [email protected]; [email protected]; linux-arm-
> [email protected]
> Subject: [PATCH] OMAP CPU ID: fix OMAP4 build failure
> 
> 
> Hello Abhijit,
> 
> it seems that my for_2.6.34 branch does not build unless the following
> patch, or one like it, is included.  Any comments?
> 
> 
> - Paul
> 
> 
> From: Paul Walmsley <[email protected]>
> 
> 
> omap_4430sdp_defconfig currently does not build due to some missing CPU
> IDs:
> 
> In file included from arch/arm/mach-omap2/powerdomains.h:59,
>                  from arch/arm/mach-omap2/io.c:42:
> arch/arm/mach-omap2/powerdomains44xx.h:39: error: 'CHIP_IS_OMAP4430'
> undeclared here (not in a function)
> 
> ... so add CHIP_IS_OMAP4430ES1.  Note that this is not yet set by
> mach-omap2/id.c; this is for TI to fix.
> 
> Signed-off-by: Paul Walmsley <[email protected]>
> Cc: Tony Lindgren <[email protected]>
> Cc: Abhijit Pagare <[email protected]>
> ---
>  arch/arm/plat-omap/include/plat/cpu.h |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-
> omap/include/plat/cpu.h
> index 9a028bd..8ada0ef 100644
> --- a/arch/arm/plat-omap/include/plat/cpu.h
> +++ b/arch/arm/plat-omap/include/plat/cpu.h
> @@ -44,7 +44,7 @@
>  int omap_type(void);
> 
>  struct omap_chip_id {
> -     u8 oc;
> +     u16 oc;

I think the latest patch-set that I had posted has this change in it. You can 
refer to the patch in the link below

http://marc.info/?l=linux-omap&m=126088474831309&w=2

>       u8 type;
>  };
> 
> @@ -470,8 +470,10 @@ IS_OMAP_TYPE(3517, 0x3517)
>  #define CHIP_IS_OMAP3430ES3_0                (1 << 5)
>  #define CHIP_IS_OMAP3430ES3_1                (1 << 6)
>  #define CHIP_IS_OMAP3630ES1          (1 << 7)
> +#define CHIP_IS_OMAP4430ES1          (1 << 8)
> 
>  #define CHIP_IS_OMAP24XX             (CHIP_IS_OMAP2420 | CHIP_IS_OMAP2430)
> +#define CHIP_IS_OMAP4430             CHIP_IS_OMAP4430ES1

I had used this flag earlier as there was nothing fixed as to name it as ES1 
that time. So now it can be migrated from CHIP_IS_OMAP4430 to 
CHIP_IS_OMAP4430ES1. I think CHIP_IS_OMAP4430 would be redundant in that case 
and should be removed. A patch would be essential to take care of that in the 
places where it is used. If you feel the same I can send a patch for fixing 
this.


Regards,
Abhijit

> 
>  /*
>   * "GE" here represents "greater than or equal to" in terms of ES
> --
> 1.6.6.rc2.5.g49666
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to