[PATCH] x86: Ensure the e820 map is installed in all cases

2021-07-10 Thread Simon Glass
This is a revert of a recent logic change in setup_zimage(). We do actually need to install this information always. Change it to install from the Coreboot tables if available, else the normal source. Fixes: e7bae8283fe ("x86: Allow installing an e820 when booting from coreboot") Signed-off-by: Si

[PATCH 15/17] i2c: Create a new Kconfig for I2C

2021-07-10 Thread Simon Glass
At present we have CONFIG_SPL_I2C but not CONFIG_I2C. The reason CONFIG_I2C is not strictly necessary is that: a) We have CONFIG_SYS_I2C_LEGACY and CONFIG_DM_I2C for the two possible i2c stacks b) In U-Boot proper, we always build drivers/i2c/ regardless of the options Still, it is better t

[PATCH 17/17] Makefile: Move drivers/i2c/ into drivers/Makefile

2021-07-10 Thread Simon Glass
This rule should not be in the top-level Makefile. Now that we have a consistent set of I2C Kconfigs for U-Boot proper, SPL and TPL, we can move it. Make use of the existing SPL/TPL rule in drivers/Makefile instead. Signed-off-by: Simon Glass --- Makefile | 1 - drivers/Makefile | 4 --

[PATCH 12/17] i2c: Rename CONFIG_SYS_I2C to CONFIG_SYS_I2C_LEGACY

2021-07-10 Thread Simon Glass
It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Re

[PATCH 11/17] Rename DRIVERS_MISC_SUPPORT to DRIVERS_MISC

2021-07-10 Thread Simon Glass
Rename these options so that CONFIG_IS_ENABLED can be used with them. Signed-off-by: Simon Glass --- arch/Kconfig | 4 ++-- arch/arm/mach-rockchip/Kconfig | 10 +- arch/arm/mach-rockchip/rk3288/Kconfig| 2 +-

[PATCH 14/17] i2c: Drop unused CONFIG_I2C

2021-07-10 Thread Simon Glass
This actually does nothing but is defined by a few dozen boards. Drop it, so we can define a real one. Signed-off-by: Simon Glass --- include/configs/bur_am335x_common.h| 1 - include/configs/siemens-am33x-common.h | 1 - include/configs/ti_armv7_common.h | 1 - scripts/config_whitelis

[PATCH 10/17] Rename GPIO_SUPPORT to GPIO

2021-07-10 Thread Simon Glass
Rename these options so that CONFIG_IS_ENABLED can be used with them. Signed-off-by: Simon Glass --- arch/Kconfig| 4 ++-- arch/arm/Kconfig| 2 +- arch/arm/mach-exynos/Kconfig| 2 +- arch/arm/mach-imx/mx6/Kc

[PATCH 13/17] i2c: Fix the migration warning

2021-07-10 Thread Simon Glass
While there is a CONFIG_I2C it does not really mean anything and is defined by only a few dozen boards. This should key off CONFIG_SYS_I2C_LEGACY instead. Fix it. Signed-off-by: Simon Glass --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile ind

[PATCH 08/17] Rename SPL_WATCHDOG_SUPPORT to SPL_WATCHDOG

2021-07-10 Thread Simon Glass
Rename this option so that CONFIG_IS_ENABLED can be used with it. Signed-off-by: Simon Glass --- arch/arm/Kconfig| 2 +- arch/arm/mach-imx/mx6/Kconfig | 2 +- arch/arm/mach-omap2/am33xx/Kconfig | 4 ++-- arch/arm/mach-st

[PATCH 09/17] Rename SPL_USB_HOST_SUPPORT to SPL_USB_HOST

2021-07-10 Thread Simon Glass
Rename this option so that CONFIG_IS_ENABLED can be used with it. Signed-off-by: Simon Glass --- arch/arm/mach-imx/mx6/Kconfig | 2 +- common/Makefile | 2 +- common/spl/Kconfig| 4 ++-- configs/am43xx_evm_defconfig | 2

[PATCH 06/17] Rename SPL_ETH_SUPPORT to SPL_ETH

2021-07-10 Thread Simon Glass
Rename this option so that CONFIG_IS_ENABLED can be used with it. Signed-off-by: Simon Glass --- arch/arm/mach-omap2/boot-common.c | 2 +- board/siemens/draco/board.c | 2 +- board/siemens/pxm2/board.c| 4 ++-- board/tcl/sl50/board.c| 6 +++--- board/ti/am335x/board.c

[PATCH 07/17] Rename SPL_MUSB_NEW_SUPPORT to SPL_MUSB_NEW

