]> git.baikalelectronics.ru Git - uboot.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)
commit37129373af5adfb78b653f71e5c8574aece59425
tree7ce02d74fafdd8d6fd2e19ea41788400c05b1e5e
parentbcc5b5c2dc3646c2a0857999be026e3005d69d0c
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