]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[hermon] Use reset value suitable for ConnectX-3 244/head
authorMichael Brown <mcb30@ipxe.org>
Mon, 1 Feb 2021 01:53:15 +0000 (01:53 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 1 Feb 2021 01:53:15 +0000 (01:53 +0000)
commite62c3e3513758a523f0222d3fe7fa44d7fe0d4fb
tree275435d168e5ed1f0d66352e84e67105f9899ca9
parent2e3d5909ee7ad35889c3bc55f9119ca5d4615a40
[hermon] Use reset value suitable for ConnectX-3

The programming documentation states that the reset magic value is
"0x00000001 (Big Endian)", and the current code matches this by using
the value 0x01000000 for the implicitly little-endian writel().

Inspection of the FlexBoot source code reveals an exciting variety of
reset values, some suggestive of confusion around endianness.

Experimentation suggests that the value 0x01000001 works reliably
across a wide range of hardware.

Debugged-by: Christian Iversen <ci@iversenit.dk>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/infiniband/hermon.h