2021-07-10 Thread Simon Glass
Rename this option so that CONFIG_IS_ENABLED can be used with it. Signed-off-by: Simon Glass --- arch/arm/mach-omap2/am33xx/board.c | 2 +- arch/arm/mach-omap2/boot-common.c| 2 +- common/spl/Kconfig | 2 +- configs/am335x_boneblack_vboot_defconfig | 2 +- co

[PATCH 04/17] Rename SPL_POWER_SUPPORT to SPL_POWER

2021-07-10 Thread Simon Glass
Rename this option so that CONFIG_IS_ENABLED can be used with it. Signed-off-by: Simon Glass --- arch/arm/Kconfig| 2 +- arch/arm/mach-omap2/Kconfig | 6 +++--- arch/arm/mach-omap2/am33xx/Kconfig

[PATCH 05/17] Rename SPL_CRYPTO_SUPPORT to SPL_CRYPTO

2021-07-10 Thread Simon Glass
Rename this option so that CONFIG_IS_ENABLED can be used with it. Signed-off-by: Simon Glass --- common/Kconfig.boot | 2 +- common/spl/Kconfig | 2 +- configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig | 2 +- configs/ls1043a

[PATCH 03/17] Makefile: Move phy rules into drivers/phy

2021-07-10 Thread Simon Glass
These don't belong in the drivers Makefile so move them down into the correct place. Signed-off-by: Simon Glass --- drivers/Makefile | 3 --- drivers/phy/Makefile | 4 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/Makefile b/drivers/Makefile index 3510daba29f..

[PATCH 02/17] Makefile: Sort the subdirectories

2021-07-10 Thread Simon Glass
Adjust the subdirectories included in this file so that they are in alphabetical order. This makes it easier to follow. Signed-off-by: Simon Glass --- Makefile | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 0d3192cebad..60dbab1609e 10064

[PATCH 01/17] README: Fix hyphenation in the directory docs

2021-07-10 Thread Simon Glass
Hyphens are missing in various places where the intent is to create an adjective. Fix it. Signed-off-by: Simon Glass --- README | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README b/README index 1472b40bc45..63ac8d3fcf6 100644 --- a/README +++ b/README

[PATCH 00/17] Makefile: Start simplifying Makefile rules (Part A)

2021-07-10 Thread Simon Glass
At present a few of the Makefiles have confusing layouts, with separate sections for U-Boot proper and SPL/TPL. It is generally possible to have a simple rule of the form: obj-$(CONFIG_$(SPL_TPL_)TIMER) += timer/ so that timer/ is built for the different U-Boot phases based on which of CONFIG_

Re: Broken arc toolchain

2021-07-10 Thread Alexey Brodkin
Hi Tom and Simon, So there're a couple of things involved indeed. 1. As Tom correctly mentioned we used to use SNSP pre-built tools for ARC in TravisCI previously. And frankly the reason was we needed something GCC 8.x based while on some other arches such a new GCC triggered extra problems,

[PATCH v2 6/6] configs: synquacer: Enable UEFI secure boot

2021-07-10 Thread Masami Hiramatsu
Enable UEFI secure boot on synquacer. Note that unless user setup their keys, the secure boot will not work. Signed-off-by: Masami Hiramatsu --- configs/synquacer_developerbox_defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/configs/synquacer_developerbox_defconfig b/configs/syn

[PATCH v2 5/6] configs: synquacer: Drop Ext2/4 support by default

2021-07-10 Thread Masami Hiramatsu
Since the U-Boot for the SynQuacer DeveloperBox is designed for compatible with EDK2 boot, we don't need to support Ext2/4 fs support by default. Drop it. Signed-off-by: Masami Hiramatsu --- configs/synquacer_developerbox_defconfig |2 -- 1 file changed, 2 deletions(-) diff --git a/configs/

[PATCH v2 4/6] configs: synquacer: Remove mtdparts settings and update DFU setting

2021-07-10 Thread Masami Hiramatsu
Since MTD partitions are based on the devicetree name, remove unneeded mtdparts settings and update DFU setting. Signed-off-by: Masami Hiramatsu --- configs/synquacer_developerbox_defconfig |2 -- include/configs/synquacer.h |2 +- 2 files changed, 1 insertion(+), 3 deletion

[PATCH v2 3/6] dts: synquacer: Add partition information to the spi-nor

2021-07-10 Thread Masami Hiramatsu
Add partition information to the spi-nor flash. This is required for accessing NOR flash via mtdparts. Signed-off-by: Masami Hiramatsu --- Changes in v2: - Add new lines to separate the partitions. --- .../dts/synquacer-sc2a11-developerbox-u-boot.dtsi | 49 1 file chan

[PATCH v2 2/6] configs: synquacer: Make U-Boot binary position independent

2021-07-10 Thread Masami Hiramatsu
Make the U-Boot binary for SynQuacer position independent so that the previous bootloader (SCP firmware or BL2) can load the U-Boot anywhere. Signed-off-by: Masami Hiramatsu --- Changes in v2: - Fix a typo in the changelog. --- configs/synquacer_developerbox_defconfig |4 +++- 1 file cha

[PATCH v2 1/6] board: synquacer: Initialize SCBM SMMU at board_init()

2021-07-10 Thread Masami Hiramatsu
Since the SCBM SMMU is not only connected to the NETSEC but also shared with the F_SDH30 (eMMC controller), that should be initialized at board level instead of NETSEC. Move the SMMU initialization code into board support and call it from board_init(). Without this fix, if the NETSEC is disabled,

[PATCH v2 0/6] arm64: synquacer: DeveloperBox updates

2021-07-10 Thread Masami Hiramatsu
Hi, Here is the 2nd version of the series to update the DeveloperBox support. This version is just fixing coding style and typo. So no functional changes. [1/6] board: synquacer: Initialize SCBM SMMU at board_init() - This is a driver cleanup, split the SMMU setup from the driver. [2/6] con

Re: RFC: Devices for files and partitions

2021-07-10 Thread Simon Glass
Hi, On Thu, 8 Jul 2021 at 23:33, Heinrich Schuchardt wrote: > > On 7/9/21 4:44 AM, AKASHI Takahiro wrote: > > On Tue, Jul 06, 2021 at 05:05:19PM -0600, Simon Glass wrote: > >> Hi, > >> > >> At present U-Boot avoids the concept of 'opening' a file. Being in a > >> bootloader environment, it is nor

Re: [PATCH 0/5] stm32mp1: handle TF-A boot with FIP

