commit | 7cd49a264594251d87e504fe07dcb1fe2c99bbef | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Tue Dec 05 23:16:55 2017 +0100 |
committer | Sudeep Holla <sudeep.holla@arm.com> | Fri Feb 23 15:12:41 2018 +0000 |
tree | e29359b9f8d005aaf57a3e9b6260e617fea8f085 | |
parent | a963d7c5264eaa544837ac8182a9eea55007a669 [diff] |
firmware: arm_scpi: improve handling of protocol and firmware version subfields By using FIELD_GET and proper masks we can avoid quite some shifting and masking macro magic and make the code better readable. Tested-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>