summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorAndy Hu <andy.hu@starfivetech.com>2023-01-07 17:41:19 +0300
committerAndy Hu <andy.hu@starfivetech.com>2023-01-07 17:41:19 +0300
commit39d244aa2dd252e424cc6ae03232fcbac2c50eca (patch)
tree893c635179063ddbf3c04849318c5803af062b38 /board
parent66a72185a813c36b8975fd7ded9d74d6a5525db7 (diff)
parentbfbdce9b86a2a961f953d4a1b7fc4fdf92284cf3 (diff)
downloadu-boot-39d244aa2dd252e424cc6ae03232fcbac2c50eca.tar.xz
Merge tag 'JH7110_515_SDK_v4.0.0-rc1' into vf2-devel
version JH7110_515_SDK_v4.0.0-rc1 for JH7110 EVB board 1. #2828 support linux perf tool 2. #3049 merge hibernation branch to SDK 3. #2708 uboot support vout clk driver 4. #3006 uboot handle OTP return value 5. #2969, #3039 venc jpu fix futex issue
Diffstat (limited to 'board')
-rw-r--r--board/starfive/evb/starfive_evb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/starfive/evb/starfive_evb.c b/board/starfive/evb/starfive_evb.c
index 1dd722ef40..8a30a24de0 100644
--- a/board/starfive/evb/starfive_evb.c
+++ b/board/starfive/evb/starfive_evb.c
@@ -244,7 +244,7 @@ int misc_init_r(void)
}
ret = misc_read(dev, MACADDR_OFFSET, buf, sizeof(buf));
- if (ret)
+ if (ret != sizeof(buf))
printf("%s: error reading mac from OTP\n", __func__);
else
if (buf[0] != 0xff) {