2021-07-10 Thread Simon Glass
Hi Patrick, On Thu, 8 Jul 2021 at 03:17, Patrick Delaunay wrote: > > > In next TF-A version the stm32mp1 platform will support the Firmware > Image Package (FIP) [1], a container filled with: > - the U-Boot binary = u-boot-nodtb.bin > - the U-Boot device tree = u-boot.dtb > - the Secure OS (OP-TE

Re: [PATCH 1/5] efi_loader: increase eventlog buffer size

2021-07-10 Thread Simon Glass
Hi Masahisa, On Wed, 7 Jul 2021 at 20:21, Masahisa Kojima wrote: > > On Wed, 7 Jul 2021 at 22:47, Heinrich Schuchardt wrote: > > > > > > > > On 7/7/21 3:36 PM, Masahisa Kojima wrote: > > > This is a preperation to add eventlog support > > > described in TCG PC Client PFP spec. > > > > > > Signed

Re: [PATCH] gpio: mcp230xx: Introduce new driver

2021-07-10 Thread Simon Glass
Hi Sebastian, On Tue, 6 Jul 2021 at 10:34, Sebastian Reichel wrote: > > Introduce driver for I2C based MCP230xx GPIO chips, which are > quite common and already well supported by the Linux kernel. > > Signed-off-by: Sebastian Reichel > --- > drivers/gpio/Kconfig | 10 ++ > drivers/gpio

Re: [PATCH 2/2] tpm2: Add a TPMv2 MMIO TIS driver

2021-07-10 Thread Simon Glass
Hi Ilias, On Wed, 7 Jul 2021 at 10:26, Ilias Apalodimas wrote: > > Add support for devices that expose a TPMv2 though MMIO. > Apart from those devices, we can use the driver in our QEMU setups and > test TPM related code which is difficult to achieve using the sandbox > driver (e.g test the EFI T

Re: [PATCH 1/2 v2] tpm2: Introduce TIS tpm core

2021-07-10 Thread Simon Glass
Hi Ilias, On Wed, 7 Jul 2021 at 10:26, Ilias Apalodimas wrote: > > There's a lot of code duplication in U-Boot right now. All the TPM TIS You mean in the TPM code I think. > compatible drivers we have at the moment have their own copy of a TIS > implementation. > > So let's create a common lay

Re: [PATCH 5/6] MIPS: malta: add support for PCI driver model

2021-07-10 Thread Simon Glass
() Hi Daniel, On Tue, 6 Jul 2021 at 08:22, Daniel Schwierzeck wrote: > > As almost all peripherals are connected via PCI dependent on the > used core card, PCI setup is always required. Thus run pci_init() > including PCI scanning and probing and core card specific setups > in board_early_init_r(

Re: [PATCH] sunxi: Load sun8i secure monitor to SRAM A2

2021-07-10 Thread Andre Przywara
On Sun, 18 Apr 2021 22:21:41 -0500 Samuel Holland wrote: Hi Samuel, > Most sun6i-derived SoCs contain SRAM A2, a secure SRAM area for ARISC > SCP firmware. H3 has a smaller SRAM than other SoCs (A31/A33/A23/A83T). > > On sun8i SoCs which do not have SRAM B, we can use part of this SRAM for > th

Re: [EXT] Re: [PATCH 4/4] imx8mq_evk: Enable the USB3.0 host port

2021-07-10 Thread Patrick Wildt
Am Wed, Mar 03, 2021 at 08:53:52AM + schrieb Bough Chen: > > -Original Message- > > From: Ye Li > > Sent: 2021年2月27日 14:05 > > To: feste...@gmail.com; Bough Chen > > Cc: Peng Fan ; u-boot@lists.denx.de; dl-uboot-imx > > ; sba...@denx.de > > Subject: Re: [EXT] Re: [PATCH 4/4] imx8mq_evk

[PATCH 2/2] board: mntre: imx8mq: Add MNT Reform 2 board support

2021-07-10 Thread Patrick Wildt
The MNT Reform 2 is a modular DIY laptop. In its initial version it is based on the BoundaryDevices i.MX8MQ SoM. Some parts have been lifted from BoundaryDevices official U-Boot downstream project. Signed-off-by: Patrick Wildt --- arch/arm/dts/imx8mq-mnt-reform2-u-boot.dtsi | 11 + arch/ar

[PATCH 1/2] arm: dts: imx8mq: add MNT Reform 2

2021-07-10 Thread Patrick Wildt
Device tree taken from v4 of the MNT Reform 2 series on the Linux ARM Kernel Architecture mailing list: https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=500045 Signed-off-by: Patrick Wildt --- arch/arm/dts/Makefile | 1 + arch/arm/dts/imx8mq-mnt-reform2.dts

[PATCH 0/2] Add MNT Reform 2 board support

2021-07-10 Thread Patrick Wildt
The MNT Reform 2 is a modular DIY laptop. In its initial version it is based on the BoundaryDevices i.MX8MQ SoM. Some parts have been lifted from BoundaryDevices official U-Boot downstream project. The device tree has not yet been merged into mainline Linux, but it's already available as v4 on t

Re: Broken arc toolchain

2021-07-10 Thread Tom Rini
On Sat, Jul 10, 2021 at 02:11:30PM -0600, Simon Glass wrote: > Hi, > > I see this: > > $ buildman --fetch-arch arc > > Downloading toolchain for arch 'arc' > Checking: https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/9.2.0/ > Downloading: > https://www.kernel.org/pub/tools/crosstool

Broken arc toolchain

2021-07-10 Thread Simon Glass
Hi, I see this: $ buildman --fetch-arch arc Downloading toolchain for arch 'arc' Checking: https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/9.2.0/ Downloading: https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/9.2.0/x86_64-gcc-9.2.0-nolibc-arc-linux.tar.xz Unpacking to: /h

[PATCH] mx6sabresd: Make checkboard respect CONFIG_NXP_BOARD_REVISION

2021-07-10 Thread sbabic
> The default implementation of checkboard() calls the > nxp_board_rev_string() function > to retrieve a character representing the revision number of the board. > However, this > attempt to retrieve the revision number may fail in certain situations or be > otherwise undesirable. > There is alread

[PATCH 11/11] imx: ventana: display 'none' for MMC if board does not have it

2021-07-10 Thread sbabic
> print 'None' instead of just a blank line if nothing is detected: > MMC: None > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing

[PATCH V2 1/2] spl: mmc: Factor out eMMC boot partition selection code

2021-07-10 Thread sbabic
> Factor out eMMC boot partition selection code into > default_spl_mmc_emmc_boot_partition() function and implement > weak spl_mmc_emmc_boot_partition(), so that architecture or > board code can override the eMMC boot partition selection. > Signed-off-by: Marek Vasut > Cc: Faiz Abbas > Cc: Harald

[PATCH 9/9] configs: imx8mm_venice_defconfig: add support for gbe switch

2021-07-10 Thread sbabic
> The imx8mm-venice-gw7901 board has an I2C connected KSZ9897S GbE switch > with an IMX8MM FEC MAC master connected via RGMII_ID. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[PATCH 07/11] imx: ventana: put LTC3676 regulators in continuous mode

2021-07-10 Thread sbabic
> In the default pulse-skipping mode regulators that are very lightly > loaded can fail to regulate properly. Switching them to always use > continuous mode causes only around 10mW of overall system power > difference in a lightly loaded system that isn't already operating > them in continuous mode

[PATCH 1/5] board: gateworks: venice: gsc: fix typo

2021-07-10 Thread sbabic
> Fix typo in error message. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office:

[PATCH 4/5] board: gateworks: venice: add ftd_file env vars on boot

2021-07-10 Thread sbabic
> The ftd_file* vars can be used by bootscripts to look for > appropriate dtb's > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing

[PATCH v3 4/9] board: phytec: phycore_imx8mp: Change debug UART

2021-07-10 Thread sbabic
> With the first redesign the debug UART had changed from > UART2 to UART1. > As the first hardware revision is considered as alpha and > will not be supported in future. The old setup will not > be preserved. > Signed-off-by: Teresa Remmet > Reviewed-by: Fabio Estevam > Reviewed-by: Heiko Schoch

[PATCH v3 9/9] board: phytec: imx8mp-phycore: Switch to binman

2021-07-10 Thread sbabic
> Use now binman for image creation. > Signed-off-by: Teresa Remmet > Reviewed-by: Fabio Estevam > Reviewed-by: Heiko Schocher Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering

[RESEND PATCH 4/6] imx8m: Restrict usable memory to space below 4G boundary

2021-07-10 Thread sbabic
> From: Frieder Schrempf > Some IPs have their accessible address space restricted by the > interconnect. Let's make sure U-Boot only ever uses the space below > the 4G address boundary (which is 3GiB big), even when the effective > available memory is bigger. > We implement board_get_usable_ram_t

[PATCH 04/11] imx: ventana: add legacy uboot image support

2021-07-10 Thread sbabic
> Add Legacy U-Boot image support needed to boot a uImage. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang De

[PATCH v3 8/9] arm: dts: imx8mp-phyboard-pollux-rdk-u-boot: Add wdog pinctrl entry

2021-07-10 Thread sbabic
> Add missing pinctrl entry in spl. > Signed-off-by: Teresa Remmet > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: W

[RESEND PATCH 1/6] mtd: spi-nor-ids: Add support for Macronix MX25V8035F and MX25R1635F

2021-07-10 Thread sbabic
> From: Frieder Schrempf > The MX25V8035F is a 8Mb SPI NOR flash and the MX25R1635F is very > similar, but has twice the size (16Mb) and supports a wider supply > voltage range. > They were tested on the Kontron Electronics i.MX6UL and i.MX8MM SoMs. > Signed-off-by: Frieder Schrempf Applied to u-

[PATCH 05/11] imx: ventana: add PMIC fix for GW54xx-G

2021-07-10 Thread sbabic
> Substitutions in EOL parts changes the VDD_2P5 voltage rail such that > the previously unused VGEN6 LDO is needed in place of the lower power > VGEN5 for the GW54xx-G. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[PATCH 3/5] board: gateworks: venice: display DTB used

2021-07-10 Thread sbabic
> Display the DTB file used for U-Boot. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munic

[PATCH 4/9] net: add set_promisc function to enable/disable Promiscuous mode

2021-07-10 Thread sbabic
> Enabling promiscuous mode can be useful for DSA switches where each port > has its own MAC address. > Signed-off-by: Tim Harvey > Reviewed-by: Ramon Fried Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[PATCH 06/11] imx: ventana: put PFUZ100 regulators in continuous mode

2021-07-10 Thread sbabic
> In the default 'auto' mode regulators that are very lightly loaded > can be put in PFM mode and fail to regulator properly. Switching them > to always use continuous PWM mode has a neglibable affect on system > power and garuntees proper regulation under lightly loaded circumstances. > Signed-off

[PATCH v3 7/9] board: phytec: phycore-imx8mp: Enable DVS1 control

2021-07-10 Thread sbabic
> Enable DVS1 control through PMIC_STBY_REQ. > Signed-off-by: Teresa Remmet > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Di

[PATCH v2] pci: imx: use reset-gpios if defined by device-tree

2021-07-10 Thread sbabic
> If reset-gpio is defined by device-tree use that if > CONFIG_PCIE_IMX_PERST_GPIO is not defined. > Note that after this the following boards which define > CONFIG_PCIE_IMX_PERST_GPIO in their board header file as well as their > device-tree should be able to remove CONFIG_PCIE_IMX_PERST_GPIO with

[PATCH 03/11] imx: ventana: increase SYS_BOOTM_LEN

2021-07-10 Thread sbabic
> Increase SYS_BOOM_LEN from the default 16M in imx6_common to 64M. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wo

[PATCH v3 5/9] board: phytec: phycore_imx8mp: Add fec support

2021-07-10 Thread sbabic
> Enable support for the fec ethernet on phyCORE-i.MX8MP. > Signed-off-by: Teresa Remmet > Reviewed-by: Fabio Estevam > Reviewed-by: Heiko Schocher Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX

[PATCH V2 2/2] ARM: imx: Pick correct eMMC boot partition from ROM log

2021-07-10 Thread sbabic
> In case the iMX8M boot from eMMC boot partition and the primary image > is corrupted, the BootROM is capable of starting a secondary image in > the other eMMC boot partition as a fallback. > However, the BootROM leaves the eMMC BOOT_PARTITION_ENABLE setting as > it was, i.e. pointing to the boot

[PATCH v3 2/9] arm: dts: imx8mp: Add common u-boot dtsi

2021-07-10 Thread sbabic
> Factor out the common node settings for dm-spl and dm-pre-reloc > and move them to imx8mp-u-boot.dtsi > Signed-off-by: Teresa Remmet > Reviewed-by: Fabio Estevam > Reviewed-by: Heiko Schocher Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 7/9] net: add support for KSZ9477/KSZ9897/KSZ9567 GbE switch

2021-07-10 Thread sbabic
> The Microchip KSZ9477/KSZ9897/KSZ9567 7-Port Gigabit Ethernet Switches > support SGMII/RGMII/MII/RMII with register access via SPI, I2C, or MDIO. > This driver currently supports I2C register access but SPI or MDIO register > access can be easily added at a later time. > Tagging is not implemente

[PATCH 3/3] smegw01: Select the CMD_UNZIP option

2021-07-10 Thread sbabic
> Select the CMD_UNZIP option so that the 'gzwrite' command > can be used to flash .gz image into the eMMC. > Signed-off-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software E

[PATCH v3 6/9] board: phytec: phycore_imx8mp: Set VDD_ARM to 0,95V

2021-07-10 Thread sbabic
> Increase VDD_ARM to prevent timing issues as VDD_SOC is > used in OD mode. Also increase GIC clock. > Signed-off-by: Teresa Remmet > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[PATCH 01/11] imx: ventana: remove USB_KEYBOARD support

2021-07-10 Thread sbabic
> For some time now having USB_KEYBOARD support has caused usb to be > initialized on boot. To allow for a quicker bootup we don't want this > for Ventana and don't really need USB keyboard support so remove it. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Ste

[RESEND PATCH 2/6] spi: fsl_qspi: Build driver only if DM_SPI is available

2021-07-10 Thread sbabic
> From: Frieder Schrempf > The driver depends on DM_SPI and if it's not available (e. g. in SPL), > then we should not try to build it as this will fail. > Signed-off-by: Frieder Schrempf Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===

[PATCH 2/5] board: gateworks: venice: gsc: fix voltage offset

2021-07-10 Thread sbabic
> The voltage offset property is in microvolts so must be scaled > accordingly. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing

[PATCH 6/9] net: dsa: enable master promisc mode if available and needed

2021-07-10 Thread sbabic
> If ports have their own unique MAC addrs and master has a set_promisc > function, call it so that packets will be received for ports. > Signed-off-by: Tim Harvey > Reviewed-by: Ramon Fried Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH] arm/mach-imx: Fix macros in mmdc_size.c

2021-07-10 Thread sbabic
> Make macros actually use passed parameter instead of local variables > that happen > to be named the same as symbols in macro expansion. > Signed-off-by: Kacper Kubkowski Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===

[PATCH v3 3/9] arm: dts: imx8mp-phyboard-pollux: Sync dts files with kernel

2021-07-10 Thread sbabic
> This update includes eqos support and some minor changes. > Synced with kernel commit > 412627f6ffe3 ("arm64: dts: imx8mp-phyboard-pollux-rdk: Add missing pinctrl > entry") > Signed-off-by: Teresa Remmet > Reviewed-by: Fabio Estevam > Reviewed-by: Heiko Schocher Applied to u-boot-imx, master,

[PATCH 02/11] imx: ventana: remove unneeded includes

2021-07-10 Thread sbabic
> remove unnecessary includes > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office:

[PATCH 2/9] net: fec: use device sequence vs index when fetching fec

2021-07-10 Thread sbabic
> When using uclass_get_device* to get the FEC device we need to use > device sequence instead of index into UCLASS_ETH. In systems where for > example a I2C based DSA switch exists it will probe before the FEC > master and its ports will be registered first and have the first > indexes yet the FEC

[PATCH 10/11] imx: ventana: add support for DLC0700XDP21LF LCD display

2021-07-10 Thread sbabic
> Add LVDS support for DLC0700XDP21LF 7in 1024x600 display > (equivalent to the DLC-700JMGT4 with new touch controller) > Signed-off-by: Robert Jones > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[PATCH 1/9] board: gateworks: venice: add imx8mm-gw7901 support

2021-07-10 Thread sbabic
> The Gateworks GW7901 is an ARM based single board computer (SBC) > featuring: > - i.MX8M Mini SoC > - LPDDR4 DRAM > - eMMC FLASH > - SPI FRAM > - Gateworks System Controller (GSC) > - Atmel ATECC Crypto Authentication > - USB 2.0 > - Microchip GbE Switch > - Multiple multi-protocol RS232

[PATCH 8/9] arm: dts: imx8mm-venice-gw7901.dts: fix dsa switch configuration

2021-07-10 Thread sbabic
> Fix the dsa switch config: > - remove the unnecessary phy-mode from the switch itself > - added the necessary fixed-link node to the non-cpu ports required > for U-Boot DSA > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===

[PATCH v3 1/9] arm: dts: imx8mp: Resync imx8mp device tree include

2021-07-10 Thread sbabic
> Sync imx8mp include with kernel commit: > d1689cd3c0f4 ("arm64: dts: imx8mp: Use the correct name for child node "snps, > dwc3"") > Signed-off-by: Teresa Remmet > Reviewed-by: Fabio Estevam > Reviewed-by: Heiko Schocher Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 5/9] net: fec: add set_promisc function

