Re: [PATCH v2 1/3] starfive: pci: Add StarFive JH7110 pcie driver

2023-03-26 Thread Pali Rohár
On Monday 27 March 2023 09:03:46 Minda Chen wrote: > > > On 2023/3/25 20:31, Pali Rohár wrote: > > On Friday 24 March 2023 18:57:33 Minda Chen wrote: > >> On 2023/3/24 2:19, Pali Rohár wrote: > >> > On Thursday 23 March 2023 18:51:38 Minda Chen wrote: > >> >> On 2023/3/11 1:42, Pali Rohár wrote:

Re: [PATCH 4/7] arch: snapdragon: clock: Always bind before relocation

2023-03-26 Thread Sumit Garg
On Fri, 24 Mar 2023 at 20:54, Tom Rini wrote: > > On Fri, Mar 24, 2023 at 11:36:24AM +0530, Sumit Garg wrote: > > On Fri, 24 Mar 2023 at 07:27, Konrad Dybcio > > wrote: > > > > > > In preparation for supporting upstream Linux device trees on Qualcomm > > > platforms, make this the default

[PATCH] spi: f-ospi: Add missing spi_mem_default_supports_op() helper

2023-03-26 Thread Kunihiko Hayashi
The .supports_op() callback function returns true by default after performing driver-specific checks. Therefore the driver cannot apply the buswidth in devicetree. Call spi_mem_default_supports_op() helper to handle the buswidth in devicetree. Fixes: 358f803ae21c ("spi: Add Socionext F_OSPI SPI

Re: [PATCH 2/2] efi_loader: fix device-path for USB devices

2023-03-26 Thread Heinrich Schuchardt
On 3/27/23 06:00, Simon Glass wrote: Hi Heinrich, On Wed, 22 Mar 2023 at 02:21, Heinrich Schuchardt wrote: On 3/20/23 19:39, Simon Glass wrote: Hi Heinrich, On Mon, 20 Mar 2023 at 09:58, Heinrich Schuchardt wrote: On 3/19/23 20:29, Simon Glass wrote: Hi Heinrich, On Mon, 20 Mar

Re: DM SPI flash improvements

2023-03-26 Thread Tony Dinh
Hi Simon, On Sun, Mar 26, 2023 at 9:01 PM Simon Glass wrote: > > Hi Tony, > > On Mon, 27 Mar 2023 at 12:28, Tony Dinh wrote: > > > > Hi Simon, > > > > I'm investigating a problem with the Thecus N2350 board that has SPI > > flash on controller 1, but not on controller 0. Booting with SPI SPL >

[PATCH v3 16/16] x86: Allow locating UARTs by device ID

2023-03-26 Thread Simon Glass
When coreboot does not pass a UART in its sysinfo struct, there is no easy way to find it out. Add a way to specify known UARTs so we can find them without needing help from coreboot. Since coreboot does not actually init the serial device when serial is disabled, it is not possible to make it

[PATCH v3 15/16] coreboot: Enable ms command

2023-03-26 Thread Simon Glass
This is useful when looking for tables in memory. Enable it for coreboot. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Add new patch to enable ms command configs/coreboot_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/coreboot_defconfig

[PATCH v3 14/16] x86: nvme: coreboot: Enable NVMe

2023-03-26 Thread Simon Glass
Enable support for NVMe storage devices. Update the driver to enable the bus master bit, since coreboot does not do that automatically. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Drop patch 'usb: Quieten a debug message' since it was fixed elsewhere - Drop patch

[PATCH v3 12/16] x86: coreboot: Log function names and line numbers

2023-03-26 Thread Simon Glass
Turn these options on to make it easier to debug things. Also enable dhrystone so we can get some measure of performance. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) configs/coreboot_defconfig | 4 1 file changed, 4 insertions(+) diff --git

[PATCH v3 13/16] x86: coreboot: Show unimplemented sysinfo tags

2023-03-26 Thread Simon Glass
Sometimes coreboot adds new tags that U-Boot does not know about. These are silently ignored, but it is useful to at least know what we are missing. Add a way to collect this information. For Brya it shows: Unimpl. 38 41 37 34 42 40 These are: LB_TAG_PLATFORM_BLOB_VERSION

