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:
parent
d41e543aa6
commit
598c6b730e
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue