x86: Fix saying arch_cpu_init_dm in debug/docs
authorTom Rini <trini@konsulko.com>
Sat, 14 Jan 2023 20:49:35 +0000 (15:49 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 18 Jan 2023 17:46:13 +0000 (12:46 -0500)
The function arch_cpu_init_dm was renamed to fsp_setup_pinctrl in these
cases, so rename debug / docs to match.

Cc: Simon Glass <sjg@chromium.org>
Fixes: 7fe32b3442f0 ("event: Convert arch_cpu_init_dm() to use events")
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/spl.c
doc/board/google/chromebook_coral.rst

index 34ef68f..bdf57ef 100644 (file)
@@ -92,7 +92,7 @@ static int x86_spl_init(void)
 #ifndef CONFIG_TPL
        ret = fsp_setup_pinctrl(NULL, NULL);
        if (ret) {
-               debug("%s: arch_cpu_init_dm() failed\n", __func__);
+               debug("%s: fsp_setup_pinctrl() failed\n", __func__);
                return ret;
        }
 #endif
index 8edbf04..23e2db4 100644 (file)
@@ -259,7 +259,7 @@ Boot flow - U-Boot pre-relocation
 
 U-Boot (running from start_from_spl.S) starts running in RAM and uses the same
 stack as SPL. It does various init activities before relocation. Notably
-arch_cpu_init_dm() sets up the pin muxing for the chip using a very large table
+fsp_setup_pinctrl() sets up the pin muxing for the chip using a very large table
 in the device tree.
 
 PCI auto-config is not used before relocation, but CONFIG_PCI of course is