hikey960: fix the calculation in boardid
authorHaojian Zhuang <haojian.zhuang@linaro.org>
Mon, 12 Jun 2017 14:20:38 +0000 (22:20 +0800)
committerHaojian Zhuang <haojian.zhuang@linaro.org>
Tue, 13 Jun 2017 06:33:49 +0000 (14:33 +0800)
commit8aa928accff5808243318106c3579d318dc2050b
treefec90049353f488602943e64d7de72afba0d9009
parent101afa02b71d1a09bb20ee84451cbbfa7ad6c5d0
hikey960: fix the calculation in boardid

Since the type of ADC value is always unsigned int, don't
need to check the value with negative value.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
plat/hisilicon/hikey960/hikey960_boardid.c