msm: Remove references to tcsr in fsm9XXX targets
In FSM9XXX TCSR address space cannot be accessed from Apps
processor anymore.
Change-Id: I32d3c02fa8908d91619e2e340de7c844128131a6
Acked-by: Kaushik Sikdar <ksidkar@qualcomm.com>
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
diff --git a/arch/arm/mach-msm/dfe-fsm9xxx.c b/arch/arm/mach-msm/dfe-fsm9xxx.c
index d372171..1a956e3 100644
--- a/arch/arm/mach-msm/dfe-fsm9xxx.c
+++ b/arch/arm/mach-msm/dfe-fsm9xxx.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
+/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -159,9 +159,6 @@
(struct hh_dev_file_info *) file->private_data;
switch (cmd) {
- case DFE_IOCTL_IS_UMTS:
- return __raw_readl(MSM_TCSR_BASE + 0x0008) & 0x01;
-
case DFE_IOCTL_READ_REGISTER:
{
unsigned int offset, value;
diff --git a/arch/arm/mach-msm/rfic-fsm9xxx.c b/arch/arm/mach-msm/rfic-fsm9xxx.c
index 68147c6..32b654b 100644
--- a/arch/arm/mach-msm/rfic-fsm9xxx.c
+++ b/arch/arm/mach-msm/rfic-fsm9xxx.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+/* Copyright (c) 2010-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -158,9 +158,6 @@
pdev = ftr_dev_info + pdfi->ftrId;
switch (cmd) {
- case RFIC_IOCTL_IS_UMTS:
- return __raw_readl(MSM_TCSR_BASE + 0x0008) & 0x01;
-
case RFIC_IOCTL_READ_REGISTER:
{
int ret;
diff --git a/include/linux/fsm_dfe_hh.h b/include/linux/fsm_dfe_hh.h
index 5f09f1e..7938518 100644
--- a/include/linux/fsm_dfe_hh.h
+++ b/include/linux/fsm_dfe_hh.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
+/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -60,9 +60,6 @@
};
#define DFE_IOCTL_MAGIC 'h'
-#define DFE_IOCTL_IS_UMTS \
- _IOC(_IOC_READ, DFE_IOCTL_MAGIC, 0x00, \
- 0)
#define DFE_IOCTL_READ_REGISTER \
_IOC(_IOC_READ, DFE_IOCTL_MAGIC, 0x01, \
sizeof(unsigned int *))
diff --git a/include/linux/fsm_rfic_ftr.h b/include/linux/fsm_rfic_ftr.h
index 5e8cd89..18b7947 100644
--- a/include/linux/fsm_rfic_ftr.h
+++ b/include/linux/fsm_rfic_ftr.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+/* Copyright (c) 2010-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -52,9 +52,6 @@
};
#define RFIC_IOCTL_MAGIC 'f'
-#define RFIC_IOCTL_IS_UMTS \
- _IOC(_IOC_READ, RFIC_IOCTL_MAGIC, 0x00, \
- 0)
#define RFIC_IOCTL_READ_REGISTER \
_IOC(_IOC_READ, RFIC_IOCTL_MAGIC, 0x01, \
sizeof(unsigned int *))