Skip to content

Commit

Permalink
ARM: shmobile: sh73a0: Use ioremap() to map L2C registers
Browse files Browse the repository at this point in the history
Replace using the legacy IOMEM() macro to map the L2C registers by
ioremap().

Signed-off-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
geertu committed Nov 23, 2020
1 parent 5b0480f commit cc85e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-shmobile/setup-sh73a0.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ static void __init sh73a0_generic_init(void)
{
#ifdef CONFIG_CACHE_L2X0
/* Shared attribute override enable, 64K*8way */
l2x0_init(IOMEM(0xf0100000), 0x00400000, 0xc20f0fff);
l2x0_init(ioremap(0xf0100000, PAGE_SIZE), 0x00400000, 0xc20f0fff);
#endif
}

Expand Down

0 comments on commit cc85e21

Please sign in to comment.