[PATCH v3 11/16] x86: coreboot: Scan PCI after relocation

2023-03-26 Thread Simon Glass
Enable this so that PCI devices can be used correctly without needing to do a manual scan. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) configs/coreboot_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/coreboot_defconfig

[PATCH v3 10/16] x86: coreboot: Document how to enable the debug UART

2023-03-26 Thread Simon Glass
This is not obvious so add a little note about how it works. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) doc/board/coreboot/coreboot.rst | 29 + 1 file changed, 29 insertions(+) diff --git a/doc/board/coreboot/coreboot.rst

[PATCH v3 09/16] x86: coreboot: Use a memory-mapped UART

2023-03-26 Thread Simon Glass
This is much more common on modern hardware, so default to using it. This does not affect the normal UART, but does allow the debug UART to work, since it uses serial_out_shift(), etc. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Expand commit message to explain this

[PATCH v3 07/16] x86: Allow locating the UART from ACPI tables

2023-03-26 Thread Simon Glass
When coreboot does not pass a UART in its sysinfo struct, there is no easy way to find it out. Since coreboot does not actually init the serial device when serial is disabled, it is not possible to make it add this information to the sysinfo table. Add a way to obtain this information from the

[PATCH v3 08/16] pci: coreboot: Don't read regions when booting

2023-03-26 Thread Simon Glass
When U-Boot is the second-stage bootloader, PCI is already set up. We cannot read the regions from the device tree. There is no point anyway, since PCI devices have already been allocated according to the regions and it is not safe for U-Boot to make any changes. Signed-off-by: Simon Glass

[PATCH v3 06/16] x86: coreboot: Collect the address of the ACPI tables

2023-03-26 Thread Simon Glass
At present any ACPI tables created by prior-stage firmware are ignored. It is useful to be able to view these in U-Boot. Pick this up from the sysinfo tables and display it with the cbsysinfo command. This allows the 'acpi list' command to work when booting from coreboot. Adjust the global_data

[PATCH v3 04/16] acpi: Create a new Kconfig for ACPI

2023-03-26 Thread Simon Glass
We have several Kconfig options for ACPI, but all relate to specific functions, such as generating tables and AML code. Add a new option which controls including basic ACPI library code, including the lib/acpi directory. This will allow us to add functions which are available even if table

[PATCH v3 05/16] acpi: Move the table-finding functions into the libary

2023-03-26 Thread Simon Glass
This is useful for other features. Move the function into library code so it can be used outside just the 'acpi' command. Signed-off-by: Simon Glass --- Changes in v3: - Avoid a build error with the ASL compiler Changes in v2: - Add new patch to move acpi-table-finding functions into the

[PATCH v3 03/16] input: Flush the keyboard buffer before resetting it

2023-03-26 Thread Simon Glass
If U-Boot is not the first-stage bootloader the keyboard may already be set up. Make sure to flush any data before trying to reset it. This avoids a long timeout / hang. Add some comments and a log category while we are here. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2:

[PATCH v3 02/16] x86: Adjust search range for sysinfo table

2023-03-26 Thread Simon Glass
Avoid searching starting at 0 since this memory may not be available, e.g. if protection against NULL-pointer access is enabled. The table cannot be there anyway, since the first 1KB of memory was originally used for the interrupt table and coreboot avoids it. Start at 0x400 instead.

[PATCH v3 01/16] mtrr: Don't show an invalid CPU number

2023-03-26 Thread Simon Glass
When U-Boot did not do the MP init, we don't get an actual CPU number here. Skip printing it in that case. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Don't show an invalid CPU number on error cmd/x86/mtrr.c | 6 -- 1 file changed, 4 insertions(+), 2

[PATCH v3 00/16] x86: Various minor enhancements for coreboot

2023-03-26 Thread Simon Glass
This series includes some patches generated while getting U-Boot to boot more nicely on Brya, an Adler Lake Chromebook. This includes: - show the ACPI tables with 'acpi list' - get the UART to work even if coreboot doesn't enable it - show unimplemented sysinfo tags - fix for keyboard not working

Re: [RFC 7/7] efi_loader: use uclass_get_dp_node

