[PATCH v3 14/23] fdt_support: always define fdt_fixup_mtdparts

Tom Rini trini at konsulko.com
Thu May 11 21:41:16 CEST 2023


On Mon, Mar 13, 2023 at 02:31:36PM -0700, Troy Kisky wrote:
> SPL code wants fdt_fixup_mtdparts defined as a NOP
> when the function isn't linked in.
> 
> Prepare for ifdef CONFIG_OF_LIBFDT being converted to
>  if CONFIG_IS_ENABLED(OF_LIBFDT)
> 
> Signed-off-by: Troy Kisky <troykiskyboundary at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
> 
> (no changes since v1)
> 
>  include/fdt_support.h | 23 +++++++++++++----------
>  1 file changed, 13 insertions(+), 10 deletions(-)

As Francesco's thread discusses, this function needs to be removed, by
and large, really is the answer.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230511/58273e5e/attachment.sig>


More information about the U-Boot mailing list