Re: [PATCH 2/2] arm: mvebu: clearfog: Add defconfig for SPI booting

2023-02-24 Thread Pali Rohár
On Saturday 25 February 2023 11:42:20 Martin Rowe wrote: > This new clearfog_spi_defconfig file is copy of existing > clearfog_defconfig file and changed to instruct build system to > generate final kwbimage for SPI booting and to store the > environment in SPI as well. > > Signed-off-by: Martin

Re: [RFC PATCH v3 3/9] clk: renesas: add R906G032 driver

2023-02-24 Thread Marek Vasut
On 2/24/23 19:00, Ralph Siemsen wrote: Hi Marek, On Fri, Feb 24, 2023 at 12:05 PM Marek Vasut wrote: Could you at least submit the clean up to Linux and then sync the result to U-Boot, and indicate the Linux clock table came from commit with extra patch on top ? Yes will do. I am

Re: [PATCH RFC u-boot-mvebu 57/59] arm: mvebu: Define env_sf_get_env_addr() also for Proper U-Boot

2023-02-24 Thread Tony Dinh
Hi Pali, On Tue, Feb 21, 2023 at 12:22 PM Pali Rohár wrote: > > Proper U-Boot moves SPI0 CS0 Flash mapping from 0xD400 to 0xF400 > and change its size from 64 MB to 8 MB. Definitions are already in > MBUS_SPI_BASE/MBUS_SPI_SIZE macros. So define these macros also for SPL > build, use

[PATCH] arm: mvebu: Enable NAND flash for Thecus N2350 board

2023-02-24 Thread Tony Dinh
Enable 512MB PXA3XX NAND flash when u-boot is running. Signed-off-by: Tony Dinh --- configs/n2350_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/n2350_defconfig b/configs/n2350_defconfig index b85ef0dfeb..247533ebb8 100644 --- a/configs/n2350_defconfig +++

Re: [PATCH] kconfig: Proposed language extension for multiple builds

2023-02-24 Thread Simon Glass
+Masahiro Yamada On Fri, 24 Feb 2023 at 19:04, Simon Glass wrote: > +lk > > On Sun, 19 Feb 2023 at 14:55, Simon Glass wrote: > > > > In the case of Linux, only one build is produced so there is only a > > single configuration. For other projects, such as U-Boot and Zephyr, the > > same code

Re: [PATCH] kconfig: Proposed language extension for multiple builds

2023-02-24 Thread Simon Glass
+lk On Sun, 19 Feb 2023 at 14:55, Simon Glass wrote: > > In the case of Linux, only one build is produced so there is only a > single configuration. For other projects, such as U-Boot and Zephyr, the > same code is used to produce multiple builds, each with related (but > different) options

Re: [PATCH] kconfig: Proposed language extension for multiple builds

2023-02-24 Thread Simon Glass
Hi Masahiro, On Sun, 19 Feb 2023 at 14:55, Simon Glass wrote: > > In the case of Linux, only one build is produced so there is only a > single configuration. For other projects, such as U-Boot and Zephyr, the > same code is used to produce multiple builds, each with related (but > different)

[PATCH 2/2] arm: mvebu: clearfog: Add defconfig for SPI booting

2023-02-24 Thread Martin Rowe
This new clearfog_spi_defconfig file is copy of existing clearfog_defconfig file and changed to instruct build system to generate final kwbimage for SPI booting and to store the environment in SPI as well. Signed-off-by: Martin Rowe --- .../{clearfog_sata_defconfig => clearfog_spi_defconfig}

[PATCH 1/2] arm: mvebu: clearfog: Fix MMC detection

2023-02-24 Thread Martin Rowe
A388 Clearfog MMC is either SD Card or eMMC with different behaviour for both. Setting MMC_BROKEN_CD allows both to correctly detect MMC. Signed-off-by: Martin Rowe --- configs/clearfog_defconfig | 3 +-- configs/clearfog_sata_defconfig | 8 2 files changed, 5 insertions(+), 6

[PATCH 0/2] arm: mvebu: clearfog: defconfig updates

