<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/mtd/maps/physmap.c, branch v3.0.56</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/mtd/maps/physmap.c?h=v3.0.56</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/mtd/maps/physmap.c?h=v3.0.56'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-05-28T03:06:53Z</updated>
<entry>
<title>Merge git://git.infradead.org/mtd-2.6</title>
<updated>2011-05-28T03:06:53Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-05-28T03:06:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=29a6ccca3869bbe33879dae0cd7df2a1559eff54'/>
<id>urn:sha1:29a6ccca3869bbe33879dae0cd7df2a1559eff54</id>
<content type='text'>
* git://git.infradead.org/mtd-2.6: (97 commits)
  mtd: kill CONFIG_MTD_PARTITIONS
  mtd: remove add_mtd_partitions, add_mtd_device and friends
  mtd: convert remaining users to mtd_device_register()
  mtd: samsung onenand: convert to mtd_device_register()
  mtd: omap2 onenand: convert to mtd_device_register()
  mtd: txx9ndfmc: convert to mtd_device_register()
  mtd: tmio_nand: convert to mtd_device_register()
  mtd: socrates_nand: convert to mtd_device_register()
  mtd: sharpsl: convert to mtd_device_register()
  mtd: s3c2410 nand: convert to mtd_device_register()
  mtd: ppchameleonevb: convert to mtd_device_register()
  mtd: orion_nand: convert to mtd_device_register()
  mtd: omap2: convert to mtd_device_register()
  mtd: nomadik_nand: convert to mtd_device_register()
  mtd: ndfc: convert to mtd_device_register()
  mtd: mxc_nand: convert to mtd_device_register()
  mtd: mpc5121_nfc: convert to mtd_device_register()
  mtd: jz4740_nand: convert to mtd_device_register()
  mtd: h1910: convert to mtd_device_register()
  mtd: fsmc_nand: convert to mtd_device_register()
  ...

Fixed up trivial conflicts in
 - drivers/mtd/maps/integrator-flash.c: removed in ARM tree
 - drivers/mtd/maps/physmap.c: addition of afs partition probe type
   clashing with removal of CONFIG_MTD_PARTITIONS
</content>
</entry>
<entry>
<title>mtd: physmap: convert to mtd_device_register()</title>
<updated>2011-05-25T01:15:37Z</updated>
<author>
<name>Jamie Iles</name>
<email>jamie@jamieiles.com</email>
</author>
<published>2011-05-23T09:22:45Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=984e6d8ec5abe0487e4c3c22d233cd6ba8695cda'/>
<id>urn:sha1:984e6d8ec5abe0487e4c3c22d233cd6ba8695cda</id>
<content type='text'>
Convert to mtd_device_register() and remove the CONFIG_MTD_PARTITIONS
preprocessor conditionals as partitioning is always available.

Signed-off-by: Jamie Iles &lt;jamie@jamieiles.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>ARM: 6910/1: MTD: physmap: let set_vpp() pass a platform_device instead of a map_info</title>
<updated>2011-05-20T21:27:34Z</updated>
<author>
<name>Marc Zyngier</name>
<email>Marc.Zyngier@arm.com</email>
</author>
<published>2011-05-18T09:51:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=667f390bee987d45351402e42008c52cdfb77d76'/>
<id>urn:sha1:667f390bee987d45351402e42008c52cdfb77d76</id>
<content type='text'>
The set_vpp() method provided by physmap passes a map_info back to
the platform code, which has little relevance as far as the platform
is concerned (this parameter is completely unused).

Instead, pass the platform_device, which can be used in the pismo
driver to retrieve some important information in a nicer way, instead
of the hack that was in place.

The empty set_vpp function in board-at572d940hf_ek.c is left untouched,
as the board/SoC is scheduled for removal.

Cc: Andrew Victor &lt;linux@maxim.org.za&gt;
Cc: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Acked-by: Jean-Christophe PLAGNIOL-VILLARD &lt;plagnioj@jcrosoft.com&gt;
Cc: Philipp Zabel &lt;philipp.zabel@gmail.com&gt;
Cc: Eric Miao &lt;eric.y.miao@gmail.com&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.org&gt;
Acked-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Acked-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
Signed-off-by: Marc Zyngier &lt;marc.zyngier@arm.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: 6904/1: MTD: Add integrator-flash feature to physmap</title>
<updated>2011-05-20T21:26:53Z</updated>
<author>
<name>Marc Zyngier</name>
<email>Marc.Zyngier@arm.com</email>
</author>
<published>2011-05-18T09:51:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b7281ca2a4b00044c60c25059f467d05772cdbe3'/>
<id>urn:sha1:b7281ca2a4b00044c60c25059f467d05772cdbe3</id>
<content type='text'>
In the process of moving platforms away from integrator-flash
(aka armflash), add to physmap the few features that make
armflash unique:

- optionnal probing for the AFS partition type
- init() and exit() methods, used by Integrator to control
  write access to the various onboard programmable components

