diff --git a/common/fdt_support.c b/common/fdt_support.c index 5ed1d25974..1577c97c8f 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -558,7 +558,6 @@ int fdt_fixup_memory_banks(void *blob, u64 start[], u64 size[], int banks) } return 0; } -#endif int fdt_fixup_memory(void *blob, u64 start, u64 size) { @@ -594,6 +593,7 @@ int fdt_update_reserved_memory(void *blob, char *name, u64 start, u64 size) return nodeoffset; } +#endif void fdt_fixup_ethernet(void *fdt) {