commit | e8bd7466d85209f37c78b236e9db6bb0e35ec1f8 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Wed Oct 07 02:13:18 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Oct 08 20:09:09 2015 +0200 |
tree | 04e98c75a8d4d3c7740241745c4ffdc84b697817 | |
parent | 9d0fc1a3b643cd979a856b8c1426251f5d0c50b9 [diff] |
pci: Fix expansion ROM programming for multi-function devices PCI_HEADER_TYPE register (offset 0x0e) bit 7 is an indicator for multi-function devices. We should mask it off before using it as the header type. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>