core: Refactor console_init() and introduce plat_console_init()Since there are some cross-platform console drivers, we letconsole_init() be common code to have a chance to initialize thoseconsole
core: Refactor console_init() and introduce plat_console_init()Since there are some cross-platform console drivers, we letconsole_init() be common code to have a chance to initialize thoseconsole drivers (e.g., semihosting console).If the cross-platform console drivers are not configured to be compiled,plat_console_init() will be invoked to initialize platform-specificconsole driver.Signed-off-by: Alvin Chang <alvinga@andestech.com>Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
core: arm.mk: set CFG_WITH_LPAE=y when CFG_ARCH64_core=ySince CFG_WITH_LPAE=y is mandatory when CFG_ARCH64_core=y, set it in thecommon file core/arch/arm/arm.mk instead of leaving it to the platfo
core: arm.mk: set CFG_WITH_LPAE=y when CFG_ARCH64_core=ySince CFG_WITH_LPAE=y is mandatory when CFG_ARCH64_core=y, set it in thecommon file core/arch/arm/arm.mk instead of leaving it to the platforms.Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>Acked-by: Jens Wiklander <jens.wiklander@linaro.org>Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
core: remove the unused PM stubsRemoves the PM stubs and all references to CFG_PM_STUBS.Reviewed-by: Jerome Forissier <jerome@forissier.org>Signed-off-by: Jens Wiklander <jens.wiklander@linaro.o
core: remove the unused PM stubsRemoves the PM stubs and all references to CFG_PM_STUBS.Reviewed-by: Jerome Forissier <jerome@forissier.org>Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
core: remove boot_get_handlers()struct thread_handlers is used to pass the entry functionsfor different power management events. In practice only .cpu_on is usedand with the default function at t
core: remove boot_get_handlers()struct thread_handlers is used to pass the entry functionsfor different power management events. In practice only .cpu_on is usedand with the default function at that. In the ARMv7 case where thesecure monitor replaces TF-A not even that function entry is used.Remove struct thread_handlers and boot_get_handlers(). When configuredwith TF-A initialize thread_*_handler_ptr with __weak default functions.The __weak default PM functions- thread_cpu_off_handler()- thread_cpu_suspend_handler()- thread_cpu_resume_handler()- thread_system_off_handler()- thread_system_reset_handler()can be overridden by platforms when needed.Reviewed-by: Jerome Forissier <jerome@forissier.org>Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Move CFG_WITH_STACK_CANARIES to global config fileAll platforms but one (bcm-ns3) set CFG_WITH_STACK_CANARIES ?= y intheir configuration files. Move this flag to the global mk/config.mkinstead. N
Move CFG_WITH_STACK_CANARIES to global config fileAll platforms but one (bcm-ns3) set CFG_WITH_STACK_CANARIES ?= y intheir configuration files. Move this flag to the global mk/config.mkinstead. Not sure it matters much, but in order to avoid any functionalchange, CFG_WITH_STACK_CANARIES ?= n is added to plat-bcm/conf.mk.Signed-off-by: Jerome Forissier <jerome@forissier.org>Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
core: remove generic_ from generic_bootNow that the CFG_GENERIC_BOOT configuration flag has been removed alsoremove "generic_" prefix from and in the related files.Acked-by: Etienne Carriere <et
core: remove generic_ from generic_bootNow that the CFG_GENERIC_BOOT configuration flag has been removed alsoremove "generic_" prefix from and in the related files.Acked-by: Etienne Carriere <etienne.carriere@linaro.org>Acked-by: Jerome Forissier <jerome@forissier.org>Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
core: make generic boot mandatoryThe OP-TEE booting has since quite some time been unified in the sensethat all platforms use CFG_GENERIC_BOOT=y. Make this configuration optionmandatory and remov
core: make generic boot mandatoryThe OP-TEE booting has since quite some time been unified in the sensethat all platforms use CFG_GENERIC_BOOT=y. Make this configuration optionmandatory and remove the CFG_GENERIC_BOOT flag.Acked-by: Etienne Carriere <etienne.carriere@linaro.org>Acked-by: Jerome Forissier <jerome@forissier.org>Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
plat-amlogic: Add initial support for Amlogic platformsThis is the initial support for the Amlogic platforms.Tested 64-bin mode on A113D (AXG) board using upstream TF-A BL31.* xtest results (-l
plat-amlogic: Add initial support for Amlogic platformsThis is the initial support for the Amlogic platforms.Tested 64-bin mode on A113D (AXG) board using upstream TF-A BL31.* xtest results (-l 15):| 44074 subtests of which 0 failed| 96 test cases of which 0 failed| 0 test cases were skipped| TEE test application done!* Compiled with:| make PLATFORM=amlogicReviewed-by: Jerome Forissier <jerome@forissier.org>Signed-off-by: Carlo Caione <ccaione@baylibre.com>