This patch is based on umg's 2.6.35 kernel which adds support for
authorAlan Cox <alan@linux.intel.com>
Fri, 15 Jul 2011 13:40:05 +0000 (14:40 +0100)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:36:39 +0000 (12:36 -0800)
commitbba980be21d74a0c76ca0ddf9f244501b76ad69f
tree6bbd475d8937cc5ee11f20e19679222f49f428cb
parentc94fde195ede0005a5d9b0a4c95c7aa5cabd92dc
This patch is based on umg's 2.6.35 kernel which adds support for
a few new commands. It also has a few fixes and and adapt to the
upstram ipc driver structure.

key changes are:
- new ioctl commands to support fw upgrade and access to mip header,
  hand-off buffer and revision
- consolidated fw update logic with moorestown
- misc clean up such as uncessary header files, typos

the fw update flow has not been tested since scu fw support is not
officially released. there is also issue with the current userspace
utiltity which hardcoding search for ipcutil driver as misc char
driver. The overall firmware update flow between ipcutil driver and
userspace should be revisited in that it does not use the existing
request_firmware interface, instead it relies on ioctl calls specific
to the driver. This will likely to happen after fw update support is
in the official scu fw release.

Most ipc commands has been tested with success on iCDK, including
access to MSIC registers, vRTC, OSNIB read. But there are occasional
ipc command timeout on mip and vrtc access. needs futher investigation
with fw team.

Change-Id: I755b5b21b769180a33261e5be71a63e58ea88a1b
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
arch/x86/include/asm/intel_scu_ipc.h
drivers/platform/x86/intel_scu_ipc.c
drivers/platform/x86/intel_scu_ipcutil.c