From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 14 Jul 2015 18:11:33 -0400 Subject: [U-Boot] [PATCH v4 1/8] omap-common: Common boot code OMAP3 support and cleanup In-Reply-To: <1435789184-6815-2-git-send-email-contact@paulk.fr> References: <1435789184-6815-1-git-send-email-contact@paulk.fr> <1435789184-6815-2-git-send-email-contact@paulk.fr> Message-ID: <20150714221133.GG25532@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: