diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-08-26 16:13:14 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-11-05 19:11:31 +0300 |
commit | 6723b4c6ca7b6ef1435ee5529a53e14df3e1b099 (patch) | |
tree | df18bfd0658579e54060c0227226f72d42a8a13c /lib | |
parent | 0ae9bc3c42f1e47ac4954bc3b3112067e15bb6f3 (diff) | |
download | u-boot-6723b4c6ca7b6ef1435ee5529a53e14df3e1b099.tar.xz |
binman: Call helper function binman_set_rom_offset() to fill offset
There is prepared function for filing rom_offset. That's why use it instead
of copying content of it.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/binman.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/binman.c b/lib/binman.c index e71c1b9e99..d395b1cf70 100644 --- a/lib/binman.c +++ b/lib/binman.c @@ -103,7 +103,7 @@ int binman_init(void) return log_msg_ret("first image", -ENOENT); binman->image = node; } - binman->rom_offset = ROM_OFFSET_NONE; - + binman_set_rom_offset(ROM_OFFSET_NONE); +\ return 0; } |