Re: [U-Boot] [PATCH v3 033/108] x86: power: Add an ACPI PMC uclass

2019-11-04 Thread Bin Meng
Hi Simon, On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > Intel x86 SoCs have a power manager/controller which handles several > power-related aspects of the platform. Add a uclass for this, with a few > useful operations. > > Signed-off-by: Simon Glass > --- > > Changes in v3: > - Renam

Re: [U-Boot] [PATCH v3 036/108] pci: Add support for p2sb uclass

2019-11-04 Thread Bin Meng
Hi Simon, On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > The Primary-to-Sideband bus (P2SB) is used to access various peripherals > through memory-mapped I/O in a large chunk of PCI space. The space is > segmented into different channels and peripherals are accessed by > device-specific

Re: [U-Boot] [PATCH v3 016/108] fdt: Show the preprocessed .dts file on error

2019-11-04 Thread Bin Meng
Hi Simon, On Sun, Nov 3, 2019 at 2:02 AM Simon Glass wrote: > > Hi Bin, > > On Mon, 28 Oct 2019 at 00:47, Bin Meng wrote: > > > > Hi Simon, > > > > On Mon, Oct 21, 2019 at 11:33 AM Simon Glass wrote: > > > > > > When device-tree compilation fails it is sometimes tricky to see which > > > line i

Re: [U-Boot] [PATCH v2 0/8] Enablement of PCIe controller for lx2-rev2

2019-11-04 Thread Priyanka Jain
>-Original Message- >From: Wasim Khan >Sent: Friday, November 1, 2019 3:38 PM >To: Priyanka Jain >Cc: u-boot@lists.denx.de; Wasim Khan >Subject: [PATCH v2 0/8] Enablement of PCIe controller for lx2-rev2 > Please use full name of Soc : "lx2160a" in patch series. >lx2-rev1 PCIe controlle

Re: [U-Boot] [PATCH v3 037/108] sandbox: Add PCI driver and test for p2sb

2019-11-04 Thread Bin Meng
Hi Simon, On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > Add a sandbox driver and PCI-device emulator for p2sb. Also add a test > which uses a simple 'adder' driver to test the p2sb functionality. > > Signed-off-by: Simon Glass > --- > > Changes in v3: > - Fix build errors in sandbox_sp

Re: [U-Boot] [PATCH 1/2] configs: ls1028a: Resync with savedefconfig

2019-11-04 Thread Priyanka Jain
>-Original Message- >From: Alex Marginean >Sent: Friday, November 1, 2019 5:59 PM >To: u-boot@lists.denx.de >Cc: Priyanka Jain ; Jagdish Gediya >; Alexandru Marginean > >Subject: [PATCH 1/2] configs: ls1028a: Resync with savedefconfig > >Replace ls1028a defconfig files with the output of

Re: [U-Boot] [PATCH v3 038/108] x86: Move UCLASS_IRQ into a separate file

2019-11-04 Thread Bin Meng
Hi Simon, On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > Update this uclass to support the needs of the apollolake ITSS. It > supports four operations. > > Move the uclass into a separate directory so that sandbox can use it too. > Add a new Kconfig to control it and enable this on x86.

Re: [U-Boot] [PATCH v3 039/108] sandbox: Add a test for IRQ

2019-11-04 Thread Bin Meng
Hi Simon, On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > Add a simple sandbox test for this uclass. > > Signed-off-by: Simon Glass > --- > > Changes in v3: > - Change the sandbox test from ITSS to IRQ > > Changes in v2: None > > arch/sandbox/dts/test.dts | 4 +++ > configs/sa

Re: [U-Boot] [PATCH v3 040/108] x86: Define the SPL image start

2019-11-04 Thread Bin Meng
On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > Define this symbol so that we can use binman symbols correctly. > > Signed-off-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: None > > arch/x86/cpu/u-boot-spl.lds | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) >

Re: [U-Boot] [PATCH v3 041/108] x86: Reduce mrccache record alignment size

2019-11-04 Thread Bin Meng
On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > At present the records are 4KB in size. This is unnecessarily large when > the SPI-flash erase size is 256 bytes. Reduce it so it will be more > efficient with Apollolake's 24-byte variable-data record. > > Signed-off-by: Simon Glass > --- >

[U-Boot] [PATCH 08/10] power: pmic: Kconfig: add CONFIG_SPL_DM_PMIC_BD71837

2019-11-04 Thread sbabic
> Add CONFIG_SPL_DM_PMIC_BD71837 to make this driver could be > used in SPL stage > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing

[U-Boot] [PATCH 06/10] arm: dts: imx8mm: sync dts from Linux Kernel

2019-11-04 Thread sbabic
> Sync dts for i.MX8MM from Linux Kernel 5.4.0-rc1 > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 16

[U-Boot] [PATCH v2 3/3] video: mxsfb: set gd->fb_base

2019-11-04 Thread sbabic
> Set gd->fb_base so it can be shown with bdinfo command. > Signed-off-by: Sébastien Szymanski > Reviewed-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[U-Boot] [PATCH v3 RESEND 1/2] ARM: imx: Fix bmode detection from grp10

