fix(versal): kernel QEMU boot is failing on versal platform
Due to deprecation of VERSAL_PLATFORM build argument,
the board detection is done at runtime due to this the cpu
and uart clock freq was not set as required to silicon values.
Updated Versal QEMU cpu_clock and uart_clock to silicon values.
Change-Id: I7c772f07ba45eb7e0ae095fd670718190e24f0d7
Signed-off-by: Maheedhar Bollapalli <MaheedharSai.Bollapalli@amd.com>
diff --git a/plat/xilinx/versal/aarch64/versal_common.c b/plat/xilinx/versal/aarch64/versal_common.c
index 9e8134a..783251c 100644
--- a/plat/xilinx/versal/aarch64/versal_common.c
+++ b/plat/xilinx/versal/aarch64/versal_common.c
@@ -96,8 +96,6 @@
uart_clock = 212000;
break;
case VERSAL_QEMU:
- uart_clock = 25000000;
- break;
case VERSAL_SILICON:
uart_clock = 100000000;
break;
diff --git a/plat/xilinx/versal/bl31_versal_setup.c b/plat/xilinx/versal/bl31_versal_setup.c
index 0e4ec1c..57377a9 100644
--- a/plat/xilinx/versal/bl31_versal_setup.c
+++ b/plat/xilinx/versal/bl31_versal_setup.c
@@ -93,9 +93,6 @@
cpu_clock = 212000;
break;
case VERSAL_QEMU:
- /* Random values now */
- cpu_clock = 2720000;
- break;
case VERSAL_SILICON:
cpu_clock = 100000000;
break;