David S. Miller
ad07aed8ca
sparc: Move of_console_{device,path,options} info prom_common.c
...
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-05 18:17:08 -08:00
David S. Miller
23dc758e47
sparc: Move prom_build_devicetree() into prom_common.c
...
To make this work we provide a dummy nop implementation
of of_fill_in_cpu_data() for sparc32.
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-05 18:16:48 -08:00
David S. Miller
6524036a1e
sparc: Move core of OF device tree building code into prom_common.c
...
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-05 18:15:03 -08:00
David S. Miller
7d9439d50b
sparc: Move create_node() and friends into prom_common.c
...
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-05 17:09:10 -08:00
David S. Miller
b9e5567cda
sparc: Move property building code into prom_common.c
...
Unfortunately there is some sparc32/sparc64 ifdef'ery in
here due to the difference in how the prom_firstprop()
and prom_nextprop() routines work.
This will be eliminated eventually.
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-05 17:04:22 -08:00
David S. Miller
e5ff0fe31d
sparc: Move 'unique_id' into prom_common.c and rename to 'prom_unique_id'
...
This will be used in a subsequent changeset.
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-05 17:03:30 -08:00
David S. Miller
dfa76060be
sparc: Create common area for OF device layer code.
...
This is where common code implementations will go as we unify
32-bit and 64-bit OF device tree code.
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-05 17:00:13 -08:00