soc/amd/stoneyridge: fix incorrect constants in macros

Hex constants need '0x' prefix. Clearly these weren't being used,
but they should be fixed properly.

Change-Id: I43ab90500b6d5bc31db7ebd1c675d651c8971b87
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/22315
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
This commit is contained in:
Aaron Durbin 2017-11-03 12:04:29 -06:00
parent 426dc8e827
commit 174abc5180
1 changed files with 2 additions and 2 deletions

View File

@ -44,14 +44,14 @@
/* Internal Graphics */ /* Internal Graphics */
#define GFX_DEV 0x1 #define GFX_DEV 0x1
#define GFX_FUNC 0 #define GFX_FUNC 0
#define GFX_DEVID 098e4 /* subject to SKU/OPN variation */ #define GFX_DEVID 0x98e4 /* subject to SKU/OPN variation */
#define GFX_DEVFN PCI_DEVFN(GFX_DEV, GFX_FUNC) #define GFX_DEVFN PCI_DEVFN(GFX_DEV, GFX_FUNC)
#define SOC_GFX_DEV _SOC_DEV(GFX_DEV, GFX_FUNC) #define SOC_GFX_DEV _SOC_DEV(GFX_DEV, GFX_FUNC)
/* HD Audio 0 */ /* HD Audio 0 */
#define HDA0_DEV 0x1 #define HDA0_DEV 0x1
#define HDA0_FUNC 1 #define HDA0_FUNC 1
#define HDA0_DEVID 015b3 #define HDA0_DEVID 0x15b3
#define HDA0_DEVFN PCI_DEVFN(HDA0_DEV, HDA0_FUNC) #define HDA0_DEVFN PCI_DEVFN(HDA0_DEV, HDA0_FUNC)
#define SOC_HDA0_DEV _SOC_DEV(HDA0_DEV, HDA0_FUNC) #define SOC_HDA0_DEV _SOC_DEV(HDA0_DEV, HDA0_FUNC)