commit | 4fa170c0bfaeb06366c685a7a46c0e4cd5f44ee9 | [log] [tgz] |
---|---|---|
author | Victor Chong <victor.chong@linaro.org> | Sat Jan 27 21:36:12 2018 +0900 |
committer | Victor Chong <victor.chong@linaro.org> | Sun Jan 28 00:07:07 2018 +0900 |
tree | 7470688a74c37c47d2c3af11900c7b91cc361876 | |
parent | 09d7b09cd2b7aafac95fe07923ef1aaddcdb4aa6 [diff] |
hikey: fix assert in sec_protect() `assert(e)` was used in place of `if (e) ERROR()` when sec_protect() was ported from hikey fork so the logic should have been reversed. Fixes: 3d5d9f5a ("hikey: configure the top 16MB of DRAM as secure") Fixes: 52988b38 ("hikey: configure 4 MB of secure DRAM for OP-TEE Secure Data Path") Signed-off-by: Victor Chong <victor.chong@linaro.org> Tested-by: Victor Chong <victor.chong@linaro.org>