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>
1 parent 101afa0 commit 8aa928accff5808243318106c3579d318dc2050b
@Haojian Zhuang Haojian Zhuang authored on 12 Jun 2017
Showing 1 changed file
View
plat/hisilicon/hikey960/hikey960_boardid.c