mpc85xx, socrates: add DM support

enable CONFIG_DM for the socrates board.

Signed-off-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
Heiko Schocher
2019-10-16 05:55:49 +02:00
committed by Priyanka Jain
parent 81a7abe593
commit 39642abf56
3 changed files with 27 additions and 7 deletions

View File

@@ -432,3 +432,18 @@ void video_get_info_str (int line_number, char *info)
}
}
#endif
#if defined(CONFIG_OF_SEPARATE)
void *board_fdt_blob_setup(void)
{
void *fw_dtb;
fw_dtb = (void *)(CONFIG_SYS_TEXT_BASE - CONFIG_ENV_SECT_SIZE);
if (fdt_magic(fw_dtb) != FDT_MAGIC) {
printf("DTB is not passed via %x\n", (u32)fw_dtb);
return NULL;
}
return fw_dtb;
}
#endif