mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
Add common memory fixup function
Add the function fdt_fixup_memory() to fixup the /memory node of the fdt Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
9c9109e7fc
commit
3c9272813f
2 changed files with 79 additions and 0 deletions
|
@ -44,6 +44,7 @@ void do_fixup_by_compat(void *fdt, const char *compat,
|
|||
const char *prop, const void *val, int len, int create);
|
||||
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);
|
||||
void fdt_fixup_ethernet(void *fdt, bd_t *bd);
|
||||
|
||||
#ifdef CONFIG_OF_HAS_UBOOT_ENV
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue