[PATCH 1/2] spl: Introduce architecture specific init function

Tom Rini trini at konsulko.com
Wed Mar 20 15:30:48 CET 2024


On Wed, Mar 20, 2024 at 02:19:26PM +0100, lukas.funke-oss at weidmueller.com wrote:

> From: Lukas Funke <lukas.funke at weidmueller.com>
> 
> Some architectures use spl_board_init() in their architecture specific
> implementation. Board developers should be able to add board specific
> implementation via spl_board_init(). Hence, introduce a spl_arch_init()
> method which is called right before spl_board_init() for architecture
> specific implementation.
> 
> Signed-off-by: Lukas Funke <lukas.funke at weidmueller.com>

I think this could allow for other SoCs to clean up their existing
ad-hoc mechanisms for SoC/architecture init and then board init, so this
looks like a good idea to me.

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240320/26869887/attachment.sig>


More information about the U-Boot mailing list