On Wed, Jul 06, 2022 at 02:01:35PM +0200, Marco Felsch wrote:
> Hi Uwe,
>
> thanks for the patch.
>
> On 22-07-06, Uwe Kleine-König wrote:
>
> ...
>
> > @@ -96,11 +92,6 @@ extern struct dram_timing_info imx8mm_evk_dram_timing;
> >
> > static void start_atf(void)
> > {
> > - size_t bl31_si
From: Ahmad Fatoum
We support two different i.MX8MN variants of the i.MX8MN-EVK:
One with LPDDR4 and another with DDR4, each with a different PMIC.
The PMICs are at different i2c addresses, which allows us to
differentiate between the variants in PBL, but in barebox proper, we use
the same DT for
Currently we enable the clock immediately after requesting it and leave
it on the whole time. Afterwards if the phy request is failing we leave
the usb-controller <-> usb-phy connection in a partly initialized state.
At least on i.MX8M SoCs this can cause strange system hangs during boot.
The (mor
Don't return -ENODEV if of_phy_provider_lookup() fails instead propagate
the error. So errors like -EPROBE_DEFER are propagated correctly.
Signed-off-by: Marco Felsch
---
drivers/phy/phy-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/phy/phy-core.c b/drivers/p
Hi,
this small series adds the correct DDR4 support for the imx8mn-evk since
till now we misused the LPDDR4 DT for it.
Before applying Ahmads patch the preceding patches must be applied else
the deep probe support will cause odd boot issues.
Regards,
Marco
Ahmad Fatoum (1):
ARM: i.MX8MN: pa
Commit 9474a29003 ("phy: Add deep probe support") added the deep probe
support but this commit was missing the of_phy_get_by_phandle() isn't
calling the internal _of_phy_get() helper. Fix this by moving the
of_device_ensure_probed() call into the of_phy_provider_lookup() helper
which gets called by
Make the early printk buffer size adjustable since I noticed truncated
log buffers if I enable DEBUG_INITCALLS and DEBUG_PROBES.
Signed-off-by: Marco Felsch
---
common/Kconfig | 15 +++
common/console.c | 2 +-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/common/
Hi Uwe,
thanks for the patch.
On 22-07-06, Uwe Kleine-König wrote:
...
> @@ -96,11 +92,6 @@ extern struct dram_timing_info imx8mm_evk_dram_timing;
>
> static void start_atf(void)
> {
> - size_t bl31_size;
> - const u8 *bl31;
> - enum bootsource src;
> - int instance;
> -
>
Signed-off-by: Uwe Kleine-König
---
arch/arm/boards/nxp-imx8mm-evk/lowlevel.c | 41 +
.../boards/protonic-imx8m/lowlevel-prt8mm.c | 35 +--
arch/arm/mach-imx/atf.c | 44 +++
include/soc/imx8m.h | 8