2023-02-24 Thread Martin Rowe
Minor defconfig updates to Pali's RFC "arm: mvebu: Various fixes" for SolidRun's A388 Clearfog devices. Martin Rowe (2): arm: mvebu: clearfog: Fix MMC detection arm: mvebu: clearfog: Add defconfig for SPI booting configs/clearfog_defconfig| 3 +--

Re: [PATCH RFC u-boot-mvebu 00/59] arm: mvebu: Various fixes

2023-02-24 Thread Martin Rowe
> When generating this patch, use git options -M, -C and > --find-copies-harder. It will detect that you created this file as copy > from other file and generate better diff. Will do. This thread has gotten quite long! I've: - tested all the boot modes and bubt update types - created the SPI

Re: [PATCH 1/2] clk: sunxi: add THS clk/reset

2023-02-24 Thread Andre Przywara
On Mon, 13 Feb 2023 10:42:55 +0800 qianfangui...@163.com wrote: Hi, > From: qianfan Zhao > > Add clock/reset definitions for THS peripherals. the bits look alright, compared against the manual. But it misses the A64 clocks, the THS driver would cover that SoC, too. Cheers, Andre >

RE: Boot from 64-bit memory address?

2023-02-24 Thread Bernard, Philip
Hi Rick, Thanks for the feedback! I did make those changes to binman.dtsi. Ultimately, I think the issue is with the "ERROR: Out of memory" error which comes from the EFI loader (lib/efi_loader) because there's no conventional memory (i.e. something with a memory address below 4GB). The

[PATCH v2 00/26] CONFIG_IS_ENABLED vs IS_ENABLED

2023-02-24 Thread Troy Kisky
This patch set gets ready to check the usage of CONFIG_IS_ENABLED/IS_ENABLED. After the set has been applied, you can delete test/usage_of_is_enabled_todo.txt and run test/usage_of_is_enabled_commit.sh The script test/usage_of_is_enabled_check.sh checks for new questionable uses of

Re: [PATCH RFC u-boot-mvebu 00/59] arm: mvebu: Various fixes

2023-02-24 Thread Pali Rohár
On Friday 24 February 2023 15:07:43 Martin Rowe wrote: > [PATCH 2/2] arm: mvebu: clearfog: Add defconfig for SPI booting > > This new clearfog_spi_defconfig file is copy of existing > clearfog_defconfig file and changed to instruct build system to > generate final kwbimage for SPI booting and to

Re: [PATCH RFC u-boot-mvebu 00/59] arm: mvebu: Various fixes

2023-02-24 Thread Pali Rohár
On Friday 24 February 2023 06:27:49 Martin Rowe wrote: > > > boot0 - zeroed > > > boot1 - u-boot (with local version 'boot1') > > > user - u-boot (with local version 'user') > > Can you check if boot_ack argument has some effect on the initial > > choice? Or if completely disabling boot partitions

[PATCH v2 23/26] gateworks: venice: Always define setup_fec and setup_eqos

2023-02-24 Thread Troy Kisky
The compiler will optimize away base on IS_ENABLED(CONFIG_FEC_MXC). It avoids an error in converting to CONFIG_IS_ENABLED(NET). Signed-off-by: Troy Kisky --- Changes in v2: - Always define function instead of using same protection board/gateworks/venice/venice.c | 2 +- 1 file changed, 1

[PATCH v2 19/26] solidrun: mx6cuboxi: use CONFIG_IS_ENABLED(SATA) instead of CONFIG_CMD_SATA

2023-02-24 Thread Troy Kisky
setup_sata is linked with obj-$(CONFIG_SATA) += sata.o So use SATA instead of CMD_SATA. Signed-off-by: Troy Kisky --- Changes in v2: - use normal if, not preprocessor board/solidrun/mx6cuboxi/mx6cuboxi.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH v2 24/26] power: pmic: add dm style definitions if not CONFIG_IS_ENABLED(POWER_LEGACY)

2023-02-24 Thread Troy Kisky
This avoids an error in converting to CONFIG_IS_ENABLED(DM_PMIC). Many boards SPL code needs these definitions to compile, even if the functions are not linked. Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- (no changes since v1) include/power/pmic.h | 2 +- 1 file changed, 1

