mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-25 19:07:46 +00:00
SFI: remove the v0.7 related definitions from sfi.h
SFI v0.8's DEVS and GPIO tables replaces v0.7's SPI/I2C tables. Signed-off-by: Feng Tang <feng.tang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
2b666ca4a6
commit
82acf2a8fe
@ -70,9 +70,6 @@
|
||||
#define SFI_SIG_APIC "APIC"
|
||||
#define SFI_SIG_XSDT "XSDT"
|
||||
#define SFI_SIG_WAKE "WAKE"
|
||||
#define SFI_SIG_SPIB "SPIB"
|
||||
#define SFI_SIG_I2CB "I2CB"
|
||||
#define SFI_SIG_GPEM "GPEM"
|
||||
#define SFI_SIG_DEVS "DEVS"
|
||||
#define SFI_SIG_GPIO "GPIO"
|
||||
|
||||
@ -168,27 +165,6 @@ struct sfi_gpio_table_entry {
|
||||
char pin_name[16];
|
||||
} __packed;
|
||||
|
||||
struct sfi_spi_table_entry {
|
||||
u16 host_num; /* attached to host 0, 1...*/
|
||||
u16 cs; /* chip select */
|
||||
u16 irq_info;
|
||||
char name[16];
|
||||
u8 dev_info[10];
|
||||
} __packed;
|
||||
|
||||
struct sfi_i2c_table_entry {
|
||||
u16 host_num;
|
||||
u16 addr; /* slave addr */
|
||||
u16 irq_info;
|
||||
char name[16];
|
||||
u8 dev_info[10];
|
||||
} __packed;
|
||||
|
||||
struct sfi_gpe_table_entry {
|
||||
u16 logical_id; /* logical id */
|
||||
u16 phys_id; /* physical GPE id */
|
||||
} __packed;
|
||||
|
||||
typedef int (*sfi_table_handler) (struct sfi_table_header *table);
|
||||
|
||||
#ifdef CONFIG_SFI
|
||||
|
Loading…
Reference in New Issue
Block a user