treewide: fdt: Move fdt_get_config_... to ofnode_conf_read...
authorSimon Glass <sjg@chromium.org>
Sat, 7 Aug 2021 13:24:01 +0000 (07:24 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 25 Sep 2021 15:46:15 +0000 (09:46 -0600)
commit7de8bd03c37af6120cf5bba9bf1adb492ed56868
tree03d977384b888feedf77e0d274f7682d732d6be9
parentbb38d77ca779cc8bdad3d4ceb6cecc687f4987c2
treewide: fdt: Move fdt_get_config_... to ofnode_conf_read...

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@chromium.org>
20 files changed:
arch/arm/mach-rockchip/rk3188/rk3188.c
arch/sandbox/dts/test.dts
arch/x86/cpu/coreboot/coreboot.c
board/dhelectronics/dh_stm32mp1/board.c
board/firefly/firefly-rk3288/firefly-rk3288.c
board/st/stm32mp1/stm32mp1.c
common/autoboot.c
common/board_r.c
common/cli.c
common/spl/spl_spi.c
disk/part_efi.c
doc/device-tree-bindings/config.txt
drivers/core/ofnode.c
drivers/video/cfb_console.c
drivers/video/exynos/exynos_mipi_dsi.c
env/mmc.c
include/dm/ofnode.h
include/fdtdec.h
lib/fdtdec.c
test/dm/ofnode.c