From e3847f822f6ca232b86e7e0784adcc56e87d9362 Mon Sep 17 00:00:00 2001 From: Philippe Langlais Date: Mon, 16 Jan 2012 11:11:37 +0100 Subject: u5500: sdi: deprecate v1 hardware DB5500 v1 is no longer supported and now the code makes the assumption that it runs on hardware revision >= v2. So, lets deprecate all the v1 codes. Signed-off-by: srinidhi kasagar --- arch/arm/mach-ux500/board-u5500-sdi.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/arch/arm/mach-ux500/board-u5500-sdi.c b/arch/arm/mach-ux500/board-u5500-sdi.c index 8954e8a3ffd..25b519b5476 100644 --- a/arch/arm/mach-ux500/board-u5500-sdi.c +++ b/arch/arm/mach-ux500/board-u5500-sdi.c @@ -233,16 +233,9 @@ static void sdi1_configure(void) gpio_direction_output(pin[1], 0); } -#define SDI_PID_V1 0x00480180 -#define SDI_PID_V2 0x10480180 void __init u5500_sdi_init(struct device *parent) { - u32 periphid = 0; - - if (cpu_is_u5500v1()) - periphid = SDI_PID_V1; - else - periphid = SDI_PID_V2; + u32 periphid = 0x10480180; /* * Fix me in 5500 v2.1 -- cgit v1.2.3