firmware: arm_scmi: Add mechanism to unpack message headers
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 8 Jul 2019 08:40:52 +0000 (09:40 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 12 Aug 2019 11:23:00 +0000 (12:23 +0100)
commit22d1f76109f74b716a5f4d46bade61f544f40f81
treeb003edfb22b92ac2db66e56c2f9163d9039c6c24
parent38c927fbebb3d69c561ae77600f64bb1c308d0c2
firmware: arm_scmi: Add mechanism to unpack message headers

In order to identify the message type when a response arrives, we need
a mechanism to unpack the message header similar to packing. Let's
add one.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/driver.c