Commit 976c2680 authored by Siva Durga Prasad Paladugu's avatar Siva Durga Prasad Paladugu
Browse files

zynqmp: Remove emulation platform support



This patch removes support for emulation platforms
EP108 and Veloce.
Signed-off-by: default avatarSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
parent e02c90ca
...@@ -44,18 +44,9 @@ unsigned int zynqmp_get_uart_clk(void) ...@@ -44,18 +44,9 @@ unsigned int zynqmp_get_uart_clk(void)
{ {
unsigned int ver = zynqmp_get_silicon_ver(); unsigned int ver = zynqmp_get_silicon_ver();
switch (ver) { if (ver == ZYNQMP_CSU_VERSION_QEMU)
case ZYNQMP_CSU_VERSION_VELOCE:
return 48000;
case ZYNQMP_CSU_VERSION_EP108:
return 25000000;
case ZYNQMP_CSU_VERSION_QEMU:
return 133000000; return 133000000;
default: else
/* Do nothing in default case */
break;
}
return 100000000; return 100000000;
} }
...@@ -298,12 +289,6 @@ static void zynqmp_print_platform_name(void) ...@@ -298,12 +289,6 @@ static void zynqmp_print_platform_name(void)
char *label = "Unknown"; char *label = "Unknown";
switch (ver) { switch (ver) {
case ZYNQMP_CSU_VERSION_VELOCE:
label = "VELOCE";
break;
case ZYNQMP_CSU_VERSION_EP108:
label = "EP108";
break;
case ZYNQMP_CSU_VERSION_QEMU: case ZYNQMP_CSU_VERSION_QEMU:
label = "QEMU"; label = "QEMU";
break; break;
...@@ -346,17 +331,8 @@ unsigned int plat_get_syscnt_freq2(void) ...@@ -346,17 +331,8 @@ unsigned int plat_get_syscnt_freq2(void)
{ {
unsigned int ver = zynqmp_get_silicon_ver(); unsigned int ver = zynqmp_get_silicon_ver();
switch (ver) { if (ver == ZYNQMP_CSU_VERSION_QEMU)
case ZYNQMP_CSU_VERSION_VELOCE:
return 10000;
case ZYNQMP_CSU_VERSION_EP108:
return 4000000;
case ZYNQMP_CSU_VERSION_QEMU:
return 50000000; return 50000000;
default: else
/* Do nothing in default case */
break;
}
return mmio_read_32(IOU_SCNTRS_BASEFREQ); return mmio_read_32(IOU_SCNTRS_BASEFREQ);
} }
...@@ -157,8 +157,6 @@ ...@@ -157,8 +157,6 @@
#define ZYNQMP_SILICON_VER_MASK 0xF000 #define ZYNQMP_SILICON_VER_MASK 0xF000
#define ZYNQMP_SILICON_VER_SHIFT 12 #define ZYNQMP_SILICON_VER_SHIFT 12
#define ZYNQMP_CSU_VERSION_SILICON 0 #define ZYNQMP_CSU_VERSION_SILICON 0
#define ZYNQMP_CSU_VERSION_EP108 1
#define ZYNQMP_CSU_VERSION_VELOCE 2
#define ZYNQMP_CSU_VERSION_QEMU 3 #define ZYNQMP_CSU_VERSION_QEMU 3
#define ZYNQMP_RTL_VER_MASK 0xFF0 #define ZYNQMP_RTL_VER_MASK 0xFF0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment