aboutsummaryrefslogtreecommitdiff
path: root/include/regmap.h
diff options
context:
space:
mode:
authorSimon Glass2016-07-04 11:57:59 -0600
committerSimon Glass2016-07-14 20:40:24 -0600
commit3b2a29e0971397085c616c89a3a09f2609f50ca4 (patch)
tree379cfe7c873e58ea50ede61ae087baa1d3d7d050 /include/regmap.h
parent29629eb897f8d8119b06477d0ca3c4b424726e51 (diff)
dm: regmap: Add a dummy implementation for of-platdata
Add a placeholder for now so that this code will compile. It currently does nothing. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/regmap.h')
-rw-r--r--include/regmap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/regmap.h b/include/regmap.h
index eccf7707f45..922b39fad06 100644
--- a/include/regmap.h
+++ b/include/regmap.h
@@ -56,6 +56,9 @@ int regmap_read(struct regmap *map, uint offset, uint *valp);
*/
int regmap_init_mem(struct udevice *dev, struct regmap **mapp);
+int regmap_init_mem_platdata(struct udevice *dev, fdt32_t *reg, int size,
+ struct regmap **mapp);
+
/**
* regmap_get_range() - Obtain the base memory address of a regmap range
*