
22 Nov
2018
22 Nov
'18
9:20 p.m.
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: Simon Glass sjg@chromium.org ---
drivers/misc/cros_ec.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-)
Applied to u-boot-dm/master, thanks!