commit | a51fd071d6adb3852466c928c79db9a9370f8246 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Sep 21 14:32:41 2019 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Fri Oct 11 17:37:15 2019 +0800 |
tree | 8b23c0194eb4e3b783949ce5c040790c9affe433 | |
parent | 11ba714bffb321b0e1070f37f2bec0f29312713d [diff] |
sandbox: pci: Remember the device being emulated Add a field to the PCI emulator per-device data which records which device is being emulated. This is useful when the emulator needs to check the device for something. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> [bmeng: rebase the patch against u-boot-x86/master to get it applied cleanly] Signed-off-by: Bin Meng <bmeng.cn@gmail.com>