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 <s...@chromium.org> --- drivers/misc/cros_ec.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) Applied to u-boot-dm/master, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot