[PATCH master] of: overlay: don't do fixups on empty global.of.overlay.dir

2021-08-31 Thread Ahmad Fatoum
$global.of.overlay.dir is dynamically prepended with the root of the device currently being booted. This allows use of relative paths. Because $global.of.overlay.filepattern is * by default, this means that all files in the root of the device will be considered overlays and barebox will try to

[PATCH master] net: designware: eqos: fix MDIO regression for STM32MP1 boards

2021-08-31 Thread Ahmad Fatoum
The STM32MP1 boards call their mdio subnode mdio0, which is now skipped since ed8c7bdf8592 ("net: designware: eqos: set mdio bus device node"). Fix networking for them by only falling back to the mdio node name when a child node with the correct compatible could not be found. Fixes: ed8c7bdf8592

[PATCH] net: cpsw: fix ethernet bringup in case of a fixed-link phy

2021-08-31 Thread Karfich, Oleg
In case of a fixed-link phy the cpsw_adjust_link() function is called directly in phy_device_attach() and configures the MACCONTROL register. Right after this configuration cpsw_init() is called and resets the MACCONTROL register. Fix this by initializing the slave before connecting the phy device

Re: [PATCH v2 1/3] ARM: i.MX8MP: bbu: fix wrong flash header offset for eMMC boot partition

2021-08-31 Thread Rouven Czerwinski
Hi, On Mon, 2021-08-30 at 13:51 +0200, Ahmad Fatoum wrote: > According to the reference manual of the i.MX8MP, the bootrom expects > the bootloader to sit directly at the start of the eMMC boot partition. > > The 32K offset is only valid for eMMC user partitions and SD. > Tell barebox_update

[PATCH v2] mci: sdhci: fix big-endian write for blockcount/size

2021-08-31 Thread Steffen Trumtrar
From: Steffen Trumtrar The patch 0a47bce1b03fd236384e904dca005c0870ce8684 mci: imx-esdhc: Use common DMA helpers converted the imx-esdhc driver to use the DMA helpers introduced with 60b608b2714472aa22862a20d04f267cbbac0863 mci: sdhci: Add DMA transfer helpers The common DMA