Re: [U-Boot] [PATCH V2] i2c: xiic: Add Xilinx AXI I2C driver

2019-01-06 Thread Heiko Schocher
Hello Marek, Am 19.12.2018 um 12:26 schrieb Marek Vasut: Add Xilinx AXI I2C controller driver based on the Linux i2c-xiic driver. This driver is stripped of all the IRQ handling and uses pure polling, yet tries to retain most of the structure of the Linux driver to make backporting of fixes easy

Re: [U-Boot] [PATCH v3 8/8] cmd: env: add "-e" option for handling UEFI variables

2019-01-06 Thread AKASHI Takahiro
Heinrich, On Wed, Dec 26, 2018 at 10:20:32PM +0100, Alexander Graf wrote: > > > On 25.12.18 09:44, AKASHI Takahiro wrote: > > On Sun, Dec 23, 2018 at 02:56:40AM +0100, Alexander Graf wrote: > >> > >> > >> On 19.12.18 13:23, Heinrich Schuchardt wrote: > >>> On 12/19/18 2:49 AM, AKASHI Takahiro wr

Re: [U-Boot] [PATCH 5/5] cmd: run: add "-e" option to run an EFI application

2019-01-06 Thread AKASHI Takahiro
On Wed, Dec 26, 2018 at 10:24:45PM +0100, Alexander Graf wrote: > > > On 25.12.18 12:29, AKASHI Takahiro wrote: > > On Sun, Dec 23, 2018 at 03:19:17AM +0100, Alexander Graf wrote: > >> > >> > >> On 18.12.18 06:02, AKASHI Takahiro wrote: > >>> "run -e" allows for executing EFI application with a s

Re: [U-Boot] Issue faced due to "serial: Remove DM_FLAG_PRE_RELOC flag in various drivers" patch

2019-01-06 Thread Priyanka Jain
Hello Simon, Creating a duplicate driver for enabling the flag will add a lot of redundant code. Is there a way, I can add some conditional code to enable this flag for case when pl01x_serial_platdata in the same driver. Regards Priyanka From: Simon Glass Sent: Friday, January 4, 2019 3:00 AM

Re: [U-Boot] [PATCH v2] usb: xhci-mem: Fix scratchpad array issue

2019-01-06 Thread Marek Vasut
On 1/7/19 3:45 AM, Ye Li wrote: > After updating the value of dev_context_ptrs[0], we should flush this > from cache to memory. Otherwise the xhci controller won't use it. > > Signed-off-by: Ye Li > Reviewed-by: Marek Vasut Looks good to me, waiting for A-B/R-B from Bin. > --- > Changes for v2

Re: [U-Boot] [PATCH 2/2] MIPS: jz47xx: remove custom u-boot-spl.lds

2019-01-06 Thread Marek Vasut
On 1/6/19 9:56 PM, Daniel Schwierzeck wrote: > > > Am 06.01.19 um 21:03 schrieb Marek Vasut: >> On 1/6/19 8:42 PM, Daniel Schwierzeck wrote: >>> There is no real difference between the generic variant and >>> the custom variant except that the generic variant is more >>> optimised. This also save

Re: [U-Boot] [PATCH 1/5] efi_loader: bootmgr: support BootNext and BootCurrent variable behavior

2019-01-06 Thread AKASHI Takahiro
On Thu, Dec 27, 2018 at 05:58:49AM +0100, Heinrich Schuchardt wrote: > On 12/18/18 6:02 AM, AKASHI Takahiro wrote: > > See UEFI v2.7, section 3.1.2 for details of the specification. > > > > With my efishell command[1], you can try as the following: > > => efi boot add 1 SHELL ... > > => efi bo

[U-Boot] [PATCH 1/3] Revert "power: regulator: Return success on attempt to disable an always-on regulator"

2019-01-06 Thread Lokesh Vutla
This reverts commit e17e0ceb83538c015a50b965547f2f4d38f81c5d. It is advised to return an error when trying to disable an always-on regulator and let the consumer driver handle the error if needed. Signed-off-by: Lokesh Vutla --- drivers/power/regulator/regulator-uclass.c | 2 +- 1 file changed,

[U-Boot] [PATCH 2/3] power: regulator: Introduce regulator_set_enable_if_allowed api

2019-01-06 Thread Lokesh Vutla
regulator_set_enable() api throws an error in the following three cases: - when requested to disable an always-on regulator - when set_enable() ops not provided by regulator driver - when enabling is actually failed.(Error returned by the regulator driver) Sometimes consumer drivers doesn't want t

[U-Boot] [PATCH 3/3] mmc: omap_hsmmc: Use regulator_set_enable_if_allowed for enabling regulator

2019-01-06 Thread Lokesh Vutla
Use regulator_set_enable_if_allowed() api instead of regulator_set_enable() while enabling io regulators. This way the driver doesn't see an error when disabling an always-on regulator and when enabling is not supported. Signed-off-by: Lokesh Vutla --- drivers/mmc/omap_hsmmc.c | 16 -

[U-Boot] [PATCH 0/3] Introduce regulator_set_enable_if_allowed()

2019-01-06 Thread Lokesh Vutla
As per the discussion happenned here[1], introducing a new api regulator_set_enable_if_allowed() that discards certain error cases where consumer driver might not be intrested in. Also using the same api for omap_hsmmc driver which fixes the boot on dra7-evm. [1] https://patchwork.ozlabs.org/patch

[U-Boot] [PATCH] sf: Add Macronix MX25R6435F SPI NOR flash to flash parameters array

2019-01-06 Thread Ye Li
On i.MX7ULP EVK board, we use MX25R6435F NOR flash, add its parameters and IDs to flash parameter array. Otherwise, the flash probe will fails. Signed-off-by: Ye Li --- drivers/mtd/spi/spi_flash_ids.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/m

[U-Boot] [PATCH] mtd: spi: Add 4bytes extend address support

2019-01-06 Thread Ye Li
Current SPI flash framework only supports to set bank register (CONFIG_SPI_FLASH_BAR) for flash with size > 16MiB. But some new flash device (for example, mt35xu512g) does not support this way, it only supports 4bytes extend address. To access the whole memory size for such flash device, we add th

Re: [U-Boot] [PATCH v3 1/8] cmd: add efishell command

2019-01-06 Thread AKASHI Takahiro
On Mon, Dec 31, 2018 at 12:47:07AM +0100, Heinrich Schuchardt wrote: > On 12/18/18 6:05 AM, AKASHI Takahiro wrote: > > Currently, there is no easy way to add or modify UEFI variables. > > In particular, bootmgr supports BootOrder/Boot variables, it is > > quite hard to define them as u-boot var

Re: [U-Boot] [PATCH v3 1/8] cmd: add efishell command

2019-01-06 Thread AKASHI Takahiro
On Sun, Dec 30, 2018 at 06:10:51PM +0100, Heinrich Schuchardt wrote: > On 12/30/18 4:44 PM, Heinrich Schuchardt wrote: > > On 12/18/18 6:05 AM, AKASHI Takahiro wrote: > >> Currently, there is no easy way to add or modify UEFI variables. > >> In particular, bootmgr supports BootOrder/Boot variab

Re: [U-Boot] [PATCH v3 1/8] cmd: add efishell command

2019-01-06 Thread AKASHI Takahiro
On Sun, Dec 30, 2018 at 04:44:53PM +0100, Heinrich Schuchardt wrote: > On 12/18/18 6:05 AM, AKASHI Takahiro wrote: > > Currently, there is no easy way to add or modify UEFI variables. > > In particular, bootmgr supports BootOrder/Boot variables, it is > > quite hard to define them as u-boot var

[U-Boot] [PATCH] mmc: fsl_esdhc: fix sd/mmc ddr mode clock setting issue

2019-01-06 Thread Ye Li
When sd/mmc work at DDR mode, like HS400/HS400ES/DDR52/DDR50 mode, the output clock rate is half of the internal clock rate. This patch set the DDR_EN bit first for DDR mode, hardware divide the usdhc clock automatically, then follow the original sdr clock setting method. Signed-off-by: Haibo Che

[U-Boot] [PATCH v2] usb: xhci-mem: Fix scratchpad array issue

2019-01-06 Thread Ye Li
After updating the value of dev_context_ptrs[0], we should flush this from cache to memory. Otherwise the xhci controller won't use it. Signed-off-by: Ye Li Reviewed-by: Marek Vasut --- Changes for v2: - Change to use sizeof(ctrl->dcbaa->dev_context_ptrs[0]) drivers/usb/host/xhci-mem.c | 3

Re: [U-Boot] [RESEND PATCH v2 2/6] efi_loader: Initial HII database protocols

2019-01-06 Thread AKASHI Takahiro
On Sun, Jan 06, 2019 at 04:57:49PM +0100, Heinrich Schuchardt wrote: > On 12/14/18 11:10 AM, AKASHI Takahiro wrote: > > From: Leif Lindholm > > > > This patch provides enough implementation of the following protocols to > > run EDKII's Shell.efi and UEFI SCT: > > > > * EfiHiiDatabaseProtocol >

Re: [U-Boot] [PATCH v5 00/26] clk: Add Allwinner CLK, RESET support

2019-01-06 Thread André Przywara
On 06/01/2019 19:22, Jagan Teki wrote: > On Sun, Jan 6, 2019 at 6:49 PM André Przywara wrote: >> >> On 31/12/2018 16:59, Jagan Teki wrote: >> >> Hi Jagan, >> >> many thanks for picking this up, I was about to come back to this >> myself. I am looking at the pinctrl part at the moment, so good you

Re: [U-Boot] [PATCH v5 15/26] clk: sunxi: Add ccu clock tree support

2019-01-06 Thread André Przywara
On 31/12/2018 16:59, Jagan Teki wrote: > Clock control unit comprises of parent clocks, gates, multiplexers, > dividers, multipliers, pre/post dividers and flags etc. > > So, the U-Boot implementation of ccu has divided into gates and tree. > gates are generic clock configuration of enable/disable

[U-Boot] [V3] please pull u-boot-samsung master

2019-01-06 Thread Minkyu Kang
Hi, The following changes since commit 1f2e948d6d53f77a2ddb2dde3531b0d5bc2815ad: Prepare v2019.01-rc2 (2018-12-17 20:25:24 -0500) are available in the git repository at: git://git.denx.de/u-boot-samsung master for you to fetch changes up to df1ff4d6ba591a5fcb9549e895b23c781d8fda6d: exyn

Re: [U-Boot] [PATCH] exynos: Leave the compiler to choose the register to avoid possible r0 corruption

2019-01-06 Thread Minkyu Kang
Hi, On 04/01/19 17:23, Guillaume GARDET wrote: > Reported-by: Siarhei Siamashka > Signed-off-by: Guillaume GARDET > > Cc: Albert Aribaud > Cc: Minkyu Kang > Cc: Tom Rini > --- > arch/arm/mach-exynos/include/mach/system.h | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --

Re: [U-Boot] [PATCH v1 9/9] configs: add default configuraiton for Colibri iMX7 with eMMC

2019-01-06 Thread Marcel Ziswiler
On Sun, 2019-01-06 at 22:00 +0100, Stefan Agner wrote: > From: Stefan Agner > > Add a default configuration for Colibri iMX7D 1GB (with eMMC > NAND flash). Finally (;-p). > Signed-off-by: Stefan Agner > --- > > configs/colibri_imx7_emmc_defconfig | 65 > + > 1 fil

Re: [U-Boot] [PATCH v1 8/9] configs: colibri_imx7: enable CAAM driver

2019-01-06 Thread Marcel Ziswiler
On Sun, 2019-01-06 at 22:00 +0100, Stefan Agner wrote: > From: Stefan Agner > > Access to CAAM in non-secure mode must be enabled by the boot > loader first. The U-Boot CAAM driver enables access to CAAM in > non-secure mode by default. Hence enable the CAAM driver to > allow Linux accessing CAAM

Re: [U-Boot] [PATCH v1 7/9] colibri_imx7: drop legacy usdhc support

2019-01-06 Thread Marcel Ziswiler
On Sun, 2019-01-06 at 22:00 +0100, Stefan Agner wrote: > From: Stefan Agner > > Drop legacy pinmux/usdhc board configuration. > > Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler > --- > > board/toradex/colibri_imx7/colibri_imx7.c | 97 --- > > 1 file changed, 97

Re: [U-Boot] [PATCH v1 6/9] configs: colibri_imx7: use DM_MMC

