Thread (27 messages) 27 messages, 5 authors, 2008-02-06

Re: [PATCH 5/5] [POWERPC] fsl_soc, legacy_serial: add support for "soc" compatible matching

From: Kumar Gala <hidden>
Date: 2008-01-26 00:46:24

On Jan 24, 2008, at 9:40 AM, Anton Vorontsov wrote:
We'll match on "soc" compatible for generic code, and "fsl,soc"
for fsl specific code.

Unfortunately it's still impossible to remove device_type = "soc"
from the existing device tree, because older u-boots are looking for
it.

Neither we can remove model number from the soc name to heal
arch/powerpc/boot/cuboot-85xx.c, because then dts'es will be
incompatible with older u-boots again.

So, just one machine converted so far: MPC8360E-RDK. It's new machine
so we don't care about backward compatibility yet.

Signed-off-by: Anton Vorontsov <redacted>
---

I know, this patch will conflict with the legacy serial rework[1].
It's okay though, if [1] will hit galak/powerpc.git first, I'll
simply rebase that patch.

[1] http://ozlabs.org/pipermail/linuxppc-dev/2008-January/050096.html

Documentation/powerpc/booting-without-of.txt |   18 ++++------
arch/powerpc/boot/dts/mpc836x_rdk.dts        |    1 -
arch/powerpc/kernel/legacy_serial.c          |    3 +-
arch/powerpc/sysdev/fsl_soc.c                |   51 ++++++++++++++ 
+-----------
4 files changed, 39 insertions(+), 34 deletions(-)
this needs a bit more discussion.  "fsl,soc" is terrible describe.  I  
think we want some generic for the compat that implies 'soc register  
space'.

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help