mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-01-28 01:47:24 +01:00
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:
parent
7b63c856b6
commit
c139e66172
2 changed files with 20 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue