summaryrefslogtreecommitdiff
path: root/src/set.h
diff options
context:
space:
mode:
authorPenny Chiu <pchiu@nvidia.com>2014-04-11 17:50:43 +0800
committerStephen Warren <swarren@nvidia.com>2014-04-15 12:02:07 -0600
commitef386340a60eb3d21f2215316e90dd4ba35fd27e (patch)
treef1c524838b5c9d2e4cfdf6f45ac5c1e33333fc5d /src/set.h
parent5f0b21a2b62a2cafab0dc3848d5516d93b2288ae (diff)
downloadnvidia-cbootimage-ef386340a60eb3d21f2215316e90dd4ba35fd27e.tar.gz
Add update BCT configs feature
This feature reads the BCT data from BCT or BCT with bootloader appended binary, updates the BCT data based on config file, then writes to new image file. Signed-off-by: Penny Chiu <pchiu@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'src/set.h')
-rw-r--r--src/set.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/set.h b/src/set.h
index 754ed7a..97ecc76 100644
--- a/src/set.h
+++ b/src/set.h
@@ -42,6 +42,8 @@ context_set_value(build_image_context *context,
int
read_from_image(char *filename,
+ u_int32_t offset,
+ u_int32_t max_size,
u_int8_t **Image,
u_int32_t *actual_size,
file_type f_type);