All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mips: mtmips: Kconfig: select options used in SPL
@ 2021-02-17 15:07 Du Huanpeng
  0 siblings, 0 replies; only message in thread
From: Du Huanpeng @ 2021-02-17 15:07 UTC (permalink / raw)
  To: u-boot

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 --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
-- 
2.7.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-17 15:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-17 15:07 [PATCH] mips: mtmips: Kconfig: select options used in SPL Du Huanpeng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.