diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/fdt_decode.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/fdt_decode.h b/include/fdt_decode.h index d044aff245..4fb2afe665 100644 --- a/include/fdt_decode.h +++ b/include/fdt_decode.h @@ -261,12 +261,14 @@ struct fdt_nand { }; /** - * Returns information from the FDT about the memory. + * Returns information from the FDT about memory for a given root * * @param blob FDT blob to use + * @param name Root name of alias to search for * @param config structure to use to return information */ -int fdt_decode_memory(const void *blob, struct fdt_memory *config); +int fdt_decode_memory(const void *blob, const char *name, + struct fdt_memory *config); /** * Return information from the FDT about the console UART. This looks for |