sayma_rtm: fix RTM firmware not in little-endian for RISC-V

This commit is contained in:
Harry Ho 2021-10-25 09:53:40 +08:00 committed by Sébastien Bourdeauducq
parent 43eab14f56
commit 0aa8a739aa
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ class SatmanSoCBuilder(Builder):
"satman.bin")
with open(satman, "rb") as boot_file:
boot_data = []
unpack_endian = ">I"
unpack_endian = "<I"
while True:
w = boot_file.read(4)
if not w: