]> git.baikalelectronics.ru Git - uboot.git/commit
arm: Add new config option ARCH_VERY_EARLY_INIT
authorPali Rohár <pali@kernel.org>
Fri, 6 May 2022 09:05:13 +0000 (11:05 +0200)
committerStefan Roese <sr@denx.de>
Mon, 16 May 2022 09:31:33 +0000 (11:31 +0200)
commit2ba8646e9c35778b1bbb706dd8d253f7bcef15de
tree2ffb6b6d7b8a7efbe6cb1919bfc2a24fdf977e2f
parentf4ce3a8bba367c2b89a3ae072c3e29d348c87b85
arm: Add new config option ARCH_VERY_EARLY_INIT

When this option is set then ARM _main() function would call
arch_very_early_init() function at the beginning. It would be before
calling any other functions like debug_uart_init() and also before
initializing C runtime environment.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/Kconfig
arch/arm/lib/crt0.S