summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/rmodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/rmodule.c b/src/lib/rmodule.c
index a73e667fef..908297ba04 100644
--- a/src/lib/rmodule.c
+++ b/src/lib/rmodule.c
@@ -20,6 +20,7 @@
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
+#include <arch/cache.h>
#include <console/console.h>
#include <rmodule.h>
@@ -196,6 +197,9 @@ int rmodule_load(void *base, struct rmodule *module)
if (rmodule_relocate(module))
return -1;
rmodule_clear_bss(module);
+
+ cache_sync_instructions();
+
return 0;
}