From: Kim Phillips Date: Wed, 1 Apr 2009 15:11:47 -0500 Subject: [U-Boot] [PATCH v2 1/3] 86xx: Cleanup MP support In-Reply-To: <1238601989-6251-1-git-send-email-galak@kernel.crashing.org> References: <1238601989-6251-1-git-send-email-galak@kernel.crashing.org> Message-ID: <20090401151147.4783c5b1.kim.phillips@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 1 Apr 2009 11:06:27 -0500 Kumar Gala wrote: > -#if (CONFIG_NUM_CPUS > 1) > -void cpu_mp_lmb_reserve(struct lmb *lmb) > +int cpu_reset(int nr) > +{ > + volatile immap_t *immr = (immap_t *)CONFIG_SYS_IMMR; > + volatile ccsr_pic_t *pic = &immr->im_pic; blank line here > + out_be32(&pic->pir, 1 << nr); > + (void)in_be32(&pic->pir); > + out_be32(&pic->pir, 0x0); can be two setbits32 > +u32 determine_mp_bootpg(void) > +{ > /* if we have 4G or more of memory, put the boot page at 4Gb-1M */ > if ((u64)gd->ram_size > 0xfffff000) > - bootpg = 0xfff00000; > - else > - bootpg = gd->ram_size - (1024 * 1024); > + return (0xfff00000); > + > + return (gd->ram_size - (1024 * 1024)); ? this line not reached Kim