summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2018-08-10 10:12:35 +0200
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2018-08-10 23:23:17 +0000
commit3fca4ed45ea38081941a06531c114e463ef1a725 (patch)
treed2501c8d064415559691f1954947ee2b27bf86dc /src/include
parent6539edef41d1046118f9ac2b53d0487646714839 (diff)
lib/fit: support booting initrd placed above 4GiB
Store initrd offset as 64bit integer. Tested on Cavium CN81XX EVB: The initrd could be loaded when placed above 4GiB. Previously it failed to find the initrd. Change-Id: I5d1ae860ae4a4465546bc0ef89937d611d1e56ab Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/28002 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/device_tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/device_tree.h b/src/include/device_tree.h
index 7f725e4d74..4c1a37c00c 100644
--- a/src/include/device_tree.h
+++ b/src/include/device_tree.h
@@ -158,6 +158,7 @@ void dt_add_bin_prop(struct device_tree_node *node, const char *name, void *data
size_t size);
void dt_add_string_prop(struct device_tree_node *node, const char *name, char *str);
void dt_add_u32_prop(struct device_tree_node *node, const char *name, u32 val);
+void dt_add_u64_prop(struct device_tree_node *node, const char *name, u64 val);
void dt_add_reg_prop(struct device_tree_node *node, u64 *addrs, u64 *sizes,
int count, u32 addr_cells, u32 size_cells);
int dt_set_bin_prop_by_path(struct device_tree *tree, const char *path,