Skip to content

Commit

Permalink
zynqmp: remove redundant platform config code
Browse files Browse the repository at this point in the history
The hardware description is identical in all the platforms, there is no
need for specific ultra96 code to define base addresses.

Signed-off-by: Ibai Erkiaga <ibai.erkiaga-elorza@amd.com>
Acked-by: Joakim Bech <joakim.bech@linaro.org>
Acked-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
  • Loading branch information
ierkiaga authored and jforissier committed Sep 21, 2023
1 parent 3050ae8 commit 00b7b3e
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions core/arch/arm/plat-zynqmp/platform_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,22 +57,8 @@
defined(PLATFORM_FLAVOR_zc1751_dc2) || \
defined(PLATFORM_FLAVOR_zcu102) || \
defined(PLATFORM_FLAVOR_zcu104) || \
defined(PLATFORM_FLAVOR_zcu106)

#define GIC_BASE 0xF9010000
#define UART0_BASE 0xFF000000
#define UART1_BASE 0xFF010000

#define IT_UART0 53
#define IT_UART1 54

#define UART0_CLK_IN_HZ 100000000
#define UART1_CLK_IN_HZ 100000000

#define GICD_OFFSET 0
#define GICC_OFFSET 0x10000

#elif defined(PLATFORM_FLAVOR_ultra96)
defined(PLATFORM_FLAVOR_zcu106) || \
defined(PLATFORM_FLAVOR_ultra96)

#define GIC_BASE 0xF9010000
#define UART0_BASE 0xFF000000
Expand Down

0 comments on commit 00b7b3e

Please sign in to comment.