[PATCH 01/12] treewide: fdt: Move fdt_get_config_... to ofnode_conf_read...

Simon Glass sjg at chromium.org
Sun Sep 26 20:40:32 CEST 2021


The current API is outdated as it requires a devicetree pointer.

Move these functions to use the ofnode API and update this globally. Add
some tests while we are here.

Correct the call in exynos_dsim_config_parse_dt() which is obviously
wrong.

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

 arch/arm/mach-rockchip/rk3188/rk3188.c        |  4 +-
 arch/sandbox/dts/test.dts                     |  3 ++
 arch/x86/cpu/coreboot/coreboot.c              |  5 +--
 board/dhelectronics/dh_stm32mp1/board.c       |  5 ++-
 board/firefly/firefly-rk3288/firefly-rk3288.c |  4 +-
 board/st/stm32mp1/stm32mp1.c                  |  5 ++-
 common/autoboot.c                             |  8 ++--
 common/board_r.c                              |  4 +-
 common/cli.c                                  |  7 ++-
 common/spl/spl_spi.c                          |  8 ++--
 disk/part_efi.c                               |  8 ++--
 doc/device-tree-bindings/config.txt           |  4 +-
 drivers/core/ofnode.c                         | 33 ++++++++++++++
 drivers/video/cfb_console.c                   |  4 +-
 drivers/video/exynos/exynos_mipi_dsi.c        |  4 +-
 env/mmc.c                                     |  5 ++-
 include/dm/ofnode.h                           | 37 ++++++++++++++++
 include/fdtdec.h                              | 33 --------------
 lib/fdtdec.c                                  | 44 -------------------
 test/dm/ofnode.c                              | 15 +++++++
 20 files changed, 124 insertions(+), 116 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list