[PATCH v2 14/26] puma-rk3399: use IS_ENABLED_NOCHECK to avoid CI test failure for ENV_IS_NOWHERE

2023-02-24 Thread Troy Kisky
When usage_of_is_enabled_check.sh is added, this will show a false positive for IS_ENABLED(CONFIG_ENV_IS_NOWHERE). Use IS_ENABLED_NOCHECK to avoid check and error on SPL builds. Signed-off-by: Troy Kisky --- Changes in v2: - keep #error, but change condition to use IS_ENABLED_NOCHECK

[PATCH v2 12/26] ofnode: fdt_support definitions needed if OF_CONTROL is enabled

2023-02-24 Thread Troy Kisky
With the use of CONFIG_IS_ENABLED in code, instead of at the preprocessor level, these defines are still needed if OF_CONTROL is enabled. Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- (no changes since v1) include/fdt_support.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH v2 21/26] arm: mach-imx: use CONFIG_$(SPL_)SATA instead of CONFIG_SATA

2023-02-24 Thread Troy Kisky
This avoid an error with enable_sata_clock when defined(CONFIG_SATA) is changed to CONFIG_IS_ENABLED(SATA). Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- (no changes since v1) arch/arm/mach-imx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 15/26] fdt_support: always define fdt_fixup_mtdparts

2023-02-24 Thread Troy Kisky
SPL code wants fdt_fixup_mtdparts defined as a NOP when the function isn't linked in. Prepare for ifdef CONFIG_OF_LIBFDT being converted to if CONFIG_IS_ENABLED(OF_LIBFDT) Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- (no changes since v1) include/fdt_support.h | 23

[PATCH v2 10/26] x86: cpu: qemu: qemu: remove SPL use with CONFIG_IS_ENABLED

2023-02-24 Thread Troy Kisky
CONFIG_IS_ENABLED(SPL_X86_32BIT_INIT) would check for CONFIG_SPL_SPL_X86_32BIT_INIT for SPL builds Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- (no changes since v1) arch/x86/cpu/qemu/qemu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 18/26] ns16550: match when to define bdf with uart code

2023-02-24 Thread Troy Kisky
When switching defined(CONFIG_PCI) to CONFIG_IS_ENABLED(PCI) bdf is no longer accessible. So add preprocessor protection to avoid access. Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- Changes in v2: - changed condition of when to include field bdf - added protection to another

[PATCH v2 26/26] CI: add test/usage_of_is_enabled_check.sh

2023-02-24 Thread Troy Kisky
Add script usage_of_is_enabled_check to print any configs that use CONFIG_IS_ENABLED instead of IS_ENABLED and vice versa. Add usage_of_is_enabled_commit.sh to generate commits to fix the above issues. You can remove entries from test/usage_of_is_enabled_todo.txt or the entire file and then run

[PATCH v2 25/26] arm: cpu: armv7: ls102xa: fdt: remove eth_device support

2023-02-24 Thread Troy Kisky
commit e524f3a449f5 ("net: Remove eth_legacy.c") removed struct eth_device This prevents errors in the conversion to CONFIG_IS_ENABLED(DM_ETH). Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- (no changes since v1) arch/arm/cpu/armv7/ls102xa/fdt.c | 12 1 file changed, 12

[PATCH v2 22/26] x86: cpu: i386: cpu: only set pci_ram_top if CONFIG_IS_ENABLED(PCI)

2023-02-24 Thread Troy Kisky
This avoids an error when ifdef CONFIG_PCI is changed to if CONFIG_IS_ENABLED(PCI) Signed-off-by: Troy Kisky --- Changes in v2: - use an accessor function gd_set_pci_ram_top arch/x86/cpu/i386/cpu.c | 2 +- include/asm-generic/global_data.h | 6 ++ 2 files changed, 7

[PATCH v2 17/26] freescale: common: pfuze: define pfuze_mode_init only if defined(CONFIG_DM_PMIC)

2023-02-24 Thread Troy Kisky
pfuze_mode_init calls pmic_reg_read which is only available from obj-$(CONFIG_$(SPL_TPL_)DM_PMIC) += pmic-uclass.o Prepare for conversion of defined(CONFIG_DM_PMIC) to CONFIG_IS_ENABLED(DM_PMIC). Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- (no changes since v1)

[PATCH v2 16/26] m53menlo: define ft_board_setup only if CONFIG_IS_ENABLED(OF_LIBFDT)

2023-02-24 Thread Troy Kisky
The function ft_board_setup calls do_fixup_by_path_string which is only available on CONFIG_IS_ENABLED(OF_LIBFDT). This prepares for the conversion. ft_board_setup is only called from image-fdt which is linked by obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += image-fdt.o Signed-off-by: Troy Kisky

[PATCH v2 13/26] ringneck-px30: use IS_ENABLED_NOCHECK to avoid CI test failure for ENV_IS_NOWHERE

2023-02-24 Thread Troy Kisky
When usage_of_is_enabled_check.sh is added, this will show a false positive for IS_ENABLED(CONFIG_ENV_IS_NOWHERE). Use IS_ENABLED_NOCHECK to avoid check and error on SPL builds. Signed-off-by: Troy Kisky --- Changes in v2: - keep #error, but change condition to use IS_ENABLED_NOCHECK

[PATCH v2 20/26] wandboard: use CONFIG_IS_ENABLED(SATA) instead of ifdef CONFIG_SATA

2023-02-24 Thread Troy Kisky
Prepare for linking setup_sata only when CONFIG_SATA/CONFIG_SPL_SATA is defined. Signed-off-by: Troy Kisky --- Changes in v2: - new in series board/wandboard/wandboard.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/board/wandboard/wandboard.c

[PATCH v2 11/26] config_distro_bootcmd: remove booting environment variables from SPL environment

2023-02-24 Thread Troy Kisky
SPL environments don't need commands that they can never use. Avoid errors with CONFIG_IS_ENABLED conversions by skipping them now. Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- (no changes since v1) include/config_distro_bootcmd.h | 23 +++ 1 file changed, 23

[PATCH v2 09/26] tools: Makefile: prepare for CONFIG_IS_ENABLED changes by adding CONFIG_TOOLS_xxx

2023-02-24 Thread Troy Kisky
CONFIG_IS_ENABLED(FIT_SIGNATURE) will check for CONFIG_TOOLS_FIT_SIGNATURE. So define it now in preparation. Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- (no changes since v1) tools/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/Makefile b/tools/Makefile index

[PATCH v2 08/26] tools: prevent CONFIG_IS_ENABLED errors by including linux/kconfig.h

2023-02-24 Thread Troy Kisky
We need to include in order to include files that use CONFIG_IS_ENABLED. Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- Changes in v2: - include linux/kconfig.h from tools/Makefile - as suggested by Simon tools/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 07/26] lib: sha512: prepare for CONFIG_IS_ENABLED changes

2023-02-24 Thread Troy Kisky
We need to include in order to include files that use CONFIG_IS_ENABLED. TO prepare for that don't pet the watchdog when USE_HOSTCC is defined. Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- Changes in v2: - delay include of linux/kconfig.h to do from Makefile - as suggested by Simon

[PATCH v2 04/26] lib: md5: prepare for CONFIG_IS_ENABLED changes

2023-02-24 Thread Troy Kisky
We need to include in order to include files that use CONFIG_IS_ENABLED. TO prepare for that don't pet the watchdog when USE_HOSTCC is defined. Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- Changes in v2: - delay include of linux/kconfig.h to do from Makefile - as suggested by Simon

[PATCH v2 05/26] lib: sha1: prepare for CONFIG_IS_ENABLED changes

2023-02-24 Thread Troy Kisky
We need to include in order to include files that use CONFIG_IS_ENABLED. TO prepare for that don't pet the watchdog when USE_HOSTCC is defined. Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- Changes in v2: - delay include of linux/kconfig.h to do from Makefile - as suggested by Simon

[PATCH v2 06/26] lib: sha256: prepare for CONFIG_IS_ENABLED changes

