]> git.baikalelectronics.ru Git - uboot.git/commit
driver/ifc: replace __ilog2 with LOG2 macro
authorRajesh Bhagat <rajesh.bhagat@nxp.com>
Mon, 5 Nov 2018 18:01:19 +0000 (18:01 +0000)
committerYork Sun <york.sun@nxp.com>
Thu, 6 Dec 2018 22:37:07 +0000 (14:37 -0800)
commit8b8b2997fb8fd5766c138ce680a22a4c28e293ee
tree3dbee60f1868458e8d86ccf72f5acfc6f5cfe00a
parent0036d73c2409ce60739126ec3a9c02af9d9d2916
driver/ifc: replace __ilog2 with LOG2 macro

Replaces __ilog2 function call with LOG2 macro, required to
use macros in global variables.

Also, corrects the value passed in LOG2 for some PowerPC
platforms. Minimum value that can be configured is is 64K
for IFC IP.

Signed-off-by: Pankit Garg <pankit.garg@nxp.com>
Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>
[YS: fix white space around operator]
Reviewed-by: York Sun <york.sun@nxp.com>
include/configs/B4860QDS.h
include/configs/T102xQDS.h
include/configs/T1040QDS.h
include/configs/T208xQDS.h
include/configs/T4240QDS.h
include/configs/T4240RDB.h
include/fsl_ifc.h