mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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>
This commit is contained in:
parent
0ae9bc3c42
commit
6723b4c6ca
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue