diff options
author | Andre Przywara <andre.przywara@arm.com> | 2017-04-26 00:32:35 (GMT) |
---|---|---|
committer | Jagan Teki <jagan@openedev.com> | 2017-05-17 17:44:52 (GMT) |
commit | 5c8c8faccf0e660040ada1a9376b74a6807d4f5f (patch) | |
tree | ebaec8c4c88af861f60c5270affecafd26473f4c /common/cli.c | |
parent | 736806fbfa7a0ffc2bc18c1521e42ac578b1ad1e (diff) | |
download | u-boot-fsl-qoriq-5c8c8faccf0e660040ada1a9376b74a6807d4f5f.tar.xz |
SPL: FIT: improve error handling
At the moment we ignore any errors due to missing FIT properties,
instead go ahead and calculate our addresses with the -1 return value.
Fix this and bail out if any of the mandatory properties are missing.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Tested-by: Kever Yang <kever.yang@rock-chips.com>
Tested-by: Jagan Teki <jagan@openedev.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'common/cli.c')
0 files changed, 0 insertions, 0 deletions