diff options
author | Tomas Marek <tomas.marek@elrest.cz> | 2024-04-03 09:49:09 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2024-04-04 08:26:50 +0200 |
commit | 9e62b07d558545fbea385fec05fb0278d76db2a7 (patch) | |
tree | 3e193be7cde4bbac3fe9bd83247accca7daa8c3c /include | |
parent | 47b2ae8489ed51970f6119d7b5a248dac9b41771 (diff) | |
download | barebox-9e62b07d558545fbea385fec05fb0278d76db2a7.tar.gz barebox-9e62b07d558545fbea385fec05fb0278d76db2a7.tar.xz |
i2c: add EFI i2c master driver
Add an I2C master driver which uses EFI interface to implement access
to I2C bus.
Signed-off-by: Tomas Marek <tomas.marek@elrest.cz>
Link: https://lore.barebox.org/20240403074909.32256-1-tomas.marek@elrest.cz
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/efi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/efi.h b/include/efi.h index 6bb5f8cb0a..a27cbe1f49 100644 --- a/include/efi.h +++ b/include/efi.h @@ -562,6 +562,9 @@ extern struct efi_runtime_services *RT; #define EFI_TIMESTAMP_PROTOCOL_GUID \ EFI_GUID(0xafbfde41, 0x2e6e, 0x4262, 0xba, 0x65, 0x62, 0xb9, 0x23, 0x6e, 0x54, 0x95) +#define EFI_I2C_MASTER_PROTOCOL_GUID \ + EFI_GUID(0xcd72881f, 0x45b5, 0x4feb, 0x98, 0xc8, 0x31, 0x3d, 0xa8, 0x11, 0x74, 0x62) + /* barebox specific GUIDs */ #define EFI_BAREBOX_VENDOR_GUID \ EFI_GUID(0x5b91f69c, 0x8b88, 0x4a2b, 0x92, 0x69, 0x5f, 0x1d, 0x80, 0x2b, 0x51, 0x75) |