]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - k3conf/k3conf.git/blobdiff - common/k3conf.c
cmd: cpuinfo: Add support for printing cpuinfo
[k3conf/k3conf.git] / common / k3conf.c
index 0ab0e72d222e906fd3d7ca36a7fd95064ec8079e..af57dfb7a84480d3ad076f410f530fda2c359cd7 100644 (file)
@@ -106,6 +106,10 @@ int main(int argc, char *argv[])
        } else if (!strcmp(argv[0], "--version")) {
                k3conf_print_version(stdout);
                goto main_exit;
+       } else if (!strcmp(argv[0], "--cpuinfo")) {
+               k3conf_print_version(stdout);
+               dump_cpu_info();
+               goto main_exit;
        } else if (!strcmp(argv[0], "show")) {
                argc--;
                argv++;