2023-03-26 Thread Simon Glass
Hi Heinrich, On Mon, 27 Mar 2023 at 06:28, Heinrich Schuchardt wrote: > > Use function uclass_get_dp_node() to construct device paths. > > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_loader/efi_device_path.c | 325 +++ > 1 file changed, 28 insertions(+), 297

Re: [RFC 1/7] dm: add get_dp_node() to struct uclass_driver

2023-03-26 Thread Simon Glass
Hi Heinrich, On Mon, 27 Mar 2023 at 06:27, Heinrich Schuchardt wrote: > > Currently the device paths don't match the dm tree. > We should create a device path node per dm tree node. > > Signed-off-by: Heinrich Schuchardt > --- > include/dm/uclass.h | 5 + > 1 file changed, 5 insertions(+)

Re: Default value for bootcmd not defined

2023-03-26 Thread Simon Glass
Hi Stefan, On Thu, 16 Mar 2023 at 17:09, Stefan Nagy wrote: > > Hello, > > I followed the official documentation [1] to build U-Boot for my Rock > Pi 4, instead of evb-rk3399_defconfig I used the config file for my > board (rock-pi-4-rk3399_defconfig). > > After I flashed the single boot image

Re: [RFC 3/7] dm: implement get_dp_node for block devices

2023-03-26 Thread Simon Glass
Hi Heinrich, On Mon, 27 Mar 2023 at 06:27, Heinrich Schuchardt wrote: > > Generate a Ctrl() node for block devices. > > Signed-off-by: Heinrich Schuchardt > --- > drivers/block/blk-uclass.c | 56 ++ > 1 file changed, 56 insertions(+) Can this go in

Re: [PATCH v2 0/4] NFSv1 support

2023-03-26 Thread Simon Glass
Hi Peter, On Sat, 25 Mar 2023 at 02:14, Peter Robinson wrote: > > On Fri, Mar 24, 2023 at 1:05 PM Christian Gmeiner > wrote: > > > > Hi Peter > > > > > > > > > > Hi Peter, > > > > > > > > Am Fr., 24. März 2023 um 11:10 Uhr schrieb Peter Robinson > > > > : > > > > > > > > > > On Fri, Mar 24,

Re: [PATCH 1/1] cmd: CONFIG_CMD_SCSI depends on CONFIG_SCSI

2023-03-26 Thread Simon Glass
On Mon, 27 Mar 2023 at 06:10, Heinrich Schuchardt wrote: > > Compiling with CONFIG_CMD_SCSI=y, CONFIG_SCSI results in > > cmd/scsi.c:46: undefined reference to `scsi_scan' > > Signed-off-by: Heinrich Schuchardt > --- > cmd/Kconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >

Re: [RFC 2/7] dm: implement uclass_get_dp_node()

2023-03-26 Thread Simon Glass
Hi Heinrich, On Mon, 27 Mar 2023 at 06:27, Heinrich Schuchardt wrote: > > Provide a function to get the EFI device path node representing a > device. > > If implemented, it invokes the uclass driver's get_dp_node() function. > Otherwise a vendor hardware node is created. > > Signed-off-by:

Re: [PATCH 2/2] ata: don't use SYS_SCSI_MAX_SCSI_ID for SATA

2023-03-26 Thread Simon Glass
On Mon, 27 Mar 2023 at 05:58, Heinrich Schuchardt wrote: > > CONFIG_SYS_SCSI_MAX_SCSI_ID is not defined if CONFIG_SCSI=n. > > Signed-off-by: Heinrich Schuchardt > --- > configs/controlcenterdc_defconfig | 1 + > configs/highbank_defconfig| 1 + > drivers/ata/Kconfig | 8

Re: [v4 0/7] Fix Rockchip RK3399 bootstd migration

2023-03-26 Thread Simon Glass
Hi Tom, On Sat, 25 Mar 2023 at 09:58, Tom Rini wrote: > > Hey all, > > I took a look at Simon's v3 series to fix the rk3399 bootstd migration, > and it changed too much for everything else. I took about half of that > series and then reworked a few things. Now only rk3399 platforms change > at

Re: DM SPI flash improvements

2023-03-26 Thread Simon Glass
Hi Tony, On Mon, 27 Mar 2023 at 12:28, Tony Dinh wrote: > > Hi Simon, > > I'm investigating a problem with the Thecus N2350 board that has SPI > flash on controller 1, but not on controller 0. Booting with SPI SPL > is not possible with CONFIG_SF_DEFAULT_BUS=1. > > Reference: >

Re: [PATCH 2/2] efi_loader: fix device-path for USB devices

2023-03-26 Thread Simon Glass
Hi Heinrich, On Wed, 22 Mar 2023 at 02:21, Heinrich Schuchardt wrote: > > On 3/20/23 19:39, Simon Glass wrote: > > Hi Heinrich, > > > > On Mon, 20 Mar 2023 at 09:58, Heinrich Schuchardt > > wrote: > >> > >> > >> > >> On 3/19/23 20:29, Simon Glass wrote: > >>> Hi Heinrich, > >>> > >>> On Mon, 20

Re: [PATCH] CI: Move to clang-16

2023-03-26 Thread Simon Glass
Hi Tom, On Wed, 22 Mar 2023 at 08:07, Tom Rini wrote: > > As this is now the stable release, move to using that now for our tests. > > Signed-off-by: Tom Rini > --- > .azure-pipelines.yml| 6 +++--- > .gitlab-ci.yml | 4 ++-- > tools/docker/Dockerfile | 4 ++-- > 3 files changed,

Re: [PATCH 1/2] ata: fix requirements for CONFIG_AHCI_PCI

2023-03-26 Thread Simon Glass
On Mon, 27 Mar 2023 at 05:58, Heinrich Schuchardt wrote: > > Building with CONFIG_AHCI_PCI=y and CONFIG_SCSI_AHCI=n leads to > > drivers/ata/ahci-pci.o: in function `ahci_pci_probe': > drivers/ata/ahci-pci.c:21: undefined reference to `ahci_probe_scsi_pci' > > Signed-off-by: Heinrich

