[U-Boot] [PATCH v4 1/8] omap-common: Common boot code OMAP3 support and cleanup

Paul Kocialkowski contact at paulk.fr
Wed Jul 15 01:04:32 CEST 2015


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: <http://lists.denx.de/pipermail/u-boot/attachments/20150715/b0c7dd93/attachment.sig>


More information about the U-Boot mailing list