Commit Graph

50 Commits

Author SHA1 Message Date
Sebastian Huber
002c6067ba bsps: Add fatal source/code to bsp_reset()
Mark bsp_reset() as no-return.  Use default BSP fatal handler in lm32 and m68k
BSPs.  Remove empty bsp_reset() implementation.

Update #5067.
2024-08-23 14:54:37 +00:00
Sebastian Huber
6c66526e82 bsp/tms570: Move ECLK pin initialization
Update #4982.
2024-06-04 15:50:57 +00:00
Sebastian Huber
2fbee001f7 bsp/tms570: Use write-back/write-allocate SDRAM
Update #4982.
2024-06-04 15:50:57 +00:00
Tyler Miller
449d836800 bsp/tms570: Board-specific tms570_emif_sdram_init()
Update #4982.
2024-01-15 10:34:02 +01:00
Tyler Miller
87be7eaba2 bsp/tms570: Board-specific tms570_pinmux_init()
Update #4982.
2024-01-15 10:34:00 +01:00
Tyler Miller
42e013a5dd bsp/tms570: Board-specific tms570_map_clock_init()
Update #4982.
2024-01-15 10:33:59 +01:00
Tyler Miller
b300b967ee bsp/tms570: Board-specific tms570_pll_init()
Update #4982.
2024-01-15 10:33:57 +01:00
Tyler Miller
53cbe74878 bsp/tms570: Initialize MPU
Update #4982.
2024-01-15 10:33:56 +01:00
Sebastian Huber
5a2f64cf34 bsp/tms570: Initialize and enable caches on demand
Update #4982.
2024-01-15 10:33:52 +01:00
Sebastian Huber
663bedd59e bsp/tms570: Use bsp_start_copy_sections_compact()
There is no need to relocate the text and read-only data.

Update #4982.
2024-01-15 10:33:50 +01:00
Sebastian Huber
d4c6def68b bsp/tms570: Use shared bsp_start_hook_1()
Update #4982.
2024-01-15 10:33:49 +01:00
Sebastian Huber
3f75b58d46 bsp/tms570: The TMS570LC4357 has no TCRAM modules
Update #4982.
2024-01-15 10:33:45 +01:00
Sebastian Huber
2db0844b87 bsp/tms570: Initialize SRAM on demand
Update #4982.
2024-01-15 10:33:43 +01:00
Sebastian Huber
23ba8d2c2c bsp/tms570: Use asm code for tms570_memory_init()
Make sure that we do not use the stack for this function.

Update #4982.
2024-01-15 10:33:41 +01:00
Tyler Miller
f7530be75c bsp/tms570: Honor DBGRST for TMS570LC4357
Update #4982.
2024-01-15 10:33:39 +01:00
Sebastian Huber
b99013e580 bsp/tms570: Remove reset source handling
Do not clear SYSESR and let the application handle the reset source.

Update #4982.
2024-01-15 10:33:37 +01:00
Tyler Miller
2bbacdb557 bsp/tms570: TMS570LC4x Errata DEVICE#60
Update #4982.
2024-01-15 10:33:34 +01:00
Sebastian Huber
75dd824079 bsp/tms570: Add errata SSWF021#45 handling
Update #4982.
2024-01-15 10:33:33 +01:00
Sebastian Huber
4d9c9c52ae bsp/tms570: Conditionalize TMS570LS3137 errata
Update #4982.
2024-01-15 10:33:31 +01:00
Sebastian Huber
eeaa318dc6 bsp/tms570: Simplify expression
Update #4982.
2024-01-15 10:33:29 +01:00
Tyler Miller
c14efe493b bsp/tms570: Add TMS570LC4357 power support
Update #4982.
2024-01-15 10:33:28 +01:00
Tyler Miller
4f6fa9746d bsp/tms570: Add TMS570LC4357 pin config support
Update #4982.
2024-01-15 10:33:26 +01:00
Tyler Miller
39fd4b142e bsp/tms570: Remove double pin configuration
Do not set pins to the default function before the actual setting is
applied.  If a pin setting needs to be done in a certain order, then
this should be done explicitly through multiple calls to
tms570_bsp_pinmmr_config().

Update #4982.
2024-01-15 10:33:24 +01:00
Tyler Miller
b995211907 bsp/tms570: Add tms570_pbist_run_and_check()
Update #4982.
2024-01-15 10:33:22 +01:00
Tyler Miller
048d81a076 bsp/tms570: Add TMS570LC4357 PBIST support
Update #4982.
2024-01-15 10:33:19 +01:00
Sebastian Huber
36192165e2 bsp/tms570: Fix PBIST clock enable
Bit 1 of the PACT is reserved (writes have no effect).

Update #4982.
2024-01-15 10:33:17 +01:00
Sebastian Huber
eb97cd148c bsp/tms570: Add TMS570LC4357 BSP variants
Update #4982.
2024-01-15 10:33:15 +01:00
Sebastian Huber
437da01f80 bsp/tms570: Add linkcmds.memory
Remove obsolete tms570ls3137_hdk_with_loader BSP variant.  With the new
memory origin/size build options this variant is no longer required.

Update #4982.
2024-01-15 10:33:13 +01:00
Sebastian Huber
285d1a4056 bsp/tms570: Avoid vector overlay memory region
Reserve the space in a section.  This makes it possible to use a common
memory region definition.

Update #4982.
2024-01-15 10:33:09 +01:00
Sebastian Huber
849210fff6 bsp/tms570: Fix bsp_reset()
Update #4982.
2024-01-15 10:32:58 +01:00
Sebastian Huber
8240caecc8 bsp/tms570: Rename tms570_initialize_and_clear()
Rename tms570_initialize_and_clear() in
tms570_pom_initialize_and_clear().

Update #4982.
2024-01-15 10:32:56 +01:00
Sebastian Huber
2110125f7c bsp/tms570: Add bsp_restart()
Update #4982.
2024-01-15 10:32:54 +01:00
Sebastian Huber
600bd56543 bsp/tms570: Use new pin define
Update #4982.
2024-01-15 10:32:52 +01:00
Sebastian Huber
8e8b9bc0b7 bsp/tms570: Relicense to BSD-2-Clause
Change license to BSD-2-Clause according to file history and contributor
agreements.  Add Doxygen file comments.

Update #3053.
Update #3707.
Update #4982.
2024-01-15 10:32:45 +01:00
Sebastian Huber
7427caa1ae bsps/arm: Use shared empty bsp_start_hook_0()
Update #4982.
2024-01-15 10:32:23 +01:00
Sebastian Huber
2286a2ec19 bsp/tms570: Do not use POM for internal flash 2023-12-06 17:04:46 +01:00
Sebastian Huber
05a4c70aa9 bsp/tms570: Improve POM handling
Place the vector table in the start section so that the overlay can be
avoided if we execute from internal flash.  The problem is that when the
POM is enabled, the ECC cannot be enabled for the internal flash.
2023-12-06 14:27:48 +01:00
Sebastian Huber
232180a502 bsp/tms570: Use internal RAM for fast data 2023-12-06 13:35:40 +01:00
Sebastian Huber
47c4093ad3 bsp/tms570: Add TMS570LC4357 support 2023-12-06 13:35:40 +01:00
Sebastian Huber
da35b37f92 bsp/tms570: Add pin configuration variants
Rearrange pin function bit fields to allow the clearing of all function
bits through TMS570_PIN_AND_FNC().

Move implementation details to source file.
2023-12-06 13:35:40 +01:00
Sebastian Huber
bcef89f236 Update company name
The embedded brains GmbH & Co. KG is the legal successor of embedded
brains GmbH.
2023-05-20 11:05:26 +02:00
Sebastian Huber
3edf9cba67 bsps/arm: Move bsp_start_hook_0_done()
Declare bsp_start_hook_0_done() in <bsp/start.h>.
2022-09-22 07:59:05 +02:00
Joel Sherrill
dd70c81699 bsp_specs: Delete last remnants of these.
Updates #3937.
2021-11-29 08:50:03 -06:00
Sebastian Huber
b361eabd93 bsps: Replace bsp_specs with an empty file
This fixes an issue with the latest tool chain which adds the default
linker script in the endfile specification.

Update #3250.
2021-01-28 06:28:33 +01:00
Sebastian Huber
5b064a49f9 bsps: Remove unused bsp_stack_main_size 2020-12-03 15:41:38 +01:00
Sebastian Huber
c991eeeccc bsps: Adjust bsp.h Doxygen groups
Update #3706.
2019-03-08 07:42:54 +01:00
Sebastian Huber
feea03b625 Remove explicit file names from @file
This makes the @file documentation independent of the actual file name.

Update #3707.
2019-02-28 11:47:33 +01:00
Pavel Pisa
aefd4a2dee bsp/tms570: correct inclusion of header files for build with HW init.
The build fails when TMS570_USE_HWINIT_STARTUP=1 option is set.
2018-11-14 23:46:43 +01:00
Sebastian Huber
a62c75c1e3 bsp/tms570: Move more start to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-23 15:18:43 +02:00
Sebastian Huber
9964895866 bsps: Move startup files to bsps
Adjust build support files to new directory layout.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-20 13:52:14 +02:00