diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2013-06-10 09:59:17 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-11-26 00:07:57 +0100 |
commit | 5f5d914876218b106917a12c181b5b3f79264955 (patch) | |
tree | 21d0e70a0622cc3d621a49d7b48dca131cdfda65 /src/device/pciexp_device.c | |
parent | 28080e451039bb14bdf2ab03a26f2819ed4991bf (diff) | |
download | coreboot-5f5d914876218b106917a12c181b5b3f79264955.tar.xz |
Add function to encode device path into integer
This function will encode the device path into 3
bytes of a dword which can be saved for debug.
It will be used by subsequent commit to store the
current device into CMOS for debugging BIOS hangs.
Change-Id: I3a5155ea53c8d280806e610a0f8998dbabe15f3c
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/58103
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/4228
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/device/pciexp_device.c')
0 files changed, 0 insertions, 0 deletions