提交 6f72c3f9 编写于 作者: G Gwendal Grignou 提交者: Lee Jones

mfd: cros_ec: add ec_align macros

To reduce code and improve performance of the embedded controller
firmware, pragma __aligned(2) or __aligned(4) are used when alignment to
16 or 32 bit boundary is expected.

Define all ec_align to packed when compiling kernel.
Signed-off-by: NGwendal Grignou <gwendal@chromium.org>
Acked-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com>
Acked-by: NBenson Leung <bleung@chromium.org>
Reviewed-by: NFabien Lahoudere <fabien.lahoudere@collabora.com>
Signed-off-by: NLee Jones <lee.jones@linaro.org>
上级 df95a3bd
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册