mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
util/nvmutil: more readable NVM defines
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -61,8 +61,9 @@ static void set_err(int);
|
||||
#endif
|
||||
|
||||
#define NVM_CHECKSUM 0xBABA
|
||||
#define NVM_CHECKSUM_WORD 0x3F
|
||||
#define NVM_SIZE 128
|
||||
#define NVM_WORDS (NVM_SIZE / 2)
|
||||
#define NVM_CHECKSUM_WORD (NVM_WORDS - 1)
|
||||
|
||||
#define SIZE_1KB 1024
|
||||
#define SIZE_4KB (4 * SIZE_1KB)
|
||||
|
||||
Reference in New Issue
Block a user