From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Kocialkowski Date: Wed, 15 Jul 2015 01:04:32 +0200 Subject: [U-Boot] [PATCH v4 1/8] omap-common: Common boot code OMAP3 support and cleanup In-Reply-To: <20150714221133.GG25532@bill-the-cat> References: <1435789184-6815-1-git-send-email-contact@paulk.fr> <1435789184-6815-2-git-send-email-contact@paulk.fr> <20150714221133.GG25532@bill-the-cat> Message-ID: <1436915068.3704.3.camel@collins> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le mardi 14 juillet 2015 ? 18:11 -0400, Tom Rini a ?crit : > On Thu, Jul 02, 2015 at 12:19:37AM +0200, Paul Kocialkowski wrote: > > [snip] > > @@ -152,7 +172,7 @@ void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image) > > > > debug("image entry point: 0x%X\n", spl_image->entry_point); > > /* Pass the saved boot_params from rom code */ > > - image_entry((u32 *)&gd->arch.omap_boot_params); > > + image_entry((u32 *)*((u32 *)OMAP_SRAM_SCRATCH_BOOT_PARAMS)); > > OK, that's a bit too much casting in there. Well, I could separate this in a few lines with clearer casting indeed ! -- Paul Kocialkowski, Replicant developer Replicant is a fully free Android distribution running on several devices, a free software mobile operating system putting the emphasis on freedom and privacy/security. Website: http://www.replicant.us/ Blog: http://blog.replicant.us/ Wiki/tracker/forums: http://redmine.replicant.us/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: This is a digitally signed message part URL: