BL30: AO combine the same interrupt files of diff projects for rtos_sdk [1/1]
PD#SWPL-95831
Problem:
Different projects use the same interrupt files, which is repeated
and not conducive to maintenance.
Solution:
Combine the same pic/eclic interrupt files of different projects.
Verify:
Local compile and test pass.
Signed-off-by: bangzheng.liu <bangzheng.liu@amlogic.com>
Change-Id: I1b44558064c02bdd439acbe43622a124911f3ecd
diff --git a/n200_func.h b/n200_func.h
index a76fc7f..a542180 100644
--- a/n200_func.h
+++ b/n200_func.h
@@ -10,7 +10,11 @@
__BEGIN_DECLS
#include "n200_timer.h"
-#include "interrupt_control.h"
+#ifdef CONFIG_N200_REVA
+#include "interrupt_control_pic.h"
+#else
+#include "interrupt_control_eclic.h"
+#endif
#include "gcc_compiler_attributes.h"
void pmp_open_all_space(void);