mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
powerpc/8xxx: share PIC defines among 85xx and 86xx
fixes breakeage introduced by commit
a37c36f4e7
"powerpc/8xxx: query
feature reporting register for num cores on unknown cpus"
Reported-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
@ -74,7 +74,7 @@ int checkcpu (void)
|
||||
puts("Unicore software on multiprocessor system!!\n"
|
||||
"To enable mutlticore build define CONFIG_MP\n");
|
||||
#endif
|
||||
volatile ccsr_pic_t *pic = (void *)(CONFIG_SYS_MPC85xx_PIC_ADDR);
|
||||
volatile ccsr_pic_t *pic = (void *)(CONFIG_SYS_MPC8xxx_PIC_ADDR);
|
||||
printf("CPU%d: ", pic->whoami);
|
||||
} else {
|
||||
puts("CPU: ");
|
||||
|
Reference in New Issue
Block a user