fix: fdt, usb: a38x: fixed wrong usb3 node disabling for: DB-GP,DB-AP,DB-AMC
- Issue
(when fdt update enabled, for Marvell boards :DB-GP,DB-AP,DB-AMC)
* In mvBoardIsUsb3PortDevice, the return value from mvBoardSatRRead
wasn't handled correctly, so the function returned MV_TRUE when
mvBoardSatRRead returned MV_ERROR
* The call to mvBoardSatRRead on boards that doesn't support
'usb3port0/1' fields,
printed error message.
- Fix:
Added check on the boardId before calling
mvBoardSatRRead, and handle the return value correctly.
- Fixed JIRA:1965
Change-Id: Ifdd1cee974016efd64ea2aa92cf84b30dc3479a8
Signed-off-by: Bassel Saba <basselsa@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/23168
Reviewed-by: Omri Itach <omrii@marvell.com>
Tested-by: Omri Itach <omrii@marvell.com>
(cherry picked from commit e389e1dc0d1f0962174d8788237b02f6424f0788)
Reviewed-on: http://vgitil04.il.marvell.com:8080/23174
Tested-by: Star_Automation <star@marvell.com>
1 file changed