mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-03 13:01:31 +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);
|
return log_msg_ret("first image", -ENOENT);
|
||||||
binman->image = node;
|
binman->image = node;
|
||||||
}
|
}
|
||||||
binman->rom_offset = ROM_OFFSET_NONE;
|
binman_set_rom_offset(ROM_OFFSET_NONE);
|
||||||
|
\
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue