]> git.ipfire.org Git - thirdparty/u-boot.git/commit - arch/x86/lib/acpi_nhlt.c
x86: nhlt: Correct output of bytes and 16-bit data
authorSimon Glass <sjg@chromium.org>
Wed, 4 Nov 2020 16:57:26 +0000 (09:57 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 6 Nov 2020 01:51:29 +0000 (09:51 +0800)
commita87fff80eeaaac3653e3d3c63ca73298fd38c02c
tree4a985d4e718392bfedabadf897f0c37c01a111eb
parentd2cb7a22da0fec2b67b356e9fb58247cdff8c95e
x86: nhlt: Correct output of bytes and 16-bit data

At present these functions are incorrect. Fix them and add some logging
and checking to avoid future problems.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/acpi_nhlt.c