From: Du Huanpeng Date: Wed, 17 Feb 2021 23:07:31 +0800 Subject: [PATCH] mips: mtmips: Kconfig: select options used in SPL Message-ID: <1613574451-5697-1-git-send-email-dhu@hodcarrier.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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