Commit b7ea032e authored by Bryan Wu's avatar Bryan Wu

ARM: mach-integrator: move CM_CTRL to header file for accessing by other functions

Signed-off-by: default avatarBryan Wu <bryan.wu@canonical.com>
parent 77a49494
...@@ -172,8 +172,6 @@ static struct amba_pl010_data integrator_uart_data = { ...@@ -172,8 +172,6 @@ static struct amba_pl010_data integrator_uart_data = {
.set_mctrl = integrator_uart_set_mctrl, .set_mctrl = integrator_uart_set_mctrl,
}; };
#define CM_CTRL IO_ADDRESS(INTEGRATOR_HDR_CTRL)
static DEFINE_RAW_SPINLOCK(cm_lock); static DEFINE_RAW_SPINLOCK(cm_lock);
/** /**
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
*/ */
void cm_control(u32, u32); void cm_control(u32, u32);
#define CM_CTRL IO_ADDRESS(INTEGRATOR_HDR_CTRL)
#define CM_CTRL_LED (1 << 0) #define CM_CTRL_LED (1 << 0)
#define CM_CTRL_nMBDET (1 << 1) #define CM_CTRL_nMBDET (1 << 1)
#define CM_CTRL_REMAP (1 << 2) #define CM_CTRL_REMAP (1 << 2)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment