diff options
author | Rajesh Bhagat <rajesh.bhagat@nxp.com> | 2018-11-05 21:01:19 +0300 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2018-12-07 01:37:07 +0300 |
commit | 088d52cfa8ec515316e20a6168dc2dd163c799b9 (patch) | |
tree | 3dbee60f1868458e8d86ccf72f5acfc6f5cfe00a /include/configs/T102xQDS.h | |
parent | 119c01c2a571bb901dd0170b85924f74e362b75c (diff) | |
download | u-boot-088d52cfa8ec515316e20a6168dc2dd163c799b9.tar.xz |
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>
Diffstat (limited to 'include/configs/T102xQDS.h')
-rw-r--r-- | include/configs/T102xQDS.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/T102xQDS.h b/include/configs/T102xQDS.h index 42bfd07f58..f3b0fe0144 100644 --- a/include/configs/T102xQDS.h +++ b/include/configs/T102xQDS.h @@ -290,7 +290,7 @@ unsigned long get_board_ddr_clk(void); | CSPR_PORT_SIZE_8 \ | CSPR_MSEL_GPCM \ | CSPR_V) -#define CONFIG_SYS_AMASK3 IFC_AMASK(4*1024) +#define CONFIG_SYS_AMASK3 IFC_AMASK(64 * 1024) #define CONFIG_SYS_CSOR3 0x0 /* QIXIS Timing parameters for IFC CS3 */ #define CONFIG_SYS_CS3_FTIM0 (FTIM0_GPCM_TACSE(0x0e) | \ |