Skip to contentSkip to conversation

mfd/db8500-prcmu: remove support for early silicon revisions

PATCH New Linus Walleij 2 participants 2 messages Jan 2, 2012 – Jan 3, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd/db8500-prcmu: remove support for early silicon revisions

From: Linus Walleij <[email protected]>

The DB8500 ED (Early Drop) and V1 are only available inside of ST-Ericsson or partners, we have actively replaced and scrapped these prototypes. All Nova products on the open market (such as the Snowball board) are based on V2 and later ASIC variants. So let us focus on supporting the silicon that will be used and delete this to get a clear overview.

---
Hi ARM-SoC guys, can either of you please merge this patch to wherever the other ux500 patches are pending? There is some cross-dependence on the MFD core and I intended to include this patch in the original pull request, but I screwed up, breaking linux-next. Thanks.

---
 drivers/mfd/db8500-prcmu.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
drivers/mfd/db8500-prcmu.c +2 -5
index a25ab9c..af8e0ef 100644
@@ -2102,14 +2102,11 @@ static struct irq_chip prcmu_irq_chip = {
 void __init db8500_prcmu_early_init(void)
 {
 	unsigned int i;
-
-	if (cpu_is_u8500v1()) {
-		tcdm_base = __io_address(U8500_PRCMU_TCDM_BASE_V1);
-	} else if (cpu_is_u8500v2()) {
+	if (cpu_is_u8500v2()) {
 		void *tcpm_base = ioremap_nocache(U8500_PRCMU_TCPM_BASE, SZ_4K);
 
 		if (tcpm_base != NULL) {
-			int version;
+			u32 version;
 			version = readl(tcpm_base + PRCMU_FW_VERSION_OFFSET);
 			prcmu_version.project_number = version & 0xFF;
 			prcmu_version.api_version = (version >> 8) & 0xFF;
Signature · 1 line
1.7.8
#1 lore raw

PATCH 1/1 mfd/db8500-prcmu: remove support for early silicon revisions

Quoted 5 lines · Linus Walleij

Hi ARM-SoC guys, can either of you please merge this patch to wherever the other ux500 patches are pending? There is some cross-dependence on the MFD core and I intended to include this patch in the original pull request, but I screwed up, breaking linux-next. Thanks.

Applied to next/devel.

Arnd