diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-01-29 10:35:05 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-02-08 08:55:58 +0100 |
commit | 174fae19b89c6fac49bbe5de0fb4f57498ff9aac (patch) | |
tree | e5537e8ef848129f6b25e97efa7c41bb2cd0adeb /include | |
parent | d2411eaf76ef52f2ccf7f3e39226082fbdd3dcd1 (diff) | |
download | barebox-174fae19b89c6fac49bbe5de0fb4f57498ff9aac.tar.gz barebox-174fae19b89c6fac49bbe5de0fb4f57498ff9aac.tar.xz |
FIT: store device_nodes in fit_handle
We need the /images and /configurations nodes more than once,
so store them in the fit_handle rather than searching for them
each time again.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/image-fit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/image-fit.h b/include/image-fit.h index 31e23b235a..79b8101b83 100644 --- a/include/image-fit.h +++ b/include/image-fit.h @@ -29,6 +29,8 @@ struct fit_handle { enum bootm_verify verify; struct device_node *root; + struct device_node *images; + struct device_node *configurations; }; struct fit_handle *fit_open(const char *filename, bool verbose, |