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

Tom Rini trini at konsulko.com
Wed Mar 20 16:33:16 CET 2024


On Wed, Mar 20, 2024 at 08:52:30PM +0530, Devarsh Thakkar wrote:
> Hi Tom, Lukas,
> 
> Thanks for the patch Lukas.
> 
> On 20/03/24 20:00, Tom Rini wrote:
> > 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
> 
> Does it make more sense to make this SoC specific then instead of arch
> specific to allow broader range of code?

"soc" and "arch" are somewhat interchangeable at times, so I think we
can go one step at a time here and bring in this abstraction and see
where everyone else is able to clean their code up to.

-- 
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/4eb7e10c/attachment.sig>


More information about the U-Boot mailing list