Skip to content
Snippets Groups Projects
Commit 9fea76f5 authored by Simon Glass's avatar Simon Glass
Browse files

cros_ec: Use uint instead of u8 for parameters


There is no advantage to using a u8 for function parameters. It forces
the compiler to mask values and can increase code size. Also the command
enum has been extended to 16 bits. Update the functions to use uint
instead.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 6af7101b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment