]> git.ipfire.org Git - people/ms/u-boot.git/commit
ARM: hisilicon: hikey: do not rely on random stack value
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Sun, 30 Jul 2017 19:30:55 +0000 (21:30 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 13 Aug 2017 19:17:29 +0000 (15:17 -0400)
commit2d5e86b110e7287beba0627c41dab795e8d17aea
treea376188f41163de23f69b08930d2e3885bea2c5c
parentd1fe19766bc2a4c065b29a5617472c66a2696a67
ARM: hisilicon: hikey: do not rely on random stack value

If CONFIG_MMC_DW is not defined the return value of
init_dwmmc should not rely on a random stack value.

Instead indicate that no error occured.

The problem was indicated by cppcheck.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
board/hisilicon/hikey/hikey.c