This member field in udevice will be used to dereference from udevice
to efi_object (or efi_handle).

Signed-off-by: AKASHI Takahiro <takahiro.aka...@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

Reply via email to