[U-Boot] [U-Boot, v4, 02/16] powerpc: mpc8xx: harmonise initialisation of the immap local pointer

Tom Rini trini at konsulko.com
Fri Apr 6 21:02:49 UTC 2018


On Fri, Mar 16, 2018 at 05:20:33PM +0100, Christophe Leroy wrote:

> In most places, immap local pointer is defined as
> 	immap_t __iomem *immap = (immap_t __iomem *)CONFIG_SYS_IMMR;
> In a few places, it is defined as
> 	immap_t __iomem *immap = (immap_t __iomem *)(immr & 0xFFFF0000);
> 
> This patch replaces the few of the latest form by the other one.
> 
> The two are fully equivalent since SPRN_IMMR is set with CONFIG_SYS_IMMR
> very early in start.S
> 
> Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180406/6a339302/attachment.sig>


More information about the U-Boot mailing list