ARM: Integrator: convert to use register definitions
Rather than using converted base address plus offset, use the register address itself now that IO_ADDRESS() can cope with these. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
@ -26,10 +26,10 @@
|
||||
|
||||
static struct cpufreq_driver integrator_driver;
|
||||
|
||||
#define CM_ID (IO_ADDRESS(INTEGRATOR_HDR_BASE)+INTEGRATOR_HDR_ID_OFFSET)
|
||||
#define CM_OSC (IO_ADDRESS(INTEGRATOR_HDR_BASE)+INTEGRATOR_HDR_OSC_OFFSET)
|
||||
#define CM_STAT (IO_ADDRESS(INTEGRATOR_HDR_BASE)+INTEGRATOR_HDR_STAT_OFFSET)
|
||||
#define CM_LOCK (IO_ADDRESS(INTEGRATOR_HDR_BASE)+INTEGRATOR_HDR_LOCK_OFFSET)
|
||||
#define CM_ID IO_ADDRESS(INTEGRATOR_HDR_ID)
|
||||
#define CM_OSC IO_ADDRESS(INTEGRATOR_HDR_OSC)
|
||||
#define CM_STAT IO_ADDRESS(INTEGRATOR_HDR_STAT)
|
||||
#define CM_LOCK IO_ADDRESS(INTEGRATOR_HDR_LOCK)
|
||||
|
||||
static const struct icst525_params lclk_params = {
|
||||
.ref = 24000,
|
||||
|
Reference in New Issue
Block a user