> -Original Message-
> From: Billy Tsai
> Sent: Wednesday, April 13, 2022 1:35 PM
> To: Ryan Chen ; ChiaWei Wang
> ; BMC-SW ;
> and...@aj.id.au; Billy Tsai ;
> u-boot@lists.denx.de
> Subject: [PATCH] gpio: aspeed: Fix incorrect offset of read back register.
>
> The offset of the current r
在 2022/4/14 12:39, Ramon Fried 写道:
On Sat, Apr 2, 2022 at 5:58 AM wrote:
From: qianfan Zhao
tftp_handler do eth_halt when TFTP_ERROR, but eth_halt will remove eth
device if it is an usb network. usbeth's private data will be unaccessable
when usb_eth_free_pkt, touch it will trigger data abo
On Wed, Apr 13, 2022 at 12:16:00PM +0900, AKASHI Takahiro wrote:
> Heinrich,
> (and Simon)
>
> On Sat, Apr 09, 2022 at 09:05:07PM +0200, Heinrich Schuchardt wrote:
> > On 3/8/22 12:36, AKASHI Takahiro wrote:
> > > With this new function, UCLASS_PARTITION devices will be created as
> > > child node
Enable DM_SERIAL
Signed-off-by: Michael Trimarchi
---
configs/imx8mn_bsh_smm_s2_defconfig| 2 ++
configs/imx8mn_bsh_smm_s2pro_defconfig | 2 ++
2 files changed, 4 insertions(+)
diff --git a/configs/imx8mn_bsh_smm_s2_defconfig
b/configs/imx8mn_bsh_smm_s2_defconfig
index 3d67079a46..ba558ed7
On Sat, Apr 2, 2022 at 5:58 AM wrote:
>
> From: qianfan Zhao
>
> tftp_handler do eth_halt when TFTP_ERROR, but eth_halt will remove eth
> device if it is an usb network. usbeth's private data will be unaccessable
> when usb_eth_free_pkt, touch it will trigger data abort.
>
> Next is the console m
The SoC seems to lose the values of PLL3CR, PLL4CR, RCC_MSSCKSELR
during suspend/resume cycle, cache them and reinstate their values
on resume.
Signed-off-by: Marek Vasut
Cc: Patrick Delaunay
Cc: Patrice Chotard
---
arch/arm/mach-stm32mp/psci.c | 13 +
1 file changed, 13 insertions
On Thu, Apr 14, 2022 at 12:30 AM Andrew Scull wrote:
>
> > > diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
> > > index 47cd074aa1..fd2203420c 100644
> > > --- a/drivers/pci/Kconfig
> > > +++ b/drivers/pci/Kconfig
> > > @@ -67,6 +67,13 @@ config PCI_SRIOV
> > > if available on a
On 4/13/22 22:21, Stefano Babic wrote:
Hi Tom,
Hi,
[...]
So, I've applied this to master and pushed, and thanks for clearing out
much of the backlog. Is there still things left that aren't recently
newly posted?
There are still 3 big series that should flow in:
- Marek's series about Pow
On Wed, Apr 13, 2022 at 06:10:40PM +0300, Ramon Fried wrote:
> Hi Tom,
> Please pull the latest changes from u-boot-net/next branch which include:
>
> * DM9000 DM support
> * tftp server bug fix
> * mdio ofnode support functions
> * Various phy fixes and improvements.
>
> The following changes s
There are no users of the imx6_pcie_toggle_power and imx6_pcie_toggle_reset
weak overrides and as these functions are able to be handled now via dt
properties lets remove these.
Cc: Marek Vasut
Signed-off-by: Tim Harvey
---
arch/arm/include/asm/arch-mx6/sys_proto.h | 3 ---
drivers/pci/pcie_im
If vpcie-supply is defined by device-tree use that if
CONFIG_PCIE_IMX_POWER_GPIO is not defined.
Note that after this the following boards which define
CONFIG_PCIE_IMX_POWER_GPIO in their board header file as well as their
device-tree should be able to remove CONFIG_PCIE_IMX_PERST_GPIO without
con
On Thu, Apr 07, 2022 at 12:32:57AM +0200, Marek Behún wrote:
> From: Marek Behún
>
> Add helpers ofnode_get_phy_node() and dev_get_phy_node() and use it in
> net/mdio-uclass.c function dm_eth_connect_phy_handle(). Also add
> corresponding UT test.
>
> This is useful because other part's of U-Bo
ng changes since commit 33ae8c5bebba0874fbc432914406e63fbc219080:
Merge tag 'efi-2022-07-rc1' of
https://source.denx.de/u-boot/custodians/u-boot-efi (2022-04-10 11:21:39
-0400)
are available in the Git repository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git
tags/u-bo
For CONFIG_DM_SERIAL it is required to increase CONFIG_SYS_MALLOC_F_LEN as
default value is not enough for memory hungry CONFIG_DM_SERIAL code.
Signed-off-by: Pali Rohár
---
Who has serial console on the real device, please test this patch if
serial console is still working. I do not have adapter
On Wed, Apr 13, 2022 at 1:21 AM Stefano Babic wrote:
>
> Hi Tim,
>
> (quite unrelated to this series): after applying tons of patches, there
> are a list that are obsolete and need to be rebased. I applied several
> of the patches you sent, some have open issues, some cannot be applied
> (as this
The GW74xx is based on the i.MX 8M Plus SoC featuring:
- LPDDR4 DRAM
- eMMC FLASH
- Gateworks System Controller
- PCIe Gen 3.0 switch (build option)
- USB 3.0 HUB
- USB Type-C front panel connector
- GPS
- 3-axis accelerometer
- CAN bus
- 6x GbE RJ45 front-panel jacks
- 1x IMX8M FEC RGM
Gateworks produces many products from a single PCB with subloaded
components. Add an additional two levels of dtb name matching so that
for example a GW7400-A matches the dtb name of gw74xx.dtb
Signed-off-by: Tim Harvey
---
v2:
- rebase on imx/master
---
board/gateworks/venice/eeprom.c | 8
On Wed, Apr 13, 2022 at 12:46:07PM -0400, Tom Rini wrote:
> On Wed, Apr 13, 2022 at 03:20:23PM +0100, Abdellatif El Khlifi wrote:
[...]
> > Since we can not add an FFA node in the device tree, we will make FFA a
> > discoverable bus.
> > So, we will manually create the udevice, binding it to the
Hi
On Wed, Apr 13, 2022 at 6:09 PM Tim Harvey wrote:
>
> On Wed, Apr 13, 2022 at 8:56 AM Michael Nazzareno Trimarchi
> wrote:
> >
> > Hi Tim
> >
> > On Wed, Apr 13, 2022 at 5:47 PM Tim Harvey wrote:
> > >
> > > Enable DM_SERIAL.
> > >
> > > Signed-off-by: Tim Harvey
> > > ---
> > > v2: rebase
This serie adds the support of mmc for bcm63158.
The first commit adds a driver that support sdhci
on bcm63158. The two next commits add support of
mmc in the device tree, and the last one enables
the support of mmc and gpt for the reference board
bcm963158.
Philippe Reynes (4):
drivers: mmc: b
Adds a driver to support shdci on bcm63158.
Signed-off-by: Philippe Reynes
---
drivers/mmc/Kconfig | 12 +++
drivers/mmc/Makefile | 1 +
drivers/mmc/bcm63158_sdhci.c | 153 +++
3 files changed, 166 insertions(+)
create mode 100644 drivers/mmc/
Adds the support of sdhci on bcm63158.
Signed-off-by: Philippe Reynes
---
arch/arm/dts/bcm63158.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/dts/bcm63158.dtsi b/arch/arm/dts/bcm63158.dtsi
index 7dd2858438..4e0f5f2dbd 100644
--- a/arch/arm/dts/bcm63158.dtsi
+++ b/arc
Enable the support of emmc and gpt on bcm63158
Signed-off-by: Philippe Reynes
---
configs/bcm963158_ram_defconfig | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/configs/bcm963158_ram_defconfig b/configs/bcm963158_ram_defconfig
index 642faf511f..5fc89fc99d 100644
---
Enable the support of sdhci on bcm63158.
Signed-off-by: Philippe Reynes
---
arch/arm/dts/bcm963158.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/bcm963158.dts b/arch/arm/dts/bcm963158.dts
index c2bdd33274..c96fa60841 100644
--- a/arch/arm/dts/bcm963158.dts
+++ b/arch/a
On Wed, 13 Apr 2022 at 15:05, Bin Meng wrote:
>
> On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote:
> >
> > Evolve dm_pci_map_bar() to include an offset and length parameter. These
> > allow a portion of the memory to be mapped and range checks to be
> > applied.
> >
> > Passing both the offse
On Wed, Apr 13, 2022 at 03:20:23PM +0100, Abdellatif El Khlifi wrote:
> On Tue, Apr 12, 2022 at 08:28:42AM -0500, Rob Herring wrote:
> > On Tue, Apr 12, 2022 at 7:01 AM Tom Rini wrote:
> > >
> > > On Tue, Apr 12, 2022 at 12:43:15PM +0100, Abdellatif El Khlifi wrote:
> > > > On Thu, Apr 07, 2022 at
On Wed, 13 Apr 2022 at 15:03, Bin Meng wrote:
>
> On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote:
> >
> > Add tests for the functions dm_pci_bus_to_phys() and
> > dm_pci_phys_to_bus() which convert between PCI bus addresses and
> > physical addresses based on the ranges declared for the PCI
ollowing changes since commit 33ae8c5bebba0874fbc432914406e63fbc219080:
> >
> > Merge tag 'efi-2022-07-rc1' of
> > https://source.denx.de/u-boot/custodians/u-boot-efi (2022-04-10 11:21:39
> > -0400)
> >
> > are available in the Git repository
Use the common GSC driver.
This allows us to do some additional cleanup:
- use the GSC driver functions
- move waiting for the EEPROM to the SPL int (it will always be ready
after this)
- move eeprom functions into eeprom file and elimate GSC_I2C_BUS
- eliminate some redundant EEPROM reads
; https://source.denx.de/u-boot/custodians/u-boot-efi (2022-04-10 11:21:39
> -0400)
>
> are available in the Git repository at:
>
> https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git
> tags/u-boot-imx-20220413
>
> for you to fetch changes up to a1c711046b0d5478a702b27
> > diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c
> > index 33dda2..8bbeb62f2e 100644
> > --- a/drivers/pci/pci-uclass.c
> > +++ b/drivers/pci/pci-uclass.c
> > @@ -1533,8 +1533,8 @@ static phys_addr_t dm_pci_map_ea_virt(struct udevice
> > *dev, int ea_off,
> > return
Enable the md5sum and crc32 commands.
Signed-off-by: Tim Harvey
---
configs/imx8mm_venice_defconfig | 4 +++-
configs/imx8mn_venice_defconfig | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/configs/imx8mm_venice_defconfig b/configs/imx8mm_venice_defconfig
index a9ff5654b
The TI DP83867 phy has been replaced with the MaxLinear GPY111 phy
due to part availability. Add support for it:
- increase post-reset time to 300ms per datasheet
- add tx-delay/rx-delay config
Signed-off-by: Tim Harvey
---
v2: rebase on imx/master
---
arch/arm/dts/imx8mm-venice-gw7902-u-boot.
On Wed, Apr 13, 2022 at 8:56 AM Michael Nazzareno Trimarchi
wrote:
>
> Hi Tim
>
> On Wed, Apr 13, 2022 at 5:47 PM Tim Harvey wrote:
> >
> > Enable DM_SERIAL.
> >
> > Signed-off-by: Tim Harvey
> > ---
> > v2: rebase on imx/master
> > ---
> > configs/imx8mm_venice_defconfig | 2 ++
> > configs/im
enable CONFIG_OF_LIBFDT_OVERLAY to support applying dt overlays in
U-Boot.
Signed-off-by: Tim Harvey
---
v2: rebase on imx/master
---
configs/imx8mm_venice_defconfig | 1 +
configs/imx8mn_venice_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/imx8mm_venice_defconfig b/con
Add gpio hog support for board-specific gpio lines:
- put hogs in u-boot.dtsi so as to keep the regular dts files
in sync with the kernel. The hogs will not be put in the kernel
as that makes them un-usable by userspace as well as
re-initializes them to dt defaults overriding changes which ma
Use the common GSC driver.
This allows us to do some additional cleanup:
- rename gsc{.c,.h} to eeprom{.c.h} for clarity
- collapse eeprom_get_dev
- remove unnecessary header files and alphabatize includes
Signed-off-by: Tim Harvey
---
v2: rebase on imx/master
---
arch/arm/dts/imx8mm-venice-
Hi Tim
On Wed, Apr 13, 2022 at 5:47 PM Tim Harvey wrote:
>
> Enable DM_SERIAL.
>
> Signed-off-by: Tim Harvey
> ---
> v2: rebase on imx/master
> ---
> configs/imx8mm_venice_defconfig | 2 ++
> configs/imx8mn_venice_defconfig | 2 ++
> 2 files changed, 4 insertions(+)
>
> diff --git a/configs/imx
Enable DM_SERIAL.
Signed-off-by: Tim Harvey
---
v2: rebase on imx/master
---
configs/imx8mm_venice_defconfig | 2 ++
configs/imx8mn_venice_defconfig | 2 ++
2 files changed, 4 insertions(+)
diff --git a/configs/imx8mm_venice_defconfig b/configs/imx8mm_venice_defconfig
index dd61ec9b70fb..09f7d8
Enable USB support for host controller and various USB ethernet
devices.
Example usage of USB Mass Storage (UMS) support:
u-boot=> mmc list
FSL_SDHC: 0
FSL_SDHC: 1
FSL_SDHC: 2 (eMMC)
u-boot=> ums 0 mmc 2
UMS: LUN 0, dev mmc 2, hwpart 0, sector 0x0, count 0xe3
Signed-off-by: Tim Harvey
Update distro config env memory layout:
- loadaddr=0x4820 allows for 130MB area for uncompressing (ie FIT
images, kernel_comp_addr_r)
- fdt_addr_r = loadaddr + 128MB - allows for 128MB kernel
- scriptaddr = fdt_addr_r + 512KB - allows for 512KB fdt
- ramdisk_addr_r = scriptaddr + 512KB -
Hi Andrew,
On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote:
>
> The virtio PCI drivers forgo a number of consistency checks,
> particularly around pointer validation and bounds checking. This series
> focuses on the modern driver to add those checks.
>
> The start of the series adds and fixes
On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote:
>
> The virtio PCI capabilities describe regions of memory that should be
> mapped. Map those with dm_pci_map_bar() which will ensure they are valid
> PCI regions.
>
> Signed-off-by: Andrew Scull
> ---
> drivers/virtio/virtio_pci_modern.c | 18
On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote:
>
> Prepare for calls to `virtio_pci_map_capability()` failing by returning
> NULL on error. If this happens, later accesses to the pointers would be
> unsafe so cause the probe to fail if such an error occurs.
>
> Signed-off-by: Andrew Scull
>
On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote:
>
> Add a mask parameter to control the lookup of the PCI region from which
> the mapping can be made.
>
> Signed-off-by: Andrew Scull
> ---
> arch/x86/cpu/baytrail/cpu.c | 2 +-
> drivers/ata/ahci.c | 7
Hi Tom,
Please pull the latest changes from u-boot-net/next branch which include:
* DM9000 DM support
* tftp server bug fix
* mdio ofnode support functions
* Various phy fixes and improvements.
The following changes since commit 8221c52d88fbe84ca9692dc23827e21403c952e8:
Merge tag 'u-boot-at91-
Add documentation for STM32 MCUs (F4, F7 and H7 series).
Signed-off-by: Patrice Chotard
---
board/st/stm32f429-discovery/MAINTAINERS | 1 +
board/st/stm32f429-evaluation/MAINTAINERS | 1 +
board/st/stm32f469-discovery/MAINTAINERS | 1 +
board/st/stm32f746-disco/MAINTAINERS | 1 +
Add stm32746g-eval_spl_defconfig for stm32746g evaluation board to
build SPL.
Signed-off-by: Patrice Chotard
---
board/st/stm32f746-disco/MAINTAINERS | 1 +
configs/stm32746g-eval_spl_defconfig | 86
2 files changed, 87 insertions(+)
create mode 100644 configs/stm
Add stm32746g-eval_defconfig for stm32746g evaluation board to
build U-Boot proper.
Full board description can be found here :
https://www.st.com/en/evaluation-tools/stm32746g-eval.html
Signed-off-by: Patrice Chotard
---
board/st/stm32f746-disco/MAINTAINERS | 1 +
configs/stm32746g-eval_defco
Migrate SPL flags to stm32f746-disco_spl_defconfig
Signed-off-by: Patrice Chotard
---
arch/arm/mach-stm32/Kconfig | 20
configs/stm32f746-disco_spl_defconfig | 24
2 files changed, 20 insertions(+), 24 deletions(-)
diff --git a/arch/arm/m
Replace CONFIG_SUPPORT_SPL by CONFIG_SPL_BUILD to allow
dram_init() execution when using none SPL defconfig
(stm32f746-disco_defconfig).
Signed-off-by: Patrice Chotard
---
board/st/stm32f746-disco/stm32f746-disco.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/st/stm
As stm32f46-disco, stm32f769-disco and stm32746g-eval are very similar
except their respective device tree file. These 3 boards uses the same
TARGET_STM32F746_DISCO flag (so same include/configs/stm32f746-disco.h
and same board file board/st/stm32f746-disco/stm32f746-disco.c)
To be able to compile
Add stm32f769-disco_defconfig for stm32f769 discovery board to
build U-Boot proper.
Signed-off-by: Patrice Chotard
---
configs/stm32f769-disco_defconfig | 65 +++
1 file changed, 65 insertions(+)
create mode 100644 configs/stm32f769-disco_defconfig
diff --git a/con
Migrate SPL flags to stm32f769-disco_spl_defconfig
Signed-off-by: Patrice Chotard
---
configs/stm32f769-disco_spl_defconfig | 25 +
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/configs/stm32f769-disco_spl_defconfig
b/configs/stm32f769-disco_spl_defconf
The current stm32f769-disco_defconfig file supports SPL, rename it to
stm32f769-disco_spl_defconfig to reflect the supported configuration.
Signed-off-by: Patrice Chotard
---
board/st/stm32f746-disco/MAINTAINERS | 1 +
.../{stm32f769-disco_defconfig => stm32f769-disc
Add stm32f746-disco_defconfig for stm32f746 discovery board to
build U-Boot proper.
Signed-off-by: Patrice Chotard
---
configs/stm32f746-disco_defconfig | 64 +++
1 file changed, 64 insertions(+)
create mode 100644 configs/stm32f746-disco_defconfig
diff --git a/con
The current stm32f746-disco_defconfig file supports SPL, rename it to
stm32f746-disco_spl_defconfig to reflect the supported configuration.
Signed-off-by: Patrice Chotard
---
board/st/stm32f746-disco/MAINTAINERS | 1 +
.../{stm32f746-disco_defconfig => stm32f746-disc
Add new stm32746g-eval board support
Add defconfig for SPL and none SPL mode for STM32F7 boards.
Add documentation on how to build and flash STM32 MCUs.
Patrice Chotard (12):
configs: stm32f746-disco: Concatenate spl and u-boot binaries
configs: stm32f746-disco: Rename stm32f746-disco_defconfi
This allows to concatenate spl and u-boot binaries together.
Previously, both binaries has to be flashed separately at the correct
offset (spl at offset 0 and u-boot at offset 0x8000).
With this patch, only one binary is generated (u-boot-with-spl.bin)
and has to be copied in flash at offset 0 usin
On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote:
>
> Add mask parameter and reorder length parameter to match the other PCI
> address conversion functions. Using PCI_REGION_TYPE as the mask gives
> the old behaviour.
>
> It's converted from a macro to an inline function as the length
> paramet
On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote:
>
> When converting addresses, apply a mask to the region flags during
> lookup. This allows the caller to specify which flags are important and
> which are not, for example to exclude system memory regions.
>
> The behaviour of the function is
During initialization, U-Boot may rely on clean caches for the code and data in
the memory area where its binary is located. Cleaning that cache area could be
a responsibility of the loader of U-Boot (e.g., BL2 from ARM Trusted Firmware).
Otherwise, it may be hard for U-Boot to avoid using corru
Hi Stefano,
On Mon, 2022-04-11 at 17:45 +0200, Stefano Babic wrote:
> Hi Philipp,
>
> On 02.03.22 10:39, Philip Oberfichtner wrote:
> > The Bosch ACC (Air Center Control) Board is based on the i.MX6D.
>
> [snip]
>
> > diff --git a/include/configs/imx6q-acc.h b/include/configs/imx6q-
> > acc.h
>
Add a regression test for virtio-rng reading beyond the end of its
buffer if the virtio device provides an invalid length.
Signed-off-by: Andrew Scull
Reviewed-by: Simon Glass
---
test/dm/Makefile | 1 +
test/dm/virtio_rng.c | 52
2 files change
Check the length of data written by the device is consistent with the
size of the buffers to avoid out-of-bounds memory accesses in case
values aren't consistent.
Signed-off-by: Andrew Scull
Cc: Sughosh Ganu
Reviewed-by: Simon Glass
---
drivers/virtio/virtio_rng.c | 3 +++
1 file changed, 3 in
Once the virtio-rng driver has been bound, probe it to trigger the pre
and post child probe hooks of the virtio uclass driver. Check the status
of the virtio device to confirm it reached the expected state.
Signed-off-by: Andrew Scull
Reviewed-by: Simon Glass
---
test/dm/virtio_device.c | 9 +++
Virtio tests that find a child device require the virtio device driver
to be included in the build so it can probe. The sandbox virtio
transport driver currently reports a virtio-blk device so make sure the
corresponding driver is built before running tests that need it.
Signed-off-by: Andrew Scul
The virtio-rng driver is extremely simple, making it suitable for
testing more of the virtio uclass logic. Have the sandbox driver bind
the virtio-rng driver rather than the virtio-blk driver so it can be
used in tests.
Signed-off-by: Andrew Scull
Reviewed-by: Simon Glass
---
drivers/virtio/vir
The virtqueue is passed to virtio_notify() so move the virtqueue
deletion to the end of the test when it's no longer needed. This wasn't
causing any problems because the sandbox virtio transport driver doesn't
do anything for notifications, but it could cause problems if things
change and it was a
The virtio sandbox transport was setting the device features value to
the bit index rather than shifting a bit to the right index. Fix this
using the bit manipulation macros.
Signed-off-by: Andrew Scull
Reviewed-by: Simon Glass
---
drivers/virtio/virtio_sandbox.c | 2 +-
test/dm/virtio.c
The virtio ring is the basis of virtio communication. Test its basic
functionality and its resilience against corruption from the device.
Signed-off-by: Andrew Scull
Reviewed-by: Simon Glass
---
test/dm/virtio.c | 72
1 file changed, 72 insertion
When the device returns used buffers, it should refer to the descriptor
that is the head of the descriptor chain for that buffer. Confirm this
to be the case by tracking the head of descriptor chains that have been
made available to the device.
Signed-off-by: Andrew Scull
Reviewed-by: Simon Glass
The shared descriptors should only be written by the guest driver,
however, the device is still able to overwrite and corrupt them.
Maintain a private shadow copy of the descriptors for the driver to
use for state tracking, removing the need to read from the shared
descriptors.
Signed-off-by: Andr
Move the logic for attaching a descriptor to its own function.
Signed-off-by: Andrew Scull
Reviewed-by: Simon Glass
---
drivers/virtio/virtio_ring.c | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio
The variables `total_sg` and `descs_used` have the same value. Replace
the few uses of `total_sg` with `descs_used` to simplify the situation.
Signed-off-by: Andrew Scull
Reviewed-by: Simon Glass
---
drivers/virtio/virtio_ring.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff
On Tue, Apr 12, 2022 at 08:28:42AM -0500, Rob Herring wrote:
> On Tue, Apr 12, 2022 at 7:01 AM Tom Rini wrote:
> >
> > On Tue, Apr 12, 2022 at 12:43:15PM +0100, Abdellatif El Khlifi wrote:
> > > On Thu, Apr 07, 2022 at 08:58:11AM -0400, Tom Rini wrote:
> > > > On Thu, Apr 07, 2022 at 01:54:24PM +0
On 4/13/22 09:27, Michal Simek wrote:
On 4/10/22 06:27, Marek Vasut wrote:
This patch adds a driver for configuration of the Microchip USB251xB/xBi
USB 2.0 hub controller series with USB 2.0 upstream connectivity, SMBus
configuration interface and two to four USB 2.0 downstream ports.
This is
On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote:
>
> Evolve dm_pci_map_bar() to include an offset and length parameter. These
> allow a portion of the memory to be mapped and range checks to be
> applied.
>
> Passing both the offset and length as zero results in the previous
> behaviour and th
On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote:
>
> Add tests for the functions dm_pci_bus_to_phys() and
> dm_pci_phys_to_bus() which convert between PCI bus addresses and
> physical addresses based on the ranges declared for the PCI controller.
>
> The ranges of bus#1 are used for the tests,
On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote:
>
> When converting between PCI bus and physical addresses, include a length
> parameter that can be used to check that the entire range fits within
> one of the PCI regions. This prevents an address being returned that
> might be only partially
On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote:
>
> Read the virtio PCI capability out of the device configuration space to
> a struct rather than accessing fields directly from the configuration
> space as they are needed. This both makes access to the fields easier
> and avoids re-reading f
On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote:
>
> Ensure the virtio PCI capabilities are contained within the bounds of
> the device's configuration space. The expected size of the capability is
> passed when searching for the capability to enforce this check.
>
> Signed-off-by: Andrew Scul
On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote:
>
> Add a config to control whether Enhanced Allocation is supported by the
> driver.
>
> Signed-off-by: Andrew Scull
> ---
> drivers/pci/Kconfig | 7 +++
> drivers/pci/pci-uclass.c | 25 +++--
> 2 files changed,
On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote:
>
> The flags parameter of dm_pci_map_bar() is used for PCI region flags
> rather than memory mapping flags. Fix the type to match that of the
> region flags and stop using the regions flags as memory mapping flags.
>
> Signed-off-by: Andrew Scu
Hi everyone,
Recent issue that I had to deal with sparkled a discussion within my
team, and seems like we are not sure what would be a proper way to go,
even if there are multiple ways to do it. We decided to ask this
question to open-source community, in case someone has thoughts about it.
> Why do you need this, instead of just using CONFIG_LOCALVERSION?
Because we were not aware of this option.
Thanks for the hint and sorry for the noise.
From: Peng Fan
Since we have CONFIG_COUNTER_FREQUENCY enabled, no need COUNTER_FREQUENCY
Signed-off-by: Peng Fan
---
arch/arm/cpu/armv8/fsl-layerscape/spintable.S | 2 +-
include/configs/apalis-imx8.h | 3 ---
include/configs/apalis-imx8x.h| 3 ---
include/confi
From: Peng Fan
Set CONFIG_COUNTER_FREQUENCY according to COUNTER_FREQUENCY in
config header file.
Signed-off-by: Peng Fan
---
configs/a3y17lte_defconfig | 1 +
configs/a5y17lte_defconfig | 1 +
configs/a7y17lte_defconfig
The offset of the current read back register is the value of the gpio pin,
not the value written for the gpio output.
This patch fix it to avoid the other gpio output value controlled by the
same register being set incorrectly.
Fixes: 7ad889b0f37a ("gpio: Add Aspeed GPIO driver")
Signed-off-by: Bi
'efi-2022-07-rc1' of
https://source.denx.de/u-boot/custodians/u-boot-efi (2022-04-10 11:21:39
-0400)
are available in the Git repository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git
tags/u-boot-imx-20220413
for you to fetch changes up to a1c711046b0d5478a702b27c6
From: Denys Drozdov
Drop Apalis iMX8X platform as it never left sample state and is no
longer supported.
Signed-off-by: Denys Drozdov
Signed-off-by: Marcel Ziswiler
---
(no changes since v1)
arch/arm/dts/Makefile | 1 -
arch/arm/dts/fsl-imx8qxp-apalis-u-boot.dtsi
From: Marcel Ziswiler
This series contains an assortment of fixes and improvements for Toradex
computer/system on modules (CoM/SoM).
We also drop support for the Apalis iMX8X and the Colibri PXA270. The
former never evolved beyond the sample state and we no longer support
it. The latter is EOL
From: Marcel Ziswiler
The Colibri PXA270 has been end-of-life since quite a while and would
require more and more maintenance (e.g. DM conversions).
Signed-off-by: Marcel Ziswiler
---
(no changes since v1)
arch/arm/Kconfig | 6 -
board/toradex/colibri_pxa270/Kc
From: Marcel Ziswiler
Use PREBOOT as well. This allows a customer to just set fdt_board as
on any other module to customize the device tree for his carrier
board.
Signed-off-by: Marcel Ziswiler
---
Changes in v2:
- Re-based on top of Stefano's imx/master-next which dropped 13 commits
alread
From: Marcel Ziswiler
Drop optional support for the ancient Apalis iMX6 V1.0 hardware which
had the UART wired as DCE rather than DTE.
Signed-off-by: Marcel Ziswiler
---
Changes in v2:
- Also drop setup_dcemode_uart() and setup_iomux_dce_uart() which are
now unused.
board/toradex/apalis_i
From: Marcel Ziswiler
This fixes the following crash when run on a Colibri iMX7S aka solo:
Colibri iMX7 # usb start
starting USB...
Bus usb@30b1: USB EHCI 1.00
Bus usb@30b2:
The i.MX 7Solo has only one single USB OTG1 but no USB host port. Trying
to initialize the nonexisting port just
From: Oleksandr Suvorov
Add missing support of FIT-images and enable a verbosity for
this feature.
Signed-off-by: Oleksandr Suvorov
Signed-off-by: Marcel Ziswiler
---
(no changes since v1)
configs/apalis-imx8_defconfig | 1 +
configs/apalis-tk1_defconfig | 1 +
configs/ap
From: Igor Opaniuk
Use the same name of DHCP Distroboot script as in regular eMMC case.
Signed-off-by: Igor Opaniuk
Signed-off-by: Marcel Ziswiler
---
(no changes since v1)
include/configs/apalis-imx8.h | 1 +
include/configs/apalis-tk1.h | 1 +
include/configs/apalis_imx6.h |
From: Philippe Schenker
In case a customer wants to set fdtfile currently preboot overrides it
always with preboot just before the bootdelay. Use test -n to check
if fdtfile is already set and only set it if nothing got touched manually
Signed-off-by: Philippe Schenker
Signed-off-by: Marcel Zis
From: Igor Opaniuk
Drop legacy nfsboot script in favor of distroboot DHCP boot.
Signed-off-by: Igor Opaniuk
Signed-off-by: Marcel Ziswiler
---
(no changes since v1)
include/configs/apalis-imx8.h | 5 -
include/configs/apalis-tk1.h | 11 ---
include/configs/apalis_imx6.
1 - 100 of 125 matches
Mail list logo