2019-11-04 Thread sbabic
> imx6_is_bmode_from_gpr9 always returns false, because > IMX6_SRC_GPR10_BMODE is 1<<28 and gets casted to u8 on return. > This moves the function body into imx6_src_get_boot_mode, since that is the > only one using it and it is on the same abstraction level (accessing > registers directly). > Sign

[U-Boot] [PATCH v2 1/3] imx6ul: opos6ul: migrate to DM_ETH

2019-11-04 Thread sbabic
> Migrate to DM_ETH and remove code that is no longer necessary. > Reviewed-by: Peng Fan > Signed-off-by: Sébastien Szymanski Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering

[U-Boot] [PATCH 05/10] dt-bindings: import usb pd

2019-11-04 Thread sbabic
> Import usb pd bindings from Linux 5.4.0-rc1. > This file will be included by imx8mm-evk.dts. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[U-Boot] [PATCH V2 5/6] net: fec_mxc: support i.MX8M with CLK_CCF

2019-11-04 Thread sbabic
> Add more clks for fec_mxc according to Linux Kernel 5.4.0-rc1 > drivers/net/ethernet/freescale/fec_main.c. > Since i.MX8MQ not support CLK_CCF, so add a check to restrict > the code only effect when CONFIG_IMX8M and CONFIG_CLK_CCF both defined. > Signed-off-by: Peng Fan Applied to u-boot-imx, m

[U-Boot] [PATCH 3/3] imx8qxp: mek: add secure boot script

2019-11-04 Thread sbabic
> Add secure boot script, use ahab to verify image > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 16

[U-Boot] [PATCH 1/3] imx8: Add AHAB secure boot support

2019-11-04 Thread sbabic
> Add function and new command "auth_cntr" for secure boot support. > When booting with life cycle set to OEM closed, we need to use > this function to authenticate the OS container and load kernel & FDT > from OS container to their destination. > Also add image authentication call when loading con

[U-Boot] [PATCH v2 2/5] ARM: imx: Decouple mccmon6's SPL and u-boot proper code

2019-11-04 Thread sbabic
> The mccmon6 has been used a "mixed" approach between SPL and > U-Boot proper sources. > This commit decoupes SPL and u-boot proper, which allows clear > distinction between those two code bases and facilitates > conversion to DM/DTS on this particular board. > Signed-off-by: Lukasz Majewski App

[U-Boot] [PATCH v2 1/2] mach-imx: Adding new argument for SIP call interface

2019-11-04 Thread sbabic
> From: Ye Li > Need to pass total 5 arguments for SIP HAB call on i.MX8MQ, > so update the interface to add new argument. > Signed-off-by: Ye Li > [agust: fixed imx8m-power-domain build] > Signed-off-by: Anatolij Gustschin > Reviewed-by: Patrick Wildt > Reviewed-by: Peng Fan Applied to u-boo

[U-Boot] [PATCH v2 5/5] mccmon6: defconfig: nor: Enable usage of *_TINY_* drivers in SPL

2019-11-04 Thread sbabic
> After this change the SPL size has been reduced from 38K to 34K. > Signed-off-by: Lukasz Majewski Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Directo

[U-Boot] [PATCH V3 5/6] net: fec_mxc: support i.MX8M with CLK_CCF

2019-11-04 Thread sbabic
> Add more clks for fec_mxc according to Linux Kernel 5.4.0-rc1 > drivers/net/ethernet/freescale/fec_main.c. > Since i.MX8MQ not support CLK_CCF, so add a check to restrict > the code only effect when CONFIG_IMX8M and CONFIG_CLK_CCF both defined. > Signed-off-by: Peng Fan > Reviewed-by: Frieder Sc

[U-Boot] [PATCH v5 1/2] arm: dts: Add devicetree support for iMXQXP AI_ML board

2019-11-04 Thread sbabic
> Add devicetree support for iMXQXP AI_ML board from Einfochips. > Signed-off-by: Manivannan Sadhasivam > Reviewed-by: Peng Fan > Reviewed-by: Lukasz Majewski Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[U-Boot] [PATCH 03/10] imx: imx8mq: add init_nand_clk

2019-11-04 Thread sbabic
> Add init_nand_clk to enable gpmi nand clock. Since i.MX8MQ not use CCF, > so we still use legacy mode to configure the clock. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[U-Boot] [PATCH 02/10] imx8m: clock: improve irq response latency

2019-11-04 Thread sbabic
> Improve the IRQ response latency by setting GIC root clock source to > sys_pll2_200m from osc. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH

[U-Boot] [PATCH v2 2/2] imx8: output SECO-FW and ATF commit IDs

2019-11-04 Thread sbabic
> Borrow ID reading code from Ye Li (NXP U-Boot, commit ID 5b443e3e2617) > but drop imx-mkimage commit ID reading since we now use in tree mkimage. > Signed-off-by: Anatolij Gustschin > Reviewed-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[U-Boot] [PATCH v3] board/BuR/brppt2: initial commit

2019-11-04 Thread sbabic
> This commit adds support for the brppt2 board. The board is based on the > i.mx6 dual-lite SoC. > Signed-off-by: Hannes Schmelzer Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Enginee

[U-Boot] [PATCH v2 3/3] ARM: imx6: DHCOM i.MX6 PDK: defconfig: Enable MMC support of SPL

2019-11-04 Thread sbabic
> Signed-off-by: Claudius Heine Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Gr

