From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Mon, 15 May 2017 08:27:33 -0700 Subject: [U-Boot] [PATCH 2/2][v5] armv8: ls2080aqds: Add support for SD boot In-Reply-To: References: <1493979149-30093-1-git-send-email-santan.kumar@nxp.com> <1493979149-30093-2-git-send-email-santan.kumar@nxp.com> Message-ID: <4c3f09e6-371b-2a53-59f6-eead5066dff1@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/14/2017 09:43 PM, Santan Kumar wrote: >>> >>> -#ifdef CONFIG_FSL_MC_ENET >>> +#if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD) >> >> You have many changes like this in this patch. Why don't you change the >> Kconfig >> >> --- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig >> +++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig >> @@ -96,7 +96,7 @@ config FSL_LSCH3 >> config FSL_MC_ENET >> bool "Management Complex network" >> depends on ARCH_LS2080A >> - default y >> + default y if !SPL_BUILD >> select RESV_RAM >> help >> Enable Management Complex (MC) network >> >> Please try it. >> >> York > [Santan Kumar] I have already tried it. SPL_BUILD flag was not enabled when we this code is executing. That's why I haven't added it in Kconfig. > Thanks for checking. York