summaryrefslogtreecommitdiff
path: root/tools/u_boot_pylib/test_util.py
diff options
context:
space:
mode:
authorDaniel Schultz <d.schultz@phytec.de>2025-04-15 08:12:41 -0700
committerTom Rini <trini@konsulko.com>2025-04-24 08:24:24 -0600
commit4b1b07e3c6055edd29b98a7a30a5c7d062395df7 (patch)
tree3903bd9cf0b8eeee60c19574570aacdff4cb549b /tools/u_boot_pylib/test_util.py
parent3b7893145e3621574f01e0bfde1277ec730dc5b6 (diff)
mach-k3: common_fdt: Move carveout struct
Labels are not allowed before declarations. Move the carveout struct at the beginning and only update 'end' at this point. This will fix following error: arch/arm/mach-k3/common_fdt.c: In function 'fdt_fixup_reserved': arch/arm/mach-k3/common_fdt.c:156:2: error: a label can only be part of a statement and a declaration is not a statement 156 | struct fdt_memory carveout = { | ^~~~~~ make[1]: *** [scripts/Makefile.build:256: arch/arm/mach-k3/common_fdt.o] Error 1 make: *** [Makefile:1919: arch/arm/mach-k3] Error 2 Fixes: 096aa229a9e ("mach-k3: common_fdt: create a reserved memory node") Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Reviewed-by: Udit Kumar <u-kumar1@ti.com> Reviewed-by: Bryan Brattlof <bb@ti.com>
Diffstat (limited to 'tools/u_boot_pylib/test_util.py')
0 files changed, 0 insertions, 0 deletions