[PATCH 5/6] x86: Add a cpuid command

Simon Glass sjg at chromium.org
Fri Oct 18 01:12:11 CEST 2024


It is useful to obtain the results of cpuid queries, so add a command
for this.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 cmd/x86/Makefile        |  2 +-
 cmd/x86/cpuid.c         | 37 ++++++++++++++++++++++
 doc/usage/cmd/cpuid.rst | 68 +++++++++++++++++++++++++++++++++++++++++
 doc/usage/index.rst     |  1 +
 test/cmd/Makefile       |  1 +
 test/cmd/cpuid.c        | 22 +++++++++++++
 6 files changed, 130 insertions(+), 1 deletion(-)
 create mode 100644 cmd/x86/cpuid.c
 create mode 100644 doc/usage/cmd/cpuid.rst
 create mode 100644 test/cmd/cpuid.c

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list