This now quite old article explains the differences.
In essence the GDI being the first direct injection n/a engine replaced the Duratec. The Ecoboost shares the same bore centres but is substantially different to handle turbo power.
Richard
2018 Roadster 3.7 1966 Land Rover S2a 88 2024 Royal Enfield Guerrilla 450 1945 Guzzi Airone