commit | 5fecf834cd02bba12f115583ff91ea27323ba877 | [log] [tgz] |
---|---|---|
author | xypron.glpk@gmx.de <xypron.glpk@gmx.de> | Sat Apr 15 15:23:49 2017 +0200 |
committer | Tom Rini <trini@konsulko.com> | Tue Apr 18 10:29:24 2017 -0400 |
tree | e93e1727b8bfd9f12eb14f3b497808316714bd49 | |
parent | 69f14ce5df0814bd27375fa384fdd8e494b2c27d [diff] |
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>