2023-02-24 Thread Troy Kisky
We need to include in order to include files that use CONFIG_IS_ENABLED. TO prepare for that don't pet the watchdog when USE_HOSTCC is defined. Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- Changes in v2: - delay include of linux/kconfig.h to do from Makefile - as suggested by Simon

[PATCH v2 03/26] lib: crc32: prepare for CONFIG_IS_ENABLED changes

2023-02-24 Thread Troy Kisky
We need to include in order to include files that use CONFIG_IS_ENABLED. TO prepare for that be more direct with using defined(USE_HOSTCC). Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- Changes in v2: - delay include of linux/kconfig.h to do from Makefile - as suggested by Simon

[PATCH v2 02/26] cmd: nvedit: check for ENV_SUPPORT

2023-02-24 Thread Troy Kisky
Avoid error messages when SPL,TPL,VPL build don't have the environment options of the main build. This is needed when defined(CONFIG_ENV_IS_IN_xxx) is changed to CONFIG_IS_ENABLED(ENV_IS_IN_xxx). Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- (no changes since v1) cmd/nvedit.c | 5

[PATCH v2 01/26] kconfig: add IS_ENABLED_NOCHECK to bypass usage_of_is_enabled_check

2023-02-24 Thread Troy Kisky
This is for use when a config with an SPL version needs to always check the non-spl verion of the config. It avoids error messages from CI test script usage_of_is_enabled_check.sh Signed-off-by: Troy Kisky --- Changes in v2: - new patch include/linux/kconfig.h | 5 + 1 file changed, 5

Re: [RFC PATCH v3 3/9] clk: renesas: add R906G032 driver

2023-02-24 Thread Ralph Siemsen
Hi Marek, On Fri, Feb 24, 2023 at 12:05 PM Marek Vasut wrote: > > Could you at least submit the clean up to Linux and then sync the result > to U-Boot, and indicate the Linux clock table came from commit > with extra patch on top ? Yes will do. I am refreshing my linux-side patch as we speak.

Re: [RFC PATCH v3 3/9] clk: renesas: add R906G032 driver

2023-02-24 Thread Marek Vasut
On 2/24/23 16:14, Ralph Siemsen wrote: On Thu, Feb 23, 2023 at 9:09 AM Miquel Raynal wrote: Hi Marek, marek.va...@mailbox.org wrote on Thu, 23 Feb 2023 14:56:41 +0100: Either way is fine by me, I just want to be sure the u-boot clock tables are in sync with Linux as much as possible, and

Re: [PATCH] ARM: dts: at91: sama7g5: fix clock id for ebi node

2023-02-24 Thread Claudiu.Beznea
On 23.02.2023 13:28, Mihai Sain wrote: > The PMC_MCK1 clock id for the ebi node is 23. > > Fixes: 4ce85577ac ("ARM: dts: at91: sama7g5/sama7g5ek: align with Linux DT") > Signed-off-by: Mihai Sain Reviewed-by: Claudiu Beznea > --- > arch/arm/dts/sama7g5.dtsi | 2 +- > 1 file changed, 1

Re: [PATCH 2/2] imx93_evk: enable ADC

2023-02-24 Thread Luca Ellero
- ADC driver 2/3 - Sync U-Boot imx93 evk dts with the one from linux-next 20230224 3/3 - Enable the ADC driver in the imx93 evk defconfig Hi Fabio, ok, thanks for your suggestions. Regards -- Luca Ellero E-mail: luca.ell...@brickedbrain.com Internet: www.brickedbrain.com

Re: [PATCH RFC u-boot-mvebu 00/59] arm: mvebu: Various fixes

2023-02-24 Thread Martin Rowe
> Please note that this patch is sent to the list a s reply to the > RFC patchset from Pali. Something went wrong here, so that the > commit subject was not used. Also for the 2nd patch. Ah, sorry, I'm not really set up for this. The first patch branches from Pali's RFC, though, so maybe it would

Re: [PATCH RFC u-boot-mvebu 00/59] arm: mvebu: Various fixes

