[PATCH 5/5] [POWERPC] fsl_soc, legacy_serial: add support for "soc" compatible matching
Kumar Gala
galak at kernel.crashing.org
Sat Jan 26 03:35:06 EST 2008
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 <avorontsov at ru.mvista.com>
> ---
>
> 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
More information about the Linuxppc-dev
mailing list