commit | c40a98c637fd7fe670d9814c0fe109eb2e87e9d3 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Jul 18 14:14:23 2021 -0600 |
committer | Tom Rini <trini@konsulko.com> | Wed Jul 28 19:30:22 2021 -0400 |
tree | a4e411a7fb46e8bb571006e8d50bac6912acea5b | |
parent | ff29f7bfdef196f309f76cd1e014ef1d8cde69a5 [diff] |
pci: swap_case: Allow compilation on 32-bit machines At present this driver assumes that ulong is 64-bits long. On 32-bit machines it is not. Use the 64-bit code only on 64-bit machines. This makes things work correctly on 32-bit machines. Signed-off-by: Simon Glass <sjg@chromium.org>