2021-07-10 Thread sbabic
> Enabling promiscuous mode is necessary if FEC is the master of a DSA > switch driver where each port has their own MAC address. > Signed-off-by: Tim Harvey > Reviewed-by: Ramon Fried Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[PATCH V2] ARM: imx6: Update dhelectronics/dh_imx6/MAINTAINERS file

2021-07-10 Thread sbabic
> Adding new DH electronics mailing list and update list of maintainers. > Signed-off-by: Christoph Niedermaier Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Manag

[PATCH 3/9] net: fec: set phy_of_node properly for fixed-link phy

2021-07-10 Thread sbabic
> If the FEC is connected to a fixed-link (upstream switch port for > example) the phy_of_node should be set to the fixed-link node > so that speed and other properties can be found properly. > In addition fix a typo in the debug string. > Signed-off-by: Tim Harvey > Reviewed-by: Ramon Fried Appl

[PATCH 09/11] imx: ventana: display neteowrk PHY

2021-07-10 Thread sbabic
> Add displaying the detected network PHY on boot. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 1

[PATCH 1/3] smegw01: Allow booting the Yocto image by default

2021-07-10 Thread sbabic
> On the Yocto image there is a single partition and the kernel > and dtb are present in the 'boot' directory. > Change it accordingly so that the board can boot the Yocto > image by default. > Use the generic 'load' command instead, which is able to > read from an ext4 partition. > Signed-off-by:

