diff options
author | Simon Glass <sjg@chromium.org> | 2022-12-22 02:08:28 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-01-18 21:49:13 +0300 |
commit | ebc1d50ab51bd08f3adc19de37e81d23d655f9f4 (patch) | |
tree | 1f3f6e12b5085ad7742a339cd588a7ac37bec3ab /configs/am65x_evm_a53_defconfig | |
parent | b2412dd5dee36cef233053a66f0e0035bc30d44a (diff) | |
download | u-boot-ebc1d50ab51bd08f3adc19de37e81d23d655f9f4.tar.xz |
Revert "fdtdec: drop needlessly convoluted CONFIG_PHANDLE_CHECK_SEQ"
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.
Reverting this reduces time to set up driver model by about 30ms.
Before revert:
Accumulated time:
47,170 dm_r
53,237 dm_spl
572,986 dm_f
Accumulated time:
44,598 dm_r
50,347 dm_spl
549,133 dm_f
This reverts commit 26f981f295d00351b6f0c69b5317b254b2361cc0.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/am65x_evm_a53_defconfig')
-rw-r--r-- | configs/am65x_evm_a53_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index fe3346f215..ad46a74d1f 100644 --- a/configs/am65x_evm_a53_defconfig +++ b/configs/am65x_evm_a53_defconfig @@ -179,3 +179,4 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0451 CONFIG_USB_GADGET_PRODUCT_NUM=0x6162 CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_OF_LIBFDT_OVERLAY=y +CONFIG_PHANDLE_CHECK_SEQ=y |