diff options
author | Giulio Benetti <giulio.benetti@benettiengineering.com> | 2020-01-10 15:46:51 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-01-14 22:53:59 +0100 |
commit | 1054344fa42b1f6568d35eae7ceecc859ad42258 (patch) | |
tree | 9c91a3d246d6b53c6fe602db170fddddda8c8aee /arch | |
parent | 85d89b93992eb34a71de41093dccf2ca70db4480 (diff) | |
download | u-boot-1054344fa42b1f6568d35eae7ceecc859ad42258.tar.gz u-boot-1054344fa42b1f6568d35eae7ceecc859ad42258.tar.xz u-boot-1054344fa42b1f6568d35eae7ceecc859ad42258.zip |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions