source: rtems/c/src/lib/libbsp/arm/tms570/hwinit/tms570_hwinit.h @ b2ed712

Last change on this file since b2ed712 was 29430a3, checked in by Pavel Pisa <pisa@…>, on Sep 22, 2016 at 7:50:59 AM

arm/tms570: include hardware initialization and selftest based on Ti HalCoGen? generated files.

The configuration is specific for TMS570LS3137 based HDK.
Pins configuration can be easily changed in

rtems/c/src/lib/libbsp/arm/tms570/hwinit/init_pinmux.c

file.

The list tms570_selftest_par_list in the file

rtems/c/src/lib/libbsp/arm/tms570/hwinit/bspstarthooks-hwinit.c

specifies peripherals which health status is examined
by parity self-test at BSP start-up. It can be easily
modified for other TMS570 family members variants same
as the selection of other tests in bspstarthooks-hwinit.c.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1#ifndef LIBBSP_ARM_TMS570_HWINIT_H
2#define LIBBSP_ARM_TMS570_HWINIT_H
3
4#define TMS570_TCRAM_START_PTR       ( (void *) ( 0x08000000U ) )
5#define TMS570_TCRAM_WINDOW_END_PTR  ( (void *) ( 0x08080000U ) )
6
7#define TMS570_SDRAM_START_PTR      ( (void *) ( 0x80000000U ) )
8#define TMS570_SDRAM_WINDOW_END_PTR ( (void *) ( 0xA0000000U ) )
9
10/* Ti TMS570 core setup implemented in assembly */
11void _esmCcmErrorsClear_( void );
12void _coreEnableEventBusExport_( void );
13void _errata_CORTEXR4_66_( void );
14void _errata_CORTEXR4_57_( void );
15void _coreEnableRamEcc_( void );
16void _coreDisableRamEcc_( void );
17void _mpuInit_( void );
18
19void tms570_emif_sdram_init( void );
20void tms570_memory_init( uint32_t ram );
21void tms570_system_hw_init( void );
22void tms570_pinmux_init( void );
23void tms570_pll_init( void );
24void tms570_trim_lpo_init( void );
25void tms570_flash_init( void );
26void tms570_periph_init( void );
27void tms570_map_clock_init( void );
28void tms570_system_hw_init( void );
29void tms570_esm_init( void );
30
31#endif /* LIBBSP_ARM_TMS570_HWINIT_H */
Note: See TracBrowser for help on using the repository browser.