[PATCH] barebox_imd: Add IMD sections to mpc-85xx.

2024-01-25 Thread Christian Melki
Seems PowerPC in general is missing the IMD sections. Placement might be suboptimal, please correct if so. Signed-off-by: Christian Melki --- arch/powerpc/mach-mpc85xx/barebox.lds.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/mach-mpc85xx/barebox.lds.S

[PATCH v3 2/2] ARM: i.MX8M: convert the machine init to the soc driver

2024-01-25 Thread Marco Felsch
Convert the i.MX8M machine init code to the previously introduced soc framework. The soc driver was mostly copied from Linux with slightly adaptions for barebox. To the soc driver is called during the postcore_initcall to keep the level aligned with the previous imx_init(). The ocotp clock must

[PATCH v3 1/2] Port SoC framework from Linux

2024-01-25 Thread Marco Felsch
This adds the initial support for the Linux soc framework which can be used to register all SoC relevant informations. The framework can be used by driver to check for errata for an specific soc(-revision) in the future since this require porting the matching function. For now it gathers all