diff options
author | Yanhong Wang <yanhong.wang@starfivetech.com> | 2023-01-09 10:04:22 +0300 |
---|---|---|
committer | Yanhong Wang <yanhong.wang@starfivetech.com> | 2023-01-09 10:21:14 +0300 |
commit | 274d5c2829750b9b74167e7606fa0e928808aec2 (patch) | |
tree | 2bc6bbbd50a4775661e0af842c3e75ff80b286d4 /board | |
parent | 39d244aa2dd252e424cc6ae03232fcbac2c50eca (diff) | |
download | u-boot-274d5c2829750b9b74167e7606fa0e928808aec2.tar.xz |
configs: starfive-jh7110: update the value of CONFIG_SYS_MALLOC_F_LEN
Update the value of CONFIG_SYS_MALLOC_F_LEN from 0x8000 to 0x10000.
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Diffstat (limited to 'board')
-rwxr-xr-x | board/starfive/visionfive2/starfive_visionfive2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/starfive/visionfive2/starfive_visionfive2.c b/board/starfive/visionfive2/starfive_visionfive2.c index f223e2e561..f3970f32c3 100755 --- a/board/starfive/visionfive2/starfive_visionfive2.c +++ b/board/starfive/visionfive2/starfive_visionfive2.c @@ -438,7 +438,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) { |