diff mbox series

mips: mtmips: Kconfig: select options used in SPL

Message ID 1613574451-5697-1-git-send-email-dhu@hodcarrier.org
State Deferred
Delegated to: Tom Rini
Headers show
Series mips: mtmips: Kconfig: select options used in SPL | expand

Commit Message

Du Huanpeng Feb. 17, 2021, 3:07 p.m. UTC
debug_uart_init         SPL_SERIAL_SUPPORT
__udelay                SPL_LIBGENERIC_SUPPORT
puts                    SPL_LIBCOMMON_SUPPORT
default_serial_console  SPL_DM / SPL_DM_SERIAL

after disable SPL, and re-enable SPL, options above
and some more options will be un-set. then cause a
compile error.
add minmal options needed by compile.

Signed-off-by: Du Huanpeng <dhu@hodcarrier.org>
---
 arch/mips/mach-mtmips/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/arch/mips/mach-mtmips/Kconfig b/arch/mips/mach-mtmips/Kconfig
index 8756cadb..d6ae3a0 100644
--- a/arch/mips/mach-mtmips/Kconfig
+++ b/arch/mips/mach-mtmips/Kconfig
@@ -44,8 +44,12 @@  config SOC_MT7620
 	select PINCTRL_MT7620
 	select MT7620_SERIAL
 	select MISC
+	select SPL_SERIAL_SUPPORT if SPL
+	select SPL_LIBGENERIC_SUPPORT if SPL
+	select SPL_LIBCOMMON_SUPPORT if SPL
 	select SPL_SEPARATE_BSS if SPL
 	select SPL_LOADER_SUPPORT if SPL
+	imply  SPL_DM if SPL
 	select SPL_OF_CONTROL if SPL_DM
 	select SPL_OF_PLATDATA if SPL_DM
 	select SPL_DM_SERIAL if SPL_DM