2023-02-24 Thread Stefan Roese
Hi Martin, On 2/24/23 16:07, Martin Rowe wrote: [PATCH 1/2] arm: mvebu: clearfog: Fix MMC detection A388 Clearfog MMC is either SD Card or eMMC with different behaviour for both. Setting MMC_BROKEN_CD allows both to correctly detect MMC. Signed-off-by: Martin Rowe Please note that this

Re: [RFC PATCH v3 5/9] ram: cadence: add driver for Cadence EDAC

2023-02-24 Thread Ralph Siemsen
Hi Bryan, On Thu, Feb 23, 2023 at 2:54 PM Bryan Brattlof wrote: > > Hi Ralph! > Love seeing more boards here, though I know of a few chips that use some > type of cadence controller. I'm just curious if it would it make sense > to name this with some type of Renesas specific branding? Indeed

Re: Pull request for efi-2023-04-rc3-2

2023-02-24 Thread Tom Rini
On Fri, Feb 24, 2023 at 03:44:19PM +0100, Heinrich Schuchardt wrote: > On 2/24/23 15:42, Tom Rini wrote: > > On Fri, Feb 24, 2023 at 11:02:57AM +0100, Heinrich Schuchardt wrote: > > > The following changes since commit > > > 8c3acb726ef083d3d5de12f20318ee0e5070: > > > > > >Merge branch

Re: Pull request for efi-2023-04-rc3-2

2023-02-24 Thread Tom Rini
On Fri, Feb 24, 2023 at 04:52:06PM +0200, Ilias Apalodimas wrote: > Hi all, > > Just to put some context > > On Fri, 24 Feb 2023 at 16:44, Heinrich Schuchardt > wrote: > > > > On 2/24/23 15:42, Tom Rini wrote: > > > On Fri, Feb 24, 2023 at 11:02:57AM +0100, Heinrich Schuchardt wrote: > > >> The

Re: [RFC PATCH v3 3/9] clk: renesas: add R906G032 driver

2023-02-24 Thread Ralph Siemsen
On Thu, Feb 23, 2023 at 9:09 AM Miquel Raynal wrote: > > Hi Marek, > > marek.va...@mailbox.org wrote on Thu, 23 Feb 2023 14:56:41 +0100: > > > > Either way is fine by me, I just want to be sure the u-boot clock tables > > are in sync with Linux as much as possible, and can be easily resynced in

Re: [PATCH RFC u-boot-mvebu 00/59] arm: mvebu: Various fixes

2023-02-24 Thread Martin Rowe
[PATCH 2/2] arm: mvebu: clearfog: Add defconfig for SPI booting This new clearfog_spi_defconfig file is copy of existing clearfog_defconfig file and changed to instruct build system to generate final kwbimage for SPI booting and to store the environment in SPI as well. Signed-off-by: Martin Rowe

Re: [PATCH RFC u-boot-mvebu 00/59] arm: mvebu: Various fixes

2023-02-24 Thread Martin Rowe
[PATCH 1/2] arm: mvebu: clearfog: Fix MMC detection A388 Clearfog MMC is either SD Card or eMMC with different behaviour for both. Setting MMC_BROKEN_CD allows both to correctly detect MMC. Signed-off-by: Martin Rowe --- configs/clearfog_defconfig | 3 +-- configs/clearfog_sata_defconfig

Re: Pull request for efi-2023-04-rc3-2

2023-02-24 Thread Ilias Apalodimas
Hi all, Just to put some context On Fri, 24 Feb 2023 at 16:44, Heinrich Schuchardt wrote: > > On 2/24/23 15:42, Tom Rini wrote: > > On Fri, Feb 24, 2023 at 11:02:57AM +0100, Heinrich Schuchardt wrote: > >> The following changes since commit > >> 8c3acb726ef083d3d5de12f20318ee0e5070: > >> >

Re: Pull request for efi-2023-04-rc3-2

2023-02-24 Thread Heinrich Schuchardt
On 2/24/23 15:42, Tom Rini wrote: On Fri, Feb 24, 2023 at 11:02:57AM +0100, Heinrich Schuchardt wrote: The following changes since commit 8c3acb726ef083d3d5de12f20318ee0e5070: Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-usb (2023-02-22 13:36:29 -0500) are

