optee: print header info before validate
authorVictor Chong <victor.chong@linaro.org>
Fri, 26 Jan 2018 07:10:07 +0000 (16:10 +0900)
committerVictor Chong <victor.chong@linaro.org>
Wed, 7 Feb 2018 17:17:24 +0000 (02:17 +0900)
commit5c0bda714bd3470ccfd0d8e5c2cbdead67aab81b
tree81e9a7ebe8466687e5a581fe47d5f01e8ef630b6
parent5b75b4a725d062bd593856a665bfda0e1b23a04b
optee: print header info before validate

Currently optee header info is only printed after it is validated,
but this does not help with debugging in case of error, so print it
before.

Signed-off-by: Victor Chong <victor.chong@linaro.org>
lib/optee/optee_utils.c