summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-db8500/cspsa_fp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-db8500/cspsa_fp.h')
-rw-r--r--include/asm-arm/arch-db8500/cspsa_fp.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/asm-arm/arch-db8500/cspsa_fp.h b/include/asm-arm/arch-db8500/cspsa_fp.h
new file mode 100644
index 000000000..13ddd1e69
--- /dev/null
+++ b/include/asm-arm/arch-db8500/cspsa_fp.h
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) ST-Ericsson SA 2010
+ *
+ * Author: Martin Lundholm <martin.xa.lundholm@stericsson.com>
+ *
+ * License terms: GNU General Public License (GPL), version 2.
+ *
+ * cspsa_fp.h
+ *
+ * API for CSPSA Fast Parameters
+ *
+ */
+
+#ifndef __CSPSA_FP_H__
+#define __CSPSA_FP_H__
+
+/* -------------------------------------------------------------------------- */
+
+#include <common.h>
+#include <part.h>
+
+/* -------------------------------------------------------------------------- */
+
+#define CSPSA_NBR_OF_FAST_PARAMETERS 4
+#define CSPSA_PARTITION_NAME "CSPSA0"
+
+/* -------------------------------------------------------------------------- */
+
+int cspsa_fp_read(block_dev_desc_t *block_dev, u32 key, u32 *value);
+
+#endif