[RFC 12/22] dm: add a hidden link to efi object
AKASHI Takahiro
takahiro.akashi at linaro.org
Fri Oct 1 07:02:07 CEST 2021
This member field in udevice will be used to dereference from udevice
to efi_object (or efi_handle).
Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
---
include/dm/device.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/dm/device.h b/include/dm/device.h
index 0a9718a5b81a..33b09a836f06 100644
--- a/include/dm/device.h
+++ b/include/dm/device.h
@@ -190,6 +190,10 @@ struct udevice {
#if CONFIG_IS_ENABLED(DM_DMA)
ulong dma_offset;
#endif
+#if CONFIG_IS_ENABLED(EFI_LOADER)
+ /* link to efi_object */
+ void *efi_obj;
+#endif
};
/**
--
2.33.0
More information about the U-Boot
mailing list