• Yann Gautier's avatar
    refactor(plat/st): avoid fixed DT address · c20b0606
    Yann Gautier authored
    
    
    Device Tree address is now a parameter for dt_open_and_check() function.
    This will allow better flexibility when introducing PIE and FIP.
    The fdt pointer is now only assigned if the given address holds
    a valid device tree file. This allows removing the fdt_checked variable,
    as we now check fdt is not null.
    
    Change-Id: I04cbb2fc05c9c711ae1c77d56368dbeb6dd4b01a
    Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
    c20b0606
stm32mp_dt.h 1.23 KB