diff options
author | Sanchayan Maity <maitysanchayan@gmail.com> | 2016-10-19 17:36:21 +0530 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-01-11 21:25:10 +0100 |
commit | 863ab5b03106c80a4565b09f2fcc0628adea8747 (patch) | |
tree | 43fa833ac02094c9e0d674955106f755d48b2594 /include | |
parent | 3f2a490fb1765c9345d2cfb980dfe26f0b178d6e (diff) |
common: fdt_support: Add support for setting usable memory
Add support for setting the linux,usable-memory in the memory
node of device tree.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/fdt_support.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h index 506bc5a9f69..57bfbeb6685 100644 --- a/include/fdt_support.h +++ b/include/fdt_support.h @@ -95,6 +95,7 @@ int fdt_fixup_memory(void *blob, u64 start, u64 size); */ int fdt_fixup_memory_banks(void *blob, u64 start[], u64 size[], int banks); +int fdt_set_usable_memory(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); |