Signed-off-by: Marc Zyngier &lt;marc.zyngier@arm.com&gt;
Acked-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Acked-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Acked-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>mtd: drop CONFIG_MTD_CONCAT ifdefs</title>
<updated>2011-03-11T14:22:40Z</updated>
<author>
<name>Dmitry Eremin-Solenikov</name>
<email>dbaryshkov@gmail.com</email>
</author>
<published>2011-01-11T11:33:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a8adc3f01b9a757a0d290b2987af6b998697399f'/>
<id>urn:sha1:a8adc3f01b9a757a0d290b2987af6b998697399f</id>
<content type='text'>
As MTD_CONCAT is becoming a part of mtd core, it's now meaningless
to to check for it in ifdefs. Drop such references from MTD code.

Signed-off-by: Dmitry Eremin-Solenikov &lt;dbaryshkov@gmail.com&gt;
Acked-by: Stefan Roese &lt;sr@denx.de&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>mtd-physmap: add support users can assign the probe type in board files</title>
<updated>2010-08-08T11:28:15Z</updated>
<author>
<name>Barry Song</name>
<email>21cnbao@gmail.com</email>
</author>
<published>2010-01-15T07:50:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=78ef7fab0eb0a5b159842bac89aed74bb0aa7bfe'/>
<id>urn:sha1:78ef7fab0eb0a5b159842bac89aed74bb0aa7bfe</id>
<content type='text'>
There are three reasons to add this support:
1. users probably know the interface type of their flashs, then probe
can be faster if they give the right type in platform data since wrong
types will not be detected.
2. sometimes, detecting can cause destory to system. For example, for
kernel XIP, detecting can cause NOR enter a mode instructions can not
be fetched right, which will make kernel crash.
3. For a new probe which is not listed in the rom_probe_types, if users
assign it in board files, physmap can still probe it.

Signed-off-by: Barry Song &lt;21cnbao@gmail.com&gt;
Signed-off-by: Mike Frysinger &lt;vapier.adi@gmail.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>mtd: physmap: use resource_size()</title>
<updated>2010-08-02T08:03:55Z</updated>
<author>
<name>H Hartley Sweeten</name>
<email>hartleys@visionengravers.com</email>
</author>
<published>2010-06-14T16:57:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1d90d2c3d4ef8ba4f8e05b3578900397333b1bd1'/>
<id>urn:sha1:1d90d2c3d4ef8ba4f8e05b3578900397333b1bd1</id>
<content type='text'>
Signed-off-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>mtd/maps/physmap: catch failure to register MTD_PHYSMAP_COMPAT device</title>
<updated>2010-04-20T07:53:52Z</updated>
<author>
<name>H Hartley Sweeten</name>
<email>hartleys@visionengravers.com</email>
</author>
<published>2010-04-02T22:46:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1ca5d2f0196cfca678086fa6f88eec4f9d0307ee'/>
<id>urn:sha1:1ca5d2f0196cfca678086fa6f88eec4f9d0307ee</id>
<content type='text'>
If the default Kconfig values are used with MTD_PHYSMAP_COMPAT you end
up with a resource where end &lt; start.  This causes __request_resource to
return a conflict which then returns an -EBUSY error code.  The current
physmap.c code just assumes that the platfom_device_register will always
succeed.

Catch this failure during the physmap_init and propogate the error.

Signed-off-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Reported-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>mtd: error return -EIO instead of EIO</title>
<updated>2009-11-30T09:51:44Z</updated>
<author>
<name>Roel Kluin</name>
<email>roel.kluin@gmail.com</email>
</author>
<published>2009-11-11T20:47:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=895fb49459227edbb4a4e5a2b5e9d12c34640f84'/>
<id>urn:sha1:895fb49459227edbb4a4e5a2b5e9d12c34640f84</id>
<content type='text'>
Return a negative error value instead of a positive

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>mtd: Fix compile failure and error path in physmap.c</title>
<updated>2009-10-20T21:29:27Z</updated>
<author>
<name>H Hartley Sweeten</name>
<email>hartleys@visionengravers.com</email>
</author>
<published>2009-10-20T16:23:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8ce110ac19bc88b82e3feacfbb3a2ee08a07fe22'/>
<id>urn:sha1:8ce110ac19bc88b82e3feacfbb3a2ee08a07fe22</id>
<content type='text'>
Commit 4b56ffcacee937a85bf39e14872dd141e23ee85f ("mtd: Fix kernel NULL
pointer dereference in physmap.c") introduced a couple of bugs.

It neglected to run the loop of map_destroy() calls in
physmap_flash_remove(), if !info-&gt;cmtd, which would happen if that
function was called to clean up errors during probe.

It also failed to compile if CONFIG_MTD_PARTITIONS was not defined.

Reported-By: Atsushi Nemoto &lt;anemo@mba.ocn.ne.jp&gt;
Signed-off-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
</feed>
