]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: acpi: Print revisions in hex format
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 21 Sep 2020 08:34:21 +0000 (11:34 +0300)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 21 Sep 2020 08:41:35 +0000 (16:41 +0800)
commit88ac1cc96aa44fd76a59cf756bbc05f69971f310
tree33bc55d556d7b6a9adb228469fcc273ba9390cd9
parent628972ebf8d7a4648bcef5091691a71b9f363360
cmd: acpi: Print revisions in hex format

The revisions are usually dates in hex-decimal format representing
YYYYmmdd. Print them in hex to see this clearly.

Before:
  ...
  FACP 000e5420 0000f4 (v06 U-BOOT U-BOOTBL 538970376 INTL 0)
  DSDT 000e4780 000ba0 (v02 U-BOOT U-BOOTBL 65536 INTL 538968870)
  ...
After:
  ...
  FACP 000e5420 0000f4 (v06 U-BOOT U-BOOTBL 20200908 INTL 0)
  DSDT 000e4780 000ba0 (v02 U-BOOT U-BOOTBL 10000 INTL 20200326)
  ...

Fixes: b482e091420d ("acpi: Add an acpi command")
Cc: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
cmd/acpi.c
test/dm/acpi.c