lib/selfboot: remove duplicate prog_set_area()
There were two successive calls to prog_set_area() which duplicated the same logic. Remove the unnecessary redundancy. Change-Id: I594577f8e7e78d403e7a5656f78e784e98c2c859 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/15602 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
edfcce80b2
commit
0dd655f8a8
|
@ -508,9 +508,6 @@ void *selfload(struct prog *payload)
|
||||||
/* Update the payload's area with the bounce buffer information. */
|
/* Update the payload's area with the bounce buffer information. */
|
||||||
prog_set_area(payload, (void *)(uintptr_t)bounce_buffer, bounce_size);
|
prog_set_area(payload, (void *)(uintptr_t)bounce_buffer, bounce_size);
|
||||||
|
|
||||||
/* Update the payload's area with the bounce buffer information. */
|
|
||||||
prog_set_area(payload, (void *)(uintptr_t)bounce_buffer, bounce_size);
|
|
||||||
|
|
||||||
return (void *)entry;
|
return (void *)entry;
|
||||||
|
|
||||||
out:
|
out:
|
||||||
|
|
Loading…
Reference in New Issue