ipq806x: Clear L2 error status register before linux boots.

Previous pending L2 cache errors are cleared during the
cleanup phase before transferring the control to linux.

Change-Id: I3a54c64049135e150c2b49b0d6de1667511b6a14
diff --git a/include/common.h b/include/common.h
index a786ff5..64c82ce 100644
--- a/include/common.h
+++ b/include/common.h
@@ -778,6 +778,10 @@
 void	invalidate_dcache_range(unsigned long start, unsigned long stop);
 void	invalidate_dcache_all(void);
 void	invalidate_icache_all(void);
+void	set_l2_indirect_reg(u32 reg_addr, u32 val);
+void	clear_l2cache_err(void);
+u32	get_l2_indirect_reg(u32 reg_addr);
+void	report_l2err(u32 l2esr);
 
 enum {
 	/* Disable caches (else flush caches but leave them active) */