diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-06-25 11:12:24 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-06-28 15:03:19 +0200 |
commit | cdfed94f347a112638b914876de8069e10adf175 (patch) | |
tree | 02eb3d7b973156ed97ee4d6b962c121a2ac0c6a7 /bsps/include | |
parent | bsp/riscv: Add device tree support for console (diff) | |
download | rtems-cdfed94f347a112638b914876de8069e10adf175.tar.bz2 |
bsp/riscv: Rework clock driver
Use device tree provided timebase frequency. Do not write to read-only
mtime register.
Update #3433.
Diffstat (limited to 'bsps/include')
-rw-r--r-- | bsps/include/bsp/fatal.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bsps/include/bsp/fatal.h b/bsps/include/bsp/fatal.h index ca2e39aba8..12d33a20e4 100644 --- a/bsps/include/bsp/fatal.h +++ b/bsps/include/bsp/fatal.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2016 embedded brains GmbH. All rights reserved. + * Copyright (c) 2012, 2018 embedded brains GmbH. All rights reserved. * * embedded brains GmbH * Dornierstr. 4 @@ -137,7 +137,10 @@ typedef enum { ATSAM_FATAL_PIO_CONFIGURE_IT, /* i.MX fatal codes */ - IMX_FATAL_GENERIC_TIMER_FREQUENCY = BSP_FATAL_CODE_BLOCK(12) + IMX_FATAL_GENERIC_TIMER_FREQUENCY = BSP_FATAL_CODE_BLOCK(12), + + /* RISC-V fatal codes */ + RISCV_FATAL_NO_TIMEBASE_FREQUENCY_IN_DEVICE_TREE = BSP_FATAL_CODE_BLOCK(13) } bsp_fatal_code; RTEMS_NO_RETURN static inline void |