diff options
author | Vitaly Bordug <vbordug@ru.mvista.com> | 2005-10-28 20:46:28 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-29 00:49:29 -0400 |
commit | 1461b4ea2bcdfb2a386ad3f3095eeb9d73e4bf55 (patch) | |
tree | eab0004612f4e94cb485510a9f6adabd549a8892 /arch/ppc/syslib/mpc8xx_sys.c | |
parent | b37665e0ba1d3f05697bfae249b09a2e9cc95132 (diff) |
[PATCH] ppc32: ppc_sys fixes for 8xx and 82xx
This patch fixes a numbers of issues regarding to that both 8xx and 82xx
began to use ppc_sys model:
- Platform is now identified by default deviceless SOC, if no
BOARD_CHIP_NAME is specified in the bard-specific header. For the list
of supported names refer to (arch/ppc/syslib/) mpc8xx_sys.c and
mpc82xx_sys.c for 8xx and 82xx respectively.
- Fixed a bug in identification by name - if the name was not found,
it returned -1 instead of default deviceless ppc_spec.
- fixed devices amount in the 8xx platform system descriptions
Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/syslib/mpc8xx_sys.c')
-rw-r--r-- | arch/ppc/syslib/mpc8xx_sys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc/syslib/mpc8xx_sys.c b/arch/ppc/syslib/mpc8xx_sys.c index a532ccc861c0..3cc27d29e3af 100644 --- a/arch/ppc/syslib/mpc8xx_sys.c +++ b/arch/ppc/syslib/mpc8xx_sys.c | |||
@@ -24,7 +24,7 @@ struct ppc_sys_spec ppc_sys_specs[] = { | |||
24 | .ppc_sys_name = "MPC86X", | 24 | .ppc_sys_name = "MPC86X", |
25 | .mask = 0xFFFFFFFF, | 25 | .mask = 0xFFFFFFFF, |
26 | .value = 0x00000000, | 26 | .value = 0x00000000, |
27 | .num_devices = 2, | 27 | .num_devices = 7, |
28 | .device_list = (enum ppc_sys_devices[]) | 28 | .device_list = (enum ppc_sys_devices[]) |
29 | { | 29 | { |
30 | MPC8xx_CPM_FEC1, | 30 | MPC8xx_CPM_FEC1, |
@@ -40,7 +40,7 @@ struct ppc_sys_spec ppc_sys_specs[] = { | |||
40 | .ppc_sys_name = "MPC885", | 40 | .ppc_sys_name = "MPC885", |
41 | .mask = 0xFFFFFFFF, | 41 | .mask = 0xFFFFFFFF, |
42 | .value = 0x00000000, | 42 | .value = 0x00000000, |
43 | .num_devices = 3, | 43 | .num_devices = 8, |
44 | .device_list = (enum ppc_sys_devices[]) | 44 | .device_list = (enum ppc_sys_devices[]) |
45 | { | 45 | { |
46 | MPC8xx_CPM_FEC1, | 46 | MPC8xx_CPM_FEC1, |