bsps/leon3: Make GPTIMER fall back mandatory

Using the auto reload counter which generates the clock ticks for the
timecounter or CPU counter is quite difficult and only works in
uniprocessor configurations.

Update #4954.
This commit is contained in:
Sebastian Huber
2023-09-15 11:11:31 +02:00
parent b6dc4b4707
commit 3f03a6d2ef
5 changed files with 43 additions and 60 deletions

View File

@@ -340,27 +340,6 @@ extern int syscon_uart_index;
extern int leon3_debug_uart_index;
#endif
/* Let user override which on-chip TIMER core will be used for system clock
* timer. This controls which timer core will be accociated with
* LEON3_Timer_Regs registers base address. This value will by destroyed during
* initialization.
* 0 = Default configuration. GPTIMER[0]
* 1 = GPTIMER[1]
* 2 = GPTIMER[2]
* ...
*/
extern int leon3_timer_core_index;
/* Let user override system clock timer prescaler. This affects all timer
* instances on the system clock timer core determined by
* leon3_timer_core_index.
* 0 = Default configuration. Use bootloader configured value.
* N = Prescaler is set to N. N must not be less that number of timers.
* 8 = Prescaler is set to 8 (the fastest prescaler possible on all HW)
* ...
*/
extern unsigned int leon3_timer_prescaler;
#endif /* !ASM */
#ifdef __cplusplus