commit | 05a7cabf5b86fb283c887309746d98e416edcc64 | [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 | bbcacdf4cd23f2e5deb9ef916096c956c955243d [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>