<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/memory/of_memory.h, branch v3.12.10</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/memory/of_memory.h?h=v3.12.10</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/memory/of_memory.h?h=v3.12.10'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-09-05T18:57:19Z</updated>
<entry>
<title>memory: fix build when CONFIG_OF &amp;&amp; !CONFIG_DDR</title>
<updated>2012-09-05T18:57:19Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2012-09-05T18:29:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7c304d7e24fd4996a2b219312f739c4406b8e2e3'/>
<id>urn:sha1:7c304d7e24fd4996a2b219312f739c4406b8e2e3</id>
<content type='text'>
Commit e6b42eb "memory: emif: add device tree support to emif driver"
added drivers/memory/of_memory.c, which references tables defined in
lib/jedec_ddr_data.c. of_memory.c is compiled when CONFIG_OF, whereas
jedec_ddr_data.c is compiled when CONFIG_DDR. This breaks the build
when CONFIG_OF is defined but not CONFIG_DDR:

drivers/built-in.o: In function `of_get_ddr_timings':
drivers/memory/of_memory.c:138: undefined reference to `lpddr2_jedec_timings'
drivers/built-in.o: In function `of_get_min_tck':
drivers/memory/of_memory.c:62: undefined reference to `lpddr2_jedec_min_tck'
make: *** [vmlinux] Error 1

To solve this, only compile of_memory.c when CONFIG_OF &amp;&amp; CONFIG_DDR,
otherwise, stub out the functions.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>memory: emif: add device tree support to emif driver</title>
<updated>2012-09-04T23:14:31Z</updated>
<author>
<name>Aneesh V</name>
<email>aneesh@ti.com</email>
</author>
<published>2012-08-17T08:35:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e6b42eb6a66c188642aeb447312938c6f6ebee86'/>
<id>urn:sha1:e6b42eb6a66c188642aeb447312938c6f6ebee86</id>
<content type='text'>
Device tree support for the EMIF driver. LPDDR2 generic timings
extraction from device is managed using couple of helper
functions which can be used by other memory controller
drivers.

Reviewed-by: Benoit Cousson &lt;b-cousson@ti.com&gt;
Reviewed-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Tested-by: Lokesh Vutla &lt;lokeshvutla@ti.com&gt;
Signed-off-by: Aneesh V &lt;aneesh@ti.com&gt;
Signed-off-by: Santosh Shilimkar &lt;santosh.shilimkar@ti.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
