From: Simon Glass <sjg@chromium.org>
Date: Sun, 5 Feb 2023 22:40:22 +0000 (-0700)
Subject: Correct SPL use of OCTEON_SERIAL_BOOTCMD
X-Git-Tag: v2025.01-rc5-pxa1908~1114^2~53
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-favicon.png?a=commitdiff_plain;h=60b0002e25d15eba060160244b05250cf312ad49;p=u-boot.git

Correct SPL use of OCTEON_SERIAL_BOOTCMD

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_OCTEON_SERIAL_BOOTCMD defined in Kconfig

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

diff --git a/arch/mips/mach-octeon/cpu.c b/arch/mips/mach-octeon/cpu.c
index 1bdc6cd729..5adf4ba32c 100644
--- a/arch/mips/mach-octeon/cpu.c
+++ b/arch/mips/mach-octeon/cpu.c
@@ -451,7 +451,7 @@ int arch_misc_init(void)
 	if (CONFIG_IS_ENABLED(OCTEON_SERIAL_PCIE_CONSOLE))
 		init_pcie_console();
 
-	if (CONFIG_IS_ENABLED(OCTEON_SERIAL_BOOTCMD))
+	if (IS_ENABLED(CONFIG_OCTEON_SERIAL_BOOTCMD))
 		init_bootcmd_console();
 
 	return 0;