W dniu 8.12.2023 o 13:41, Marcin Juszkiewicz pisze:
delete mode 100644 Silicon/Qemu/SbsaQemu/Library/FdtHelperLib/FdtHelperLib.inf create mode 100644 Silicon/Qemu/SbsaQemu/Library/SbsaQemuSmc/SbsaQemuSmc.inf delete mode 100644 Silicon/Qemu/SbsaQemu/Include/Library/FdtHelperLib.h create mode 100644 Silicon/Qemu/SbsaQemu/Include/Library/QemuSbsaSmc.h delete mode 100644 Silicon/Qemu/SbsaQemu/Library/FdtHelperLib/FdtHelperLib.c create mode 100644 Silicon/Qemu/SbsaQemu/Library/SbsaQemuSmc/SbsaQemuSmc.c
After some thoughts I realized that there is one thing to do here...
I dropped DT parsing but it does make EDK2 not seeing more than one cpu if used with older TF-A. So will have to add parsing DT back as a backup option.
This will go into SbsaQemuSmc.c in a way that when EDK2 wants to do SMC call but it is not present then DT fallback will be called. So this could allow us to drop DT code without going through whole repo.