From: Westergreen, Dalon Date: Thu, 20 Feb 2020 17:04:17 +0000 Subject: [PATCH v2 01/21] configs: agilex: Remove CONFIG_OF_EMBED In-Reply-To: <87e04ad8-8f29-f589-5b85-be78725513e4@denx.de> References: <1582115146-28658-1-git-send-email-chee.hong.ang@intel.com> <1582115146-28658-2-git-send-email-chee.hong.ang@intel.com> <23f0c92a-cd68-20ee-3925-0be0988bf8d4@denx.de> <87e04ad8-8f29-f589-5b85-be78725513e4@denx.de> Message-ID: <0617510d1954c94d7312c424bd7d36b6d39bcf03.camel@intel.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 Thu, 2020-02-20 at 17:44 +0100, Marek Vasut wrote: On 2/20/20 3:12 AM, Ang, Chee Hong wrote: On 2/19/20 1:25 PM, chee.hong.ang at intel.com wrote: From: Chee Hong Ang < chee.hong.ang at intel.com > CONFIG_OF_EMBED was primarily enabled to support the agilex spl hex file requirements. Since this option now produces a warning during build, and the spl hex can be created using alternate methods, CONFIG_OF_EMBED is no longer needed. Signed-off-by: Chee Hong Ang < chee.hong.ang at intel.com > If I apply just this patch, is the platform still bootable ? Yes. I tested on the platform. There is a similar patch from Dalon for Stratix10 and it still yet to be applied to mainline: https://lists.denx.de/pipermail/u-boot/2019-September/384906.html I hope the patch from Dalon get applied to mainline before these patchsets. In fact, this "CONFIG_OF_EMBED" produce warning during build. Better get rid of this. If you just remove OF_EMBED, will the DT still be correctly passed in ? The warning is there for a reason and just removing OF_EMBED to silence the warning isn't the right approach. But if this works on Agilex, fine. Yes, it is fine, the u-boot binary and dtb are just cat'ed together instead. --dalon