summaryrefslogtreecommitdiffstats
path: root/sys/mips/broadcom/bcm_socinfo.h
diff options
context:
space:
mode:
authorlandonf <landonf@FreeBSD.org>2016-06-25 04:34:54 +0000
committerlandonf <landonf@FreeBSD.org>2016-06-25 04:34:54 +0000
commit36a6892b98e5dd5b41fa9dfd0510f5441d44f646 (patch)
tree44e3d8dae12b9ffa9e3984dbe02c527e4ce2a4da /sys/mips/broadcom/bcm_socinfo.h
parent61ca174a62a383aa36616626d0d9c04058348677 (diff)
downloadFreeBSD-src-36a6892b98e5dd5b41fa9dfd0510f5441d44f646.zip
FreeBSD-src-36a6892b98e5dd5b41fa9dfd0510f5441d44f646.tar.gz
Replace mips/sentry5 with mips/broadcom
The delta between SENTRY5 and BCM was already small due to BCM being derived from SENTRY5; re-integrating the two avoids the maintenance overhead of keeping them both in sync with bhnd(4) changes. - Re-integrate minor SENTRY5 deltas in bcm_machdep.c - Modify uart_cpu_chipc to allow specifying UART debug/console flags via kenv and device hints. - Switch SENTRY5 to std.broadcom - Enabled CFI flash support for SENTRY5 Reviewed by: Michael Zhilin <mizkha@gmail.com> (Broadcom MIPS support) Approved by: re (gjb), adrian (mentor) Differential Revision: https://reviews.freebsd.org/D6897
Diffstat (limited to 'sys/mips/broadcom/bcm_socinfo.h')
-rw-r--r--sys/mips/broadcom/bcm_socinfo.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/mips/broadcom/bcm_socinfo.h b/sys/mips/broadcom/bcm_socinfo.h
index adf4124..cdac486 100644
--- a/sys/mips/broadcom/bcm_socinfo.h
+++ b/sys/mips/broadcom/bcm_socinfo.h
@@ -35,9 +35,10 @@
#include <machine/cpuregs.h>
struct bcm_socinfo {
- uint32_t id;
- uint32_t cpurate; /* in MHz */
- uint32_t uartrate; /* in Hz */
+ uint32_t id;
+ uint32_t cpurate; /* in MHz */
+ uint32_t uartrate; /* in Hz */
+ int double_count;
};
struct bcm_socinfo* bcm_get_socinfo_by_socid(uint32_t key);
OpenPOWER on IntegriCloud