Re: [PATCH 1/1] doc: describe skipping triggering a pipeline in Gitlab

2023-03-26 Thread Simon Glass
On Sun, 26 Mar 2023 at 15:55, Heinrich Schuchardt wrote: > > 'git push -o ci.skip' can be used to push to Gitlab without triggering a > pipeline. > > Signed-off-by: Heinrich Schuchardt > --- > doc/develop/ci_testing.rst | 6 ++ > 1 file changed, 6 insertions(+) > Reviewed-by: Simon Glass

Re: [v2 2/2] Dockerfile: Populate a pip cache

2023-03-26 Thread Simon Glass
On Fri, 24 Mar 2023 at 07:58, Tom Rini wrote: > > Given the number of jobs in CI we have which use python and pip install > packages, we should do this once in the Dockerfile, in order to populate > the cache. We let each job continue to create and use the virtual > environments they need to

Re: [PATCH 1/1] scsi: typo supporedt

2023-03-26 Thread Simon Glass
On Mon, 27 Mar 2023 at 04:11, Heinrich Schuchardt wrote: > > %s/supporedt/supported/ > > Fixes: edca8cf72130 ("Convert CONFIG_SCSI_AHCI_PLAT et al to Kconfig") > Signed-off-by: Heinrich Schuchardt > --- > drivers/scsi/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [v2 1/2] pytest: Update requirements to match sphinx versions

2023-03-26 Thread Simon Glass
On Fri, 24 Mar 2023 at 07:58, Tom Rini wrote: > > In order to better make use of pip caches, and also for better overall > consistency, we should use the same versions of packages in each of our > python requirements files. Update pytest to use the newer versions of > packages we use in sphinx

Re: [PATCH v2 00/16] x86: Various minor enhancements for coreboot

2023-03-26 Thread Simon Glass
Hi Bin, On Fri, 24 Mar 2023 at 07:32, Simon Glass wrote: > > This series includes some patches generated while getting U-Boot to boot > more nicely on Brya, an Adler Lake Chromebook. > > This includes: > - show the ACPI tables with 'acpi list' > - get the UART to work even if coreboot doesn't

Re: [PATCH v1 0/5] Add Ethernet driver for StarFive JH7110 SoC

