diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2024-01-09 07:47:50 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2024-01-15 10:34:08 +0100 |
commit | df378641e68fcd9f27797fb998b7a46e2f54f731 (patch) | |
tree | b18a199ee74a3d378e380da14ed0b7caa413fd3c | |
parent | bsp/tms570: Remove unused BSP options (diff) | |
download | rtems-df378641e68fcd9f27797fb998b7a46e2f54f731.tar.bz2 |
bsp/tms570: Use TMS570_OSCILLATOR_MAIN
This option replaces BSP_OSCILATOR_CLOCK. It may be used in PLL setup
calculatios.
Update #4982.
-rw-r--r-- | bsps/arm/tms570/include/bsp.h | 2 | ||||
-rw-r--r-- | spec/build/bsps/arm/tms570/optoscmain.yml | 11 |
2 files changed, 8 insertions, 5 deletions
diff --git a/bsps/arm/tms570/include/bsp.h b/bsps/arm/tms570/include/bsp.h index 9d26309e07..287750295f 100644 --- a/bsps/arm/tms570/include/bsp.h +++ b/bsps/arm/tms570/include/bsp.h @@ -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 diff --git a/spec/build/bsps/arm/tms570/optoscmain.yml b/spec/build/bsps/arm/tms570/optoscmain.yml index 7207801c37..1755fdd85a 100644 --- a/spec/build/bsps/arm/tms570/optoscmain.yml +++ b/spec/build/bsps/arm/tms570/optoscmain.yml @@ -4,12 +4,17 @@ actions: - define: null build-type: option copyrights: -- Copyright (C) 2020 embedded brains GmbH & Co. KG +- Copyright (C) 2020, 2024 embedded brains GmbH & Co. KG default: +- enabled-by: + - arm/tms570lc4357_hdk + - arm/tms570lc4357_hdk_sdram + value: 16000000 - enabled-by: true - value: 12000000 + value: 8000000 description: | - main oscillator frequency in Hz + The option value shall be the main oscillator (OSCIN) frequency in Hz of the + board. enabled-by: true format: '{}' links: [] |