commit | c20b0606611fe6b36a87a2ca3a4a40b48e87cbe7 | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Mon Aug 24 11:51:50 2020 +0200 |
committer | Yann Gautier <yann.gautier@foss.st.com> | Fri Jun 04 15:05:05 2021 +0200 |
tree | d1d374292c4e68c01c27e00215c83a6494594bf1 | |
parent | 1a2c0ff9272b34b4a4b48b4bc93ada36ab23f04e [diff] |
refactor(plat/st): avoid fixed DT address 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: Yann Gautier <yann.gautier@st.com>