2023-03-26 Thread yanhong wang
On 2023/3/24 20:53, Torsten Duwe wrote: > On Fri, 17 Mar 2023 09:05:31 +0800 > Yanhong Wang wrote: > >> This series adds ethernet support for the StarFive JH7110 RISC-V SoC. >> The series includes PHY and MAC drivers. The PHY model is >> YT8531 (from Motorcomm Inc), and the MAC version is

Re: [PATCH v4 17/17] configs: starfive: add starfive_visionfive2_defconfig

2023-03-26 Thread yanhong wang
On 2023/3/23 16:31, Andreas Schwab wrote: > On Mär 22 2023, yanhong wang wrote: > >> On 2023/3/21 21:51, Andreas Schwab wrote: >>> On Mär 21 2023, yanhong wang wrote: >>> Except for CONFIG_DEFAULT_DEVICE_TREE and CONFIG_DEFAULT_FDT_FILE, 1.2a and 1.3b versions use the same config.

Please pull u-boot-x86

2023-03-26 Thread Bin Meng
Hi Tom, This PR contains the following x86 changes for v2023.04 release: - x86: Bug fixes of previous BayTrail platform CONFIG_TEXT_BASE changes The following changes since commit 8be7b4629e87ff8db08dd087c81d58129d029bad: Merge tag 'efi-2023.04-rc5' of

Re: [PATCH v2 3/3] riscv: dts: starfive: Enable PCIe host controller

2023-03-26 Thread Minda Chen
On 2023/3/25 21:22, Pali Rohár wrote: > On Wednesday 08 March 2023 13:48:33 Minda Chen wrote: >> From: Mason Huo >> >> Enable and add pinctrl configuration for PCIe host controller. >> Also add JH7110 stg syscon configuration. >> >> Signed-off-by: Mason Huo >> Signed-off-by: Minda Chen >>

Re: [PATCH v2 1/3] starfive: pci: Add StarFive JH7110 pcie driver

2023-03-26 Thread Minda Chen
On 2023/3/25 20:31, Pali Rohár wrote: > On Friday 24 March 2023 18:57:33 Minda Chen wrote: >> On 2023/3/24 2:19, Pali Rohár wrote: >> > On Thursday 23 March 2023 18:51:38 Minda Chen wrote: >> >> On 2023/3/11 1:42, Pali Rohár wrote: >> >> > On Friday 10 March 2023 18:36:44 Minda Chen wrote: >>

DM SPI flash improvements

2023-03-26 Thread Tony Dinh
Hi Simon, I'm investigating a problem with the Thecus N2350 board that has SPI flash on controller 1, but not on controller 0. Booting with SPI SPL is not possible with CONFIG_SF_DEFAULT_BUS=1. Reference: https://lists.denx.de/pipermail/u-boot/2023-March/511517.html That led me to the

Re: [PATCH v2 2/2] rockchip: otp: fix misc_read() return values

2023-03-26 Thread Jonas Karlman
Hi John, On 2023-03-20 19:39, Simon Glass wrote: > On Tue, 21 Mar 2023 at 06:18, John Keeping wrote: >> >> The documentation for misc_read() says: >> >> Return: number of bytes read if OK (may be 0 if EOF), -ve on error >> >> The Rockchip efuse driver implements this so it should return the

Re: [PATCH v2 1/2] rockchip: efuse: fix misc_read() return values

2023-03-26 Thread Jonas Karlman
Hi John, On 2023-03-20 19:39, Simon Glass wrote: > On Tue, 21 Mar 2023 at 06:18, John Keeping wrote: >> >> The documentation for misc_read() says: >> >> Return: number of bytes read if OK (may be 0 if EOF), -ve on error >> >> The Rockchip efuse driver implements this so it should return the

Re: [PATCH 1/1] efi_loader: correct shortening of device-paths

2023-03-26 Thread Heinrich Schuchardt
On 3/26/23 12:45, Mark Kettenis wrote: From: Heinrich Schuchardt Date: Sun, 26 Mar 2023 12:25:54 +0200 We use short device-paths in boot options so that a file on a block device can be found independent of the port into which the device is plugged. Usb() device-path nodes only contain port

Re: [v4 7/7] rockchip: rk3399: Drop altbootcmd

