Skip to content

Commit

Permalink
ARM: ux500: delete remnant U5500 macros
Browse files Browse the repository at this point in the history
The code using these ASIC detection functions is now gone so
we remove it.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Linus Walleij committed Aug 9, 2012
1 parent 0d7614f commit a803521
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions arch/arm/mach-ux500/include/mach/id.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,35 +51,6 @@ static inline bool cpu_is_u8500_family(void)
return cpu_is_u8500() || cpu_is_u9540();
}

static inline bool __attribute_const__ cpu_is_u5500(void)
{
return dbx500_partnumber() == 0x5500;
}

/*
* 5500 revisions
*/

static inline bool __attribute_const__ cpu_is_u5500v1(void)
{
return cpu_is_u5500() && (dbx500_revision() & 0xf0) == 0xA0;
}

static inline bool __attribute_const__ cpu_is_u5500v2(void)
{
return (dbx500_id.revision & 0xf0) == 0xB0;
}

static inline bool __attribute_const__ cpu_is_u5500v20(void)
{
return cpu_is_u5500() && ((dbx500_revision() & 0xf0) == 0xB0);
}

static inline bool __attribute_const__ cpu_is_u5500v21(void)
{
return cpu_is_u5500() && (dbx500_revision() == 0xB1);
}

/*
* 8500 revisions
*/
Expand Down

0 comments on commit a803521

Please sign in to comment.