Thread (17 messages) 17 messages, 2 authors, 2012-08-17
STALE5073d

[PATCH v4 4/4] memory: emif: add device tree support to emif driver

From: Shilimkar, Santosh <hidden>
Date: 2012-06-30 04:42:21
Also in: linux-omap

On Sat, Jun 30, 2012 at 9:53 AM, Greg KH [off-list ref] wrote:
On Sat, Jun 30, 2012 at 09:38:41AM +0530, Shilimkar, Santosh wrote:
quoted
(+ Greg, By mistake the your name got dropped cc from list)

On Fri, Jun 29, 2012 at 7:13 PM, Santosh Shilimkar
[off-list ref] wrote:
quoted
From: Aneesh V <redacted>

Device tree support for the EMIF driver.

Reviewed-by: Benoit Cousson <redacted>
Reviewed-by: Grant Likely <redacted>
Tested-by: Lokesh Vutla <redacted>
Signed-off-by: Aneesh V <redacted>
[santosh.shilimkar at ti.com: Rebased against 3.5-rc]
Signed-off-by: Santosh Shilimkar <redacted>
---
?drivers/memory/emif.c | ?291 ++++++++++++++++++++++++++++++++++++++++++++++++-
?1 file changed, 290 insertions(+), 1 deletion(-)
Wouldn't this just be better off as a separate file that only gets build
if CONFIG_OF is set, as I'm sure that other systems are going to want
access to these "read the device tree values" functions, right?
Probably yes. At least separate the LPDDR2 memory
generic parameter DT read code. There are parameters like phy
type which is specific to OMAP controllers so that still need to kept
inside EMIF driver. So there in driver, few lines of code will be there
under CONFIG_OF.

I can extract those functions which can be commonly used and put them
in another file under drivers/memory/

Is that fine with you ?

Regards
Santosh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help