summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'cpu')
-rw-r--r--cpu/arm_cortexa8/cpu.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpu/arm_cortexa8/cpu.c b/cpu/arm_cortexa8/cpu.c
index e4bd7cf..70590ee 100644
--- a/cpu/arm_cortexa8/cpu.c
+++ b/cpu/arm_cortexa8/cpu.c
@@ -33,6 +33,9 @@
#include <common.h>
#include <command.h>
+#ifdef CONFIG_VIDEO_MX5
+#include <ipu.h>
+#endif
#include <asm/system.h>
#include <asm/cache.h>
#include <asm/cache-cp15.h>
@@ -131,6 +134,11 @@ int cleanup_before_linux(void)
{
unsigned int i;
+#ifdef CONFIG_VIDEO_MX5
+ ipu_disable_channel(MEM_BG_SYNC);
+ ipu_uninit_channel(MEM_BG_SYNC);
+#endif
+
/*
* this function is called just before we call linux
* it prepares the processor for linux