]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdt: Pass the device tree to fdtdec_prepare_fdt()
authorSimon Glass <sjg@chromium.org>
Wed, 21 Dec 2022 23:08:20 +0000 (16:08 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 18 Jan 2023 18:49:13 +0000 (11:49 -0700)
commitec4f327145ead89a5fd6714baa878112818b7147
treec1ccadde998235ea0bfc925ce15536ff1b6b55df
parentb62d34937ad9eeb4ee67eb62cf1937f35f0d014c
fdt: Pass the device tree to fdtdec_prepare_fdt()

This function uses gd->fdt_blob a lot and cannot be used to check any
other device tree. Use a parameter instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/fdtdec.c