sb/amd/*/*/smbus.h: Make 'smbus.h' uniform
Reformat 'smbus.h' files and add missing <stdint.h>. Change-Id: If78f483ca8ad2e3cffe60e22948dc8150cce3664 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45892 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
This commit is contained in:
parent
e61391738f
commit
0141f0d6b8
|
@ -26,7 +26,7 @@
|
|||
#define RC_INDXC 1
|
||||
#define RC_INDXP 3
|
||||
|
||||
#define AB_INDX 0xCD8
|
||||
#define AB_INDX 0xcd8
|
||||
#define AB_DATA (AB_INDX + 4)
|
||||
|
||||
/* Between 1-10 seconds, We should never timeout normally
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
#ifndef _SB800_SMBUS_H_
|
||||
#define _SB800_SMBUS_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define SMBUS_IO_BASE SMBUS0_BASE_ADDRESS
|
||||
|
||||
#define SMBHSTSTAT 0x0
|
||||
|
@ -19,16 +21,7 @@
|
|||
#define SMBSLVEVT 0xa
|
||||
#define SMBSLVDAT 0xc
|
||||
|
||||
/*//SB00.H
|
||||
#define AX_INDXC 0
|
||||
#define AX_INDXP 2
|
||||
#define AXCFG 4
|
||||
#define ABCFG 6
|
||||
#define RC_INDXC 1
|
||||
#define RC_INDXP 3
|
||||
*/
|
||||
|
||||
#define AB_INDX 0xCD8
|
||||
#define AB_INDX 0xcd8
|
||||
#define AB_DATA (AB_INDX + 4)
|
||||
|
||||
/* Between 1-10 seconds, We should never timeout normally
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#define RC_INDXC 1
|
||||
#define RC_INDXP 3
|
||||
|
||||
#define AB_INDX 0xCD8
|
||||
#define AB_INDX 0xcd8
|
||||
#define AB_DATA (AB_INDX + 4)
|
||||
|
||||
/* Between 1-10 seconds, We should never timeout normally
|
||||
|
|
Loading…
Reference in New Issue