2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 22:53:55 +08:00
linux-next/arch/powerpc
Benjamin Herrenschmidt e8222502ee [PATCH] powerpc: Kill _machine and hard-coded platform numbers
This removes statically assigned platform numbers and reworks the
powerpc platform probe code to use a better mechanism.  With this,
board support files can simply declare a new machine type with a
macro, and implement a probe() function that uses the flattened
device-tree to detect if they apply for a given machine.

We now have a machine_is() macro that replaces the comparisons of
_machine with the various PLATFORM_* constants.  This commit also
changes various drivers to use the new macro instead of looking at
_machine.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-03-28 23:15:54 +11:00
..
boot Merge ../linux-2.6 2006-03-17 12:01:19 +11:00
configs powerpc: Make uImage default build output for MPC8540 ADS 2006-03-27 23:44:37 -06:00
kernel [PATCH] powerpc: Kill _machine and hard-coded platform numbers 2006-03-28 23:15:54 +11:00
lib [PATCH] powerpc: fix various sparse warnings 2006-03-27 14:48:08 +11:00
math-emu powerpc: move math-emu over to arch/powerpc 2006-03-27 23:43:27 -06:00
mm [PATCH] powerpc: Kill _machine and hard-coded platform numbers 2006-03-28 23:15:54 +11:00
oprofile [PATCH] powerpc: Replace platform_is_lpar() with a firmware feature 2006-03-22 15:04:17 +11:00
platforms [PATCH] powerpc: Kill _machine and hard-coded platform numbers 2006-03-28 23:15:54 +11:00
sysdev Merge ../powerpc-merge 2006-02-24 14:05:47 +11:00
xmon [PATCH] powerpc: add a raw dump command to xmon 2006-03-17 13:22:33 +11:00
Kconfig powerpc: Move cpu_setup_6xx.S and temp.c over to arch/powerpc 2006-03-27 19:15:26 +11:00
Kconfig.debug powerpc: remove OCP references 2006-03-27 23:48:37 -06:00
Makefile powerpc: move math-emu over to arch/powerpc 2006-03-27 23:43:27 -06:00