]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Abolish powerpc_flash_init()
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 4 May 2007 06:38:03 +0000 (16:38 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 8 May 2007 05:09:26 +0000 (15:09 +1000)
commit197686dfe0038fd190326d118b743ff65ad20c0e
tree1da1220830a2658cb043519bdc2ecb6822622ce6
parentd9b55a03611ff2e2e54fb4e1ad2648d5eb870fa3
[POWERPC] Abolish powerpc_flash_init()

powerpc_flash_init() implements a broken way of probing for flash
devices supported by the physmap_of driver.  It finds all nodes in the
device tree with device_type=="rom" and instantiates of_platform
devices for them.  This is fundamentally incompatible with the normal
and correct way of probing for of_platform_bus_probe().  Platforms
which relied on powerpc_flash_init()s behaviour (none are in-tree)
will have to update their platform probing code to correctly probe
busses containing flash devices.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/sysdev/Makefile
arch/powerpc/sysdev/rom.c [deleted file]