2023-03-26 Thread Jonas Karlman
Hi Tom, On 2023-03-24 21:58, Tom Rini wrote: > The defined altbootcmd was specific to distro_bootcmd which is not > longer in use on these platforms, so drop it. > > Signed-off-by: Tom Rini > --- > Changes in v4: > - New patch > > Cc: Kever Yang > Cc: Simon Glass > Cc: Jonas Karlman > --- >

[RFC 7/7] efi_loader: use uclass_get_dp_node

2023-03-26 Thread Heinrich Schuchardt
Use function uclass_get_dp_node() to construct device paths. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_device_path.c | 325 +++ 1 file changed, 28 insertions(+), 297 deletions(-) diff --git a/lib/efi_loader/efi_device_path.c

[RFC 5/7] dm: implement get_dp_node for USB mass storage devices

2023-03-26 Thread Heinrich Schuchardt
Generate a Usb() node for USB mass storage devices. Signed-off-by: Heinrich Schuchardt --- common/usb_storage.c | 33 + 1 file changed, 33 insertions(+) diff --git a/common/usb_storage.c b/common/usb_storage.c index ac64275773..03bc136156 100644 ---

[RFC 6/7] dm: implement get_dp_node for MMC devices

2023-03-26 Thread Heinrich Schuchardt
Generate an SD() or eMMC() node for MMC devices. Signed-off-by: Heinrich Schuchardt --- drivers/mmc/mmc-uclass.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/mmc/mmc-uclass.c b/drivers/mmc/mmc-uclass.c index 01d9b0201f..4f85d80273 100644 ---

[RFC 4/7] dm: implement get_dp_node for USB hub devices

2023-03-26 Thread Heinrich Schuchardt
Generate a Usb() node for USB hub devices. Signed-off-by: Heinrich Schuchardt --- common/usb_hub.c | 33 + 1 file changed, 33 insertions(+) diff --git a/common/usb_hub.c b/common/usb_hub.c index 85c0822d8b..ccf9e16023 100644 --- a/common/usb_hub.c +++

[RFC 3/7] dm: implement get_dp_node for block devices

2023-03-26 Thread Heinrich Schuchardt
Generate a Ctrl() node for block devices. Signed-off-by: Heinrich Schuchardt --- drivers/block/blk-uclass.c | 56 ++ 1 file changed, 56 insertions(+) diff --git a/drivers/block/blk-uclass.c b/drivers/block/blk-uclass.c index c69fc4d518..08202aaaba 100644 ---

[RFC 1/7] dm: add get_dp_node() to struct uclass_driver

2023-03-26 Thread Heinrich Schuchardt
Currently the device paths don't match the dm tree. We should create a device path node per dm tree node. Signed-off-by: Heinrich Schuchardt --- include/dm/uclass.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/dm/uclass.h b/include/dm/uclass.h index ee15c92063..e11637ce4d

[RFC 2/7] dm: implement uclass_get_dp_node()

2023-03-26 Thread Heinrich Schuchardt
Provide a function to get the EFI device path node representing a device. If implemented, it invokes the uclass driver's get_dp_node() function. Otherwise a vendor hardware node is created. Signed-off-by: Heinrich Schuchardt --- drivers/core/uclass.c | 26 ++

[RFC 0/7] efi_loader: move device-path node generation to DM

2023-03-26 Thread Heinrich Schuchardt
UEFI device-paths are used in the EFI world to depict the parent-child relationship between devices. No two device can have the same device-path. Currently we fail to generate unique devices-paths. The nodes in UEFI device paths should match the devices on the path to the DM root node. I have

[PATCH 1/1] cmd: CONFIG_CMD_SCSI depends on CONFIG_SCSI

2023-03-26 Thread Heinrich Schuchardt
Compiling with CONFIG_CMD_SCSI=y, CONFIG_SCSI results in cmd/scsi.c:46: undefined reference to `scsi_scan' Signed-off-by: Heinrich Schuchardt --- cmd/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index 2caa4af71c..5c1b353c90 100644

[PATCH 1/2] ata: fix requirements for CONFIG_AHCI_PCI

2023-03-26 Thread Heinrich Schuchardt
Building with CONFIG_AHCI_PCI=y and CONFIG_SCSI_AHCI=n leads to drivers/ata/ahci-pci.o: in function `ahci_pci_probe': drivers/ata/ahci-pci.c:21: undefined reference to `ahci_probe_scsi_pci' Signed-off-by: Heinrich Schuchardt --- drivers/ata/Kconfig | 1 + 1 file changed, 1 insertion(+)