Re: Pull request, u-boot-tegra/master

2023-02-24 Thread Tom Rini
On Thu, Feb 23, 2023 at 02:25:04PM -0700, Tom Warren wrote: > Tom, > > Please pull u-boot-tegra/master into U-Boot/master. Thanks. > It has passed 'buildman tegra' w/o error, and Thierry has tested it on his > Tegra boards. > > The following changes since commit

Re: [PATCH] trace: Relax test requirements

2023-02-24 Thread Tom Rini
On Fri, Feb 17, 2023 at 03:45:16PM -0700, Simon Glass wrote: > We expect the profile and bootstage to agree on timing, but when > running on slow machines there can be a larger descrepency. Increase the > tolerance to fix this. > > Fixes: 9cea4797aeb ("trace: Add a test") > Signed-off-by: Simon

Re: [PATCH v2 2/2] env: mmc: Apply GPT only on eMMC user HW partition

2023-02-24 Thread Tom Rini
On Thu, Feb 09, 2023 at 01:30:10PM +0100, Marek Vasut wrote: > Apply the GPT U-Boot environment GUID type look up only on eMMC user > HW partition, do not apply the look up on eMMC boot HW partitions as > mmc_offset_try_partition() assumes either SD partitions or eMMC user > HW partition. > >

Re: [PATCH 2/2] x86: Pass -z execstack for EFI payload flags

2023-02-24 Thread Tom Rini
On Tue, Feb 14, 2023 at 03:09:32PM -0500, Tom Rini wrote: > To match how we link EFI executables elsewhere, and to silence a linker > warning, pass -z execstack here as well. > > Cc: Bin Meng > Cc: Heinrich Schuchardt > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 1/2] Makefile: Link with -z noexectack

2023-02-24 Thread Tom Rini
On Tue, Feb 14, 2023 at 03:09:31PM -0500, Tom Rini wrote: > When moving to gcc-12.2 we started trying to quiet some of the new > linker warnings, that are not relevant to us. However, a > misunderstanding of the mechanics at play meant that I intentionally > omitted passing -z noexecstack to the

Re: [PATCH] fs: btrfs: limit the mapped length to the original length

2023-02-24 Thread Tom Rini
On Mon, Feb 13, 2023 at 08:37:59AM +0800, Qu Wenruo wrote: > [BUG] > There is a bug report that btrfs driver caused hang during file read: > > This breaks btrfs on the HiFive Unmatched. > > => pci enum > PCIE-0: Link up (Gen1-x8, Bus0) > => nvme scan > => load nvme 0:2 0x8c00

Re: Pull request for efi-2023-04-rc3-2

2023-02-24 Thread Tom Rini
On Fri, Feb 24, 2023 at 11:02:57AM +0100, Heinrich Schuchardt wrote: > The following changes since commit 8c3acb726ef083d3d5de12f20318ee0e5070: > > Merge branch 'master' of > https://source.denx.de/u-boot/custodians/u-boot-usb (2023-02-22 13:36:29 > -0500) > > are available in the Git

Re: [PATCH 2/2] imx93_evk: enable ADC

2023-02-24 Thread Fabio Estevam
ot imx93 evk dts with the one from linux-next 20230224 3/3 - Enable the ADC driver in the imx93 evk defconfig

Re: [PATCH 1/1] sandbox: allow building sandbox_spl with CONFIG_DEBUG