[RESEND PATCH 3/6] clk: imx8mm: Add SPI clocks

2021-07-10 Thread sbabic
> From: Frieder Schrempf > Add the clocks for the ECSPI controllers. This is ported from > Linux v5.13-rc4. > Signed-off-by: Frieder Schrempf Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Softwa

[PATCH 08/11] imx: ventana: add DP83867 PHY LED configuration

2021-07-10 Thread sbabic
> Add DP83867 PHY LED configuration. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich,

[PATCH 5/5] board: gateworks: venice: remove forced enable of GSC thermal protection

2021-07-10 Thread sbabic
> The Gateworks System Controller thermal protection feature will disable > the board primary power supply if the on-board temperature sensor > reaches 86C. In many cases this could occur before the temperature > critical components such as CPU, DRAM, eMMC, and power supplies have > reached their m

Re: [PATCH] board: dragonboard410c: Load U-Boot directly without LK

2021-07-10 Thread Stephan Gerhold
On Sat, Jul 10, 2021 at 10:07:28PM +0300, Ramon Fried wrote: > On Wed, Jul 7, 2021 at 12:06 PM Stephan Gerhold wrote: > > > > At the moment the U-Boot port for the DragonBoard 410c is designed > > to be loaded as an Android boot image after Qualcomm's Little Kernel (LK) > > bootloader. This is sim

