mirror of
https://xff.cz/git/u-boot/
synced 2025-10-22 10:31:56 +02:00
FDT: Add fixup support for multiple banks of memory
Add fdt_fixup_memory_banks and reimplement fdt_fixup_memory using it. Tested on OMAP3 beagle board with two banks of memory. Signed-off-by: John Rigby <john.rigby@linaro.org> CC: Jerry Van Baren <vanbaren@cideas.com> Acked-by: Gerald Van Baren <vanbaren@cideas.com>
This commit is contained in:
committed by
Wolfgang Denk
parent
d1263fced2
commit
a6bd9e83ab
@@ -48,6 +48,7 @@ void do_fixup_by_compat(void *fdt, const char *compat,
|
||||
void do_fixup_by_compat_u32(void *fdt, const char *compat,
|
||||
const char *prop, u32 val, int create);
|
||||
int fdt_fixup_memory(void *blob, u64 start, u64 size);
|
||||
int fdt_fixup_memory_banks(void *blob, u64 start[], u64 size[], int banks);
|
||||
void fdt_fixup_ethernet(void *fdt);
|
||||
int fdt_find_and_setprop(void *fdt, const char *node, const char *prop,
|
||||
const void *val, int len, int create);
|
||||
|
Reference in New Issue
Block a user