]> git.dujemihanovic.xyz Git - u-boot.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)
commit088d52cfa8ec515316e20a6168dc2dd163c799b9
tree3dbee60f1868458e8d86ccf72f5acfc6f5cfe00a
parent119c01c2a571bb901dd0170b85924f74e362b75c
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