Re: [PATCH] board: dragonboard410c: Load U-Boot directly without LK

2021-07-10 Thread Ramon Fried
On Wed, Jul 7, 2021 at 12:06 PM Stephan Gerhold wrote: > > At the moment the U-Boot port for the DragonBoard 410c is designed > to be loaded as an Android boot image after Qualcomm's Little Kernel (LK) > bootloader. This is simple to set up but LK is redundant in this case, > since everything done

[PATCH 11/11] imx: ventana: display 'none' for MMC if board does not have it

2021-07-10 Thread sbabic
> print 'None' instead of just a blank line if nothing is detected: > MMC: None > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing

[PATCH 07/11] imx: ventana: put LTC3676 regulators in continuous mode

2021-07-10 Thread sbabic
> In the default pulse-skipping mode regulators that are very lightly > loaded can fail to regulate properly. Switching them to always use > continuous mode causes only around 10mW of overall system power > difference in a lightly loaded system that isn't already operating > them in continuous mode

[PATCH v3 4/9] board: phytec: phycore_imx8mp: Change debug UART

2021-07-10 Thread sbabic
> With the first redesign the debug UART had changed from > UART2 to UART1. > As the first hardware revision is considered as alpha and > will not be supported in future. The old setup will not > be preserved. > Signed-off-by: Teresa Remmet > Reviewed-by: Fabio Estevam > Reviewed-by: Heiko Schoch

