Re: [U-Boot] [linux-sunxi] [PATCH 3/7] sun50i: a64: Move ethernet nodes to SoC DTS

2018-01-24 Thread Maxime Ripard
On Thu, Jan 25, 2018 at 12:21:07AM +, André Przywara wrote: > On 23/01/18 22:46, Kyle Evans wrote: > > On Tue, Jan 23, 2018 at 4:18 PM, Samuel Holland wrote: > >> These nodes were previously in an unused file specific to the Pine64. > >> Move them to the base SoC device tree for use by other b

[U-Boot] [PATCH v2 3/3] lib: fdtdec: drop the old compatible about max77686

2018-01-24 Thread Jaehoon Chung
Drop the old compatible about max77686. Signed-off-by: Jaehoon Chung --- include/fdtdec.h | 1 - lib/fdtdec.c | 1 - 2 files changed, 2 deletions(-) diff --git a/include/fdtdec.h b/include/fdtdec.h index 4afb9ac501..59f589bc01 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -136,7 +

[U-Boot] [PATCH v2 1/3] configs: trats2: enable the max77686 regulator config

2018-01-24 Thread Jaehoon Chung
Enable the CONFIG_DM_REGULATOR_MAX77686 for using regulator driver. Signed-off-by: Jaehoon Chung --- configs/trats2_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/trats2_defconfig b/configs/trats2_defconfig index aaa25a9bc7..dab62530e7 100644 --- a/configs/trats2_defconf

[U-Boot] [PATCH v2 2/3] power: pmic_max77686: remove the old pmic_max77686 file

2018-01-24 Thread Jaehoon Chung
max77686 pmic is supporting with max77686.c under pmic/ and regulator/ direnctroy. Remove pmic_max77686.c what didn't use anywhere. Instead, enable CONFIG_DM_REGULATOR_MAX77686 and CONFIG_DM_PMIC_MAX77686. Signed-off-by: Jaehoon Chung --- drivers/power/pmic/Makefile| 1 - drivers/power

[U-Boot] [PATCH 2/3] power: pmic_max77686: remove the old pmic_max77686 file

2018-01-24 Thread Jaehoon Chung
max77686 pmic is supporting with max77686.c under pmic/ and regulator/ direnctroy. Remove pmic_max77686.c what didn't use anywhere. Instead, enable CONFIG_DM_REGULATOR_MAX77686 and CONFIG_DM_PMIC_MAX77686. Signed-off-by: Jaehoon Chung --- drivers/power/pmic/Makefile| 1 - drivers/power

[U-Boot] [PATCH 3/3] lib: fdtdec: drop the old compatible about max77686

