]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdt: Drop ifdefs in fdtdec_prepare_fdt()
authorSimon Glass <sjg@chromium.org>
Wed, 21 Dec 2022 23:08:19 +0000 (16:08 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 18 Jan 2023 18:49:13 +0000 (11:49 -0700)
commitb62d34937ad9eeb4ee67eb62cf1937f35f0d014c
tree7ce02d74fafdd8d6fd2e19ea41788400c05b1e5e
parentc662d0b72272b183d66039c9337f7b58b56530ff
fdt: Drop ifdefs in fdtdec_prepare_fdt()

This function is a bit messy with several #ifdefs. Convert them to use C
for the conditions.

Rewrite the function comment since most of it is stale.

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