mirror of
https://xff.cz/git/u-boot/
synced 2025-10-22 10:31:56 +02:00
fdt: Add fdt_getprop_u32_default helpers
Add helper functions to return find a node and return it's property or a default value. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Andrew Fleming-AFLEMING <afleming@freescale.com> Acked-by: Gerald Van Baren <vanbaren@cideas.com>
This commit is contained in:
committed by
Andrew Fleming-AFLEMING
parent
8ba93f68a1
commit
3bed2aaf2d
@@ -28,6 +28,8 @@
|
||||
|
||||
#include <fdt.h>
|
||||
|
||||
u32 fdt_getprop_u32_default(void *fdt, const char *path, const char *prop,
|
||||
const u32 dflt);
|
||||
int fdt_chosen(void *fdt, int force);
|
||||
int fdt_initrd(void *fdt, ulong initrd_start, ulong initrd_end, int force);
|
||||
void do_fixup_by_path(void *fdt, const char *path, const char *prop,
|
||||
|
Reference in New Issue
Block a user