Skip to content
Snippets Groups Projects
Commit fbbf44af authored by Bryan O'Donoghue's avatar Bryan O'Donoghue Committed by Stefano Babic
Browse files

warp7: Print out the OPTEE DRAM region


Right now a region of 0x300000 bytes is allocated at the end of DRAM for
the purposes of loading an OPTEE firmware inside of it. This patch adds the
printout of the relevant address ranges.

Signed-off-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Tested-by: default avatarBreno Lima <breno.lima@nxp.com>
Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
parent 7175ef4a
No related branches found
No related tags found
No related merge requests found
......@@ -181,7 +181,17 @@ int checkboard(void)
else
mode = "non-secure";
#ifdef CONFIG_OPTEE_TZDRAM_SIZE
unsigned long optee_start, optee_end;
optee_end = PHYS_SDRAM + PHYS_SDRAM_SIZE;
optee_start = optee_end - CONFIG_OPTEE_TZDRAM_SIZE;
printf("Board: WARP7 in %s mode OPTEE DRAM 0x%08lx-0x%08lx\n",
mode, optee_start, optee_end);
#else
printf("Board: WARP7 in %s mode\n", mode);
#endif
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment