bsp/tms570: Use TMS570_OSCILLATOR_MAIN

This option replaces BSP_OSCILATOR_CLOCK.  It may be used in PLL setup
calculatios.

Update #4982.
This commit is contained in:
Sebastian Huber
2024-01-09 07:47:50 +01:00
parent 9a961eec67
commit df378641e6
2 changed files with 8 additions and 5 deletions

View File

@@ -62,10 +62,8 @@
#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