diff options
author | Feng Tang <feng.tang@intel.com> | 2010-06-01 13:07:34 +0100 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2010-08-03 09:48:47 -0400 |
commit | 35f2915c3bd0cd6950bdd9d461de565e8feae852 (patch) | |
tree | 128fef844ad0713ceb8c7d3003ccaba9f2754ec6 /arch/x86/include | |
parent | b95d13eaf3d4ea093aba95c7f615f3b10708a2c4 (diff) | |
download | blackbird-op-linux-35f2915c3bd0cd6950bdd9d461de565e8feae852.tar.gz blackbird-op-linux-35f2915c3bd0cd6950bdd9d461de565e8feae852.zip |
intel_scu_ipc: add definitions for vRTC related command
Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/intel_scu_ipc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/include/asm/intel_scu_ipc.h b/arch/x86/include/asm/intel_scu_ipc.h index 4470c9ad4a3e..03200452069b 100644 --- a/arch/x86/include/asm/intel_scu_ipc.h +++ b/arch/x86/include/asm/intel_scu_ipc.h @@ -1,6 +1,12 @@ #ifndef _ASM_X86_INTEL_SCU_IPC_H_ #define _ASM_X86_INTEL_SCU_IPC_H_ +#define IPCMSG_VRTC 0xFA /* Set vRTC device */ + +/* Command id associated with message IPCMSG_VRTC */ +#define IPC_CMD_VRTC_SETTIME 1 /* Set time */ +#define IPC_CMD_VRTC_SETALARM 2 /* Set alarm */ + /* Read single register */ int intel_scu_ipc_ioread8(u16 addr, u8 *data); |