diff --git a/lib/system/freertos/zynqmp_a53/sys.c b/lib/system/freertos/zynqmp_a53/sys.c index a09f922..411776e 100644 --- a/lib/system/freertos/zynqmp_a53/sys.c +++ b/lib/system/freertos/zynqmp_a53/sys.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include "xil_cache.h" #include "xil_exception.h" @@ -19,9 +20,6 @@ #include "xreg_cortexa53.h" #include "xscugic.h" -#define MB (1024 * 1024UL) -#define GB (1024 * 1024 * 1024UL) - void sys_irq_restore_enable(unsigned int flags) { Xil_ExceptionEnableMask(~flags); diff --git a/lib/system/generic/zynqmp_a53/sys.c b/lib/system/generic/zynqmp_a53/sys.c index 1a244ed..bbb07c6 100644 --- a/lib/system/generic/zynqmp_a53/sys.c +++ b/lib/system/generic/zynqmp_a53/sys.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include "xil_cache.h" #include "xil_exception.h" @@ -19,9 +20,6 @@ #include "xreg_cortexa53.h" #include "xscugic.h" -#define MB (1024 * 1024UL) -#define GB (1024 * 1024 * 1024UL) - void sys_irq_restore_enable(unsigned int flags) { Xil_ExceptionEnableMask(~flags);