Unify cache flush code path after image load
authorSoby Mathew <soby.mathew@arm.com>
Fri, 10 Nov 2017 13:14:40 +0000 (13:14 +0000)
committerSoby Mathew <soby.mathew@arm.com>
Tue, 5 Dec 2017 16:04:45 +0000 (16:04 +0000)
commit76163b3a7aeda02f480e2d69a5d02240e8d8626b
tree43fee32e9d2fa8f13e015b299174a1bdff68cb2b
parent5627c1ed9ed7b1ce70355dc2dea1dbf7a697f3e1
Unify cache flush code path after image load

Previously the cache flush happened in 2 different places in code
depending on whether TRUSTED_BOARD_BOOT is enabled or not. This
patch unifies this code path for both the cases. The `load_image()`
function is now made an internal static function.

Change-Id: I96a1da29d29236bbc34b1c95053e6a9a7fc98a54
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
common/bl_common.c
include/common/bl_common.h