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/

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

[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

[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

[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

[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

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

[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

[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

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: >

[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 |

[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 ++-

[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

[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

[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

[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 +

[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 +

[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

[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

[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

[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

[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

[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 +

[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

[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

[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

[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

[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 ++

[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(-)

[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

[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

[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 ---

[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 ---

[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 ---

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,

[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

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

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

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

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

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

[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 +

[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

[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 +

[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

[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|

[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

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

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

[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

[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 +

[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 ++

[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

[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 ---

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

[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

[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

[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 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

[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

[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

[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

[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

[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 +++

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

[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

[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

[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 ---

[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 ---

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

[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 +++

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

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

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

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

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

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] [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

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. >

Re: [U-Boot] [PATCH 0/9] log: Support control over the log output format

2018-01-24 Thread Tom Rini
On Wed, Jan 24, 2018 at 05:52:37AM -0700, Simon Glass wrote: > Hi Tom, > On 19 January 2018 at 09:20, Tom Rini wrote: > > > > On Thu, Jan 18, 2018 at 01:40:51PM -0800, Simon Glass wrote: > > > Hi, > > > > > > On 28 December 2017 at 12:14, Simon Glass wrote:

Re: [U-Boot] mmc: disable UHS modes if Vcc cannot be switched on and off

2018-01-24 Thread Eugeniy Paltsev
On Wed, 2018-01-24 at 17:28 +0900, Jaehoon Chung wrote: > On 01/23/2018 09:03 PM, Eugeniy Paltsev wrote: > > On Tue, 2018-01-23 at 10:44 +0900, Jaehoon Chung wrote: > > > On 01/23/2018 03:38 AM, Eugeniy Paltsev wrote: > > > > Hi Jean-Jacques, > > > > > > > > after commit "mmc: disable UHS modes

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 12:56 PM, Michael Trimarchi wrote: > SION bit should be used in the situation that we need > to read back the value of a pin and should be set by > default. This can generate any kind of random malfunction > as described in this

Re: [U-Boot] [PATCH v3 11/15] env: mmc: depends on the MMC framework

2018-01-24 Thread Jaehoon Chung
On 2018년 01월 24일 05:17, Maxime Ripard wrote: > The raw MMC environment directly calls into the MMC framework. Make sure > it's enabled before we can select it. > > Reviewed-by: Simon Glass > Signed-off-by: Maxime Ripard Reviewed-by:

Re: [U-Boot] [PATCH v3 07/15] env: mmc: Make the debug messages play a little nicer

2018-01-24 Thread Jaehoon Chung
On 2018년 01월 24일 05:16, Maxime Ripard wrote: > Since we have global messages to indicate what's going on, the custom > messages in the environment drivers only make the output less readable. > > Make MMC play a little nicer by removing all the extra \n and formatting > that is redundant with

[U-Boot] [PATCH 2/2] efi_loader: Always use EFIAPI instead of asmlinkage

2018-01-24 Thread Alexander Graf
EFI calls are usually defined as asmlinkage. That means we pass all parameters to functions via the stack x86_32. On x86_64 however, we need to also stick to the MS ABI calling conventions, which the EFIAPI define conveniently handles for us. Most EFI functions were also marked with EFIAPI,

[U-Boot] [PATCH 1/2] efi: Conflict efi_loader with different stub bitness

2018-01-24 Thread Alexander Graf
We have 2 users of the EFI headers: efi_loader and the EFI stub. Efi_loader always expects that the bitness of the definitions it uses is identical to the execution. The EFI stub however allows to run x86_64 U-Boot on 32bit EFI and the other way around, so it allows for different bitness of EFI

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

2018-01-24 Thread Marek Vasut
On 01/24/2018 02:19 PM, Goldschmidt Simon wrote: > On 01/11/2018 12:28, Marek Vasut wrote: >> On 01/11/2018 08:19 AM, Goldschmidt Simon wrote: >>> This driver has been using printf() including filename since it was >>> added. Convert to using debug() instead. >>> >>> Signed-off-by: Simon

[U-Boot] [PATCH v2 2/2] efi_loader: Always use EFIAPI instead of asmlinkage

2018-01-24 Thread Alexander Graf
EFI calls are usually defined as asmlinkage. That means we pass all parameters to functions via the stack x86_32. On x86_64 however, we need to also stick to the MS ABI calling conventions, which the EFIAPI define conveniently handles for us. Most EFI functions were also marked with EFIAPI,

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

2018-01-24 Thread Bryan O'Donoghue
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 once TrustZone is activated the first page of CAAM registers becomes read-only,

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

2018-01-24 Thread Michael Trimarchi
SION bit should be used in the situation that we need to read back the value of a pin and should be set by default. This can generate any kind of random malfunction as described in this thread. According to this thread: https://www.spinics.net/lists/linux-usb/msg162574.html We consider this an

Re: [U-Boot] [PULL] efi patch queue 2018-01-23

2018-01-24 Thread Tom Rini
On Tue, Jan 23, 2018 at 11:12:19AM +0100, Alexander Graf wrote: > Hi Tom, > > This is my current patch queue for efi. Please pull. > > Alex > > > The following changes since commit 485c13c7536731991c59f7b3432bc33c9dafb0f0: > > Merge git://git.denx.de/u-boot-dm (2018-01-21 20:13:29 -0500)

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2018-01-24 Thread Tom Rini
On Wed, Jan 24, 2018 at 02:00:58AM +, York Sun wrote: > Tom, > > The following changes since commit 485c13c7536731991c59f7b3432bc33c9dafb0f0: > > Merge git://git.denx.de/u-boot-dm (2018-01-21 20:13:29 -0500) > > are available in the git repository at: > >

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:

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

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

[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.

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

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 4:26 PM, Michael Nazzareno Trimarchi wrote: > Hi Fabio > > On Wed, Jan 24, 2018 at 4:14 PM, Fabio Estevam wrote: >> Hi Michael, >> Can you check where SION bit is mandatory for mx25? I have on IMX51 some PINMUX

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

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

  1   2   >