summaryrefslogtreecommitdiff
path: root/src/lib/rmodule.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-03-31 13:26:46 -0500
committerAaron Durbin <adurbin@chromium.org>2016-04-02 03:55:56 +0200
commit5be350b9fbaa9c49b25a482199bdd3d8fadc91e3 (patch)
treedaebce4f628aec87e4c9d7ba989f63e7c9118d49 /src/lib/rmodule.c
parenta33c6d773be39af6939b99efbdbadb8bc32a5729 (diff)
downloadcoreboot-5be350b9fbaa9c49b25a482199bdd3d8fadc91e3.tar.xz
soc/intel/apollolake: use arch_segment_loaded() for CAR code coherency
Instead of using platform_prog_run() for flushing programs from L1D to L2 for code coherency purposes use arch_segment_loaded() instead as that it's primary purpose. The arch_segment_loaded() is called within the infrastructure at the appropriate places when loading programs. Therefore use that to perform the L1D flush instead of when something is just about to run. Change-Id: Ib0a6be6f676dcf2c946ef5702471af65d89133e9 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/14212 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Andrey Petrov <andrey.petrov@intel.com>
Diffstat (limited to 'src/lib/rmodule.c')
0 files changed, 0 insertions, 0 deletions