[PATCH v3 9/9] board: phytec: imx8mp-phycore: Switch to binman

2021-07-10 Thread sbabic
> Use now binman for image creation. > Signed-off-by: Teresa Remmet > Reviewed-by: Fabio Estevam > Reviewed-by: Heiko Schocher Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering

[RESEND PATCH 4/6] imx8m: Restrict usable memory to space below 4G boundary

2021-07-10 Thread sbabic
> From: Frieder Schrempf > Some IPs have their accessible address space restricted by the > interconnect. Let's make sure U-Boot only ever uses the space below > the 4G address boundary (which is 3GiB big), even when the effective > available memory is bigger. > We implement board_get_usable_ram_t

[PATCH 04/11] imx: ventana: add legacy uboot image support

2021-07-10 Thread sbabic
> Add Legacy U-Boot image support needed to boot a uImage. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang De

[PATCH v3 8/9] arm: dts: imx8mp-phyboard-pollux-rdk-u-boot: Add wdog pinctrl entry

2021-07-10 Thread sbabic
> Add missing pinctrl entry in spl. > Signed-off-by: Teresa Remmet > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: W

[RESEND PATCH 1/6] mtd: spi-nor-ids: Add support for Macronix MX25V8035F and MX25R1635F

2021-07-10 Thread sbabic
> From: Frieder Schrempf > The MX25V8035F is a 8Mb SPI NOR flash and the MX25R1635F is very > similar, but has twice the size (16Mb) and supports a wider supply > voltage range. > They were tested on the Kontron Electronics i.MX6UL and i.MX8MM SoMs. > Signed-off-by: Frieder Schrempf Applied to u-

[PATCH 05/11] imx: ventana: add PMIC fix for GW54xx-G

2021-07-10 Thread sbabic
> Substitutions in EOL parts changes the VDD_2P5 voltage rail such that > the previously unused VGEN6 LDO is needed in place of the lower power > VGEN5 for the GW54xx-G. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[PATCH 06/11] imx: ventana: put PFUZ100 regulators in continuous mode

2021-07-10 Thread sbabic
> In the default 'auto' mode regulators that are very lightly loaded > can be put in PFM mode and fail to regulator properly. Switching them > to always use continuous PWM mode has a neglibable affect on system > power and garuntees proper regulation under lightly loaded circumstances. > Signed-off

[PATCH v3 7/9] board: phytec: phycore-imx8mp: Enable DVS1 control

2021-07-10 Thread sbabic
> Enable DVS1 control through PMIC_STBY_REQ. > Signed-off-by: Teresa Remmet > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Di

[PATCH v2] pci: imx: use reset-gpios if defined by device-tree

2021-07-10 Thread sbabic
> If reset-gpio is defined by device-tree use that if > CONFIG_PCIE_IMX_PERST_GPIO is not defined. > Note that after this the following boards which define > CONFIG_PCIE_IMX_PERST_GPIO in their board header file as well as their > device-tree should be able to remove CONFIG_PCIE_IMX_PERST_GPIO with

  1   2   >