diff options
author | Thomas Huth <thuth@redhat.com> | 2016-08-03 21:34:41 +0200 |
---|---|---|
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | 2016-08-16 18:52:24 +1000 |
commit | 38886cea751344d70e9aeba188c57cb91990024f (patch) | |
tree | 1fa383f77053e1acc46d33011317938df5eadf76 /include | |
parent | 2174d9b883bf65a0b22e290dc8ffc22d80f5498a (diff) | |
download | SLOF-38886cea751344d70e9aeba188c57cb91990024f.zip SLOF-38886cea751344d70e9aeba188c57cb91990024f.tar.gz SLOF-38886cea751344d70e9aeba188c57cb91990024f.tar.bz2 |
Remove unused defines in calculatecrc.h
Seems like they are completely unused, thus can be removed without
problems.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Adrian Reber <areber@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'include')
-rw-r--r-- | include/calculatecrc.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/calculatecrc.h b/include/calculatecrc.h index 2168478..434af46 100644 --- a/include/calculatecrc.h +++ b/include/calculatecrc.h @@ -16,13 +16,6 @@ #define FLASHFS_FILE_SIZE_ADDR 0x08 // uint64_t pos of total flashimage size value relative to data #define FLASHFS_HEADER_SIZE_ADDR 0x08 // uint64_t position of total flash header size value - #ifdef __ASSEMBLER__ - // "CRC_GENERATOR" must contain equal inforamtion as "CRC_METHODE" - #define CRC_GENERATOR 0x0000000004C11DB7 - #define CRC_REGISTERMASK 0x00000000FFFFFFFF - #define CRC_REGISTERLENGTH 32 - #endif /* __ASSEMBLER__ */ - #ifndef __ASSEMBLER__ #define FLASHFS_ROMADDR 0x00 // uint64_t position of pointer to next file #define FLASHFS_HEADER_DATA_SIZE 0x68 // 104 bytes of total header data size @@ -55,11 +48,6 @@ + SPTrEMBL_64 64 bit white noise like date 0x0000001B + SPTrEMBL_improved_64 64 bit DNA code like date 0xAD93D23594C9362D + DLT1_64 64 bit Tape 0x42F0E1EBA9EA3693 -+ -+ CRC_REGISTERLENGTH = bit length -+ CRC_REGISTERMASK = -1 for a n-bit numer where n = bit length -+ example TAP_16: CRC_REGSISTERLENGTH = 16 -+ CRC_REGISTERMASK = 0xFFFFFFFF = (-1 if 16 bit number is used) + + TrEMBL see also http://www.cs.ud.ac.uk/staff/D.Jones/crcbote.pdf + DLT1 se also http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-182.pdf |