<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/mtd/maps, branch v3.18</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v3.18</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.18'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2014-09-22T17:13:13Z</updated>
<entry>
<title>mtd: physmap_of: Add non-obsolete map_rom probe</title>
<updated>2014-09-22T17:13:13Z</updated>
<author>
<name>Aaron Sierra</name>
<email>asierra@xes-inc.com</email>
</author>
<published>2014-09-17T18:08:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e5bffb59cfbb3371ff00a165a5a48c1f3fdf125a'/>
<id>urn:sha1:e5bffb59cfbb3371ff00a165a5a48c1f3fdf125a</id>
<content type='text'>
Previously, the only way to map a NOR device as a simple ROM was to
use the obsolete "direct-mapped" compatible binding (which further
requires device_type = "nor" and probe-type = "NOR" properties).

This patch adds an "mtd-rom" compatible binding to the "map_rom"
probe type.

Signed-off-by: Aaron Sierra &lt;asierra@xes-inc.com&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: physmap_of: Fix ROM support via OF</title>
<updated>2014-09-22T17:13:11Z</updated>
<author>
<name>Aaron Sierra</name>
<email>asierra@xes-inc.com</email>
</author>
<published>2014-09-17T18:08:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9b07a8d1ab85ccacaceb9f704c361119348aabab'/>
<id>urn:sha1:9b07a8d1ab85ccacaceb9f704c361119348aabab</id>
<content type='text'>
The "ROM" and unknown probe types within the obsolete "direct-mapped"
probe function used the nonexistent "mtd_rom" probe instead of the
intended "map_rom".

Signed-off-by: Aaron Sierra &lt;asierra@xes-inc.com&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: gpio_flash: handle case where offset + len exceeds the window size</title>
<updated>2014-08-19T18:53:10Z</updated>
<author>
<name>Aaron Wu</name>
<email>aaron.wu@analog.com</email>
</author>
<published>2014-08-07T03:43:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=02f8a24e7b1c253ee37edc684200c11300de23f9'/>
<id>urn:sha1:02f8a24e7b1c253ee37edc684200c11300de23f9</id>
<content type='text'>
Fix the bug in handling gpio flash read/write when offset + len
from MTD exceeds the window size

Signed-off-by: Aaron Wu &lt;Aaron.wu@analog.com&gt;

[Brian: made some commentary edits. Also note that the BUG_ON() was
provably false for all non-negative inputs (since x % y &lt;= x), so we
dropped it.]

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: maps: solutionengine: drop excess dependency</title>
<updated>2014-08-19T18:53:09Z</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2014-07-22T02:07:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7a6f43958a53020f85818ff5c895623e88781fd6'/>
<id>urn:sha1:7a6f43958a53020f85818ff5c895623e88781fd6</id>
<content type='text'>
Already depends on SOLUTION_ENGINE, so we don't need the SUPERH
dependency too.

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: use NULL instead of 0 for an address</title>
<updated>2014-08-19T18:53:05Z</updated>
<author>
<name>Martin Kepplinger</name>
<email>martink@posteo.de</email>
</author>
<published>2014-07-31T14:31:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9b6e5172e363b0c35a6be4d3197f3bcdc789292e'/>
<id>urn:sha1:9b6e5172e363b0c35a6be4d3197f3bcdc789292e</id>
<content type='text'>
Use NULL instead of 0 when returning an address. This fixes a
sparse warning.

Signed-off-by: Martin Kepplinger &lt;martink@posteo.de&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: maps: rbtx4939-flash: delete an unused variable in rbtx4939_flash_remove</title>
<updated>2014-07-02T22:21:39Z</updated>
<author>
<name>Atsushi Nemoto</name>
<email>anemo@mba.ocn.ne.jp</email>
</author>
<published>2014-06-28T15:01:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e4c4c9c15ebe8ec03b7f5bf36e079052cc88217c'/>
<id>urn:sha1:e4c4c9c15ebe8ec03b7f5bf36e079052cc88217c</id>
<content type='text'>
Signed-off-by: Atsushi Nemoto &lt;anemo@mba.ocn.ne.jp&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: maps: remove check for CONFIG_MTD_SUPERH_RESERVE</title>
<updated>2014-05-28T22:12:47Z</updated>
<author>
<name>Paul Bolle</name>
<email>pebolle@tiscali.nl</email>
</author>
<published>2014-05-23T14:29:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=390e9eacf1dcece3cee8fb4d95edbfea90574e91'/>
<id>urn:sha1:390e9eacf1dcece3cee8fb4d95edbfea90574e91</id>
<content type='text'>
Since (a few releases before) v2.6.0 there have been checks for
CONFIG_MTD_SUPERH_RESERVE. One check is still present. But a Kconfig
symbol MTD_SUPERH_RESERVE has never been added. So a few lines of dead
code can be removed.

Signed-off-by: Paul Bolle &lt;pebolle@tiscali.nl&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: maps: sc520cdp: fix warnings</title>
<updated>2014-05-28T07:05:24Z</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2014-05-12T23:41:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3a9f76bdf365efdc869125f9f2386643007f997b'/>
<id>urn:sha1:3a9f76bdf365efdc869125f9f2386643007f997b</id>
<content type='text'>
On m86k, and maybe a few other architectures, we get this kind of
warning, due to misuse of volatile:

   drivers/mtd/maps/sc520cdp.c: In function 'sc520cdp_setup_par':
&gt;&gt; drivers/mtd/maps/sc520cdp.c:223:2: warning: passing argument 1 of 'iounmap' discards 'volatile' qualifier from pointer target type [enabled by default]
   arch/m68k/include/asm/raw_io.h:22:13: note: expected 'void *' but argument is of type 'volatile long unsigned int *'

Rather than annotating the variable declaration, let's just use the
proper accessors, which add the 'volatile' qualifier to the operation.

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: Fix Elan SC520 dependencies</title>
<updated>2014-05-12T18:55:53Z</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2014-03-14T17:14:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3579ad4113dd6102866abb0ac7b8f329e7d41e4e'/>
<id>urn:sha1:3579ad4113dd6102866abb0ac7b8f329e7d41e4e</id>
<content type='text'>
Anyone working with an AMD Elan SC520 development or evaluation board
would be building a dedicated kernel for it, so we can make the
sc520cdp and netsc520 maps depend on MELAN. SC520_CPUFREQ already
depends on MELAN so it makes things more consistent. It also makes
kernel configuration for every other x86 user easier.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>mtd: allow CONFIG_MTD_PHYSMAP_OF also for CONFIG_MTD_RAM</title>
<updated>2014-03-11T05:42:29Z</updated>
<author>
<name>Philippe De Muyter</name>
<email>phdm@macqel.be</email>
</author>
<published>2014-03-05T23:00:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=670b46aa6cad88e126c5e7d0f37ed2b41693869d'/>
<id>urn:sha1:670b46aa6cad88e126c5e7d0f37ed2b41693869d</id>
<content type='text'>
Up to now mtd-ram devices described in device trees were only accessible
if mtd-flash or mtd-rom were also configured at linux configuration
time, because MTD_PHYSMAP_OF was only available if (MTD_CFI ||
MTD_JEDECPROBE || MTD_ROM).  Allow MTD_PHYSMAP_OF selection also
when only MTD_RAM is set.

Signed-off-by: Philippe De Muyter &lt;phdm@macqel.be&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
</feed>