[U-Boot] [PATCH] imx: Enable RTC (ds1307) support in the U-Boot proper on TPC70 board

2019-11-04 Thread sbabic
> The TPC70 is equipped with DS1307 RTC device. Add code to enable support > for it. > Signed-off-by: Lukasz Majewski Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[U-Boot] [PATCH v3] i.MX6: nand: extend nandbcb command for imx6UL(L)

2019-11-04 Thread sbabic
> Firmware Configuration Block(FCB) for imx6ul(l) needs to be > BCH encoded. > Signed-off-by: Parthiban Nallathambi > Acked-by: Shyam Saini > Acked-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[U-Boot] [PATCH] arm: mxs: Increase VDDD voltage to match specification

2019-11-04 Thread sbabic
> According to IMX28CEC rev. 4, 10/2018, Table 15. Recommended Operating > Conditions, page 16, the VDDD should be set to 1.55V when the CPU is > operating at 454MHz. This is the case in U-Boot, hence increase the > VDDD voltage. This fixes instability when performing TFTP transfers. > Increase the

[U-Boot] [PATCH v2 3/5] spl: nor: Provide falcon boot support for NOR memories

2019-11-04 Thread sbabic
> This commit adds falcon boot support (by also copying args necessary for > booting) to the SPL NOR memory driver. > After this change it is possible to use the falcon boot in the same way > as on NAND memories. The necessary configs (i.e. CONFIG_CMD_SPL_NOR_OFS) > are now defined in Kconfig. > Si

[U-Boot] [PATCH 2/3] imx8qm: mek: add secure boot script

2019-11-04 Thread sbabic
> Add secure boot script, use ahab to verify image > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 16

[U-Boot] [PATCH v2 2/3] opos6uldev: migrate to DM_VIDEO

2019-11-04 Thread sbabic
> Migrate to DM_VIDEO, update the device tree and remove code that is no > longer necessary. > Reviewed-by: Peng Fan > Signed-off-by: Sébastien Szymanski Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[U-Boot] [PATCH v3 2/2] ARM: dts: imx6ull-colibri: pre-reloc for uart pinmux modes

