[PATCH] Revert "fdtdec: drop needlessly convoluted CONFIG_PHANDLE_CHECK_SEQ"

Simon Glass sjg at chromium.org
Sun Jul 3 10:32:42 CEST 2022


Hi,

On Sun, 3 Jul 2022 at 02:25, Simon Glass <sjg at chromium.org> wrote:
>
> The fdt_path_offset() function is slow since it must scan the tree.
> This substantial overhead now applies to all boards.
>
> The original code may not be ideal but it is fit for purpose and is only
> needed on a few boards.
>
> We should revert this in time for the release.
>
> This reverts commit 26f981f295d00351b6f0c69b5317b254b2361cc0.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  configs/am65x_evm_a53_defconfig  | 1 +
>  configs/evb-ast2600_defconfig    | 1 +
>  configs/sama7g5ek_mmc1_defconfig | 1 +
>  configs/sama7g5ek_mmc_defconfig  | 1 +
>  lib/Kconfig                      | 7 +++++++
>  lib/fdtdec.c                     | 7 +++++--
>  6 files changed, 16 insertions(+), 2 deletions(-)

Please also see the context here:

https://patchwork.ozlabs.org/project/uboot/patch/20201111142605.17034-1-a-govindraju@ti.com/

Regards,
Simon


More information about the U-Boot mailing list