diff options
author | Tom Rini <trini@konsulko.com> | 2018-12-27 12:59:01 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-12-27 12:59:01 -0500 |
commit | bea3d826203f90507ff32ed24bd0a3c53479e55c (patch) | |
tree | f44d24ac43fb4163884e85bfde355c7f4698d5a3 /lib/crc32.c | |
parent | b47b3810379aaf6d336151acda66c2a29fc8b657 (diff) | |
parent | 5c38e05ed8ce468585b3f4aceb4ebf37b904d3f1 (diff) |
Merge tag 'signed-efi-2019.01' of git://github.com/agraf/u-boot
Patch queue for efi v2019.01 - 2018-12-27
Three tiny last minute bug fixes:
- Fix RTS relocation
- Avoid read after free
- Fix RTS data positioning (affects BBB)
Diffstat (limited to 'lib/crc32.c')
-rw-r--r-- | lib/crc32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/crc32.c b/lib/crc32.c index 71e27df78e..eee21f8d73 100644 --- a/lib/crc32.c +++ b/lib/crc32.c @@ -65,7 +65,8 @@ static void __efi_runtime make_crc_table(void) int n, k; uLong poly; /* polynomial exclusive-or pattern */ /* terms of polynomial defining this crc (except x^32): */ - static const Byte p[] = {0,1,2,4,5,7,8,10,11,12,16,22,23,26}; + static Byte __efi_runtime_data p[] = { + 0, 1, 2, 4, 5, 7, 8, 10, 11, 12, 16, 22, 23, 26}; /* make exclusive-or pattern from polynomial (0xedb88320L) */ poly = 0L; |