]> rtime.felk.cvut.cz Git - linux-imx.git/commit
ARM: OMAP2+: AM33XX: hwmod: Fixup cpgmac0 hwmod entry
authorVaibhav Bedia <vaibhav.bedia@ti.com>
Tue, 29 Jan 2013 11:15:04 +0000 (16:45 +0530)
committerPaul Walmsley <paul@pwsan.com>
Fri, 8 Feb 2013 14:25:04 +0000 (07:25 -0700)
commitf13966608f9f65dd635eb400cc93f856a595531a
treea8adfa4dd7d4dcfe74e898e2e6315c31eda412fd
parent0bfbbded8dbd82ec252be2ea0a9e221a1b22e8ba
ARM: OMAP2+: AM33XX: hwmod: Fixup cpgmac0 hwmod entry

The current HWMOD code expects the memory region with
the IP's SYSCONFIG register to be marked with ADDR_TYPE_RT
flag.

CPGMAC0 hwmod entry specifies two memory regions and marks
both with the flag ADDR_TYPE_RT although only the 2nd region
has the SYSCONFIG register. This leads to the HWMOD code
accessing the wrong memory address for idle and standby
operations. Fix this by removing the ADDR_TYPE_RT flag from
the 1st memory region in CPGMAC0 hwmod entry.

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod_33xx_data.c