2023-02-24 Thread Eugen Hristev
On 2/21/23 21:35, Simon Glass wrote: On Sat, 18 Feb 2023 at 01:34, Heinrich Schuchardt wrote: Building sandbox_spl with CONFIG_DEBUG leads to errors due to missing symbols: /usr/bin/ld: common/spl/spl_fit.o: in function `spl_fit_upload_fpga': common/spl/spl_fit.c:595: undefined

Re: [PATCH] ARM: dts: at91: sama7g5: fix clock id for ebi node

2023-02-24 Thread Eugen Hristev
On 2/23/23 13:28, Mihai Sain wrote: The PMC_MCK1 clock id for the ebi node is 23. Fixes: 4ce85577ac ("ARM: dts: at91: sama7g5/sama7g5ek: align with Linux DT") Signed-off-by: Mihai Sain --- arch/arm/dts/sama7g5.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[RFC PATCH] binman: bintool: etype: Add support for ti-secure entry

2023-02-24 Thread Neha Malcom Francis
core-secdev-k3 is the TI security development package provided for K3 platform devices. This tool helps sign bootloader images with the x509 ceritificate header. Signed-off-by: Neha Malcom Francis --- This patch depends on

[PATCH v3] binman: bintool: Add support for tool directories

2023-02-24 Thread Neha Malcom Francis
Currently, bintool supports external compilable tools as single executable files. Adding support for git repos that can be used to run non-compilable scripting tools that cannot otherwise be present in binman. Signed-off-by: Neha Malcom Francis --- Changes in v3: - moved back to using

Re: [PATCH v2] binman: bintool: Add support for tool directories

2023-02-24 Thread Neha Malcom Francis
Hi Simon On 23/02/23 02:50, Simon Glass wrote: Hi Neha, On Tue, 21 Feb 2023 at 21:30, Neha Malcom Francis wrote: Hi Simon On 22/02/23 01:05, Simon Glass wrote: Hi Neha, On Fri, 17 Feb 2023 at 04:46, Neha Malcom Francis wrote: Currently, bintool supports external compilable tools as

Re: [PATCH 2/2] drivers: thermal: Introduce sun8i_thermal

2023-02-24 Thread Andre Przywara
On Mon, 13 Feb 2023 10:42:56 +0800 qianfangui...@163.com wrote: Hi, sorry for the delay, somehow this mail never made it into my inbox. > From: qianfan Zhao > > Portting sun8i_thermal.c from linux-5.15 drivers and drop interrupt > features. Next is an example from allwinner T3: So what is

Pull request for efi-2023-04-rc3-2

2023-02-24 Thread Heinrich Schuchardt
The following changes since commit 8c3acb726ef083d3d5de12f20318ee0e5070: Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-usb (2023-02-22 13:36:29 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git

Re: [PATCH] usb: dwc3-meson-g12a: Select PHY instead of imply PHY

2023-02-24 Thread Mattijs Korpershoek
On jeu., févr. 23, 2023 at 17:32, Marek Vasut wrote: > Imply means you can turn off the option and expect things to work > - "it's a good idea to have X enabled" is when to use imply > - "you must have X for Y to work" is when to use select > > Use "select" here. > > Signed-off-by: Marek Vasut

Re: [PATCH 09/13] s5p: Remove empty arch_misc_init

2023-02-24 Thread Minkyu Kang
On Fri, 17 Feb 2023 at 05:19, Simon Glass wrote: > On Wed, 15 Feb 2023 at 20:39, Tom Rini wrote: > > > > We don't need to provide an empty arch_misc_init function here, we can > > just not enable the hook. > > > > Cc: Stefan Bosch > > Signed-off-by: Tom Rini > > --- > >

Re: [PATCH v2 2/2] samsung: common: do not reset if cros-ec uclass is missing

2023-02-24 Thread Minkyu Kang
On Mon, 13 Feb 2023 at 23:45, Simon Glass wrote: > On Mon, 13 Feb 2023 at 01:08, Henrik Grimler wrote: > > > > Otherwise non-ChromeOS samsung devices, like the odroid boards, are > > stuck in a bootloop if CONFIG_CROS_EC is not enabled: > > > > <...> > > MMC: SAMSUNG SDHCI: 2, EXYNOS

Re: [PATCH v1 00/11] Tegra DC improvements

2023-02-24 Thread Svyatoslav Ryhel
Greetings Tom! I was thinking about what you asked about ACKs/Tested-By/Reviewed-By's. Before these patches, DC and video support was available only for T20, so the main concern is regressions towards T20. Thierry has no T20 boards at all which is rather unfortunate. I have made a list of T20