]> git.sur5r.net Git - u-boot/commit
powerpc: Remove __ilog2_u64 and ffs4 from bitops
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 5 Nov 2015 14:43:40 +0000 (12:43 -0200)
committerTom Rini <trini@konsulko.com>
Thu, 5 Nov 2015 21:47:05 +0000 (16:47 -0500)
commit2d2f490dd594a9a3fcf3649f572e910771007962
tree56c3aa67cae4dd85e681e437f931951c54ba15da
parentf8fdb81f6cbf9387fee7a8ab82b315798a7038ba
powerpc: Remove __ilog2_u64 and ffs4 from bitops

Remove __ilog2_u64 and ffs4 from powerpc bitops to align with the
kernel implementation.

Use the generic __ffs64 instead of a custom powerpc implementation.

Cc: York Sun <yorksun@freescale.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Jagan Teki <jteki@openedev.com>
arch/powerpc/cpu/mpc83xx/law.c
arch/powerpc/cpu/mpc85xx/tlb.c
arch/powerpc/cpu/mpc8xxx/law.c
arch/powerpc/include/asm/bitops.h
arch/powerpc/include/asm/fsl_law.h
arch/powerpc/include/asm/fsl_srio.h