[U-Boot] [U-Boot, v4, 04/16] powerpc: mpc8xx: make get_immr() independent of CONFIG_8xx

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


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

> SPRN_IMMR is defined regardless of the CPU. Therefore, there
> is no point in enclosing get_immr() inside a #ifdef CONFIG_8xx
> 
> As it a static inline function, it will in any case only be
> compiled in functons using it.
> 
> 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/f118c905/attachment.sig>


More information about the U-Boot mailing list