Thread (25 messages) 25 messages, 3 authors, 2011-07-07
STALE5480d

[PATCH v3 03/13] OMAP4: hwmod: Replace CLKCTRL absolute address with offset macros

From: paul@pwsan.com (Paul Walmsley)
Date: 2011-07-07 08:25:23
Also in: linux-omap

On Fri, 1 Jul 2011, Benoit Cousson wrote:
The CLKCTRL register was accessed using an absolute address.
The usage of hardcoded macros to calculate virtual address from physical
one should be avoided as much as possible.
The usage of a offset will allow future improvement like migration from
the current architecture code toward a module driver.

Update cm_xxx accessor, move definition to the proper header file and
update copyrights.

Signed-off-by: Benoit Cousson <redacted>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Rajendra Nayak <redacted>
This patch was updated to use '_cminst_' in the function names that are in 
the cminst44xx.c file, rather than '_cm_', to preserve consistency with 
the rest of the file.  Updated patch below.


- Paul
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help