From owner-p4-projects@FreeBSD.ORG Sat Jan 7 04:05:25 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 2A50D16A43C; Sat, 7 Jan 2006 04:05:24 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB86916A4E9 for ; Sat, 7 Jan 2006 04:05:24 +0000 (GMT) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54E8843D46 for ; Sat, 7 Jan 2006 04:05:14 +0000 (GMT) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k0745D8s075892 for ; Sat, 7 Jan 2006 04:05:13 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k0745DG7075889 for perforce@freebsd.org; Sat, 7 Jan 2006 04:05:13 GMT (envelope-from imp@freebsd.org) Date: Sat, 7 Jan 2006 04:05:13 GMT Message-Id: <200601070405.k0745DG7075889@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to imp@freebsd.org using -f From: Warner Losh To: Perforce Change Reviews Cc: Subject: PERFORCE change 89318 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2006 04:05:26 -0000 http://perforce.freebsd.org/chv.cgi?CH=89318 Change 89318 by imp@imp_hammer on 2006/01/07 04:04:47 Move the ST register definitions into at91streg.h Affected files ... .. //depot/projects/arm/src/sys/arm/at91/at91rm92reg.h#12 edit .. //depot/projects/arm/src/sys/arm/at91/at91streg.h#1 add Differences ... ==== //depot/projects/arm/src/sys/arm/at91/at91rm92reg.h#12 (text+ko) ==== @@ -270,25 +270,6 @@ #define AT91RM92_ST_BASE 0xffffd00 #define AT91RM92_ST_SIZE 0x100 -#define ST_CR 0x00 /* Control register */ -#define ST_CR_WDRST (1U << 0) /* WDRST: Watchdog Timer Restart */ -#define ST_PIMR 0x04 /* Period interval mode register */ -#define ST_WDMR 0x08 /* Watchdog mode register */ -#define ST_WDMR_EXTEN (1U << 17) /* EXTEN: External Signal Assert Enable */ -#define ST_WDMR_RSTEN (1U << 16) /* RSTEN: Reset Enable */ -#define ST_RTMR 0x0c /* Real-time mode register */ -#define ST_SR 0x10 /* Status register */ -#define ST_SR_PITS (1U << 0) /* PITS: Period Interval Timer Status */ -#define ST_SR_WDOVF (1U << 1) /* WDOVF: Watchdog Overflow */ -#define ST_SR_RTTINC (1U << 2) /* RTTINC: Real-time Timer Increment */ -#define ST_SR_ALMS (1U << 3) /* ALMS: Alarm Status */ -#define ST_IER 0x14 /* Interrupt enable register */ -#define ST_IDR 0x18 /* Interrupt disable register */ -#define ST_IMR 0x1c /* Interrupt mask register */ -#define ST_RTAR 0x20 /* Real-time alarm register */ -#define ST_CRTR 0x24 /* Current real-time register */ -#define ST_CRTR_MASK 0xfffff /* 20-bit counter */ - #define AT91RM92_SPI_BASE 0xffe0000 #define AT91RM92_SPI_SIZE 0x4000 #define AT91RM92_SPI_PDC 0xffe0100