fdt: ipq5018: fixup for ART format info.

This changes inform kernel whether ART is compressed or
uncompressed format.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ied2088bc0f93504ad2bec01659716c16b178b5ba
This commit is contained in:
Vandhiadevan Karunamoorthy 2020-08-12 13:28:08 +05:30 committed by Gerrit - the friendly Code Review server
parent 7b63c856b6
commit c139e66172
2 changed files with 20 additions and 0 deletions

View file

@ -771,6 +771,11 @@ __weak void fdt_fixup_wcss_rproc_for_atf(void *blob)
return;
}
__weak void fdt_fixup_art_format(void *blob)
{
return;
}
__weak void fdt_fixup_bt_debug(void *blob)
{
return;
@ -921,6 +926,11 @@ int ft_board_setup(void *blob, bd_t *bd)
if (s) {
fdt_fixup_bt_debug(blob);
}
/*
|| This features fixup compressed_art in
|| dts if its 16M profile build.
*/
fdt_fixup_art_format(blob);
#ifdef CONFIG_QCA_MMC
board_mmc_deinit();

View file

@ -1704,6 +1704,16 @@ void fdt_fixup_bt_debug(void *blob)
}
#ifdef CONFIG_IPQ_TINY
void fdt_fixup_art_format(void *blob)
{
int nodeoffset;
nodeoffset = fdt_path_offset(blob, "/");
fdt_add_subnode(blob, nodeoffset, "compressed_art");
}
#endif
void run_tzt(void *address)
{
execute_tzt(address);