| 1 |
|
| 2 |
|
| 3 |
#include <device/device.h> |
| 4 |
|
| 5 |
#ifndef _IPMI_CHIP_H_ |
| 6 |
#define _IPMI_CHIP_H_ |
| 7 |
|
| 8 |
#include <stdint.h> |
| 9 |
|
| 10 |
struct drivers_ipmi_config { |
| 11 |
#if CONFIG(IPMI_KCS) |
| 12 |
u8 bmc_i2c_address; |
| 13 |
u8 have_nv_storage; |
| 14 |
u8 nv_storage_device_address; |
| 15 |
u8 have_gpe; |
| 16 |
u8 gpe_interrupt; |
| 17 |
u8 have_apic; |
| 18 |
u32 apic_interrupt; |
| 19 |
|
| 20 |
DEVTREE_CONST struct device *gpio_dev; |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
u32 bmc_jumper_gpio; |
| 26 |
|
| 27 |
u32 post_complete_gpio; |
| 28 |
bool post_complete_invert; |
| 29 |
unsigned int uid; |
| 30 |
#endif |
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
bool wait_for_bmc; |
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
u16 bmc_boot_timeout; |
| 43 |
}; |
| 44 |
|
| 45 |
#endif |