summaryrefslogtreecommitdiffstats
path: root/bsps/arm
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-04-17 16:14:35 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-12-06 13:35:40 +0100
commitc374727c634822185cf30669fe2bf4676f3c03ce (patch)
tree62ed2a7a5d6a1c0dd3c70fa4dc585e5285d0cde9 /bsps/arm
parentbsp/tms570: Fix debug console baud setting (diff)
downloadrtems-c374727c634822185cf30669fe2bf4676f3c03ce.tar.bz2
bsp/tms570: Adjust BSP_OSCILATOR_CLOCK
Diffstat (limited to 'bsps/arm')
-rw-r--r--bsps/arm/tms570/include/bsp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bsps/arm/tms570/include/bsp.h b/bsps/arm/tms570/include/bsp.h
index c5ac0cc59a..78445314d1 100644
--- a/bsps/arm/tms570/include/bsp.h
+++ b/bsps/arm/tms570/include/bsp.h
@@ -44,8 +44,13 @@
#include <rtems.h>
#include <bsp/default-initial-extension.h>
+#if TMS570_VARIANT == 4357
+#define BSP_OSCILATOR_CLOCK 16000000
+#define BSP_PLL_OUT_CLOCK 150000000
+#else
#define BSP_OSCILATOR_CLOCK 8000000
#define BSP_PLL_OUT_CLOCK 160000000
+#endif
#endif /* ASM */