Giulio Benetti 1054344fa4 spl: fix entry_point equal to load_addr
At the moment entry_point is set to image_get_load(header) that sets it
to "load address" instead of "entry point", assuming entry_point is
equal to load_addr, but it's not true. Then load_addr is set to
"entry_point - header_size", but this is wrong too since load_addr is
not an entry point.

So use image_get_ep() for entry_point assignment and image_get_load()
for load_addr assignment.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
2020-01-14 22:53:59 +01:00
..
2019-11-07 18:01:13 -05:00
2020-01-07 14:37:50 +01:00
2019-08-11 16:43:41 -04:00
2016-05-02 18:37:09 -04:00
2019-08-11 16:43:41 -04:00