mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
warp7: include: configs: set skip low level init
If we have defined the OPTEE ram size and not OPTEE means that we are in the case where OPTEE is loaded already (maybe by ARM Trusted Firmware) and that most of the low level initialization is already done and that we may/should skip it doing them here. Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: u-boot@lists.denx.de
This commit is contained in:
parent
c7b3a7ee53
commit
a612e25e13
1 changed files with 11 additions and 0 deletions
|
@ -13,6 +13,17 @@
|
|||
|
||||
#define PHYS_SDRAM_SIZE SZ_512M
|
||||
|
||||
/*
|
||||
* If we have defined the OPTEE ram size and not OPTEE it means that we were
|
||||
* launched by OPTEE, because of that we shall skip all the low level
|
||||
* initialization since it was already done by ATF or OPTEE
|
||||
*/
|
||||
#ifdef CONFIG_OPTEE_TZDRAM_SIZE
|
||||
#ifndef CONFIG_OPTEE
|
||||
#define CONFIG_SKIP_LOWLEVEL_INIT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR
|
||||
|
||||
/* Size of malloc() pool */
|
||||
|
|
Loading…
Reference in a new issue