common: fdt_support: update code wrap by configure

It avoids compile error while disabling CONFIG_ARCH_FIXUP_FDT_MEMORY.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I283a335c2ecf559e42544ab138af414423d8a888
This commit is contained in:
Joseph Chen 2020-05-19 16:26:55 +08:00 committed by Jianhong Chen
parent d41e543aa6
commit 598c6b730e
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{