arm64: mvebu: incorrect check of fdt address cells
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Wed, 3 May 2017 21:31:58 +0000 (23:31 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 5 May 2017 20:45:56 +0000 (16:45 -0400)
commit1275a44e2f0579aba11d59c92c1717d5f9abc5e9
tree7085ec25b41672e37ae25ab94292ef0390cf4ffa
parentcc93834dee106553e76b69b5cedab2de0c506fff
arm64: mvebu: incorrect check of fdt address cells

In dram_init_banksize there seems to be a typo concerning
a plausibility check of the fdt.
Testing sc > 2 twice does not make any sense.

The problem was indicated by cppcheck.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
arch/arm/mach-mvebu/arm64-common.c