]> git.sur5r.net Git - u-boot/blobdiff - arch/powerpc/include/asm/ppc.h
powerpc: mpc8xx: make get_immr() independent of CONFIG_8xx
[u-boot] / arch / powerpc / include / asm / ppc.h
index 5e0aa08be936e1b44b099ae6a9083c31610f6d9f..6ba10974b6d2d86b06f1a2fb697bc1d56bf106c6 100644 (file)
 
 #include <asm/processor.h>
 
-#if defined(CONFIG_8xx)
 static inline uint get_immr(uint mask)
 {
        uint immr = mfspr(SPRN_IMMR);
 
        return mask ? (immr & mask) : immr;
 }
-#endif
+
 static inline uint get_pvr(void)
 {
        return mfspr(PVR);