]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: update test on misc_read result in board_late_init
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 3 Jul 2020 15:45:07 +0000 (17:45 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Tue, 28 Jul 2020 15:39:35 +0000 (17:39 +0200)
commit4b64265bb472fba6c820eb81074221c4bd485ba2
treef30acd82953723bf01981a253827a314d4a03d36
parent1e3d0605018fd8ab6e3b00550e7e7c797d2f0cfc
board: update test on misc_read result in board_late_init

Update management of misc_read, which now return length of data
after the commit 8729b1ae2cbd ("misc: Update read() and write()
methods to return bytes xfered")

Fixes: 8b8b3d6b55b9 ("stm32mp1: board: add environment variable for board id and board rev")
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
board/st/stm32mp1/stm32mp1.c