]> git.dujemihanovic.xyz Git - u-boot.git/commit
armv8: ls1046afrwy: Fix get_board_version implementation
authorPramod Kumar <pramod.kumar_1@nxp.com>
Thu, 19 Dec 2019 10:28:57 +0000 (10:28 +0000)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 26 Dec 2019 10:30:20 +0000 (16:00 +0530)
commitf5d7a46f369a0f30cd929aca66e85be3c56d304f
tree909f4908aa438979585c37a6ce8a097a8c98c688
parent5d168adf2b8babecc863d5d390bfc9953648040a
armv8: ls1046afrwy: Fix get_board_version implementation

Current implementation to get board version through GPIO is
broken due to endianness issue hence it is not working for rev B
board.
Fix it to make it work for Rev A as well as Rev B boards

Signed-off-by: Pramod Kumar <pramod.kumar_1@nxp.com>
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
board/freescale/ls1046afrwy/ls1046afrwy.c