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
..
2006-03-25 08:22:54 -08:00
2006-03-24 07:33:23 -08:00
2006-03-24 07:33:23 -08:00
2006-03-26 08:56:55 -08:00
2006-03-23 07:38:13 -08:00
2006-03-24 18:23:14 +01:00
2006-03-24 07:33:23 -08:00
2006-03-26 08:57:00 -08:00
2006-03-24 18:42:13 +01:00
2006-03-26 08:56:55 -08:00
2006-03-20 13:42:59 -08:00
2006-03-23 07:38:17 -08:00
2006-03-24 07:33:23 -08:00
2006-03-26 09:41:18 -08:00
2006-03-26 08:57:02 -08:00
2006-03-26 08:57:01 -08:00
2006-03-24 07:33:23 -08:00
2006-02-28 20:53:43 -08:00
2006-03-26 09:41:18 -08:00
2006-03-26 08:57:01 -08:00
2006-03-24 07:33:23 -08:00
2006-03-22 07:54:04 -08:00
2006-03-24 07:33:24 -08:00
2006-03-26 08:56:55 -08:00
2006-03-24 07:33:23 -08:00
2006-03-26 08:56:55 -08:00
2006-03-26 08:57:01 -08:00
2006-03-26 08:56:55 -08:00
2006-03-25 08:22:56 -08:00
2006-03-24 07:33:23 -08:00
2006-03-26 08:57:00 -08:00
2006-03-26 08:56:56 -08:00
2006-03-24 07:33:19 -08:00
2006-03-26 08:57:15 -08:00
2006-03-26 08:57:01 -08:00
2006-03-28 23:15:54 +11:00
2006-03-28 16:45:23 +11:00
2006-03-24 07:33:23 -08:00
2006-03-23 07:38:17 -08:00
2006-03-26 08:57:01 -08:00
2006-03-24 07:33:23 -08:00
2006-03-25 08:22:55 -08:00
2006-03-20 13:42:59 -08:00
2006-03-24 07:33:23 -08:00
2006-03-25 08:23:00 -08:00
2006-03-24 18:21:44 +01:00
2006-03-26 08:57:01 -08:00
2006-03-25 08:23:00 -08:00
2006-03-24 18:38:48 +01:00
2006-03-25 09:10:52 -08:00
2006-03-25 08:23:01 -08:00
2006-03-26 08:57:00 -08:00
2006-03-26 08:57:01 -08:00
2006-03-26 09:41:18 -08:00
2006-03-25 08:23:00 -08:00
2006-03-24 07:33:19 -08:00
2006-03-25 08:23:00 -08:00
2006-03-26 09:41:18 -08:00
2006-03-26 08:56:56 -08:00
2006-03-26 08:57:01 -08:00
2006-03-26 08:56:56 -08:00
2006-03-24 07:33:23 -08:00
2006-03-26 08:56:56 -08:00
2006-03-26 08:57:03 -08:00
2006-03-26 08:56:56 -08:00
2006-03-07 09:16:35 -08:00
2006-03-23 07:38:17 -08:00
2006-03-23 07:38:09 -08:00
2006-03-25 08:22:56 -08:00
2006-03-26 08:56:56 -08:00
2006-03-26 08:56:56 -08:00
2006-03-23 23:44:19 -05:00
2006-03-23 07:38:12 -08:00
2006-03-26 08:56:56 -08:00
2006-03-23 19:56:55 +01:00
2006-03-24 07:33:23 -08:00
2006-03-26 08:57:01 -08:00
2006-03-25 09:24:53 -08:00
2006-03-26 08:56:56 -08:00
2006-03-24 07:33:19 -08:00
2006-03-25 09:24:53 -08:00
2006-03-26 08:56:56 -08:00
2006-03-24 07:33:24 -08:00
2006-03-23 07:38:11 -08:00
2006-03-23 07:38:11 -08:00
2006-03-25 08:23:01 -08:00
2006-03-23 07:38:12 -08:00
2006-03-26 08:56:55 -08:00
2006-03-20 14:08:53 -05:00