]> git.baikalelectronics.ru Git - uboot.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)
commitd8a2bd5441c4bfe5cb0b8a63b8675fc76a501472
treef30acd82953723bf01981a253827a314d4a03d36
parent4c54560d10b28690aae5ef6588c56cdedb952346
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 4253e1c17329 ("misc: Update read() and write()
methods to return bytes xfered")

Fixes: de78cffe8545 ("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