projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ae9bc3
)
binman: Call helper function binman_set_rom_offset() to fill offset
author
Michal Simek
<michal.simek@xilinx.com>
Wed, 26 Aug 2020 13:13:14 +0000
(15:13 +0200)
committer
Simon Glass
<sjg@chromium.org>
Thu, 5 Nov 2020 16:11:31 +0000
(09:11 -0700)
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>
lib/binman.c
patch
|
blob
|
history
diff --git
a/lib/binman.c
b/lib/binman.c
index
e71c1b9
..
d395b1c
100644
(file)
--- 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;
}