diff --git a/docs/flash.md b/docs/flash.md index 259909985..9e8da7bb7 100644 --- a/docs/flash.md +++ b/docs/flash.md @@ -67,15 +67,15 @@ The csr.csv block is further structured as follows: ``` +-----------+----------------------------------------+ + 2027_8000 | Length of csr.csv data | -+ 2027_8003 | 4 bytes | ++ 2027_8003 | 4 bytes, little-endian | +-----------+----------------------------------------+ + 2027_8004 | csr.csv data (variable length) | -+ 2027_8xxx | Typically ~12kiB | ++ 2027_8xxx | Typically ~12kiB, byte ordered | +-----------+----------------------------------------+ + 2027_8xxx | padding to 0xFF | + 2027_FFDF | padding included in sha512 | +-----------+----------------------------------------+ + 2027_FFE0 | sha512 of 2027_8000:2027_FFDF | -+ 2027_FFFF | truncated to 32 bytes | ++ 2027_FFFF | truncated to 32 bytes, network order | +-----------+----------------------------------------+ ```