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 <d...@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

Reply via email to