u-boot-brain/drivers/ddr/fsl
xypron.glpk@gmx.de 0e0de24b07 ddr: fsl: incorrect logical constraint in populate_memctl_options
(pdimm[0].data_width >= 32) || (pdimm[0].data_width <= 40)
is always true.

We should use && here.

The problem was indicated by cppcheck.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: York Sun <york.sun@nxp.com>
2017-04-18 10:29:24 -04:00
..
arm_ddr_gen3.c ddr: fsl: Merge macro CONFIG_NUM_DDR_CONTROLLERS and CONFIG_SYS_NUM_DDR_CTRLS 2017-01-04 19:40:52 -05:00
ctrl_regs.c ddr: fsl: Merge macro CONFIG_NUM_DDR_CONTROLLERS and CONFIG_SYS_NUM_DDR_CTRLS 2017-01-04 19:40:52 -05:00
ddr1_dimm_params.c drivers: squash lines for immediate return 2016-09-23 17:53:54 -04:00
ddr2_dimm_params.c drivers: squash lines for immediate return 2016-09-23 17:53:54 -04:00
ddr3_dimm_params.c Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
ddr4_dimm_params.c driver/ddr/fsl: Fix driver to support empty first slot 2015-04-23 08:55:53 -07:00
fsl_ddr_gen4.c ddr: fsl: Merge macro CONFIG_NUM_DDR_CONTROLLERS and CONFIG_SYS_NUM_DDR_CTRLS 2017-01-04 19:40:52 -05:00
fsl_mmdc.c driver: ddr: fsl_mmdc: Pass board parameters through data structure 2016-09-26 08:53:07 -07:00
interactive.c ddr: fsl: Merge macro CONFIG_NUM_DDR_CONTROLLERS and CONFIG_SYS_NUM_DDR_CTRLS 2017-01-04 19:40:52 -05:00
Kconfig ddr: fsl: Merge macro CONFIG_NUM_DDR_CONTROLLERS and CONFIG_SYS_NUM_DDR_CTRLS 2017-01-04 19:40:52 -05:00
lc_common_dimm_params.c Fix typo choosen in comments and printf logs 2016-03-27 09:12:23 -04:00
main.c board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
Makefile fsl_ddr: Move DDR config options to driver Kconfig 2017-01-04 19:40:41 -05:00
mpc85xx_ddr_gen1.c powerpc: MPC8555: Remove macro CONFIG_MPC8555 2016-11-23 23:42:05 -08:00
mpc85xx_ddr_gen2.c Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
mpc85xx_ddr_gen3.c ddr: fsl: Merge macro CONFIG_NUM_DDR_CONTROLLERS and CONFIG_SYS_NUM_DDR_CTRLS 2017-01-04 19:40:52 -05:00
mpc86xx_ddr.c Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
options.c ddr: fsl: incorrect logical constraint in populate_memctl_options 2017-04-18 10:29:24 -04:00
util.c ddr: fsl: Merge macro CONFIG_NUM_DDR_CONTROLLERS and CONFIG_SYS_NUM_DDR_CTRLS 2017-01-04 19:40:52 -05:00