diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2015-06-15 13:00:35 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-06-16 18:35:19 +1000 |
commit | 249db78b046b912c4fd94dfc0c62a47ad5ab45aa (patch) | |
tree | 4d49d1f3ecc35b86e9eaeb464eccf50912d116d8 /libflash | |
parent | 573bb2d52ed0d4d4b895b85d901a708e4f7e2847 (diff) | |
download | skiboot-249db78b046b912c4fd94dfc0c62a47ad5ab45aa.zip skiboot-249db78b046b912c4fd94dfc0c62a47ad5ab45aa.tar.gz skiboot-249db78b046b912c4fd94dfc0c62a47ad5ab45aa.tar.bz2 |
libflash: Fix 32-bit ecc build of pflash
uint64_t is a long long, the constants need the "ull" suffix.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libflash')
-rw-r--r-- | libflash/ecc.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libflash/ecc.c b/libflash/ecc.c index 8ab1f31..78c88d0 100644 --- a/libflash/ecc.c +++ b/libflash/ecc.c @@ -38,14 +38,14 @@ * These values come from the HW design of the ECC algorithm. */ static uint64_t eccmatrix[] = { - 0x0000e8423c0f99ff, - 0x00e8423c0f99ff00, - 0xe8423c0f99ff0000, - 0x423c0f99ff0000e8, - 0x3c0f99ff0000e842, - 0x0f99ff0000e8423c, - 0x99ff0000e8423c0f, - 0xff0000e8423c0f99 + 0x0000e8423c0f99ffull, + 0x00e8423c0f99ff00ull, + 0xe8423c0f99ff0000ull, + 0x423c0f99ff0000e8ull, + 0x3c0f99ff0000e842ull, + 0x0f99ff0000e8423cull, + 0x99ff0000e8423c0full, + 0xff0000e8423c0f99ull }; /** |