[PATCH 056/111] GRTIMER: added to GPTIMER driver

Daniel Hellstrom daniel at gaisler.com
Thu Feb 26 16:38:58 UTC 2015


GRTIMER is compatible with GPTIMER, however the GPTIMER driver
does not support the extended features of GRTIMER.
---
 c/src/lib/libbsp/sparc/shared/timer/gptimer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/c/src/lib/libbsp/sparc/shared/timer/gptimer.c b/c/src/lib/libbsp/sparc/shared/timer/gptimer.c
index 2cc181a..67ac7a2 100644
--- a/c/src/lib/libbsp/sparc/shared/timer/gptimer.c
+++ b/c/src/lib/libbsp/sparc/shared/timer/gptimer.c
@@ -141,6 +141,7 @@ struct drvmgr_drv_ops gptimer_ops =
 struct amba_dev_id gptimer_ids[] =
 {
 	{VENDOR_GAISLER, GAISLER_GPTIMER},
+	{VENDOR_GAISLER, GAISLER_GRTIMER},
 	{0, 0}		/* Mark end of table */
 };
 
-- 
1.7.0.4




More information about the devel mailing list