From b907a90b6444ee253a564106d54aef6ede80586d Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 20 Apr 2021 16:16:33 +0800 Subject: [PATCH] Update flash.md --- docs/flash.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 | +-----------+----------------------------------------+ ```