2019-01-06 Thread Marcel Ziswiler
On Sun, 2019-01-06 at 22:00 +0100, Stefan Agner wrote: > From: Stefan Agner > > Now that device tree is in place use DM_MMC for Colibri iMX7 > devices. > > Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler > --- > > configs/colibri_imx7_defconfig | 2 +- > 1 file changed, 1 insertion(+

Re: [U-Boot] [PATCH v1 5/9] arm: dts: imx7: colibri: add usdhci peripherals to device tree

2019-01-06 Thread Marcel Ziswiler
On Sun, 2019-01-06 at 22:00 +0100, Stefan Agner wrote: > From: Stefan Agner > > Add usdhci peripherals to device tree. This allows to use DM_MMC > for Colibri iMX7 devices. > > Signed-off-by: Stefan Agner > --- > > arch/arm/dts/imx7-colibri-emmc.dts| 69 > +++ > ar

Re: [U-Boot] [PATCH v1 3/9] configs: colibri_imx7: enable DM for raw NAND devices

2019-01-06 Thread Marcel Ziswiler
On Sun, 2019-01-06 at 22:00 +0100, Stefan Agner wrote: > From: Stefan Agner > > Use DM and device trees for raw NAND devices by default. This > fixes -74 NAND read errors since it makes sure the ECC settings > are the same as used in Linux and our downstream U-Boot. > > Signed-off-by: Stefan Agn

Re: [U-Boot] [PATCH v1 4/9] configs: colibri_imx7: use separate device tree

2019-01-06 Thread Marcel Ziswiler
On Sun, 2019-01-06 at 22:00 +0100, Stefan Agner wrote: > From: Stefan Agner > > Use OF_SEPARATE as suggested by the build system. > > Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler > --- > > configs/colibri_imx7_defconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/conf

Re: [U-Boot] [PATCH v1 2/9] arm: dts: imx7: colibri: split dt for raw NAND and eMMC devices

2019-01-06 Thread Marcel Ziswiler
On Sun, 2019-01-06 at 22:00 +0100, Stefan Agner wrote: > From: Stefan Agner > > In preparation of adding CONFIG_DM_MMC support use separate device > trees for raw NAND and eMMC devices. > > Signed-off-by: Stefan Agner > --- > > arch/arm/dts/imx7-colibri-emmc.dts| 16 +++ > arc

Re: [U-Boot] [PATCH v1 1/9] colibri_imx7: fix boot commands

2019-01-06 Thread Marcel Ziswiler
On Sun, 2019-01-06 at 22:00 +0100, Stefan Agner wrote: > From: Stefan Agner > > Fix mixed up boot commands between raw NAND and eMMC variant. Also > make sure that the boot_file is defined for the eMMC boot command. > > Fixes: a62c60610f51 ("colibri_imx7_emmc: add Colibri iMX7D 1GB (eMMC) > modu

[U-Boot] [PATCH v1 8/9] configs: colibri_imx7: enable CAAM driver

2019-01-06 Thread Stefan Agner
From: Stefan Agner Access to CAAM in non-secure mode must be enabled by the boot loader first. The U-Boot CAAM driver enables access to CAAM in non-secure mode by default. Hence enable the CAAM driver to allow Linux accessing CAAM directly. This prevents error messages like the following on Linux

[U-Boot] [PATCH v1 5/9] arm: dts: imx7: colibri: add usdhci peripherals to device tree

2019-01-06 Thread Stefan Agner
From: Stefan Agner Add usdhci peripherals to device tree. This allows to use DM_MMC for Colibri iMX7 devices. Signed-off-by: Stefan Agner --- arch/arm/dts/imx7-colibri-emmc.dts| 69 +++ arch/arm/dts/imx7-colibri-rawnand.dts | 4 ++ arch/arm/dts/imx7-colibri.dtsi

[U-Boot] [PATCH v1 6/9] configs: colibri_imx7: use DM_MMC

2019-01-06 Thread Stefan Agner
From: Stefan Agner Now that device tree is in place use DM_MMC for Colibri iMX7 devices. Signed-off-by: Stefan Agner --- configs/colibri_imx7_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/colibri_imx7_defconfig b/configs/colibri_imx7_defconfig index 0c9

[U-Boot] [PATCH v1 4/9] configs: colibri_imx7: use separate device tree

2019-01-06 Thread Stefan Agner
From: Stefan Agner Use OF_SEPARATE as suggested by the build system. Signed-off-by: Stefan Agner --- configs/colibri_imx7_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/colibri_imx7_defconfig b/configs/colibri_imx7_defconfig index 3aaf1a417d..0c9467e136 100644 --- a/conf

[U-Boot] [PATCH v1 7/9] colibri_imx7: drop legacy usdhc support

2019-01-06 Thread Stefan Agner
From: Stefan Agner Drop legacy pinmux/usdhc board configuration. Signed-off-by: Stefan Agner --- board/toradex/colibri_imx7/colibri_imx7.c | 97 --- 1 file changed, 97 deletions(-) diff --git a/board/toradex/colibri_imx7/colibri_imx7.c b/board/toradex/colibri_imx7/colibr

[U-Boot] [PATCH v1 9/9] configs: add default configuraiton for Colibri iMX7 with eMMC

2019-01-06 Thread Stefan Agner
From: Stefan Agner Add a default configuration for Colibri iMX7D 1GB (with eMMC NAND flash). Signed-off-by: Stefan Agner --- configs/colibri_imx7_emmc_defconfig | 65 + 1 file changed, 65 insertions(+) create mode 100644 configs/colibri_imx7_emmc_defconfig diff -

[U-Boot] [PATCH v1 3/9] configs: colibri_imx7: enable DM for raw NAND devices

2019-01-06 Thread Stefan Agner
From: Stefan Agner Use DM and device trees for raw NAND devices by default. This fixes -74 NAND read errors since it makes sure the ECC settings are the same as used in Linux and our downstream U-Boot. Signed-off-by: Stefan Agner --- configs/colibri_imx7_defconfig | 3 +++ 1 file changed, 3 i

[U-Boot] [PATCH v1 2/9] arm: dts: imx7: colibri: split dt for raw NAND and eMMC devices

2019-01-06 Thread Stefan Agner
From: Stefan Agner In preparation of adding CONFIG_DM_MMC support use separate device trees for raw NAND and eMMC devices. Signed-off-by: Stefan Agner --- arch/arm/dts/imx7-colibri-emmc.dts| 16 +++ arch/arm/dts/imx7-colibri-rawnand.dts | 46 +++ .../{i

[U-Boot] [PATCH v1 1/9] colibri_imx7: fix boot commands

2019-01-06 Thread Stefan Agner
From: Stefan Agner Fix mixed up boot commands between raw NAND and eMMC variant. Also make sure that the boot_file is defined for the eMMC boot command. Fixes: a62c60610f51 ("colibri_imx7_emmc: add Colibri iMX7D 1GB (eMMC) module support") Signed-off-by: Stefan Agner --- include/configs/coli

[U-Boot] [PATCH v1 0/9] arm: Colibri iMX7 fixes and DM_MMC conversion

2019-01-06 Thread Stefan Agner
From: Stefan Agner This patchset fixes some small issues with Colibri iMX7 and converts the board to use DM_MMC. It also adds the so far missing configuration for the eMMC variant. This patchset gets rid of all but one deprecation warning. The remaining warning is due to CONFIG_USB still being u

Re: [U-Boot] [PATCH 2/2] MIPS: jz47xx: remove custom u-boot-spl.lds

2019-01-06 Thread Daniel Schwierzeck
Am 06.01.19 um 21:03 schrieb Marek Vasut: > On 1/6/19 8:42 PM, Daniel Schwierzeck wrote: >> There is no real difference between the generic variant and >> the custom variant except that the generic variant is more >> optimised. This also saves 24 Bytes in the SPL binary. >> >> Signed-off-by: Dani

Re: [U-Boot] [PATCH v2 6/9] pinctrl: rockchip: Add common rockchip pinctrl driver

2019-01-06 Thread Heiko Stuebner
Hi Philipp, Am Sonntag, 6. Januar 2019, 19:57:42 CET schrieb Philipp Tomsich: > > On 05.01.2019, at 18:27, Heiko Stuebner wrote: > > Am Mittwoch, 2. Januar 2019, 14:00:55 CET schrieb David Wu: > >> Use this driver to fit all Rockchip SOCs and to support > >> the desired pinctrl configuration via

Re: [U-Boot] [PATCH v5.1 19/26] musb-new: sunxi: Use CLK and RESET support

2019-01-06 Thread Marek Vasut
On 1/6/19 8:33 PM, Jagan Teki wrote: > Now clock and reset drivers are available for respective > SoC's so use clk and reset ops on musb driver. > > Signed-off-by: Jagan Teki > Acked-by: Maxime Ripard Reviewed-by: Marek Vasut -- Best regards, Marek Vasut __

Re: [U-Boot] [PATCH 2/2] MIPS: jz47xx: remove custom u-boot-spl.lds

2019-01-06 Thread Marek Vasut
On 1/6/19 8:42 PM, Daniel Schwierzeck wrote: > There is no real difference between the generic variant and > the custom variant except that the generic variant is more > optimised. This also saves 24 Bytes in the SPL binary. > > Signed-off-by: Daniel Schwierzeck > > --- > - tested with MMC boot

[U-Boot] [PATCH 2/2] MIPS: jz47xx: remove custom u-boot-spl.lds

2019-01-06 Thread Daniel Schwierzeck
There is no real difference between the generic variant and the custom variant except that the generic variant is more optimised. This also saves 24 Bytes in the SPL binary. Signed-off-by: Daniel Schwierzeck --- - tested with MMC boot on CI20 rev1 board arch/mips/mach-jz47xx/jz4780/u-boot-spl.

[U-Boot] [PATCH 1/2] MIPS: optimize and fix ELF sections

2019-01-06 Thread Daniel Schwierzeck
Discard ABI related sections which are not required for debugging. Rearrange debug sections similar to Linux. Remove the remaining explicitely specified sections in the unused part because those sections are not created anymore or because the linker puts them by default at the end of the ELF binary

[U-Boot] [PATCH 0/2] MIPS: cleanup/optimise linker scripts

2019-01-06 Thread Daniel Schwierzeck
Cleanup and optimise MIPS linker scripts and align them more with Linux. Switch the CI20 board from the custom SPL linker script to the generic MIPS SPL linker script. Daniel Schwierzeck (2): MIPS: optimize and fix ELF sections MIPS: jz47xx: remove custom u-boot-spl.lds arch/mips/cpu/u-boo

[U-Boot] [PATCH v5.1 19/26] musb-new: sunxi: Use CLK and RESET support

2019-01-06 Thread Jagan Teki
Now clock and reset drivers are available for respective SoC's so use clk and reset ops on musb driver. Signed-off-by: Jagan Teki Acked-by: Maxime Ripard --- Changes for v5.1: - use dev_err instead of pr_err drivers/usb/musb-new/sunxi.c | 79 ++-- 1 file changed

Re: [U-Boot] [PATCH v5 00/26] clk: Add Allwinner CLK, RESET support

2019-01-06 Thread Jagan Teki
On Sun, Jan 6, 2019 at 6:49 PM André Przywara wrote: > > On 31/12/2018 16:59, Jagan Teki wrote: > > Hi Jagan, > > many thanks for picking this up, I was about to come back to this > myself. I am looking at the pinctrl part at the moment, so good you are > working on the clocks! > > TL;DR: I am goo

Re: [U-Boot] [PATCH v2 6/9] pinctrl: rockchip: Add common rockchip pinctrl driver

2019-01-06 Thread Philipp Tomsich
Heiko, > On 05.01.2019, at 18:27, Heiko Stuebner wrote: > > Hi David, > > Am Mittwoch, 2. Januar 2019, 14:00:55 CET schrieb David Wu: >> Use this driver to fit all Rockchip SOCs and to support >> the desired pinctrl configuration via DTS. >> >> Signed-off-by: David Wu >> --- >> >> Changes in

Re: [U-Boot] [PATCH 7/7] MSCC: Add board support for Jaguar2 SOC family.

2019-01-06 Thread Daniel Schwierzeck
Am 06.01.19 um 18:23 schrieb Horatiu Vultur: > Add board support for Jaguar2 SOC family. The detection of the > board type in this family is based on the phy ids. > > Signed-off-by: Horatiu Vultur > --- > arch/mips/mach-mscc/Makefile| 5 +- > board/mscc/common/spi.c | 31

Re: [U-Boot] [PATCH 6/7] MSCC: add configuration for Jaguar2 SOC family.

2019-01-06 Thread Daniel Schwierzeck
Am 06.01.19 um 18:23 schrieb Horatiu Vultur: > Add configuration that is used by Jaguar2 SOC family. > > Signed-off-by: Horatiu Vultur > --- > arch/mips/dts/Makefile | 1 + > configs/mscc_jr2_defconfig | 59 > ++ > 2 files changed, 60 insertion

Re: [U-Boot] [PATCH 2/7] MSCC: Add support for Jaguar2 SOC family

2019-01-06 Thread Daniel Schwierzeck
Am 06.01.19 um 18:23 schrieb Horatiu Vultur: > As the Ocelot and Luton SoCs, this family of SoCs are found > in Microsemi Switches solution. > > Signed-off-by: Horatiu Vultur > --- > arch/mips/mach-mscc/Kconfig| 9 + > arch/mips/mach-mscc/cpu.c

Re: [U-Boot] [PATCH 1/7] pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family

2019-01-06 Thread Daniel Schwierzeck
Am 06.01.19 um 18:23 schrieb Horatiu Vultur: > The Jaguar2 SOC family has 63 gpio pins therefore I extented > mscc-common to support new number of pins. > > Signed-off-by: Horatiu Vultur > --- > MAINTAINERS| 1 + > drivers/pinctrl/mscc/Kconfig | 9 ++ > driver

[U-Boot] [PATCH 6/7] MSCC: add configuration for Jaguar2 SOC family.

2019-01-06 Thread Horatiu Vultur
Add configuration that is used by Jaguar2 SOC family. Signed-off-by: Horatiu Vultur --- arch/mips/dts/Makefile | 1 + configs/mscc_jr2_defconfig | 59 ++ 2 files changed, 60 insertions(+) create mode 100644 configs/mscc_jr2_defconfig diff --git

[U-Boot] [PATCH 7/7] MSCC: Add board support for Jaguar2 SOC family.

2019-01-06 Thread Horatiu Vultur
Add board support for Jaguar2 SOC family. The detection of the board type in this family is based on the phy ids. Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Makefile| 5 +- board/mscc/common/spi.c | 31 ++ board/mscc/jr2/Kconfig | 15 +

[U-Boot] [PATCH 4/7] MSCC: Add device tree for Jaguar2-48 board

2019-01-06 Thread Horatiu Vultur
Add device tree based on evaluation board pcb111. Signed-off-by: Horatiu Vultur --- arch/mips/dts/jr2_pcb111.dts | 74 1 file changed, 74 insertions(+) create mode 100644 arch/mips/dts/jr2_pcb111.dts diff --git a/arch/mips/dts/jr2_pcb111.dts b/arch/

[U-Boot] [PATCH 5/7] MSCC: add device tree for Serval2 board

2019-01-06 Thread Horatiu Vultur
Add device tree based on evaluation board pcb112. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/serval2_pcb112.dts | 60 2 files changed, 61 insertions(+) create mode 100644 arch/mips/dts/serval2_pcb112.dts dif

[U-Boot] [PATCH 3/7] MSCC: Add device tree for Jaguar2 board

2019-01-06 Thread Horatiu Vultur
Add device tree based on evaluation board pcb110. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/jr2_pcb110.dts | 74 + arch/mips/dts/mscc,jr2.dtsi | 187 +++ 3 files changed, 262 insertions(+) crea

[U-Boot] [PATCH 1/7] pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family

2019-01-06 Thread Horatiu Vultur
The Jaguar2 SOC family has 63 gpio pins therefore I extented mscc-common to support new number of pins. Signed-off-by: Horatiu Vultur --- MAINTAINERS| 1 + drivers/pinctrl/mscc/Kconfig | 9 ++ drivers/pinctrl/mscc/Makefile | 1 + drivers/pinctrl/mscc/mscc

[U-Boot] [PATCH 2/7] MSCC: Add support for Jaguar2 SOC family

2019-01-06 Thread Horatiu Vultur
As the Ocelot and Luton SoCs, this family of SoCs are found in Microsemi Switches solution. Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Kconfig| 9 + arch/mips/mach-mscc/cpu.c | 7 + arch/mips/mach-mscc/dram.c

[U-Boot] [PATCH 0/7] MSCC: Add Jaguar2 SOC family

2019-01-06 Thread Horatiu Vultur
This patch series add support for MSCC Jaguar2 SOC family. In this family there are following boards: Jaguar2(pcb110), Jaguar2-48(pcb111) and Serval2(pcb112). This is based off the u-boot-mips/next repository Horatiu Vultur (7): pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family MSCC:

[U-Boot] [PATCH 1/1] efi_driver: simplify error message

2019-01-06 Thread Heinrich Schuchardt
Stating the function module is sufficient. We don't need file and line number. Anyway the format code for the line number was incorrect (should be %d). Signed-off-by: Heinrich Schuchardt --- lib/efi_driver/efi_uclass.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/efi

Re: [U-Boot] [RESEND PATCH v2 2/6] efi_loader: Initial HII database protocols

2019-01-06 Thread Heinrich Schuchardt
On 12/14/18 11:10 AM, AKASHI Takahiro wrote: > From: Leif Lindholm > > This patch provides enough implementation of the following protocols to > run EDKII's Shell.efi and UEFI SCT: > > * EfiHiiDatabaseProtocol > * EfiHiiStringProtocol > > + > +static efi_status_t EFIAPI > +export_package

Re: [U-Boot] [PATCH 03/11] reset: MedaiTek: add reset controller driver for MediaTek SoCs

2019-01-06 Thread Frank Wunderlich
Hi, here you have a small typo in commit-Message (Subject) "MedaiTek:" as of Tom tells me there is a problem with SMP-Initialisation, you may need a v2 and can fix this typo regards Frank ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx

[U-Boot] [PATCH 1/1] efi_selftest: tpl unit test, check return values

2019-01-06 Thread Heinrich Schuchardt
For some API calls checks for the return values are missing. Signed-off-by: Heinrich Schuchardt --- lib/efi_selftest/efi_selftest_tpl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/efi_selftest/efi_selftest_tpl.c b/lib/efi_selftest/efi_selftest_tpl.c index 97d256a

[U-Boot] [PATCH 1/1] efi_selftest: events unit test, check return values

2019-01-06 Thread Heinrich Schuchardt
For some API calls checks for the return values are missing. Signed-off-by: Heinrich Schuchardt --- lib/efi_selftest/efi_selftest_events.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/efi_selftest/efi_selftest_events.c b/lib/efi_selftest/efi_selftest_events.c in

[U-Boot] [PULL] Please pull u-boot-rockchip

2019-01-06 Thread Philipp Tomsich
The following changes since commit 53240275666acf32cb9811e44eaf2fd571a6cb75: Merge tag 'for-v2019.01' of git://git.denx.de/u-boot-video (2019-01-03 15:34:44 -0500) are available in the git repository at: git://git.denx.de/u-boot-rockchip.git tags/for-master-20190106 for yo

Re: [U-Boot] [PATCH v5 00/26] clk: Add Allwinner CLK, RESET support

2019-01-06 Thread André Przywara
On 31/12/2018 16:59, Jagan Teki wrote: Hi Jagan, many thanks for picking this up, I was about to come back to this myself. I am looking at the pinctrl part at the moment, so good you are working on the clocks! TL;DR: I am good with the first patches, but would like to drop the last five 5 patche

Re: [U-Boot] [PATCH 2/2] mmc: bring back partition init for non-DM MMC drivers

2019-01-06 Thread Petr Štetiar
Soeren Moch [2019-01-05 18:31:09]: > This also fixes MMC support on a tbs2910 board. And also for Apalis board with i.MX6[1]. Thanks Andre! Tested-by: Petr Štetiar 1. https://lists.denx.de/pipermail/u-boot/2018-December/352210.html -- ynezz ___ U-

[U-Boot] [PATCH 1/1] cmd: zip: use correct format code

2019-01-06 Thread Heinrich Schuchardt
dst_len is defined as unsigned long. So use %lu for printf(). Signed-off-by: Heinrich Schuchardt --- cmd/zip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/zip.c b/cmd/zip.c index d105d84e38..6b429ff285 100644 --- a/cmd/zip.c +++ b/cmd/zip.c @@ -28,7 +28,7 @@ static in

[U-Boot] [PATCH 1/1] cmd: unzip: use correct format code

2019-01-06 Thread Heinrich Schuchardt
src_len is defined as unsigned long. So use %lu for printf(). Signed-off-by: Heinrich Schuchardt --- cmd/unzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/unzip.c b/cmd/unzip.c index f7aabf72d1..6c0f97cb4b 100644 --- a/cmd/unzip.c +++ b/cmd/unzip.c @@ -27,7 +27,7 @@

[U-Boot] [PATCH 1/1] cmd: ubi: remove unreachable code

2019-01-06 Thread Heinrich Schuchardt
It does not make sense to check if argc < 2 a second time, especially after accessing argv[1]. Signed-off-by: Heinrich Schuchardt --- cmd/ubi.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cmd/ubi.c b/cmd/ubi.c index a12ac703eb..c511a2fb76 100644 --- a/cmd/ubi.c +++ b

[U-Boot] [PATCH 1/1] cmd: tpm-v2: use correct format code

2019-01-06 Thread Heinrich Schuchardt
updates is defined as unsigned int. So use %u for printf(). Signed-off-by: Heinrich Schuchardt --- cmd/tpm-v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tpm-v2.c b/cmd/tpm-v2.c index bb51834c47..459a955d29 100644 --- a/cmd/tpm-v2.c +++ b/cmd/tpm-v2.c @@ -151,7 +151

[U-Boot] [PATCH 1/1] cmd: sf: use correct printf code

2019-01-06 Thread Heinrich Schuchardt
test->time_ms[] is defined as unsigned. So use %u for printf(). Signed-off-by: Heinrich Schuchardt --- cmd/sf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/sf.c b/cmd/sf.c index 84bb0575f2..738ef0e46d 100644 --- a/cmd/sf.c +++ b/cmd/sf.c @@ -413,7 +413,7 @@ static voi

[U-Boot] [PATCH 1/1] cmd: nvedit: use correct format code

2019-01-06 Thread Heinrich Schuchardt
len is defined as unsigned. So use %u for printf(). Signed-off-by: Heinrich Schuchardt --- cmd/nvedit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/nvedit.c b/cmd/nvedit.c index de16c72c23..ebaa16b754 100644 --- a/cmd/nvedit.c +++ b/cmd/nvedit.c @@ -708,8 +708,8 @

[U-Boot] [PATCH 1/1] cmd: gpio: use correct printf code

2019-01-06 Thread Heinrich Schuchardt
gpio is defined as unsigned int. So we should use %u when calling printf(). Signed-off-by: Heinrich Schuchardt --- cmd/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gpio.c b/cmd/gpio.c index ecdc453918..c60946bc06 100644 --- a/cmd/gpio.c +++ b/cmd/gpio.c @@ -213,

Re: [U-Boot] [PATCH v5 00/26] clk: Add Allwinner CLK, RESET support

2019-01-06 Thread Jagan Teki
On Mon, Dec 31, 2018 at 10:30 PM Jagan Teki wrote: > > Although the previous version[1] is properly handled the clock gates > with enable and disable management, but this series is trying to add > some more complex Allwinner CLK architecture by handling parent clock > and other CLK attributes. > >