[PATCH 2/2] dm: core: Adjust dump-sorting to get stats only when needed

Simon Glass sjg at chromium.org
Wed Oct 4 19:58:52 CEST 2023


If we are not sorting the tree we don't need to get the stats. Adjust the
code to avoid the wasted time.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 drivers/core/dump.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list