Skip to content

Commit

Permalink
Avoid redefinition when using USE_BUILTIN_STARTUP.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarske committed Jan 10, 2025
1 parent bffc095 commit d1d32e6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hal/zynq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit d1d32e6

Please sign in to comment.