From: Tom Rini Date: Fri, 6 Apr 2018 17:02:58 -0400 Subject: [U-Boot] [U-Boot, v4, 04/16] powerpc: mpc8xx: make get_immr() independent of CONFIG_8xx In-Reply-To: References: Message-ID: <20180406210258.GS19725@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: