Skip to content

Commit

Permalink
staging: tidspbridge: MMU2 registers are limited to 32-bit data access
Browse files Browse the repository at this point in the history
According to OMAP3 TRM access to MMU registers shall be strictly 32-bit
aligned.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Acked-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Vladimir Zapolskiy authored and Greg Kroah-Hartman committed Oct 19, 2011
1 parent 6b7200f commit fcde2bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/tidspbridge/hw/hw_mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,5 +558,5 @@ static hw_status mmu_set_ram_entry(const void __iomem *base_address,

void hw_mmu_tlb_flush_all(const void __iomem *base)
{
__raw_writeb(1, base + MMU_GFLUSH);
__raw_writel(1, base + MMU_GFLUSH);
}

0 comments on commit fcde2bf

Please sign in to comment.