[PATCH 13/14] ARM: optee-early: drop start_optee_early()

Ahmad Fatoum a.fatoum at pengutronix.de
Fri Jun 27 08:21:03 PDT 2025


Hi,

On 6/27/25 16:07, Sascha Hauer wrote:
> Now that all users of start_optee_early() use the SoC variants
> make start_optee_early() a static function. While at it move the zeroing
> of the data_location which was duplicated in the SoC specific functions
> to start_optee_early().

start_optee_early() is documented in Documentation/user/optee.rst and
would need to be updated.


> +	/* We expect this function to be called with data caches disabled */
> +	BUG_ON(get_cr() & CR_C);

Did you mean to drop the BUG_ON() in start_optee_early().

Cheers,
Ahmad
-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |




More information about the barebox mailing list