2018-01-24 Thread Jaehoon Chung
Drop the old compatible about max77686. Signed-off-by: Jaehoon Chung --- lib/fdtdec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/fdtdec.c b/lib/fdtdec.c index df9d9ae433..58830aa370 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -48,7 +48,6 @@ static const char * const compat_names[

[U-Boot] [PATCH 1/3] configs: trats2: enable the max77686 regulator config

2018-01-24 Thread Jaehoon Chung
Enable the CONFIG_DM_REGULATOR_MAX77686 for using regulator driver. Signed-off-by: Jaehoon Chung --- configs/trats2_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/trats2_defconfig b/configs/trats2_defconfig index aaa25a9bc7..dab62530e7 100644 --- a/configs/trats2_defconf

[U-Boot] [PATCH v2] arm: socfpga: allow configs without network support

2018-01-24 Thread Simon Goldschmidt
Currently, socfpga_common.h does not allow configurations without network support. This is because CONFIG_CMD_PXE is defined in this file and distro mode has DHCP hard-coded as available. Fix this by moving CONFIG_CMD_PXE and CONFIG_MENU to the defconfigs and by making DHCP optional in BOOT_TARGET

[U-Boot] [RESEND PATCH] ddr: altera: silence PHY calibration unless in debug mode

2018-01-24 Thread Goldschmidt Simon
This driver has been using printf() including filename since it was added. Convert to using debug() instead. Signed-off-by: Simon Goldschmidt --- drivers/ddr/altera/sequencer.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/ddr/altera/sequencer.c b/drivers/dd

Re: [U-Boot] [PATCH] imx: mx25: Remove SION bit in all pin-mux

2018-01-24 Thread Michael Nazzareno Trimarchi
Hi On 25 Jan. 2018 12:07 am, "Fabio Estevam" wrote: Hi Michael, On Wed, Jan 24, 2018 at 3:46 PM, Michael Nazzareno Trimarchi wrote: > This is exactly my initial propose. Can we give a try and manage on board level? The kernel should not rely on the IOMUX setting done by the bootloader. Do y

Re: [U-Boot] [PATCH] ARM: uniphier: enable HS200 support for uniphier_v8_defconfig

2018-01-24 Thread Jaehoon Chung
On 01/25/2018 01:43 PM, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada Reviewed-by: Jaehoon Chung > --- > > configs/uniphier_v8_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs/uniphier_v8_defconfig b/configs/uniphier_v8_defconfig > index 2edc3a9..d3b4db6 1

[U-Boot] [PATCH] ARM: uniphier: enable HS200 support for uniphier_v8_defconfig

2018-01-24 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- configs/uniphier_v8_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/uniphier_v8_defconfig b/configs/uniphier_v8_defconfig index 2edc3a9..d3b4db6 100644 --- a/configs/uniphier_v8_defconfig +++ b/configs/uniphier_v8_defconfig @@ -31,6 +31,7

Re: [U-Boot] [PATCH] fdt: Implement weak arch_fixup_fdt()

2018-01-24 Thread Tom Rini
On Wed, Jan 24, 2018 at 08:47:09PM +0300, Alexey Brodkin wrote: > Only ARM and in some configs MIPS really implement arch_fixup_fdt(). > Others just use the same boilerplate which is not good by itself, > but what's worse if we try to build with disabled CONFIG_CMD_BOOTM > and enabled CONFIG_OF_LI

Re: [U-Boot] [PATCH v4] arm: add support for PDU001

2018-01-24 Thread Tom Rini
On Tue, Jan 23, 2018 at 06:27:22PM +0100, Felix Brack wrote: > This patch adds support for the PDU001 board. > > Signed-off-by: Felix Brack Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists

Re: [U-Boot] [GIT PULL] Please pull u-boot-mmc master

2018-01-24 Thread Tom Rini
On Wed, Jan 24, 2018 at 04:31:58PM +0900, Jaehoon Chung wrote: > Dear Tom, > > Could you pull these patches to u-boot/master? > If there is a problem, let me know, plz. > > The following changes since commit 557767ed29968af0294e3aae48433e5d5a298e0b: > > Merge git://git.denx.de/u-boot-marvell

Re: [U-Boot] [GIT PULL] Please pull u-boot-mmc master

2018-01-24 Thread Tom Rini
On Thu, Jan 25, 2018 at 09:57:49AM +0900, Jaehoon Chung wrote: > Dear Tom, > > On 01/24/2018 04:31 PM, Jaehoon Chung wrote: > > Dear Tom, > > > > Could you pull these patches to u-boot/master? > > If there is a problem, let me know, plz. > > I don't know what this PR isn't seen at patchwork. > C

Re: [U-Boot] [PATCH 1/7] mmc: uniphier-sd: Use mmc_of_parse()

2018-01-24 Thread Jaehoon Chung
Hi, On 01/17/2018 02:16 AM, Marek Vasut wrote: > Drop the ad-hoc DT caps parsing in favor of common framework function. > > Signed-off-by: Marek Vasut > Cc: Jaehoon Chung > Cc: Masahiro Yamada If Masahiro is ok, i will pick this patch and others to u-boot-mmc. Best Regards, Jaehoon Chung >

Re: [U-Boot] [PATCH] mmc: uniphier-sd: Add compatible strings for RCar Gen2

2018-01-24 Thread Jaehoon Chung
On 01/25/2018 07:19 AM, Marek Vasut wrote: > Add DT compatible strings for RCar Gen2 SoCs, so that this driver > can bind with them. Unlike Gen3, which uses 64bit FIFO, the Gen2 > uses 16bit FIFO. > > Signed-off-by: Marek Vasut > Cc: Jaehoon Chung > Cc: Masahiro Yamada Reviewed-by: Jaehoon Chu

Re: [U-Boot] [GIT PULL] Please pull u-boot-mmc master

2018-01-24 Thread Jaehoon Chung
Dear Tom, On 01/24/2018 04:31 PM, Jaehoon Chung wrote: > Dear Tom, > > Could you pull these patches to u-boot/master? > If there is a problem, let me know, plz. I don't know what this PR isn't seen at patchwork. Current u-boot/master branch has the some issue about MMC. So need to apply the fixi

Re: [U-Boot] [linux-sunxi] [PATCH 3/7] sun50i: a64: Move ethernet nodes to SoC DTS

2018-01-24 Thread André Przywara
On 23/01/18 22:46, Kyle Evans wrote: > On Tue, Jan 23, 2018 at 4:18 PM, Samuel Holland wrote: >> These nodes were previously in an unused file specific to the Pine64. >> Move them to the base SoC device tree for use by other boards. Require >> individual boards to enable the emac and provide a pin

Re: [U-Boot] [PATCH] imx: mx25: Remove SION bit in all pin-mux

2018-01-24 Thread Fabio Estevam
Hi Michael, On Wed, Jan 24, 2018 at 3:46 PM, Michael Nazzareno Trimarchi wrote: > This is exactly my initial propose. Can we give a try and manage on board > level? The kernel should not rely on the IOMUX setting done by the bootloader. Do you use 0x8000 in your dts IOMUX configuration by

Re: [U-Boot] [PATCH 2/8] spl: nand: sunxi: Fix second case of modulo by zero error

2018-01-24 Thread Miquel Raynal
Hi Maxime, On Wed, 24 Jan 2018 08:47:31 +0100 Maxime Ripard wrote: > On Wed, Jan 24, 2018 at 01:44:48AM +0100, Miquel Raynal wrote: > > In the nand_read_buffer() step, the seed is calculated by doing a modulo > > by conf->nseeds which is always zero when not using the randomizer (most > > of SLC

Re: [U-Boot] [PATCH 3/8] sunxi: Allow SPL to be compiled for sun8i platforms

2018-01-24 Thread Miquel Raynal
Hi Maxime, On Wed, 24 Jan 2018 08:49:10 +0100 Maxime Ripard wrote: > Hi, > > On Wed, Jan 24, 2018 at 01:44:49AM +0100, Miquel Raynal wrote: > > Add some clocks/PLL definitions and the dependency on MACH_SUN8I in > > Kconfig so the SPL could be compiled to boards using A33 SoCs. > > > > Signed-

[U-Boot] [PATCH 4/5] Convert CONFIG_SPL_NAND_BASE et al to Kconfig

2018-01-24 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SPL_NAND_BASE CONFIG_SPL_NAND_LOAD CONFIG_SPL_NAND_SOFTECC CONFIG_SPL_NAND_RAW_ONLY Signed-off-by: Adam Ford --- README | 6 -- configs/am335x_baltos_defconfig | 1 + configs/am335

[U-Boot] [PATCH 3/5] Convert CONFIG_SPL_NAND_DRIVERS et al to Kconfig

2018-01-24 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SPL_NAND_DRIVERS CONFIG_SPL_NAND_ECC Signed-off-by: Adam Ford --- README | 5 - configs/am335x_baltos_defconfig | 2 ++ configs/am335x_evm_defconfig | 2 ++ configs/am33

[U-Boot] [PATCH] ARM: rmobile: Convert R8A7791 Porter board to DM and DT

2018-01-24 Thread Marek Vasut
Convert the R8A7791 Porter board to DM and DT. This implies mostly enabling the necessary configuration options and plucking out the ad-hoc configuration from the board file. Moreover, the pre-reloc malloc size was increased to allow the clock driver to start up early without running out of malloc

[U-Boot] [PATCH] ARM: rmobile: Enable OF_CONTROL on RCar Gen2

2018-01-24 Thread Marek Vasut
Since the DTs are now in place, enable OF control so that they get bundled into the U-Boot. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/alt_defconfig | 2 ++ configs/blanche_defconfig | 2 ++ configs/gose_defconfig| 2 ++ configs/koelsch_defconfig | 2 ++ configs/lager_

[U-Boot] [PATCH 2/7] ARM: dts: rmobile: Import R8A7791 DTS from Linux 4.15-rc8

2018-01-24 Thread Marek Vasut
Import the Renesas R8A7791 DTS and headers from upstream Linux kernel v4.15-rc8, commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a7791-koelsch.dts | 840 + arch/arm/dts/r8a7791-porter.dts

[U-Boot] [PATCH 4/7] ARM: dts: rmobile: Import R8A7793 DTS from Linux 4.15-rc8

2018-01-24 Thread Marek Vasut
Import the Renesas R8A7793 DTS and headers from upstream Linux kernel v4.15-rc8, commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a7793-gose.dts| 727 ++ arch/arm/dts/r8a7793.dtsi

[U-Boot] [PATCH 1/7] ARM: dts: rmobile: Import R8A7790 DTS from Linux 4.15-rc8

2018-01-24 Thread Marek Vasut
Import the Renesas R8A7790 DTS and headers from upstream Linux kernel v4.15-rc8, commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a7790-lager.dts | 856 + arch/arm/dts/r8a7790.dtsi

[U-Boot] [PATCH 5/7] ARM: dts: rmobile: Import R8A7794 DTS from Linux 4.15-rc8

2018-01-24 Thread Marek Vasut
Import the Renesas R8A7794 DTS and headers from upstream Linux kernel v4.15-rc8, commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a7794-alt.dts | 414 arch/arm/dts/r8a7794-silk.dts| 4

[U-Boot] [PATCH 6/7] ARM: dts: rmobile: Add rudimentary R8A7790 Stout DT

2018-01-24 Thread Marek Vasut
The Stout board is not supported in Linux, so add a rudimentary DTS for H2 Stout as a placeholder for when a proper DTS is available. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- NOTE: The Stout is already being shipped over, so proper DTS for both U-Boot and Linux will happen once

[U-Boot] [PATCH 7/7] ARM: dts: rmobile: Add SoC and board U-Boot DT extras

2018-01-24 Thread Marek Vasut
Add U-Boot DT extras for each SoC and board. This marks the required nodes with u-boot,dm-pre-reloc to start clock and PRR early on while avoiding modification of the DTs imported from Linux. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a7790-lager-u-boot.dts | 10 +

Re: [U-Boot] [PATCH 1/8] mtd: nand: sunxi: Fix strength minimum value

2018-01-24 Thread Miquel Raynal
Hello Maxime, On Wed, 24 Jan 2018 08:46:18 +0100 Maxime Ripard wrote: > Hi, > > On Wed, Jan 24, 2018 at 01:44:47AM +0100, Miquel Raynal wrote: > > When no requirement in Device Tree is given about the ECC strength and > > step size, the engine should fallback on the minimal working case for > >

[U-Boot] [PATCH] net: ravb: staticize ravb_start

2018-01-24 Thread Marek Vasut
Cosmetic fix, make ravb_start() static. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu Cc: Joe Hershberger --- drivers/net/ravb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ravb.c b/drivers/net/ravb.c index dc743e113d..bbbd83fd1d 100644 --- a/drivers/net/

[U-Boot] [PATCH 3/7] ARM: dts: rmobile: Import R8A7792 DTS from Linux 4.15-rc8

2018-01-24 Thread Marek Vasut
Import the Renesas R8A7792 DTS and headers from upstream Linux kernel v4.15-rc8, commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a7792-blanche.dts | 327 ++ arch/arm/dts/r8a7792.dtsi| 8

[U-Boot] [PATCH] gpio: rmobile: Add RCar Gen2 compatible string

2018-01-24 Thread Marek Vasut
Add DT compatible string for RCar Gen2. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/gpio/gpio-rcar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c index ddedbe6c0e..924bc035cd 100644 --- a/drivers/gpio/gpio-rcar.c +++ b/

[U-Boot] [PATCH] mmc: uniphier-sd: Add compatible strings for RCar Gen2

2018-01-24 Thread Marek Vasut
Add DT compatible strings for RCar Gen2 SoCs, so that this driver can bind with them. Unlike Gen3, which uses 64bit FIFO, the Gen2 uses 16bit FIFO. Signed-off-by: Marek Vasut Cc: Jaehoon Chung Cc: Masahiro Yamada --- drivers/mmc/uniphier-sd.c | 5 + 1 file changed, 5 insertions(+) diff --

[U-Boot] [PATCH 3/7] net: sh_eth: Split sh_eth_recv

2018-01-24 Thread Marek Vasut
Split sh_eth_recv into two functions, one which checks whether a packet was received and one which handles the received packet. This is done in preparation for DM support, which handles these two parts separately. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu Cc: Joe Hershberger --- drivers

[U-Boot] [PATCH 6/7] net: sh_eth: Clump legacy functions together

2018-01-24 Thread Marek Vasut
Move the legacy functions around, so that they can be wrapped in a massive ifdef CONFIG_DM_ETH once DM support is added. No functional change. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu Cc: Joe Hershberger --- drivers/net/sh_eth.c | 102 +--

[U-Boot] [PATCH 5/7] net: sh_eth: Split sh_eth_init

2018-01-24 Thread Marek Vasut
Split sh_eth_init() function into smaller chunks, which can be called from both DM and non-DM code while handling the specifics of both configurations. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu Cc: Joe Hershberger --- drivers/net/sh_eth.c | 96 ---

[U-Boot] [PATCH 2/7] net: sh_eth: Pass sh_eth_dev around

2018-01-24 Thread Marek Vasut
Pass sh_eth_dev structure around instead of eth_device, since the later is specific to the legacy networking support. This change is done in preparation for the DM addition. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu Cc: Joe Hershberger --- drivers/net/sh_eth.c | 22 +

[U-Boot] [PATCH 4/7] net: sh_eth: Separate out MAC address programming

2018-01-24 Thread Marek Vasut
Pull out the code for writing MAC address into the NIC into a separate function, so it can be reused by both DM and non-DM code. This is done in preparation for DM support, which handles MAC address programming separately. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu Cc: Joe Hershberger ---

[U-Boot] [PATCH 7/7] net: sh_eth: Add DM and DT support

2018-01-24 Thread Marek Vasut
Add DM capable code into the SH ethernet driver and support probing both from DT and pdata. The legacy non-DM, non-DT support is retained as there are still systems in the tree which are not DM or DT capable. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu Cc: Joe Hershberger --- drivers/net/

[U-Boot] [PATCH 1/7] net: sh_eth: Unify CONFIG_R8A779[01234] as CONFIG_RCAR_GEN2

2018-01-24 Thread Marek Vasut
Use the common RCAR_GEN2 config option instead of enumerating each SoC and having a lengthy ifdef clause. No functional change. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu Cc: Joe Hershberger --- drivers/net/sh_eth.c | 7 ++- drivers/net/sh_eth.h | 6 ++ 2 files changed, 4 inserti

Re: [U-Boot] [PATCH 1/8] mtd: nand: sunxi: Fix strength minimum value

2018-01-24 Thread Miquel Raynal
Hello Boris, On Wed, 24 Jan 2018 08:57:23 +0100 Boris Brezillon wrote: > On Wed, 24 Jan 2018 01:44:47 +0100 > Miquel Raynal wrote: > > > When no requirement in Device Tree is given about the ECC strength and > > step size, the engine should fallback on the minimal working case for > > this eng

[U-Boot] [PATCH 13/13] clk: renesas: Import R8A7794 E2 clock tables

2018-01-24 Thread Marek Vasut
Import clock tables for R8A7794 E2 SoC from upstream Linux kernel v4.15-rc8, commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/Kconfig| 7 + drivers/clk/renesas/Makefile | 1 + drivers/clk/renesas

[U-Boot] [PATCH] pci: rmobile: Add RCar Gen2 PCIe controller driver

2018-01-24 Thread Marek Vasut
Add driver for the Renesas RCar PCIe controller present on Gen2 SoCs. The PCIe on Gen2 is used both to connect external PCIe peripherals as well as access the on-SoC USB EHCI controller. Signed-off-by: Marek Vasut --- drivers/pci/Kconfig | 9 ++ drivers/pci/Makefile| 1 + dri

[U-Boot] [PATCH 10/13] clk: renesas: Import R8A7790 H2 clock tables

2018-01-24 Thread Marek Vasut
Import clock tables for R8A7790 H2 SoC from upstream Linux kernel v4.15-rc8, commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/Kconfig| 7 + drivers/clk/renesas/Makefile | 1 + drivers/clk/renesas

[U-Boot] [PATCH 12/13] clk: renesas: Import R8A7792 V2H clock tables

2018-01-24 Thread Marek Vasut
Import clock tables for R8A7792 V2H SoC from upstream Linux kernel v4.15-rc8, commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/Kconfig| 7 + drivers/clk/renesas/Makefile | 1 + drivers/clk/renesa

[U-Boot] [PATCH 3/4] pinctrl: rmobile: Import R8A7792 V2H PFC tables

2018-01-24 Thread Marek Vasut
Import PFC tables for R8A7792 V2H SoC from upstream Linux kernel v4.15-rc8, commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/pinctrl/renesas/Kconfig | 11 + drivers/pinctrl/renesas/Makefile |1 + drivers/pinctrl/rene

[U-Boot] [PATCH 11/13] clk: renesas: Import R8A7791/R8A7793 M2 clock tables

2018-01-24 Thread Marek Vasut
Import clock tables for R8A7791 M2W and R8A7793 M2N SoC from upstream Linux kernel v4.15-rc8, commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 . Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/Kconfig| 14 ++ drivers/clk/renesas/Makefile | 2 + d

[U-Boot] [PATCH 07/13] clk: renesas: Split out code shared between Gen2 and Gen3

2018-01-24 Thread Marek Vasut
Pull code which is common for RCar Gen2 and RCar Gen3 into separate source file. No functional change. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/Makefile | 1 + drivers/clk/renesas/clk-rcar-gen3.c| 184 +++-- drivers/clk

[U-Boot] [PATCH 06/13] clk: renesas: Make clock tables Kconfig configurable

2018-01-24 Thread Marek Vasut
Add Kconfig entries for each SoC clock table, so they can be compiled in or out at build time. This can reduce the size of the binary if desired. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/Kconfig | 28 drivers/clk/renesas/Makefile | 1

[U-Boot] [PATCH 09/13] clk: renesas: Add Gen2 clock core

2018-01-24 Thread Marek Vasut
Add common clock code for Renesas RCar Gen2 platforms. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/Kconfig| 7 + drivers/clk/renesas/Makefile | 1 + drivers/clk/renesas/clk-rcar-gen2.c| 279 + drivers/clk

[U-Boot] [PATCH 08/13] clk: renesas: Add DIV6P1 clock type

2018-01-24 Thread Marek Vasut
Add macros for the DIV6P1 clock type, which is used on Gen2 and optionally also on Gen3. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/renesas-cpg-mssr.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/renesas/renesas-cpg-mssr.h b/drivers/clk/re

[U-Boot] [PATCH 03/13] clk: renesas: Make PLL configurations per-SoC

2018-01-24 Thread Marek Vasut
Not all SoCs have the same PLL configuration options, so make those PLL configuraion tables per-SoC. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/clk-rcar-gen3.c | 53 ++- drivers/clk/renesas/r8a7795-cpg-mssr.c | 56 ++

[U-Boot] [PATCH 04/13] clk: renesas: Pull Gen3 specific bits into separate header

2018-01-24 Thread Marek Vasut
Extract the macros specific to Gen3 clock into a separate header. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/r8a7795-cpg-mssr.c | 1 + drivers/clk/renesas/r8a7796-cpg-mssr.c | 1 + drivers/clk/renesas/r8a77970-cpg-mssr.c | 1 + drivers/clk/renesas/r8a77995-cpg

[U-Boot] [PATCH 01/13] clk: renesas: Split RCar Gen3 driver

2018-01-24 Thread Marek Vasut
Split the massive driver into smaller per-SoC drivers and pull the common code into a separate file. This would allow configuring out unnecessary clock drivers once the Kconfig changes are in and also allow adding more clock tables easily. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- dr

[U-Boot] [PATCH 05/13] clk: renesas: Split SMSTPCR and RMSTPCR tables

2018-01-24 Thread Marek Vasut
The Gen2 requires setting RMSTPCR before booting, while on Gen3 this is thus far always zero. Split the tables so the RMSTPCR can be set too. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/clk-rcar-gen3.c | 7 --- drivers/clk/renesas/r8a7795-cpg-mssr.c | 18 +

[U-Boot] [PATCH 02/13] clk: renesas: Make clk_ids per-driver

2018-01-24 Thread Marek Vasut
Not all drivers use the same IDs, so make those IDs per-driver. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/clk-rcar-gen3.c | 8 --- drivers/clk/renesas/r8a7795-cpg-mssr.c | 33 +++ drivers/clk/renesas/r8a7796-cpg-mssr.c | 33 +

[U-Boot] [PATCH 2/2] serial: sh: Unify CONFIG_R8A779[01234] as CONFIG_RCAR_GEN2

2018-01-24 Thread Marek Vasut
Use the common RCAR_GEN2 config option instead of enumerating each SoC and having a lengthy ifdef clause. No functional change. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/serial/serial_sh.h | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drive

[U-Boot] [PATCH 1/2] serial: sh: Replace fdtdec_get_addr() with devfdt_get_addr()

2018-01-24 Thread Marek Vasut
Replace fdtdec_get_addr() with devfdt_get_addr() as the later one is the current recommended practice. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/serial/serial_sh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/serial/serial_sh.c b/drivers/ser

[U-Boot] [PATCH] ARM: rmobile: Convert CONFIG_R8A77xx to Kconfig

2018-01-24 Thread Marek Vasut
Convert these configuration options to Kconfig, update board defconfigs and drop them from whitelist. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/Kconfig.32 | 26 ++ configs/alt_defconfig | 1 + configs/armadillo-800eva_defc

[U-Boot] [PATCH 1/2] ARM: dts: rmobile: Update DTS to match Linux 4.14

2018-01-24 Thread Marek Vasut
Import the RCar Gen3 DTS and headers from upstream Linux kernel v4.14, commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 . This includes both M3 and H3 ULCB and Salvator-X boards. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a7795-h3ulcb.dts | 20 +- arch/arm/dts/r8a77

[U-Boot] [PATCH 2/2] ARM: dts: rmobile: Factor out U-Boot extras

2018-01-24 Thread Marek Vasut
Pull out u-boot extras into dtsi files to make synchronization of DTS from Linux kernel as easy as a simple copy. All the U-Boot extras are now in *-u-boot.dts* files instead. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a7795-h3ulcb-u-boot.dts | 10 ++ arch/a

[U-Boot] [PATCH] Convert CONFIG_SYS_OMAP24_I2C_SLAVE et al to Kconfig

2018-01-24 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SYS_OMAP24_I2C_SLAVE CONFIG_SYS_OMAP24_I2C_SPEED Signed-off-by: Adam Ford --- configs/am335x_baltos_defconfig| 1 + configs/cm_t3517_defconfig | 1 + configs/eco5pk_defconfig | 1 + configs/kc1_defconfig

[U-Boot] [PATCH 1/5] Convert CONFIG_NAND_ATMEL et al to Kconfig

2018-01-24 Thread Adam Ford
This converts the following to Kconfig: CONFIG_NAND_ATMEL CONFIG_NAND_DAVINCI Signed-off-by: Adam Ford --- configs/at91sam9260ek_dataflash_cs0_defconfig | 3 ++- configs/at91sam9260ek_dataflash_cs1_defconfig | 3 ++- configs/at91sam9260ek_nandflash_defconfig | 3 ++- configs/at91

Re: [U-Boot] [PATCH 0/2] Fix CAAM for TrustZone enable for warp7

2018-01-24 Thread Bryan O'Donoghue
On 24/01/18 17:41, Auer, Lukas wrote: Thanks for adding me to the CC list. I have experienced the same thing regarding the dec0 registers. However, I don't understand why you want to detect secure mode in the kernel driver to skip RNG instantiation instead of instantiating all RNG state hand

[U-Boot] [PATCH 1/1] efi_loader: catch misspelled bootefi subcommand

2018-01-24 Thread Heinrich Schuchardt
If 'bootefi hello' or 'bootefi selftest' can be executed depends on the configuration. If an invalid non-numeric 1st argument is passed to bootefi, e.g. 'bootefi hola', this string is converted to 0 and U-Boot jumps to this typically invalid address. With the patch the online help is shown instea

Re: [U-Boot] [PATCH 2/2] armv8: ls1088: Add ifc, emmc lbmap and rcw_src entry for ls1088

2018-01-24 Thread York Sun
On 01/16/2018 10:45 PM, Ashish Kumar wrote: > Signed-off-by: Ashish Kumar > --- Modified subject and add commit message. Applied to fsl-qoriq master. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2] fsl: common :qixis: Add ifc and emmc switching via qixis

2018-01-24 Thread York Sun
On 01/16/2018 10:45 PM, Ashish Kumar wrote: > Previously only SD, NAND etc were secondary boot source and had > IFC-NOR as primary booting target. But for SoC like LS1088 > IFC-NOR can be secondary boot source, while QSPI-NOR is primary > booting target, So add options in qixis to switch to other t

Re: [U-Boot] [PATCH] crypto/fsl: Fix HW accelerated hash commands

2018-01-24 Thread York Sun
On 01/17/2018 04:02 AM, Breno Lima wrote: > The hash command function were not flushing the dcache before passing data > to CAAM/DMA and not invalidating the dcache when getting data back. > > Due the data cache incoherency, HW accelerated hash commands used to fail > with CAAM errors like "Invali

Re: [U-Boot] [PATCH v2] ARM: dts: Freescale: re-license device tree files under GPLv2+/X11

2018-01-24 Thread York Sun
On 01/17/2018 08:14 PM, Pankaj Bansal wrote: > The current GPL only licensing on the device trees makes it very > impractical for other software components licensed under another > license. > > To make it easier to reuse them, re-license the the device trees for > Freescale (now NXP) SoCs and boar

Re: [U-Boot] [PATCH v8 01/11] armv8: lsch3: Add serdes and DDR voltage setup

2018-01-24 Thread York Sun
On 01/17/2018 02:42 AM, Rajesh Bhagat wrote: > Adds SERDES voltage and reset SERDES lanes API and makes > enable/disable DDR controller support 0.9V API common. > > Signed-off-by: Ashish Kumar > Signed-off-by: Rajesh Bhagat > --- > Changes in v8: > - Added a NULL entry prctl array > - Added

[U-Boot] [PATCH v3 3/3] armv8: ls1046ardb: Add RDIMM support

2018-01-24 Thread York Sun
This adds 2Rx8 RDIMM on LS1046ARDB board. Tested with address parity enabled and disabled with RDIMM MTA18ASF2G72PDZ. Signed-off-by: York Sun --- Changes in v3: Update register control words for different speeds. Changes in v2: Update timing table for lower speeds board/freescale/ls1046ardb/

[U-Boot] [PATCH v3 2/3] drivers/ddr/fsl: Fix workaround for A009803

2018-01-24 Thread York Sun
Wrong field was masked in this workaround due to wrong endianness. The impacted SoCs have big-endian. Signed-off-by: York Sun --- Changes in v3: None Changes in v2: None drivers/ddr/fsl/fsl_ddr_gen4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ddr/fsl/fsl_ddr_g

[U-Boot] [PATCH v3 1/3] drivers/ddr/fsl: Fix DDR4 RDIMM support

2018-01-24 Thread York Sun
For DDR4, command/address delay in mode registers and parity latency in timing config register are only needed for UDIMMs, but not RDIMMs. Add additional register rcw_3 for DDR4 RDIMM. Fix mirrored bit for dual rank RDIMMs. Set sdram_cfg_3[DIS_MRS_PAR] for RDIMMs. Use hexadecimal format for printin

[U-Boot] [PATCH 1/1] cmd/bdinfo: print relocation info on X86

2018-01-24 Thread Heinrich Schuchardt
For debugging U-Boot in qemu-x86 the relocation address is needed. Signed-off-by: Heinrich Schuchardt --- Hello Bin, hello Simon, could this be picked up via the X86 tree? Best regards Heinrich --- cmd/bdinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c

Re: [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA

2018-01-24 Thread Mr. goldenstreet
it worked! i applied the patches alone and it didn't work, but then i noticed simon's note to add compatible = "spi-flash" so i added it on the arria 5 dts file, and it worked. i think it should be added to the patches. thanks for the help! -- Sent from: http://u-boot.10912.n7.nabble.com/ _

[U-Boot] [PATCH] efi_loader: fix comments indent_string()

2018-01-24 Thread Heinrich Schuchardt
Provide a better description for indent_string. Fix a typo. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index e7714bcbc6..8acd26a93b

[U-Boot] [PATCH] fdt: Implement weak arch_fixup_fdt()

2018-01-24 Thread Alexey Brodkin
Only ARM and in some configs MIPS really implement arch_fixup_fdt(). Others just use the same boilerplate which is not good by itself, but what's worse if we try to build with disabled CONFIG_CMD_BOOTM and enabled CONFIG_OF_LIBFDT we'll hit an unknown symbol which was apparently implemented in arch

Re: [U-Boot] [PATCH] imx: mx25: Remove SION bit in all pin-mux

2018-01-24 Thread Michael Nazzareno Trimarchi
Hi On Wed, Jan 24, 2018 at 6:36 PM, Fabio Estevam wrote: > Hi Benoît, > > On Wed, Jan 24, 2018 at 3:29 PM, Benoît Thébaudeau wrote: > >> In mainline Linux, SION is also set by some DTS files (MX25_PAD_* 0x4000 >> flag) for FEC MDIO and SD CMD/CLK/DATAn. > > Which I think it is fine as it is

Re: [U-Boot] [PATCH 0/2] Fix CAAM for TrustZone enable for warp7

2018-01-24 Thread Auer, Lukas
On Wed, 2018-01-24 at 14:35 +, Bryan O'Donoghue wrote: > > On 24/01/18 12:52, Auer, Lukas wrote: > > On Tue, 2018-01-23 at 21:10 +, Bryan O'Donoghue wrote: > > > This series is the u-boot fix to a problem we encountered when > > > enabling > > > OPTEE/TrustZone on the WaRP7. The symptom is

Re: [U-Boot] [PATCH] imx: mx25: Remove SION bit in all pin-mux

2018-01-24 Thread Fabio Estevam
Hi Benoît, On Wed, Jan 24, 2018 at 3:29 PM, Benoît Thébaudeau wrote: > In mainline Linux, SION is also set by some DTS files (MX25_PAD_* 0x4000 > flag) for FEC MDIO and SD CMD/CLK/DATAn. Which I think it is fine as it is set on a per board basis. Maybe we could do the same in U-Boot. Than

Re: [U-Boot] [PATCH] imx: mx25: Remove SION bit in all pin-mux

2018-01-24 Thread Michael Nazzareno Trimarchi
Hi On Wed, Jan 24, 2018 at 6:29 PM, Benoît Thébaudeau wrote: > Hi Fabio, > > On 24/01/2018 at 18:21, Fabio Estevam wrote: >> On Wed, Jan 24, 2018 at 3:12 PM, Michael Nazzareno Trimarchi >> wrote: >> >>> From the datasheet I have: >>> >>> Software Input On Field. Force the selected mux mode Input

Re: [U-Boot] [PATCH] imx: mx25: Remove SION bit in all pin-mux

2018-01-24 Thread Benoît Thébaudeau
Hi Fabio, On 24/01/2018 at 18:21, Fabio Estevam wrote: > On Wed, Jan 24, 2018 at 3:12 PM, Michael Nazzareno Trimarchi > wrote: > >> From the datasheet I have: >> >> Software Input On Field. Force the selected mux mode Input path no >> matter of MUX_MODE functionality. >> 1: Force input path of p

Re: [U-Boot] [PATCH] imx: mx25: Remove SION bit in all pin-mux

2018-01-24 Thread Fabio Estevam
Hi Michael, On Wed, Jan 24, 2018 at 3:12 PM, Michael Nazzareno Trimarchi wrote: > From the datasheet I have: > > Software Input On Field. Force the selected mux mode Input path no > matter of MUX_MODE functionality. > 1: Force input path of pad A14. > 0: Input Path is determined by functionality

Re: [U-Boot] [PATCH] imx: mx25: Remove SION bit in all pin-mux

2018-01-24 Thread Benoît Thébaudeau
On 24/01/2018 at 18:12, Michael Nazzareno Trimarchi wrote: > On Wed, Jan 24, 2018 at 6:05 PM, Benoît Thébaudeau wrote: >> Hi Michael, >> >> On 24/01/2018 at 17:46, Michael Nazzareno Trimarchi wrote: >>> On Wed, Jan 24, 2018 at 5:38 PM, Fabio Estevam wrote: Hi Michael, [Removed usb

Re: [U-Boot] [PATCH] imx: mx25: Remove SION bit in all pin-mux

2018-01-24 Thread Michael Nazzareno Trimarchi
Hi On Wed, Jan 24, 2018 at 6:05 PM, Benoît Thébaudeau wrote: > Hi Michael, > > On 24/01/2018 at 17:46, Michael Nazzareno Trimarchi wrote: >> On Wed, Jan 24, 2018 at 5:38 PM, Fabio Estevam wrote: >>> Hi Michael, >>> >>> [Removed usb list as this is off-topic for them] >>> >>> On Wed, Jan 24, 2018

Re: [U-Boot] [PATCH] imx: mx25: Remove SION bit in all pin-mux

2018-01-24 Thread Benoît Thébaudeau
Hi Michael, On 24/01/2018 at 17:46, Michael Nazzareno Trimarchi wrote: > On Wed, Jan 24, 2018 at 5:38 PM, Fabio Estevam wrote: >> Hi Michael, >> >> [Removed usb list as this is off-topic for them] >> >> On Wed, Jan 24, 2018 at 2:31 PM, Michael Nazzareno Trimarchi >> wrote: >> >>> Can you check w

[U-Boot] [PATCH] Fix build of socfpga targets when CONFIG_SPL is not set (i.e., you do not want to generate preloader image)

2018-01-24 Thread Éric Hoffman
Disabling preloader generation on socfpga have issue with the Kconfig rules. Disabling it in the menuconfig gave error on console, and building with CONFIG_SPL=n resulted in compile error. Signed-off-by: Eric Hoffman --- arch/arm/Kconfig | 4 ++-- include/configs/socfpga_commo

[U-Boot] Guide to hush shell in u-boot

2018-01-24 Thread Nathan Holder
Anyone know where a guide to hush shell in u-boot would be? -Nate This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient or the person responsible for deliveri

[U-Boot] Manual is out of date, missing commands and information

2018-01-24 Thread Nathan Holder
This manual http://www.denx.de/wiki/DULG/Manual is out of date and missing a lot of info. I have been using it thinking it was the official manual. But then I learned many commands are not listed there. Please take down the manual so that people don't mistakenly use it thinking it is correct. -Nat

Re: [U-Boot] [PATCH 0/2] Fix CAAM for TrustZone enable for warp7

2018-01-24 Thread Auer, Lukas
On Tue, 2018-01-23 at 21:10 +, Bryan O'Donoghue wrote: > This series is the u-boot fix to a problem we encountered when > enabling > OPTEE/TrustZone on the WaRP7. The symptom is once TrustZone is > activated > the first page of CAAM registers becomes read-only, read-zero from > the > perspectiv

Re: [U-Boot] [PATCH] imx: mx25: Remove SION bit in all pin-mux

2018-01-24 Thread Michael Nazzareno Trimarchi
Hi Fabio On Wed, Jan 24, 2018 at 5:38 PM, Fabio Estevam wrote: > Hi Michael, > > [Removed usb list as this is off-topic for them] > > On Wed, Jan 24, 2018 at 2:31 PM, Michael Nazzareno Trimarchi > wrote: > >> Can you check where SION bit is mandatory for mx25? I have on IMX51 >> some PINMUX wher

Re: [U-Boot] [PATCH] gpio: sunxi: Add compatible string for H5 PIO

2018-01-24 Thread Jagan Teki
On Tue, Jan 16, 2018 at 3:58 AM, Chris Blake wrote: > Due to the changes in > https://github.com/linux-sunxi/u-boot-sunxi/commit/8faac0941cd409c6ff3738fbf658de2296f48e9a, > allwinner,sun50i-h5-pinctrl needs to be defined otherwise PIO does not work > on H5 based boards. > > Signed-off-by: Chris

Re: [U-Boot] [PATCH v2 00/12] sunxi: arm64 binary size fixes

2018-01-24 Thread Jagan Teki
On Tue, Jan 16, 2018 at 2:14 PM, Maxime Ripard wrote: > Hi, > > As we discussed already, this is the list of options that we will need > to disable by default. > > I also added to the mix a size check, which even though it's not > really optimal, is temporary and will be removed in a future (and >

Re: [U-Boot] [PATCH] imx: mx25: Remove SION bit in all pin-mux

2018-01-24 Thread Fabio Estevam
Hi Michael, [Removed usb list as this is off-topic for them] On Wed, Jan 24, 2018 at 2:31 PM, Michael Nazzareno Trimarchi wrote: > Can you check where SION bit is mandatory for mx25? I have on IMX51 > some PINMUX where sion is enabled. > I can clean up a bit the patch to just minimize the chang

Re: [U-Boot] [PATCH] imx: mx25: Remove SION bit in all pin-mux

2018-01-24 Thread Benoît Thébaudeau
Hi, On 24/01/2018 at 17:17, Michael Nazzareno Trimarchi wrote: > On Wed, Jan 24, 2018 at 5:03 PM, Benoît Thébaudeau wrote: >> On 24/01/2018 at 16:43, Michael Nazzareno Trimarchi wrote: >>> On Wed, Jan 24, 2018 at 4:39 PM, Benoît Thébaudeau >>> wrote: On 24/01/2018 at 16:34, Benoît Thébaude

  1   2   >