aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--product/corstone-700/firmware/config_log.c2
-rw-r--r--product/corstone-700/module/pl011/include/mod_pl011.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/product/corstone-700/firmware/config_log.c b/product/corstone-700/firmware/config_log.c
index e9e4b47..4f34f1c 100644
--- a/product/corstone-700/firmware/config_log.c
+++ b/product/corstone-700/firmware/config_log.c
@@ -25,7 +25,7 @@ static const struct fwk_element pl011_element_desc_table[] = {
.data = &((struct mod_pl011_device_config) {
.reg_base = ES_PL011_UART_BASE,
.baud_rate_bps = 115200,
- .clock_rate_hz = SYSTEM_CLOCK,
+ .clock_rate_hz = 32 * UART_CLK_MHZ,
.clock_id = FWK_ID_NONE_INIT,
}),
},
diff --git a/product/corstone-700/module/pl011/include/mod_pl011.h b/product/corstone-700/module/pl011/include/mod_pl011.h
index 4ae23f1..71a6dde 100644
--- a/product/corstone-700/module/pl011/include/mod_pl011.h
+++ b/product/corstone-700/module/pl011/include/mod_pl011.h
@@ -27,6 +27,8 @@
* @{
*/
+#define UART_CLK_MHZ (1000UL * 1000UL)
+
/*!
* \brief PL011 device configuration data.
*/