|
@@ -177,7 +177,7 @@ struct cpu_type *identify_cpu(u32 ver)
|
|
|
/*
|
|
|
* Return a 32-bit mask indicating which cores are present on this SOC.
|
|
|
*/
|
|
|
-u32 cpu_mask(void)
|
|
|
+__weak u32 cpu_mask(void)
|
|
|
{
|
|
|
ccsr_pic_t __iomem *pic = (void *)CONFIG_SYS_MPC8xxx_PIC_ADDR;
|
|
|
struct cpu_type *cpu = gd->arch.cpu;
|
|
@@ -196,7 +196,7 @@ u32 cpu_mask(void)
|
|
|
/*
|
|
|
* Return the number of cores on this SOC.
|
|
|
*/
|
|
|
-int cpu_numcores(void)
|
|
|
+__weak int cpu_numcores(void)
|
|
|
{
|
|
|
struct cpu_type *cpu = gd->arch.cpu;
|
|
|
|