Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344958
b: refs/heads/master
c: b851c06
h: refs/heads/master
v: v3
  • Loading branch information
Lee Jones authored and Samuel Ortiz committed Nov 11, 2012
1 parent 4940254 commit 1e61f60
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8c4203cb5814f53169dc4ff084a65dcf509b6f60
refs/heads/master: b851c06c241d4a2e43ee6007705765a9b1b3abb7
8 changes: 6 additions & 2 deletions trunk/drivers/mfd/db8500-prcmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -2711,7 +2711,7 @@ static int db8500_irq_init(struct device_node *np)

void __init db8500_prcmu_early_init(void)
{
if (cpu_is_u8500v2()) {
if (cpu_is_u8500v2() || cpu_is_u9540()) {
void *tcpm_base = ioremap_nocache(U8500_PRCMU_TCPM_BASE, SZ_4K);

if (tcpm_base != NULL) {
Expand All @@ -2729,7 +2729,11 @@ void __init db8500_prcmu_early_init(void)
iounmap(tcpm_base);
}

tcdm_base = __io_address(U8500_PRCMU_TCDM_BASE);
if (cpu_is_u9540())
tcdm_base = ioremap_nocache(U8500_PRCMU_TCDM_BASE,
SZ_4K + SZ_8K) + SZ_8K;
else
tcdm_base = __io_address(U8500_PRCMU_TCDM_BASE);
} else {
pr_err("prcmu: Unsupported chip version\n");
BUG();
Expand Down

0 comments on commit 1e61f60

Please sign in to comment.