diff --git a/hal/zynq.h b/hal/zynq.h index c5f926957..63669260d 100644 --- a/hal/zynq.h +++ b/hal/zynq.h @@ -22,6 +22,9 @@ #ifndef _ZYNQMP_H_ #define _ZYNQMP_H_ +#ifndef USE_BUILTIN_STARTUP +/* Macros needs for boot_aarch64_startup.S */ + /* By default expect EL2 at startup */ #ifndef EL3_SECURE #define EL3_SECURE 0 @@ -51,6 +54,9 @@ #define XPAR_PSU_DDR_1_S_AXI_BASEADDR 0x800000000 #define XPAR_PSU_DDR_1_S_AXI_HIGHADDR 0x87FFFFFFF +#endif /* USE_BUILTIN_STARTUP */ + + /* IOP System-level Control */ #define IOU_SLCR_BASSE 0xFF180000 #define IOU_TAPDLY_BYPASS_ADDR (IOU_SLCR_BASSE + 0x390)