Patchwork [7/8] LPDDR added new pfow_base parameter

login
register
mail settings
Submitter Alexey Korolev
Date Oct. 8, 2008, 9:35 p.m.
Message ID <alpine.LFD.1.10.0810082234050.13328@casper.infradead.org>
Download mbox | patch
Permalink /patch/3391/
State Accepted
Commit d13e51e747fee301b404dffcf4a7e1bdc558969b
Headers show

Comments

Alexey Korolev - Oct. 8, 2008, 9:35 p.m.
We need to supply additional parameter to mapping driver and tell
LPDDR drivers where PFOW window is in chip mapping.
It leads to necessity of map_info structure extendoing.

Signed-off-by: Alexey Korolev <akorolev@infradead.org>
---

Patch

diff --git a/include/linux/mtd/map.h b/include/linux/mtd/map.h
index aa30244..b981b87 100644
--- a/include/linux/mtd/map.h
+++ b/include/linux/mtd/map.h
@@ -223,6 +223,7 @@  struct map_info {
 	   must leave it enabled. */
 	void (*set_vpp)(struct map_info *, int);
 
+	unsigned long pfow_base;
 	unsigned long map_priv_1;
 	unsigned long map_priv_2;
 	void *fldrv_priv;