From: Peng Fan
V2:
Drop patch patch 11 in V1, because it was included in
https://patchwork.ozlabs.org/project/uboot/patch/20220503041429.30969-1-peng@oss.nxp.com/
phandle->phanbell
Add R-b/T-b/A-b tags for the patchset
This patchset is to convert some i.MX8M boards to DM SERIAL
Note: t
From: Peng Fan
Enable CONFIG_DM_SERIAL. uart2 and its pinmux was already
marked with u-boot,dm-spl.
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
---
board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c | 8
configs/imx8mp_rsb3720a1_4G_defconfig | 1 +
configs/imx8m
From: Peng Fan
Enable CONFIG_SPL_DM_SERIAL. uart2 and its pinmux was already
marked with u-boot,dm-spl.
Move preloader_console_init after spl_early_init to make sure driver
model work.
Signed-off-by: Peng Fan
Acked-by: Tim Harvey
Reviewed-by: Fabio Estevam
---
board/gateworks/venice/spl.c
From: Peng Fan
Enable CONFIG_DM_SERIAL. uart2 and its pinmux was already
marked with u-boot,dm-spl.
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
---
board/menlo/mx8menlo/mx8menlo.c | 9 -
configs/imx8mm-mx8menlo_defconfig | 1 +
include/configs/imx8mm-mx8menlo.h | 3 ---
3 fil
From: Peng Fan
Enable CONFIG_SPL_DM_SERIAL. uart2 and its pinmux was already
marked with u-boot,dm-spl.
Move preloader_console_init after spl_init to make sure driver
model work.
Signed-off-by: Peng Fan
Tested-by: Adam Ford #imx8mm_beacon
Reviewed-by: Fabio Estevam
---
board/beacon/imx8mm/sp
From: Peng Fan
Enable CONFIG_DM_SERIAL. uart3 and its pinmux was already
marked with u-boot,dm-spl.
Move preloader_console_init after spl_early_init to make sure driver
model work.
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
---
board/compulab/imx8mm-cl-iot-gate/spl.c| 12 ++---
From: Peng Fan
Enable CONFIG_SPL_DM_SERIAL. uart2 and its pinmux was already
marked with u-boot,dm-spl.
Move preloader_console_init after spl_early_init to make sure driver
model work.
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
---
board/engicam/imx8mm/spl.c| 14 ++
From: Peng Fan
Enable CONFIG_DM_SERIAL. uart and its pinmux was already
marked with u-boot,dm-spl.
Move preloader_console_init after spl_early_init to make sure driver
model work.
Signed-off-by: Peng Fan
Tested-by: Teresa Remmet
Reviewed-by: Fabio Estevam
---
board/phytec/phycore_imx8mm/spl.
From: Peng Fan
Enable CONFIG_DM_SERIAL. uart and its pinmux was already
marked with u-boot,dm-spl.
Move preloader_console_init after spl_init to make sure driver
model work.
Signed-off-by: Peng Fan
Reviewed-by: Ariel D'Alessandro
Reviewed-by: Fabio Estevam
---
board/variscite/imx8mn_var_som/
From: Peng Fan
Enable CONFIG_SPL_DM_SERIAL. uart and its pinmux was already
marked with u-boot,dm-spl.
Move preloader_console_init after spl_early_init to make sure driver
model work.
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
---
board/data_modul/imx8mm_edm_sbc/spl.c | 12 ++---
From: Peng Fan
Move some common changes to imx8mq-u-boot.dtsi, so others could reuse it
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
---
arch/arm/dts/imx8mq-evk-u-boot.dtsi | 24
arch/arm/dts/imx8mq-u-boot.dtsi | 24
2 files changed,
From: Peng Fan
Enable CONFIG_DM_SERIAL. uart and its pinmux was already
marked with u-boot,dm-spl.
Move preloader_console_init after spl_init to make sure driver
model work.
Signed-off-by: Peng Fan
Acked-by: Frieder Schrempf
Reviewed-by: Fabio Estevam
---
board/kontron/sl-mx8mm/spl.c |
From: Peng Fan
Marked related nodes as u-boot,dm-spl for serial driver model
Enable CONFIG_DM_SERIAL
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
---
arch/arm/dts/imx8mq-cm-u-boot.dtsi | 8
configs/imx8mq_cm_defconfig| 1 +
2 files changed, 9 insertions(+)
diff --git a
From: Peng Fan
Marked related nodes as u-boot,dm-spl for serial driver model
Enable CONFIG_DM_SERIAL
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
---
arch/arm/dts/imx8mq-pico-pi-u-boot.dtsi | 9 +
configs/pico-imx8mq_defconfig | 1 +
2 files changed, 10 insertions(+)
From: Peng Fan
Marked related nodes as u-boot,dm-spl for serial driver model
Enable CONFIG_DM_SERIAL
Signed-off-by: Peng Fan
Reviewed-by: Fabio Estevam
---
arch/arm/dts/imx8mq-phanbell-u-boot.dtsi | 8
configs/imx8mq_phanbell_defconfig| 1 +
2 files changed, 9 insertions(+)
From: Peng Fan
V2:
write a cover-letter
Typo fix
Add T-b tags
Peng Fan (4):
configs: imx8m: use common imx8m.h for i.MX8MM
configs: imx8m: use common imx8m.h for i.MX8MN
configs: imx8m: use common imx8m.h for i.MX8MP
configs: imx8m: use common imx8m.h for i.MX8MQ
include/configs/imx
From: Peng Fan
Some SPL definitions could be generalized, so use imx8m.h for that.
i.MX8MN/Q/P will follow up.
Signed-off-by: Peng Fan
Tested-by: Tim Harvey #imx8mm-venice-*
---
include/configs/imx8m.h | 29 +
include/configs/imx8mm-cl-iot-gate.h
From: Peng Fan
Some SPL definitions could be generalized, so use imx8m.h for iMX8MN.
Tested-by: Tim Harvey #imx8mn-venice-*
Tested-by: Ariel D'Alessandro #i.MX8MN BSH
SMM S2 PRO board
Signed-off-by: Peng Fan
---
include/configs/imx8m.h| 10 ++
include/configs/imx
From: Peng Fan
Some SPL definitions could be generalized, so use imx8m.h for iMX8MP.
Tested-by: Tim Harvey #imx8mp-venice-*
Signed-off-by: Peng Fan
---
include/configs/imx8m.h | 8
include/configs/imx8mp_evk.h | 17 +
include/configs/imx8mp_rsb3720.h | 1
From: Peng Fan
Some SPL definitions could be gerneralized, so use imx8m.h for iMX8MQ.
Signed-off-by: Peng Fan
---
include/configs/imx8m.h | 10 ++
include/configs/imx8mq_cm.h | 24 +---
include/configs/imx8mq_evk.h | 19 +---
From: Neal Frager
This patch fixes the DP audio and video PLL configurations for the
zynqmp-zcu102-revA evaluation board.
The Linux DP driver expects the DP to be using the following PLL config:
- DP video PLL should use the VPLL (0x0)
- DP audio PLL should use the RPLL (0x3)
Register 0xFD1
From: Neal Frager
This patch fixes the DP audio and video PLL configurations
for the zynqmp-zcu106-revA evaluation board.
The Linux DP driver expects the DP to be using the following PLL config:
- DP video PLL should use the VPLL (0x0)
- DP audio PLL should use the RPLL (0x3)
Register 0xFD1
From: Sean Nyekjaer
When compling for x86:
ld.bfd: fs/squashfs/sqfs.o: in function `sqfs_read':
u-boot/fs/squashfs/sqfs.c:1443: undefined reference to `__udivmoddi4'
ld.bfd: u-boot/fs/squashfs/sqfs.c:1521: undefined reference to `__udivmoddi4'
Signed-off-by: Sean Nyekjaer
---
fs/squashfs/sqfs.
On Tuesday 03 May 2022 07:16:34 Stefan Roese wrote:
> On 02.05.22 18:41, Pali Rohár wrote:
> > MAX6370 watchdog is available e.g. on Freescale P1/P2 RDB-PC boards.
> >
> > Signed-off-by: Pali Rohár
> > ---
> > drivers/watchdog/Kconfig | 7 ++
> > drivers/watchdog/Makefile | 1 +
On 2022/5/3 21:51, Marek Vasut wrote:
On 5/3/22 14:24, Peng Fan (OSS) wrote:
From: Peng Fan
Add pinctrl_wdog.
Mark pinctrl_wdog as u-boot,dm-spl to clean up board code,
set_wdog_reset function could be handled by imx_watchdog.c driver.
There is already pinctrl_watchdog_gpio .
Any changes
From: Peng Fan
Mark pinctrl_wdog as u-boot,dm-spl to clean up board code,
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mp-evk-u-boot.dtsi |
From: Peng Fan
V2:
Drop patch 6 in V1
Update commit log
Add R-b/T-b tag
Enable pinctrl wdog to clean up board level code
imx_watchdog.c already has function of set_wdog_reset, so after watchdog
driver enabled, no need that.
Note: I only have NXP EVK board, so please help test if possible.
B
From: Peng Fan
Mark pinctrl_wdog as u-boot,dm-spl to clean up board code,
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi |
From: Peng Fan
Mark pinctrl_wdog as u-boot,dm-spl to clean up board code,
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mm-evk-u-boot.dtsi | 4 +
From: Peng Fan
Mark pinctrl_wdog as u-boot,dm-spl to clean up board code,
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi
From: Peng Fan
Drop unused WDOG macro
Signed-off-by: Peng Fan
Reviewed-by: Michael Trimarchi
---
board/engicam/imx8mm/spl.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/board/engicam/imx8mm/spl.c b/board/engicam/imx8mm/spl.c
index f75f2dc634c..1846134a492 100644
--- a/board/engicam/im
From: Peng Fan
Mark pinctrl_wdog as u-boot,dm-spl to clean up board code,
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mm-cl-iot-gate-u-boot.dts
From: Peng Fan
pinctrl_wdog as u-boot,dm-spl already marked in imx8mm-verdin-u-boot.dtsi,
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
---
board/menlo/mx8menlo/mx8me
From: Peng Fan
Mark pinctrl_wdog as u-boot,dm-spl to clean up board code,
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mm-venice-u-boot.dtsi |
From: Peng Fan
pinctrl_wdog already marked u-boot,dm-spl, so clean up board code.
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
Tested-by: Ariel D'Alessandro
---
boa
From: Peng Fan
Mark pinctrl_wdog as u-boot,dm-spl to clean up board code,
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mn-beacon-kit-u-boot.dtsi
From: Peng Fan
pinctrl_wdog already marked u-boot,dm-spl, so clean up board code.
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
Tested-by: Ariel D'Alessandro
---
boa
From: Peng Fan
Mark wdog1/pinctrl_wdog as u-boot,dm-spl to clean up board code,
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mp-rsb3720-a1-u-boo
From: Peng Fan
Mark pinctrl_wdog as u-boot,dm-spl to clean up board code,
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mm-kontron-n801x-u-boot.d
From: Peng Fan
pinctrl_wdog already marked u-boot,dm-spl, so clean up board code.
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
Tested-by: Teresa Remmet
---
board/ph
From: Peng Fan
pinctrl_wdog already marked u-boot,dm-spl, so clean up board code.
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
---
board/toradex/verdin-imx8mp/verdin
From: Peng Fan
pinctrl_wdog already marked u-boot,dm-spl, so clean up board code.
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by: Peng Fan
---
board/toradex/verdin-imx8mm/spl.c
On 5/3/22 17:20, Andre Przywara wrote:
The initial U-Boot F1C100s port was based on the mainline kernel DT
files, which were quite basic and were missing the essential MMC and
SPI peripherals. While we could work around this in the SPL by
hardcoding the required information, this left U-Boot p
On Sun, 1 May 2022, Pali Rohár wrote:
> > By now I have become somewhat tired arguing and explaining matters over
> > and over again as things have been moving as slow as molasses in this
> > area, but one point I want to raise here is while it is indeed the ASM2824
> > device that seems probl
> Date: Fri, 29 Apr 2022 19:03:22 +0200
> From: Heinrich Schuchardt
>
> On 4/28/22 10:09, Masahisa Kojima wrote:
> > From: AKASHI Takahiro
> >
> > Under the current implementation, booting from removable media using
> > a architecture-specific default image name, say BOOTAA64.EFI, is
> > support
Long TFTP transfers lead to a wall of # characters on UART, which in
the end may slow down the transfer itself. Use CONFIG_TFTP_TSIZE to
print progress in fewer # characters.
Signed-off-by: Patrick Delaunay
---
configs/stm32mp15_basic_defconfig | 1 +
configs/stm32mp15_defconfig | 1 +
On 5/5/22 14:05, Mark Kettenis wrote:
Date: Fri, 29 Apr 2022 19:03:22 +0200
From: Heinrich Schuchardt
On 4/28/22 10:09, Masahisa Kojima wrote:
From: AKASHI Takahiro
Under the current implementation, booting from removable media using
a architecture-specific default image name, say BOOTAA64.E
On 5/5/22 13:06, Peng Fan (OSS) wrote:
From: Peng Fan
pinctrl_wdog as u-boot,dm-spl already marked in imx8mm-verdin-u-boot.dtsi,
The set_wdog_reset() function is not necessary as this is handled by
the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property
being set.
Signed-off-by:
On 5/5/22 14:20, Heinrich Schuchardt wrote:
On 5/5/22 14:05, Mark Kettenis wrote:
Date: Fri, 29 Apr 2022 19:03:22 +0200
From: Heinrich Schuchardt
On 4/28/22 10:09, Masahisa Kojima wrote:
From: AKASHI Takahiro
Under the current implementation, booting from removable media using
a architectur
> Date: Thu, 5 May 2022 14:05:04 +0200 (CEST)
> From: Mark Kettenis
>
> > Date: Fri, 29 Apr 2022 19:03:22 +0200
> > From: Heinrich Schuchardt
> >
> > On 4/28/22 10:09, Masahisa Kojima wrote:
> > > From: AKASHI Takahiro
> > >
> > > Under the current implementation, booting from removable media
On Wed, May 04, 2022 at 03:52:25PM -0500, Andrew Davis wrote:
> This matches what this support is called in the non-SPL case. The postfix
> _SUPPORT is redundant as enabling Kconfig options implies support.
> With this we can use CONFIG_IS_ENABLED() as needed.
>
> Signed-off-by: Andrew Davis
Re
On Wed, May 04, 2022 at 03:52:26PM -0500, Andrew Davis wrote:
> Booting of non-FIT images bypass our chain-of-trust boot flow,
> these options should not be allowed when high security is set.
>
> Signed-off-by: Andrew Davis
Reviewed-by: Tom Rini
--
Tom
signature.asc
Description: PGP signat
On Wed, May 04, 2022 at 03:52:27PM -0500, Andrew Davis wrote:
> Non-FIT image loading support should be disabled for TI secure
> devices as the image handlers for those image types do not follow
> our secure boot checks.
>
> Signed-off-by: Andrew Davis
Reviewed-by: Tom Rini
--
Tom
signatur
On Wed, May 04, 2022 at 03:52:28PM -0500, Andrew Davis wrote:
> TI secure devices chain-of-trust depends on FIT image processing,
> enable it by default on these devices. This also reduces the delta
> between the secure and non-secure defconfig files.
>
> Signed-off-by: Andrew Davis
Reviewed-by
On Thu, May 05, 2022 at 11:26:37AM +0200, Sean Nyekjaer wrote:
> From: Sean Nyekjaer
>
> When compling for x86:
> ld.bfd: fs/squashfs/sqfs.o: in function `sqfs_read':
> u-boot/fs/squashfs/sqfs.c:1443: undefined reference to `__udivmoddi4'
> ld.bfd: u-boot/fs/squashfs/sqfs.c:1521: undefined refer
Make usage of clock and reset bulk API in order to simplify the code
Signed-off-by: Patrice Chotard
---
drivers/usb/host/ehci-generic.c | 97 ++---
1 file changed, 29 insertions(+), 68 deletions(-)
diff --git a/drivers/usb/host/ehci-generic.c b/drivers/usb/host/ehci
Currently, DM_REGULATOR flag is no more needed to protect no DM core,
remove it.
Signed-off-by: Patrice Chotard
---
drivers/usb/host/ehci-generic.c | 14 --
1 file changed, 14 deletions(-)
diff --git a/drivers/usb/host/ehci-generic.c b/drivers/usb/host/ehci-generic.c
index 5856e898
> Date: Thu, 5 May 2022 14:35:36 +0200
> From: Heinrich Schuchardt
>
> On 5/5/22 14:20, Heinrich Schuchardt wrote:
> > On 5/5/22 14:05, Mark Kettenis wrote:
> >>> Date: Fri, 29 Apr 2022 19:03:22 +0200
> >>> From: Heinrich Schuchardt
> >>>
> >>> On 4/28/22 10:09, Masahisa Kojima wrote:
> Fro
On 5/5/22 15:17, Patrice Chotard wrote:
[...]
@@ -81,68 +79,31 @@ static int ehci_usb_probe(struct udevice *dev)
struct generic_ehci *priv = dev_get_priv(dev);
struct ehci_hccr *hccr;
struct ehci_hcor *hcor;
- int i, err, ret, clock_nb, reset_nb;
+ int err, r
On 5/5/22 15:17, Patrice Chotard wrote:
Currently, DM_REGULATOR flag is no more needed to protect no DM core,
remove it.
DM_REGULATOR flag is actually Kconfig symbol.
Why is it no longer needed ? (answer should be in the commit message)
Use [:space:] instead of \s and \S in regular expression that
determines the sandbox target architecture. Fixes the build
failure on OpenBSD introduced with commit 4e65ca00f3a3
("efi_loader: bootmgr: add booting from removable media").
Fixes: f7691a6d73 ("sandbox: allow cross-compiling sandbox")
Hi Marek
On 5/4/22 14:50, Marek Vasut wrote:
> The Buck3 on DHCOR is used to supply IO voltage. It can output either 3V3
> in the default DHCOR configuration, or 2V9 in case of AV96 DHCOR variant
> which has extra Empirion DCDC converter in front of the 1V8 IO supply, or
> outright 1V8 in case of
Hi Marek
On 5/5/22 15:44, Marek Vasut wrote:
> On 5/5/22 15:17, Patrice Chotard wrote:
>
> [...]
>
>> @@ -81,68 +79,31 @@ static int ehci_usb_probe(struct udevice *dev)
>> struct generic_ehci *priv = dev_get_priv(dev);
>> struct ehci_hccr *hccr;
>> struct ehci_hcor *hcor;
>> -
Hi Tom,
On 5/4/22 8:06 PM, Tom Rini wrote:
> On Fri, Apr 22, 2022 at 02:27:41PM -0400, Sean Anderson wrote:
>
>> This converts the fat loader to use spl_load.
>>
>> Signed-off-by: Sean Anderson
>> Reviewed-by: Stefan Roese
>
> On am335x_evm_defconfig, and booting from a FAT SD card I see:
> T
On 5/5/22 16:42, Mark Kettenis wrote:
Use [:space:] instead of \s and \S in regular expression that
determines the sandbox target architecture. Fixes the build
failure on OpenBSD introduced with commit 4e65ca00f3a3
("efi_loader: bootmgr: add booting from removable media").
Fixes: f7691a6d73 ("s
HI Marek
On 5/5/22 15:45, Marek Vasut wrote:
> On 5/5/22 15:17, Patrice Chotard wrote:
>> Currently, DM_REGULATOR flag is no more needed to protect no DM core,
>> remove it.
>
> DM_REGULATOR flag is actually Kconfig symbol.
>
> Why is it no longer needed ? (answer should be in the commit message
Hi Simon,
On 5/3/22 4:50 AM, Simon Glass wrote:
> Hi Sean,
>
> On Fri, 29 Apr 2022 at 13:40, Sean Anderson wrote:
>>
>> Hi Simon,
>>
>> On 4/25/22 11:24 AM, Sean Anderson wrote:
>> >
>> >
>> > On 4/25/22 1:48 AM, Simon Glass wrote:
>> >> Hi Sean,
>> >>
>> >> On Mon, 18 Apr 2022 at 13:37, Sean An
\o/
Am 04.05.22 um 15:46 schrieb Nate Drude:
Hi Josua,
On Wed, 2022-05-04 at 11:51 +0300, Josua Mayer wrote:
Hi Nate,
Am 02.05.22 um 16:25 schrieb Nate Drude:
Hi Josua,
On Sun, 2022-05-01 at 15:41 +0300, Josua Mayer wrote:
The adin_get_phy_mode_override function does not compile, because
i
While looking into the support for u-boot standalone applications I
noticed that there was some mis-alignment between the license exception
and the files which needed to be included to get a functioning
application. I also noticed that the set of SPI access functions
defined in the jump table was m
The "common.h" header is not covered by the licensing exception for
standalone applications. Let's drop inclusion of this header from the
hello_world example to prove that a standalone app can be built without
it.
Signed-off-by: Paul Barker
---
examples/standalone/hello_world.c | 1 -
1 file cha
On 2010-01-27, an email [1] was sent to the mailing list by Wolfgang
Denk which clarified the intended licensing exceptions for standalone
applications. As the "export.h" header and the "stubs.c" source files
are required to implement a standalone application, the intention was
that these files be
* With CONFIG_DM_SPI defined, spi_get_bus_and_cs needs to be used
instead of spi_setup_slave to configure a SPI bus. As spi_setup_slave is
already present in the export list it is reasonable to also export
spi_get_bus_and_cs.
* For the functions listed in the jump table to be callable they must
al
On Thu, May 05, 2022 at 10:51:39AM -0400, Sean Anderson wrote:
> Hi Tom,
>
> On 5/4/22 8:06 PM, Tom Rini wrote:
> > On Fri, Apr 22, 2022 at 02:27:41PM -0400, Sean Anderson wrote:
> >
> >> This converts the fat loader to use spl_load.
> >>
> >> Signed-off-by: Sean Anderson
> >> Reviewed-by: Stef
Will do. Sorry, I stepped away from things for a while but I will test
it now that I am back.
On Wed, Apr 20, 2022 at 6:34 PM Andre Przywara wrote:
>
> On Fri, 15 Apr 2022 12:28:22 -0500
> Chris Morgan wrote:
>
> Hi Chris,
>
> > On Tue, Jan 11, 2022 at 12:46:04PM +, Andre Przywara wrote:
> >
> Date: Thu, 5 May 2022 16:55:24 +0200
> From: Heinrich Schuchardt
>
> On 5/5/22 16:42, Mark Kettenis wrote:
> > Use [:space:] instead of \s and \S in regular expression that
> > determines the sandbox target architecture. Fixes the build
> > failure on OpenBSD introduced with commit 4e65ca00f3a
On 5/5/22 16:58, Patrice CHOTARD wrote:
HI Marek
On 5/5/22 15:45, Marek Vasut wrote:
On 5/5/22 15:17, Patrice Chotard wrote:
Currently, DM_REGULATOR flag is no more needed to protect no DM core,
remove it.
DM_REGULATOR flag is actually Kconfig symbol.
Why is it no longer needed ? (answer sh
Am 5. Mai 2022 18:58:48 MESZ schrieb Mark Kettenis :
>> Date: Thu, 5 May 2022 16:55:24 +0200
>> From: Heinrich Schuchardt
>>
>> On 5/5/22 16:42, Mark Kettenis wrote:
>> > Use [:space:] instead of \s and \S in regular expression that
>> > determines the sandbox target architecture. Fixes the b
This adds support for the nvmem-cells properties cropping up in manyb
device trees. This is an easy way to load configuration, version
information, or calibration data from a non-volatile memory source. For
more information, refer to patch 6 ("misc: Add support for nvmem
cells").
For the moment I
Commit f3dd213e15 ("net: introduce helpers to get PHY ofnode from MAC")
changed the ethernet sequence assignment from
uclass 36: ethernet
0 * eth@10002000 @ 05813460, seq 0
1 * eth@10003000 @ 05813550, seq 5
2 * sbe5 @ 05813640, seq 3
3 * eth@10004000 @ 05813730, seq 6
4 * dsa-test-eth @
The phy_eth0 interface introduced in commit f3dd213e15 ("net: introduce
helpers to get PHY ofnode from MAC") uses a globally-administered
address. Switch to using a locally-administered address, and add it to
the sandbox environment, like the others.
Signed-off-by: Sean Anderson
---
Changes in v
This adds a test to make sure that all the ethernet interfaces have
their addresses read properly. At the moment everything is read from the
environment, but the next few commits will add additional sources.
Signed-off-by: Sean Anderson
Reviewed-by: Simon Glass
---
(no changes since v3)
Change
Instead of reading a pseudo-rom mac address from the device tree, just use
whatever we get from write_hwaddr. This has the effect of using the mac
address from the environment (or from the device tree, if it is
specified).
Signed-off-by: Sean Anderson
Reviewed-by: Simon Glass
Acked-by: Ramon Fri
DSA interfaces use the same mac address for each interface, unless
instructed otherwise. Just set eth4addr and let eth2addr and eth7addr be
set automatically.
Signed-off-by: Sean Anderson
Reviewed-by: Simon Glass
---
(no changes since v1)
board/sandbox/sandbox.env | 1 -
1 file changed, 1 del
This prevents some conflicts when running sandbox with -D, since the
"rom" mac address will be random and won't match the environment. We
still need to keep addresses for eth1 and eth6 in the environment,
because dm_test_eth_rotate expects to be able to disable them by
removing their envaddr variab
If the DSA master fails to probe for whatever reason, then DSA devices
will continue on as if nothing is wrong. This can cause incorrect
behavior. In particular, on sandbox, dsa_sandbox_probe attempts to
access the master's private data. This is only safe to do if the master
has been probed first.
i2c_eeprom_ops->write uses a const buf, so use one for the wrapper
function as well.
Signed-off-by: Sean Anderson
Reviewed-by: Simon Glass
---
(no changes since v1)
drivers/misc/i2c_eeprom.c | 3 ++-
include/i2c_eeprom.h | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --g
Add some fallback functions for when i2c_eeprom is disabled. This allows
code to reference i2c_eeprom_* functions without needing to check
whether support has been compiled in.
Signed-off-by: Sean Anderson
---
Changes in v4:
- New
include/i2c_eeprom.h | 24
1 file chan
This adds support for "nvmem cells" as seen in Linux. The nvmem device
class in Linux is used for various assorted ROMs and EEPROMs. In this
sense, it is similar to UCLASS_MISC, but also includes
UCLASS_I2C_EEPROM, UCLASS_RTC, and UCLASS_MTD. New drivers corresponding
to a Linux-style nvmem device
This enables NVMEM for all sandbox defconfigs, enabling it to be used in
unit tests in the next few commits.
Signed-off-by: Sean Anderson
Reviewed-by: Simon Glass
---
Changes in v4:
- Enable CONFIG_NVMEM for sandbox_spl_defconfig
configs/sandbox64_defconfig| 1 +
configs/sandbox_defco
This adds support for reading mac addresses from the "mac-address" nvmem
cell. If there is no (local-)mac-address property, then we will try
reading from an nvmem cell.
For some existing examples of this property, refer to imx8mn.dtsi and
imx8mp.dtsi. Unfortunately, fuse drivers have not yet been
This uses an i2c eeprom to load a mac address using the nvmem interface.
Enable I2C_EEPROM for sandbox SPL since it is the only sandbox config
which doesn't enable it eeprom.
Signed-off-by: Sean Anderson
Reviewed-by: Simon Glass
---
Changes in v4:
- Enable CONFIG_I2C_EEPROM for sandbox_spl_defc
This uses the nvmem API to load a mac address from an RTC.
Signed-off-by: Sean Anderson
Reviewed-by: Simon Glass
---
(no changes since v1)
arch/sandbox/dts/test.dts | 9 -
drivers/rtc/i2c_rtc_emul.c | 10 ++
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/arch
This loads a mac address using a misc device using the nvmem interface.
Signed-off-by: Sean Anderson
---
(no changes since v1)
arch/sandbox/dts/test.dts | 9 -
drivers/misc/misc_sandbox.c | 3 +++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/arch/sandbox/dts/test.dt
Instead of calling uclass methods directly, instead create some nvmem
devices solely for the purpose of holding nvmem ops. This is primarily
to illustrate the size difference between these approaches.
This patch should not be applied.
Signed-off-by: Sean Anderson
Patch-prefix: RFC
---
Changes i
On Thursday 05 May 2022 11:36:09 Pali Rohár wrote:
> On Tuesday 03 May 2022 07:16:34 Stefan Roese wrote:
> > On 02.05.22 18:41, Pali Rohár wrote:
> > > MAX6370 watchdog is available e.g. on Freescale P1/P2 RDB-PC boards.
> > >
> > > Signed-off-by: Pali Rohár
> > > ---
> > > drivers/watchdog/Kco
On 5/5/22 03:54, Peng Fan (OSS) wrote:
On 2022/5/4 20:53, Marek Vasut wrote:
On 5/4/22 14:26, Peng Fan wrote:
Hi Marek,
Hi,
Since you did some work on i.MX8MP USB, may I know the status?
Does host/device mode both supported in upstream?
I only have HOST option available, so for me this
On Wed, May 4, 2022 at 6:54 PM Peng Fan (OSS) wrote:
>
>
>
> On 2022/5/4 20:53, Marek Vasut wrote:
> > On 5/4/22 14:26, Peng Fan wrote:
> >> Hi Marek,
> >
> > Hi,
> >
> >> Since you did some work on i.MX8MP USB, may I know the status?
> >> Does host/device mode both supported in upstream?
> >
> >
If the thermal sensor is enabled in U-Boot, adjust the cpu-thermal
trip points for industrial rated parts.
Signed-off-by: Adam Ford
diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c
index 8e23e6da32..619e04a602 100644
--- a/arch/arm/mach-imx/imx8m/soc.c
+++ b/arch/arm/ma
On Tue, Apr 19, 2022 at 01:32:19PM +0800, Jim Liu wrote:
> Add basic support for the Nuvoton NPCM750 EVB (Poleg).
>
> Signed-off-by: Jim Liu
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Tue, Apr 19, 2022 at 01:32:20PM +0800, Jim Liu wrote:
> Add clock controller driver for NPCM750
>
> Signed-off-by: Jim Liu
> Signed-off-by: Stanley Chu
> Reviewed-by: Sean Anderson
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
1 - 100 of 165 matches
Mail list logo