You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These `memcpy`s were accidentally using the size of the dereferenced
byte array (i.e., always just 1 byte), and so were only copying the
first byte of the HW_CFG device ID and manufacturing state that were
being loaded from the OTP.
Also add some local calculations and static assertions to check that the
HW_CFG value sizes that are given do not become out of sync with the
size of the registers.
Signed-off-by: Alex Jones <alex.jones@lowrisc.org>
0 commit comments