x86: Don't print CPU info in TPL
authorSimon Glass <sjg@chromium.org>
Mon, 21 Oct 2019 03:37:56 +0000 (21:37 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Sat, 2 Nov 2019 23:20:28 +0000 (07:20 +0800)
We don't need to do this and it is done (in more detail) in U-Boot proper.
Drop this to save code space.

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

index 363984f7f2737da88d703952b0f9b4a69e6b202c..815849c7ff13344f7822f28ce113dbc60ba285e4 100644 (file)
@@ -45,11 +45,6 @@ static int x86_tpl_init(void)
                return ret;
        }
        preloader_console_init();
-       ret = print_cpuinfo();
-       if (ret) {
-               debug("%s: print_cpuinfo() failed\n", __func__);
-               return ret;
-       }
 
        return 0;
 }