From e8272cbd59afdc1617e8c0288ebd663fd743d4b5 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sat, 14 Jan 2023 15:49:35 -0500 Subject: [PATCH] x86: Fix saying arch_cpu_init_dm in debug/docs The function arch_cpu_init_dm was renamed to fsp_setup_pinctrl in these cases, so rename debug / docs to match. Cc: Simon Glass Fixes: 7fe32b3442f0 ("event: Convert arch_cpu_init_dm() to use events") Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- arch/x86/lib/spl.c | 2 +- doc/board/google/chromebook_coral.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c index 34ef68f2bb..bdf57ef7b5 100644 --- a/arch/x86/lib/spl.c +++ b/arch/x86/lib/spl.c @@ -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 diff --git a/doc/board/google/chromebook_coral.rst b/doc/board/google/chromebook_coral.rst index 8edbf0429c..23e2db4556 100644 --- a/doc/board/google/chromebook_coral.rst +++ b/doc/board/google/chromebook_coral.rst @@ -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 -- 2.39.5