Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/omap Add useful GPMC_CS_SIZE macro for mapping ...
details: https://anonhg.NetBSD.org/src/rev/0c0051a0aea3
branches: trunk
changeset: 756277:0c0051a0aea3
user: ahoka <ahoka%NetBSD.org@localhost>
date: Sat Jul 10 11:50:49 2010 +0000
description:
Add useful GPMC_CS_SIZE macro for mapping CS registers.
diffstat:
sys/arch/arm/omap/omap2_gpmcreg.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 340c87a21a93 -r 0c0051a0aea3 sys/arch/arm/omap/omap2_gpmcreg.h
--- a/sys/arch/arm/omap/omap2_gpmcreg.h Sat Jul 10 11:20:48 2010 +0000
+++ b/sys/arch/arm/omap/omap2_gpmcreg.h Sat Jul 10 11:50:49 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: omap2_gpmcreg.h,v 1.2 2008/10/22 10:45:47 matt Exp $ */
+/* $NetBSD: omap2_gpmcreg.h,v 1.3 2010/07/10 11:50:49 ahoka Exp $ */
/*
* Copyright (c) 2007 Microsoft
* All rights reserved.
@@ -183,6 +183,7 @@
#define GPMC_SIZE (GPMC_PSA_MSB + 4)
#define GPMC_NCS 8 /* # Chip Selects */
+#define GPMC_CS_SIZE (GPMC_CONFIG1_1 - GPMC_CONFIG1_0)
/*
* GPMC OMAP2430_GPMC_REVISION
Home |
Main Index |
Thread Index |
Old Index