2019-11-04 Thread sbabic
> From: Igor Opaniuk > Add u-boot,dm-pre-reloc properties for uart pinmux configuration > nodes, which enables UART as early as possible (before relocation). > Without this we miss almost the half of output (U-boot version, > CPU defails, Reset cause, DRAM details etc.). > Fixes: cd69e8ef9b ("coli

[U-Boot] [PATCH v2 1/3] ARM: imx6: DHCOM i.MX6 PDK: fix board_boot_modes emmc entry

2019-11-04 Thread sbabic
> The board_boot_modes contained the wrong values for the emmc entry. > The eMMC here is connected over a 8-bit bus. > This change allows to use the 'bmode emmc' command to boot from emmc. > Signed-off-by: Claudius Heine Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[U-Boot] [PATCH v2 4/5] ARM: imx: Convert mccmon6 to use fitImage instead of uImage+DTB

2019-11-04 Thread sbabic
> This commit enabled support for fitImage on mccmon6 when we > switch to DT/DTS (including falcon mode). > Signed-off-by: Lukasz Majewski Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[U-Boot] [PATCH v3 1/2] ARM: dts: imx6ull-colibri: change hierarchy of DTS files

2019-11-04 Thread sbabic
> From: Igor Opaniuk > Introduce imx6ull-colibri-u-boot.dtsi for u-boot specific properties to > keep original imx6ull-colibri.dts in sync with Linux. > Move all contents of imx6ull-colibri.dts to imx6ull-colibri.dtsi + > additionally fix checkpatch warnings. > Reviewed-by: Oleksandr Suvorov > Re

[U-Boot] [PATCH 01/10] imx8m: imx8mq: get chip rev for B1 revision

2019-11-04 Thread sbabic
> The i.MX8MQ B1 uses OCOTP_HW_OCOTP_READ_FUSE_DATA register for chip id. > It returns a magic number 0xff0055aa. update get_cpu_rev to support it, > and enable ocotp clock to access ocotp. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===

[U-Boot] [PATCH 07/10] pmic: bd71837: drop DEBUG macro

2019-11-04 Thread sbabic
> Drop DEBUG macro definition which is used for debug purpose. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang

[U-Boot] [PATCH 1/2] watchdog: imx: Add DT ext-reset handling

2019-11-04 Thread sbabic
> The Linux imx2_wdt driver uses a fsl,ext-reset-output boolean in the > device tree to specify whether the board design should use the external > reset instead of the internal reset. Use this boolean to determine which > mode to use rather than using external reset unconditionally. > For the legac

[U-Boot] [PATCH 10/10] imx8mm: evk: enable bd71837 pmic

2019-11-04 Thread sbabic
> Enable bd71837 pmic for i.MX8MM EVK board, need to set voltage for > DRAM and linux suspend voltage requirement. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Softwar

[U-Boot] [PATCH v1] imx: defconfig: Enable CONFIG_SPL_FORCE_MMC_BOOT on display5

2019-11-04 Thread sbabic
> After the following commit: > commit 772b55723bcb ("imx: Introduce CONFIG_SPL_FORCE_MMC_BOOT to force MMC > boot on falcon mode") > it is possible to set the CONFIG_SPL_FORCE_MMC_BOOT flag, which allows > using MMC device as boot device regardless of the device used by Boot ROM > (FBL) as the fir

[U-Boot] [PATCH v5] imx: support i.MX8QM ROM 7720 a1 board

2019-11-04 Thread sbabic
> Add i.MX8QM ROM 7720a1 board support > Boot log as below: > U-Boot 2019.10-rc3-4-gd073e0242f (Sep 20 2019 - 08:24:13 +0200) > CPU: NXP i.MX8QM RevB A53 at 1200 MHz > Model: Advantech iMX8QM Qseven series > Board: ROM-7720-A1 4GB > Build: SCFW 65afe5f6 > Boot: SD2 > DRAM: 4 GiB > MMC: FS

[U-Boot] [PATCH 2/2] watchdog: imx: Use immediate reset bits for expire_now

2019-11-04 Thread sbabic
> The expire_now function was previously setting the watchdog timeout to > minimum and waiting for the watchdog to expire. However, this watchdog > also has bits to trigger immediate reset. Use those instead, like the > Linux imx2_wdt driver does. > Signed-off-by: Robert Hancock Applied to u-boot

[U-Boot] [PATCH v3 RESEND 2/2] ARM: imx: Use IMX6_SRC_GPR10_BMODE instead of magic number

2019-11-04 Thread sbabic
> Signed-off-by: Claudius Heine Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Gr

[U-Boot] [PATCH 09/10] imx8m: evk: spl: probe clk in spl early stage

2019-11-04 Thread sbabic
> We are going to add i2c pmic support before dram could be used. > So we need enable clk driver earlier, so use spl_early_init > and move clock controller probe eariler to board_init_f. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[U-Boot] [PATCH 04/10] imx: spl: implement spl_boot_mode for i.MX7/8/8M

2019-11-04 Thread sbabic
> It will be easy to separate SD/EMMC when booting in SPL stage, then > no need to bother which device is BOOT_DEVICE_MMC1/2. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = D

[U-Boot] [PATCH v2 2/3] ARM: imx6: DHCOM i.MX6 PDK: spl: Add eMMC initialization to SPL code

2019-11-04 Thread sbabic
> In order for 'bmode emmc' to work, the eMMC needs to be initialized in the > SPL. This change initializes the eMMC as BOOT_DEVICE_MMC1 (index=0). > Signed-off-by: Claudius Heine Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===

[U-Boot] [PATCH] imx: update i.MX8MQ device trees

2019-11-04 Thread sbabic
> This updates the i.MX8MQ device trees and, necessarily, also the > i.MX8MQ clock bindings. These are taken verbatim from from the > Linux kernel version v5.4-rc2, which three small changes which > were already part of the previous device tree: > * Keep the PSCI reserved memory range > * Keep t

[U-Boot] [PATCH v2 1/5] ARM: imx: Covnert mccmon6 to use DM/DTS in the u-boot proper

2019-11-04 Thread sbabic
> This commit converts mccmon6's u-boot proper (in a single commit to avoid > build breaks) to use solely DM/DTS. > The DTS description of the mccmon6 has been ported from Linux kernel > (v4.20, SHA1: 8fe28cb58bcb235034b64cbbb7550a8a43fd88be) > Signed-off-by: Lukasz Majewski Applied to u-boot-imx

[U-Boot] [GIT PULL] Pull request: u-boot-imx u-boot-imx-20191104

2019-11-04 Thread Stefano Babic
/custodians/u-boot-imx.git tags/u-boot-imx-20191104 for you to fetch changes up to ae8a53ece0ff3b1ed686c3e0af14e59973d25db8: imx: nandbcb: add support for writing BCB only (2019-11-03 21:49:49 +0100) u-boot-imx-20191104

[U-Boot] [PATCH] power: regulator: support off-on-delay-us

2019-11-04 Thread Peng Fan
off-on-delay-us has been supported by Linux, so let's use it. Signed-off-by: Peng Fan --- V1: Linux Tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=f7907e57aea2adcd0b57ebcca410e125412ab680 drivers/power/regulator/regulator_common.c | 4 1 file chang

[U-Boot] [PATCH 1/2] mmc: fsl_esdhc_imx: drop redundant clock settings

2019-11-04 Thread Peng Fan
During mmc initialization, there are several calls to mmc_set_clock and mmc_set_ios. When mmc_power_off, the mmc->clock will be set, but the imx driver will use 400KHz. So the following calls to mmc_set_ios will set the clock several times which is redundant in fsl_esdhc_imx driver. So let's simpli

[U-Boot] [PATCH 2/2] mmc: fsl_esdhc_imx: Update compatible string for imx8m

2019-11-04 Thread Peng Fan
To enable HS400(ES) and UHS for imx8m platforms, update the driver data to share with imx8qm esdhc_soc_data. Signed-off-by: Peng Fan --- drivers/mmc/fsl_esdhc_imx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mmc/fsl_esdhc_imx.c b/drivers/mmc/fsl_esdhc_imx.c index 67549036d4..

[U-Boot] [PATCH 1/1] net: sun8i_emac: Remove debug message

2019-11-04 Thread Stefan Mavrodiev
When booting with sun8i_emac driver, the user get output like this: ... Net: phy interface7 eth0: ethernet@1c3 ... The first line doesn't provide any useful information except for the developers. I guess this is some leftover debugging message. This patch change it to such. The new

Re: [U-Boot] [PATCH 0/7] mmc: fsl_esdhc: clean up and shrink the driver

2019-11-04 Thread Y.b. Lu
Here is the CI build result. https://travis-ci.org/yangbolu1991/u-boot-test/builds/605435128 I had verified both SD and eMMC with both DM_MMC and non-DM_MMC modes. Thanks a lot. Best regards, Yangbo Lu > -Original Message- > From: Yangbo Lu > Sent: Thursday, October 31, 2019 6:54 PM > T

Re: [U-Boot] [PATCH] usb: composite: add BOS descriptor support to composite framework

2019-11-04 Thread Michal Simek
On 25. 10. 19 12:28, Roger Quadros wrote: > > > On 24/10/2019 18:44, Jean-Jacques Hiblot wrote: >> + Vignesh and Roger >> >> On 24/10/2019 13:22, Michal Simek wrote: >>> po 14. 10. 2019 v 14:52 odesílatel Michal Simek >>> napsal: From: T Karthik Reddy To add usb-3.0 support to pe

[U-Boot] [PATCH v1 0/6] imx: colibri imx6/imx7: apalis imx6: migrate to DM_ETH

2019-11-04 Thread Igor Opaniuk
Migrate to DM_ETH and remove hardcoded pinmux configuration. Igor Opaniuk (6): ARM: dts: imx6_colibri: introduce fec node colibri_imx6: migrate to DM_ETH ARM: dts: imx6_apalis: introduce fec node apalis_imx6: migrate to DM_ETH ARM: dts: imx7: imx7_colibri: introduce fec node colibri_im

[U-Boot] [PATCH v1 1/6] ARM: dts: imx6_colibri: introduce fec node

2019-11-04 Thread Igor Opaniuk
From: Igor Opaniuk Sync DTS with the mainline Linux and introduce fec node. Signed-off-by: Igor Opaniuk --- arch/arm/dts/imx6-colibri.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/dts/imx6-colibri.dts b/arch/arm/dts/imx6-colibri.dts index 5c9f1f0d2b..3

[U-Boot] [PATCH v1 4/6] apalis_imx6: migrate to DM_ETH

2019-11-04 Thread Igor Opaniuk
From: Igor Opaniuk Migrate to DM_ETH and remove hardcoded pinmux configuration. Signed-off-by: Igor Opaniuk --- board/toradex/apalis_imx6/apalis_imx6.c | 51 - configs/apalis_imx6_defconfig | 3 ++ include/configs/apalis_imx6.h | 6 --- 3 files ch

[U-Boot] [PATCH v1 5/6] ARM: dts: imx7: imx7_colibri: introduce fec node

2019-11-04 Thread Igor Opaniuk
From: Igor Opaniuk Sync DTS with the mainline Linux and introduce fec node and regulator configuration for rn5t567 PMU. Signed-off-by: Igor Opaniuk --- arch/arm/dts/imx7-colibri.dtsi | 116 + arch/arm/dts/imx7d.dtsi| 3 + arch/arm/dts/imx7s.dtsi

[U-Boot] [PATCH v1 2/6] colibri_imx6: migrate to DM_ETH

2019-11-04 Thread Igor Opaniuk
From: Igor Opaniuk Migrate to DM_ETH and remove hardcoded pinmux configuration. Signed-off-by: Igor Opaniuk --- board/toradex/colibri_imx6/colibri_imx6.c | 59 ++- configs/colibri_imx6_defconfig| 3 ++ include/configs/colibri_imx6.h| 8 --- 3 file

[U-Boot] [PATCH v1 6/6] colibri_imx7: migrate to DM_ETH

2019-11-04 Thread Igor Opaniuk
From: Igor Opaniuk Migrate to DM_ETH and remove hardcoded pinmux configuration. Signed-off-by: Igor Opaniuk --- board/toradex/colibri_imx7/colibri_imx7.c | 44 --- configs/colibri_imx7_defconfig| 5 ++- configs/colibri_imx7_emmc_defconfig | 5 ++- inclu

[U-Boot] [PATCH v1 3/6] ARM: dts: imx6_apalis: introduce fec node

2019-11-04 Thread Igor Opaniuk
From: Igor Opaniuk Sync DTS with the mainline Linux and introduce fec node. Signed-off-by: Igor Opaniuk --- arch/arm/dts/imx6-apalis.dts | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/dts/imx6-apalis.dts b/arch/arm/dts/imx6-apalis.dts index b2fdfa1af4..72

[U-Boot] [PATCH v1 2/2] MAINTAINERS: change colibri_imx6/imx6ull/t30/vf maintainers

2019-11-04 Thread Igor Opaniuk
From: Igor Opaniuk Take over maintainership for colibri_imx6/imx6ull/t30/vf modules. Signed-off-by: Igor Opaniuk --- board/toradex/colibri-imx6ull/MAINTAINERS | 2 +- board/toradex/colibri_imx7/MAINTAINERS| 2 +- board/toradex/colibri_t30/MAINTAINERS | 2 +- board/toradex/colibri_vf/M

[U-Boot] [PATCH v1 1/2] MAINTAINERS: change apalis_imx6/colibri_imx6 maintainers

2019-11-04 Thread Igor Opaniuk
From: Igor Opaniuk Take over maintainership for apalis_imx6 and colibri_imx6 modules. Signed-off-by: Igor Opaniuk --- board/toradex/apalis_imx6/MAINTAINERS | 2 +- board/toradex/colibri_imx6/MAINTAINERS | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/toradex/apal

Re: [U-Boot] [PATCH v1 1/2] MAINTAINERS: change apalis_imx6/colibri_imx6 maintainers

2019-11-04 Thread Max Krummenacher
On Mon, 2019-11-04 at 12:56 +0100, Igor Opaniuk wrote: > From: Igor Opaniuk > > Take over maintainership for apalis_imx6 and colibri_imx6 modules. > > Signed-off-by: Igor Opaniuk Acked-by: Max Krummenacher ___ U-Boot mailing list U-Boot@lists.denx.

Re: [U-Boot] [PATCH v1 2/2] MAINTAINERS: change colibri_imx6/imx6ull/t30/vf maintainers

2019-11-04 Thread Max Krummenacher
On Mon, 2019-11-04 at 12:56 +0100, Igor Opaniuk wrote: > From: Igor Opaniuk > > Take over maintainership for colibri_imx6/imx6ull/t30/vf modules. > > Signed-off-by: Igor Opaniuk Acked-by: Max Krummenacher ___ U-Boot mailing list U-Boot@lists.denx.d

Re: [U-Boot] [PATCH v2 1/2] rockchip: make_fit_atf.py: allow inclusion of a tee binary

2019-11-04 Thread Heiko Stübner
Hi Simon, Am Mittwoch, 30. Oktober 2019, 02:49:46 CET schrieb Simon Glass: > On Tue, 22 Oct 2019 at 03:45, Kever Yang wrote: > > On 2019/10/22 上午7:46, Simon Glass wrote: > > > On Mon, 14 Oct 2019 at 03:07, Kever Yang > > > wrote: > > >> > > >> On 2019/10/7 上午2:10, Heiko Stuebner wrote: > > >>>

[U-Boot] [PATCH v2] mx6: Allow configuring the NoC registers on i.MX6QP

2019-11-04 Thread Fabio Estevam
The NoC registers on i.MX6QP needs to be configured, otherwise some usecases in the kernel behave incorrectly, such as rotation and resize. Currently the NoC registers are not configured in the kernel, so configure them in U-Boot like it is done in the NXP U-Boot tree. Signed-off-by: Fabio Esteva

Re: [U-Boot] [PATCH 4/4] mx6: Allow configuring the NoC registers on i.MX6QP

2019-11-04 Thread Fabio Estevam
Hi Stefano, On Sun, Nov 3, 2019 at 1:06 PM Stefano Babic wrote: > I found a good reason why they were out. Patch 4 breaks the build for > mx6sxsabresd because enable_[disable]ipu is called (of course, it should > not be). > > Could you take a look and repost ? Thanks ! Thanks for the feedback.

Re: [U-Boot] [PATCH v2] mx6: Allow configuring the NoC registers on i.MX6QP

2019-11-04 Thread Stefano Babic
On 04/11/19 13:44, Fabio Estevam wrote: > The NoC registers on i.MX6QP needs to be configured, otherwise some > usecases in the kernel behave incorrectly, such as rotation and resize. > > Currently the NoC registers are not configured in the kernel, so > configure them in U-Boot like it is done in

Re: [U-Boot] [PATCH v3 042/108] x86: Correct mrccache find_next_mrc_cache() calculation

2019-11-04 Thread Bin Meng
Hi Simon, On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > This should take account of the end of the new cache record since a record > cannot extend beyond the end of the flash region. This problem was not > seen before due to the alignment of the relatively small amount of MRC > data. >

Re: [U-Boot] [PATCH v3 043/108] x86: Adjust mrccache_get_region() to use livetree

2019-11-04 Thread Bin Meng
Hi Simon, On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > Change the algorithm to first find the flash device then read the > properties using the livetree API. With this change the device is not > probed so this needs to be done in mrccache_save(). > > Signed-off-by: Simon Glass > --- >

Re: [U-Boot] [PATCH v1 2/2] MAINTAINERS: change colibri_imx6/imx6ull/t30/vf maintainers

2019-11-04 Thread Stefan Agner
On 2019-11-04 12:56, Igor Opaniuk wrote: > From: Igor Opaniuk > > Take over maintainership for colibri_imx6/imx6ull/t30/vf modules. > > Signed-off-by: Igor Opaniuk Acked-by: Stefan Agner Thanks for looking after those boards! -- Stefan > --- > > board/toradex/colibri-imx6ull/MAINTAINER

Re: [U-Boot] [PATCH v1 2/3] drivers: reset: Add a managed API to get reset controllers from the DT

2019-11-04 Thread Jean-Jacques Hiblot
On 30/10/2019 02:48, Simon Glass wrote: On Mon, 30 Sep 2019 at 10:15, Jean-Jacques Hiblot wrote: Add managed functions to get a reset_ctl from the device-tree, based on a name or an index. Also add a managed functions to get a reset_ctl_bulk (array of reset_ctl) from the device-tree. When the

Re: [U-Boot] [PATCH v3 047/108] x86: Update mrccache to support multiple caches

2019-11-04 Thread Bin Meng
On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > With apollolake we need to support a normal cache, which almost never > changes and a much smaller 'variable' cache which changes every time. > > Update the code to add a cache type, use an array for the caches and use a > for loop to iterate

Re: [U-Boot] [PATCH v3 048/108] x86: Add mrccache support for a 'variable' cache

2019-11-04 Thread Bin Meng
On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > Add support for a second cache type, for apollolake. > > Signed-off-by: Simon Glass > --- > > Changes in v3: > - Move the mrccache_get_region() change into this patch > > Changes in v2: None > > arch/x86/include/asm/mrccache.h | 1 + > arch

Re: [U-Boot] [PATCH v3 050/108] x86: Set the DRAM banks to reflect real location

2019-11-04 Thread Bin Meng
On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > At present with fsp a single DRAM bank is added which extends to the > whole size of memory. However there is typically only 2GB of memory > available below the 4GB boundary, and this is what is used by U-Boot while > running in 32-bit mode.

Re: [U-Boot] [PATCH v2 16/17] binman: Move to use Python 3

2019-11-04 Thread Tom Rini
On Thu, Oct 31, 2019 at 10:12:04AM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 31 Oct 2019 at 09:50, Tom Rini wrote: > > > > On Thu, Oct 31, 2019 at 09:19:50AM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 31 Oct 2019 at 07:55, Tom Rini wrote: > > > > > > > > On Thu, Oct 31, 20

Re: [U-Boot] [EXT] Re: Cavium/Marvell Octeon Support

2019-11-04 Thread Wolfgang Denk
Dear Aaron, In message <2710076.TiSPtmOvtb@flash> you wrote: > > > What exactly do you need this for? Why don't you just link your > > code with the rest of U-Boot? > > We need it to obtain and modify the phy parameters. This is a custom 25G > gearbox that needs a lot of hand holding. This may e

Re: [U-Boot] [PATCH v5 00/19] efi_loader: non-volatile variables support

2019-11-04 Thread Wolfgang Denk
Dear Takahiro, In message <20191101060434.gv10...@linaro.org> you wrote: > > > This is even worse, as instead of adding a single argument to a > > function call you are adding two full fucntion calls. > > > > But why would that be needed? > > > > U-Boot is strictly single tasking. You always kn

Re: [U-Boot] [PATCH v1 3/5] regmap: Allow providing read/write callbacks through struct regmap_config

2019-11-04 Thread Jean-Jacques Hiblot
On 30/10/2019 02:48, Simon Glass wrote: Hi Jean-Jacques, On Fri, 27 Sep 2019 at 07:22, Jean-Jacques Hiblot wrote: Some linux drivers provide their own read/write functions to access data from/of the regmap. Adding support for it. Signed-off-by: Jean-Jacques Hiblot --- drivers/core/regmap

Re: [U-Boot] [PATCH v5 00/19] efi_loader: non-volatile variables support

2019-11-04 Thread Tom Rini
On Mon, Nov 04, 2019 at 05:00:03PM +0100, Wolfgang Denk wrote: > Dear Takahiro, > > In message <20191101060434.gv10...@linaro.org> you wrote: > > > > > This is even worse, as instead of adding a single argument to a > > > function call you are adding two full fucntion calls. > > > > > > But why w

Re: [U-Boot] [EXT] Re: Cavium/Marvell Octeon Support

2019-11-04 Thread Tom Rini
On Mon, Nov 04, 2019 at 04:44:18PM +0100, Wolfgang Denk wrote: > Dear Aaron, > > In message <2710076.TiSPtmOvtb@flash> you wrote: > > > > > What exactly do you need this for? Why don't you just link your > > > code with the rest of U-Boot? > > > > We need it to obtain and modify the phy parameter

Re: [U-Boot] [RFC PATCH 0/5] WIP Add support for i.MXRT family

2019-11-04 Thread Giulio Benetti
Hi Fabio, On 11/1/19 1:41 PM, Fabio Estevam wrote: Hi Giulio, On Wed, Oct 30, 2019 at 6:09 PM Giulio Benetti wrote: This patchset is a WIP for adding i.MXRT family. It provides: - soc family entry - pinctrl driver - serial driver tweaking - partial sdram controller driver - imxrt1050-evk boa

Re: [U-Boot] [RFC PATCH 5/5] Add support for the NXP IMXRT1050-EVK board

2019-11-04 Thread Giulio Benetti
Hi Fabio, On 11/1/19 1:40 PM, Fabio Estevam wrote: Hi Giulio, On Wed, Oct 30, 2019 at 6:09 PM Giulio Benetti wrote: Please add a commit log that briefly describes the board. Yes. Signed-off-by: Giulio Benetti --- arch/arm/dts/Makefile | 2 + arch/arm/dts/imx

Re: [U-Boot] [RFC PATCH 4/5] ram: add SDRAM driver for i.MXRT SoCs

2019-11-04 Thread Fabio Estevam
Hi Giulio, On Thu, Oct 31, 2019 at 9:11 AM Giulio Benetti wrote: > ...in this register and the next one there are parameters like CKEOFF > and ACT2PRE impossible to lead to classic tXXX sdram timing parameters. > I've done this way inspired by stm32-sdram, but maybe U should go back > using i.MX

Re: [U-Boot] [RFC PATCH 4/5] ram: add SDRAM driver for i.MXRT SoCs

2019-11-04 Thread Giulio Benetti
On 11/4/19 5:33 PM, Fabio Estevam wrote: Hi Giulio, On Thu, Oct 31, 2019 at 9:11 AM Giulio Benetti wrote: ...in this register and the next one there are parameters like CKEOFF and ACT2PRE impossible to lead to classic tXXX sdram timing parameters. I've done this way inspired by stm32-sdram, b

Re: [U-Boot] [EXT] Re: Cavium/Marvell Octeon Support

2019-11-04 Thread Tom Rini
On Thu, Oct 31, 2019 at 06:01:34PM +, Aaron Williams wrote: > Hi Wolfgang, > > On Thursday, October 31, 2019 3:40:27 AM PDT Wolfgang Denk wrote: > > Dear Aaron, > > > > In message <1889679.7FQr5zsBR1@flash> you wrote: > > > Currently we are using 39MB under arch/mips. I think I can easily cut

Re: [U-Boot] [PATCH 26/34] binman: Correct symbol calculation with non-zero image base

2019-11-04 Thread Stephen Warren
On 10/15/19 10:09 AM, Stephen Warren wrote: On 10/15/19 8:07 AM, Simon Glass wrote: Hi Stephen, On Mon, 14 Oct 2019 at 09:49, Stephen Warren wrote: On 9/26/19 6:38 PM, s...@google.com wrote: At present binman adds the image base address to the symbol value before it writes it to the binar

Re: [U-Boot] [PATCH v1 1/4] drivers: Add a new framework for multiplexer devices

2019-11-04 Thread Jean-Jacques Hiblot
Hi Simon, Thank for the review. On 30/10/2019 02:48, Simon Glass wrote: Hi Jean-Jacques, On Wed, 2 Oct 2019 at 06:47, Jean-Jacques Hiblot wrote: Add a new subsystem that handles multiplexer controllers. The API is the same as in Linux. Signed-off-by: Jean-Jacques Hiblot --- drivers/Kcon

Re: [U-Boot] [PATCH v1 2/4] dm: board: complete the initialization of the muxes in initr_dm()

2019-11-04 Thread Jean-Jacques Hiblot
On 30/10/2019 02:48, Simon Glass wrote: Hi Jean-Jacques, On Wed, 2 Oct 2019 at 06:47, Jean-Jacques Hiblot wrote: This will probe the multiplexer devices that have a "u-boot,mux-autoprobe" property. As a consequence they will be put in their idle state. Signed-off-by: Jean-Jacques Hiblot ---

Re: [U-Boot] [PATCH 1/1] net: remove superfluous __packed attribute

2019-11-04 Thread Heinrich Schuchardt
On 10/12/19 3:29 PM, Heinrich Schuchardt wrote: On 10/3/19 8:01 PM, Heinrich Schuchardt wrote: On 10/3/19 7:09 PM, Tom Rini wrote: On Thu, Oct 03, 2019 at 07:01:22PM +0200, Heinrich Schuchardt wrote: struct ip_udp_hdr is naturally packed. There is no point in adding a __packed attribute. With

Re: [U-Boot] [PATCH 1/1] net: remove superfluous __packed attribute

2019-11-04 Thread Tom Rini
On Mon, Nov 04, 2019 at 07:07:46PM +0100, Heinrich Schuchardt wrote: > On 10/12/19 3:29 PM, Heinrich Schuchardt wrote: > > On 10/3/19 8:01 PM, Heinrich Schuchardt wrote: > > > On 10/3/19 7:09 PM, Tom Rini wrote: > > > > On Thu, Oct 03, 2019 at 07:01:22PM +0200, Heinrich Schuchardt wrote: > > > > >

Re: [U-Boot] [PATCH v1 3/4] drivers: mux: mmio-based syscon mux controller

2019-11-04 Thread Jean-Jacques Hiblot
Simon, On 30/10/2019 02:48, Simon Glass wrote: On Wed, 2 Oct 2019 at 06:47, Jean-Jacques Hiblot wrote: This adds a driver for mmio-based syscon multiplexers controlled by bitfields in a syscon register range. This is heavily based on the linux mmio-mux driver. Signed-off-by: Jean-Jacques Hibl

[U-Boot] [PATCH] imx: sync with kernel device tree for Phycore SoM

2019-11-04 Thread Parthiban Nallathambi
Sync the Linux Kernel 5.4-rc6 device tree for Phytec Phycore SoM and Segin board based on imx6UL and imx6ULL. Changes includes Phytec naming convention for the devicetree files. Signed-off-by: Parthiban Nallathambi --- arch/arm/dts/Makefile | 4 +- arch/arm/dts/imx6ul-

[U-Boot] [PATCH 1/1] net: avoid address-of-packed-member error

2019-11-04 Thread Heinrich Schuchardt
struct ip_udp_hdr is naturally packed. There is no point in adding a __packed attribute. With the attribute the network stack does not compile using GCC 9.2.1: net/net.c: In function ‘net_process_received_packet’: net/net.c:1288:23: error: taking address of packed member of ‘struct ip_udp_hdr’ may

  1   2   >