[PATCH add immr alias 1/4] powerpc: Teach get_immrbase to use immr alias if it exists.

2008-08-05 Thread John Rigby
This will allow the eventual removal of device_type = soc properties in soc nodes. Signed-off-by: John Rigby [EMAIL PROTECTED] --- arch/powerpc/sysdev/fsl_soc.c | 25 +++-- 1 files changed, 23 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_soc.c

Re: [PATCH add immr alias 1/4] powerpc: Teach get_immrbase to use immr alias if it exists.

2008-08-05 Thread Arnd Bergmann
On Tuesday 05 August 2008, John Rigby wrote: This will allow the eventual removal of device_type = soc properties in soc nodes. Stupid question, but why not remove immrbase instead? It seems that all users can be converted to use a reg property of some actual device instead of making

Re: [PATCH add immr alias 1/4] powerpc: Teach get_immrbase to use immr alias if it exists.

2008-08-05 Thread Scott Wood
Arnd Bergmann wrote: On Tuesday 05 August 2008, John Rigby wrote: This will allow the eventual removal of device_type = soc properties in soc nodes. Stupid question, but why not remove immrbase instead? It seems that all users can be converted to use a reg property of some actual device

Re: [PATCH add immr alias 1/4] powerpc: Teach get_immrbase to use immr alias if it exists.

2008-08-05 Thread Kumar Gala
On Aug 5, 2008, at 3:49 PM, Scott Wood wrote: Arnd Bergmann wrote: On Tuesday 05 August 2008, John Rigby wrote: This will allow the eventual removal of device_type = soc properties in soc nodes. Stupid question, but why not remove immrbase instead? It seems that all users can be converted

Re: [PATCH add immr alias 1/4] powerpc: Teach get_immrbase to use immr alias if it exists.

2008-08-05 Thread Grant Likely
On Tue, Aug 5, 2008 at 2:49 PM, Scott Wood [EMAIL PROTECTED] wrote: Arnd Bergmann wrote: On Tuesday 05 August 2008, John Rigby wrote: This will allow the eventual removal of device_type = soc properties in soc nodes. Stupid question, but why not remove immrbase instead? It seems that all

Re: [PATCH add immr alias 1/4] powerpc: Teach get_immrbase to use immr alias if it exists.

2008-08-05 Thread Stephen Rothwell
Hi John, [From further in the discussion, this may no longer be relevant ...] On Tue, 5 Aug 2008 14:13:37 -0600 John Rigby [EMAIL PROTECTED] wrote: - soc = of_find_node_by_type(NULL, soc); + /* + * First look for an immr alias + */ + np = of_find_node_by_name(NULL,