summaryrefslogtreecommitdiff
path: root/drivers/staging/tidspbridge/hw/EasiGlobal.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2010-06-28 14:02:37 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2010-06-28 14:02:37 +1000
commit5ea05de9f2e3eb247648a3f15032f1777f1e6d4b (patch)
tree13e6ebc3e5266b7dc4f92c14a6d74320d7ade8ec /drivers/staging/tidspbridge/hw/EasiGlobal.h
parent887534f673c010693d213184c2b34e0a2f483211 (diff)
parent12513b76a021e5b41a9d5d5981da75dfd6480890 (diff)
Merge remote branch 'staging-next/staging-next'
Conflicts: drivers/staging/batman-adv/bat_sysfs.c drivers/staging/batman-adv/device.c
Diffstat (limited to 'drivers/staging/tidspbridge/hw/EasiGlobal.h')
-rw-r--r--drivers/staging/tidspbridge/hw/EasiGlobal.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/drivers/staging/tidspbridge/hw/EasiGlobal.h b/drivers/staging/tidspbridge/hw/EasiGlobal.h
new file mode 100644
index 000000000000..9b45aa7a1174
--- /dev/null
+++ b/drivers/staging/tidspbridge/hw/EasiGlobal.h
@@ -0,0 +1,41 @@
+/*
+ * EasiGlobal.h
+ *
+ * DSP-BIOS Bridge driver support functions for TI OMAP processors.
+ *
+ * Copyright (C) 2007 Texas Instruments, Inc.
+ *
+ * This package is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef _EASIGLOBAL_H
+#define _EASIGLOBAL_H
+#include <linux/types.h>
+
+/*
+ * DEFINE: READ_ONLY, WRITE_ONLY & READ_WRITE
+ *
+ * DESCRIPTION: Defines used to describe register types for EASI-checker tests.
+ */
+
+#define READ_ONLY 1
+#define WRITE_ONLY 2
+#define READ_WRITE 3
+
+/*
+ * MACRO: _DEBUG_LEVEL1_EASI
+ *
+ * DESCRIPTION: A MACRO which can be used to indicate that a particular beach
+ * register access function was called.
+ *
+ * NOTE: We currently dont use this functionality.
+ */
+#define _DEBUG_LEVEL1_EASI(easiNum) ((void)0)
+
+#endif /* _EASIGLOBAL_H */