[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>
This commit is contained in:

committed by
Paul Mackerras

parent
b37665e0ba
commit
1461b4ea2b
@@ -62,6 +62,10 @@ m8260_setup_arch(void)
|
||||
if (initrd_start)
|
||||
ROOT_DEV = Root_RAM0;
|
||||
#endif
|
||||
|
||||
identify_ppc_sys_by_name_and_id(BOARD_CHIP_NAME,
|
||||
in_be32(CPM_MAP_ADDR + CPM_IMMR_OFFSET));
|
||||
|
||||
m82xx_board_setup();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user