From 38886cea751344d70e9aeba188c57cb91990024f Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Wed, 3 Aug 2016 21:34:41 +0200 Subject: Remove unused defines in calculatecrc.h Seems like they are completely unused, thus can be removed without problems. Signed-off-by: Thomas Huth Reviewed-by: Adrian Reber Signed-off-by: Alexey Kardashevskiy --- include/calculatecrc.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'include') 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 -- cgit v1.1