[PATCH 2/2] ata: don't use SYS_SCSI_MAX_SCSI_ID for SATA

2023-03-26 Thread Heinrich Schuchardt
CONFIG_SYS_SCSI_MAX_SCSI_ID is not defined if CONFIG_SCSI=n. Signed-off-by: Heinrich Schuchardt --- configs/controlcenterdc_defconfig | 1 + configs/highbank_defconfig| 1 + drivers/ata/Kconfig | 8 drivers/ata/ahci.c| 4 ++-- 4 files changed, 12

[PATCH 0/2] ata: fix build failures for SATA w/o SCSI

2023-03-26 Thread Heinrich Schuchardt
Trying to compile U-Boot for SATA but wo/o SCSI leads to multiple build failures. Gitlab CI showed no problems for these patches: https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/15763 Heinrich Schuchardt (2): ata: fix requirements for CONFIG_AHCI_PCI ata: don't use

[PATCH 1/1] scsi: typo supporedt

2023-03-26 Thread Heinrich Schuchardt
%s/supporedt/supported/ Fixes: edca8cf72130 ("Convert CONFIG_SCSI_AHCI_PLAT et al to Kconfig") Signed-off-by: Heinrich Schuchardt --- drivers/scsi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index ad484ce8e8..a8014129d3

Re: NEXT: Pull request for efi-next-20230325

2023-03-26 Thread Tom Rini
On Sat, Mar 25, 2023 at 05:10:08PM +0100, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit 884d626d8357853c012d535bf26c143bb7b5e6a5: > > Merge branch '2023-03-22-assorted-minor-code-cleanups' into next > (2023-03-22 20:57:39 -0400) > > are available in the Git

Re: [PATCH] travis-ci: Add m68k M5208EVBE machine

2023-03-26 Thread Tom Rini
On Mon, 20 Mar 2023 20:46:47 +0100, Marek Vasut wrote: > Add m68k M5208EVBE machine configured to test U-Boot m68k support. > > Applied, thanks! [1/1] travis-ci: Add m68k M5208EVBE machine commit: 3f604a1b68a07e6c20f617c38fc849eb796f9af0 Best regards, -- Tom

Re: Bug#1033301: linux: arm64 kernel size increased from 31 to 39 MB, causing u-boot-rpi to fail

2023-03-26 Thread Aurelien Jarno
On 2023-03-24 13:58, Vagrant Cascadian wrote: > Adding u-boot maintainers for rpi (Matthias Brugger, Peter Robinson) > platforms and u-boot list to CC. > > On 2023-03-22, Salvatore Bonaccorso wrote: > > Thanks for tracking this down. I would like to loop in Masahiro and > > upstream to see if

Re: [PATCH 1/1] efi_loader: correct shortening of device-paths

2023-03-26 Thread Mark Kettenis
> From: Heinrich Schuchardt > Date: Sun, 26 Mar 2023 12:25:54 +0200 > > We use short device-paths in boot options so that a file on a block device > can be found independent of the port into which the device is plugged. > > Usb() device-path nodes only contain port and interface information and

[PATCH 1/1] efi_loader: correct shortening of device-paths

2023-03-26 Thread Heinrich Schuchardt
We use short device-paths in boot options so that a file on a block device can be found independent of the port into which the device is plugged. Usb() device-path nodes only contain port and interface information and therefore cannot identify a block device. UsbWwi() device-path nodes contain

[PATCH] boards: amlogic: switch LibreTech-CC v2 and WeTek Core2 to EE powerdomain

2023-03-26 Thread Christian Hewitt
The LibreTech-CC (LePotato) v2 and WeTek Core2 boards are still using the older GX VPU powerdomain driver. Update their configs to use the newer EE driver like other Amlogic boards [0]. [0] https://lore.kernel.org/all/20201106101901.2472557-5-narmstr...@baylibre.com/T/#u Signed-off-by: