diff options
Diffstat (limited to 'sys/contrib')
-rw-r--r-- | sys/contrib/octeon-sdk/cvmx-rtc.h | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/sys/contrib/octeon-sdk/cvmx-rtc.h b/sys/contrib/octeon-sdk/cvmx-rtc.h index 7a8a52e..6986d00 100644 --- a/sys/contrib/octeon-sdk/cvmx-rtc.h +++ b/sys/contrib/octeon-sdk/cvmx-rtc.h @@ -126,18 +126,9 @@ static inline uint32_t cvmx_rtc_read(void) return cvmx_rtc_ds1374_read(); break; - case CVMX_BOARD_TYPE_EBH3000: - case CVMX_BOARD_TYPE_CN3010_EVB_HS5: - case CVMX_BOARD_TYPE_EBH5200: -#if defined(OCTEON_VENDOR_GEFES) - case CVMX_BOARD_TYPE_CUST_W63XX: -#endif + default: return cvmx_rtc_ds1337_read(); break; - - default: - return 0; - break; } } @@ -156,18 +147,9 @@ static inline uint32_t cvmx_rtc_write(uint32_t time) return cvmx_rtc_ds1374_write(time); break; - case CVMX_BOARD_TYPE_EBH3000: - case CVMX_BOARD_TYPE_CN3010_EVB_HS5: - case CVMX_BOARD_TYPE_EBH5200: -#if defined(OCTEON_VENDOR_GEFES) - case CVMX_BOARD_TYPE_CUST_W63XX: -#endif + default: return cvmx_rtc_ds1337_write(time); break; - - default: - return 0; - break; } } |