Avoid redefinition when using USE_BUILTIN_STARTUP.

pull/546/head
David Garske 2025-01-09 16:24:13 -08:00 committed by Daniele Lacamera
parent 5a7a0cfc16
commit 4103b8b5af
1 changed files with 6 additions and 0 deletions

View File

@ -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)