Re: [U-Boot] [PATCH] spl: unbreak CONFIG_SPL_MULTI_DTB_FIT after fixing CONFIG_OF_EMBED

2018-01-10 Thread Lokesh Vutla
On Wednesday 10 January 2018 12:32 PM, Goldschmidt Simon wrote: > Commit 9bd76b80 "spl: make CONFIG_OF_EMBED pass dts through fdtgrep" > moved the fdtgrep code from scripts/Makefile.spl to dts/Makefile so > that the dtb is stripped in embedded mode, too. > > This broke CONFIG_SPL_MULTI_DTB_FIT w

Re: [U-Boot] [PATCH] arm: am33xx: security: Fix size calculation on header

2018-01-10 Thread Lokesh Vutla
On Wednesday 10 January 2018 02:02 AM, Andrew F. Davis wrote: > From: Madan Srinivas > > Fix the size calculation in the verify boot. The header size > should be subtracted from the image size, not be assigned to > the image size. Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

[U-Boot] [PATCH v2] armv8: Remove dependency of SERDES for LS CHASIS3

2018-01-10 Thread Sriram Dash
Remove dependency of SYS_HAS_SERDES for Layerscape Chasis 3. Signed-off-by: Sriram Dash --- Changes in v2: - Remove ifdef when including fsl_serdes.h arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv8/fsl-laye

Re: [U-Boot] [PATCH v2] musb: sunxi: Use base address from device tree

2018-01-10 Thread Marek Vasut
On 01/10/2018 07:10 AM, Jagan Teki wrote: > On Thu, Jan 4, 2018 at 6:55 PM, Maxime Ripard > wrote: >> On Sat, Dec 30, 2017 at 08:44:07PM +0800, Chen-Yu Tsai wrote: >>> Now that the musb sunxi glue driver is completely device model / device >>> tree driven, we should use the base address from the d

[U-Boot] [PATCH v1 01/03] spmi: msm: display the PMIC Arb version (debug)

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz Signed-off-by: Jorge Ramirez-Ortiz --- drivers/spmi/spmi-msm.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/spmi/spmi-msm.c b/drivers/spmi/spmi-msm.c index c226913..e9bfbb0 100644 --- a/drivers/spmi/spmi-msm.c +++ b/drivers/spmi/spmi-msm.c

[U-Boot] [PATCH v1 03/03] dm: core: parse chosen node

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Rob Clark This is the node that would contain, for example, the framebuffer setup by an earlier stage. Signed-off-by: Rob Clark --- arch/sandbox/dts/test.dts | 7 +++ drivers/core/root.c | 12 test/dm/bus.c | 2 +- test/dm/test-fdt.c| 2 +- 4

[U-Boot] [PATCH v1 02/03] poplar: configs: increase gunzip buffer size for the kernel

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz Signed-off-by: Jorge Ramirez-Ortiz --- include/configs/poplar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/poplar.h b/include/configs/poplar.h index 1c39ed1..8a12b52 100644 --- a/include/configs/poplar.h +++ b/include/configs/po

[U-Boot] [PATCH v1 01/05] env: enable accessing the environment in an EXT4 partition

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz For example to store the environment in a file named "/uboot.env" in MMC "0", where partition "1" contains the EXT4 filesystem, the following configs should be added to the board's default config: CONFIG_ENV_IS_IN_EXT4=y CONFIG_ENV_EXT4_DEVICE_AND_PART="0:1" CONFI

[U-Boot] [PATCH v1 04/05] db820c: enable pmic gpios for pm8994

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/dts/dragonboard820c.dts | 43 +++ configs/dragonboard820c_defconfig | 7 +++ drivers/gpio/pm8916_gpio.c| 7 +-- 3 files changed, 55 insertions(+), 2 deletions(-) dif

[U-Boot] [PATCH v1 02/05] arm: mach-snapdragon: refactor clock driver

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz In preparation to add support for the Dragonboard820c (APQ8096), refactor the current Snapdragon clock driver. No new functionality has been added. Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/mach-snapdragon/Makefile | 6 +- arch/arm/mach-snapd

[U-Boot] [PATCH v1 03/05] db820c: add qualcomm dragonboard 820C support

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz This commit adds support for 96Boards Dragonboard820C. The board is based on APQ8086 Qualcomm Soc, complying with the 96Boards specification. Features - 4x Kyro CPU (64 bit) up to 2.15GHz - USB2.0 - USB3.0 - ISP - Qualcomm Hexagon DSP - SD 3.0 (UHS-I) - UFS 2.0

[U-Boot] [PATCH v1 05/05] db820c: stop autoboot when vol- pressed

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/dts/dragonboard820c-uboot.dtsi | 19 board/qualcomm/dragonboard820c/dragonboard820c.c | 37 +++- include/configs/dragonboard820c.h| 2 ++ 3 files changed, 57 inse

[U-Boot] [PATCH v1 01/07] db410c: configs: increase gunzip buffer size for the kernel

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz the kernel fails to boot when it goes over the limit. Signed-off-by: Jorge Ramirez-Ortiz --- include/configs/dragonboard410c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h in

[U-Boot] [PATCH v1 03/07] db410c: replace reset driver with psci

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz this should be the norm for armv8 platforms. Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/dts/dragonboard410c.dts | 5 --- board/qualcomm/dragonboard410c/dragonboard410c.c | 5 +++ configs/dragonboard410c_defconfig| 2 +- drivers/

[U-Boot] [PATCH v1 06/07] db410c: add reserved-memory node to dts

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Rob Clark If lk lights up display and populates simple-framebuffer node, it will also setup a reserved-memory node (needed by simplefb on linux). But it isn't clever enough to cope when the reserved-memory node is not present. Signed-off-by: Rob Clark --- arch/arm/dts/dragonboard410c.dt

[U-Boot] [PATCH v1 02/07] db410c: update wlan and bt mac addresses from firmware

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz The firmware that runs before u-boot modifies u-boot's device tree adding the local-mac-address and local-bd-address properties for the compatibles "qcom,wcnss-bt" and "qcom,wcnss-wlan". This commit reads that firmware, retrieves the properties and fixups the device tre

[U-Boot] [PATCH v1 05/07] db410c: use the device tree parsed by the lk loader.

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Jorge Ramirez-Ortiz We dont need to keep copies of the properties that we are going to fixup since we will be using the dtb provided by the firmware. Signed-off-by: Jorge Ramirez-Ortiz --- board/qualcomm/dragonboard410c/dragonboard410c.c | 71 ++-- configs/dragonboard

[U-Boot] [PATCH v1 07/07] db410c: on aarch64 the fdtfile is in per-vendor subdirectory

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Rob Clark Signed-off-by: Rob Clark --- include/configs/dragonboard410c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h index 3c5bb8a..530d667 100644 --- a/include/configs/dragonboard410c.h +++ b/i

[U-Boot] [PATCH v1 04/07] fdtdec: allow board to provide fdt for CONFIG_OF_SEPARATE

2018-01-10 Thread Jorge Ramirez-Ortiz
From: Rob Clark Similar to CONFIG_OF_BOARD, but in this case the fdt is still built by u-boot build. This allows the board to patch the fdt, etc. In the specific case of dragonboard 410c, we pass the u-boot generated fdt to the previous stage of bootloader (by embedding it in the u-boot.img tha

Re: [U-Boot] [PATCH] configs: am57xx_evm: fix ethernet phy configuration

2018-01-10 Thread Lokesh Vutla
On Wednesday 20 December 2017 08:39 PM, Sekhar Nori wrote: > Configure AM57xx EVMs for the exact PHY part that is > present on the various boards. This makes U-Boot apply > configurations needed for this PHY like centering the > FLP timing. > > For configurations to take effect, DM_ETH needs to

Re: [U-Boot] [PATCH] tools: Add Marvell recovery image download script

2018-01-10 Thread Stefan Roese
On 30.11.2017 15:10, kos...@marvell.com wrote: From: Konstantin Porotchkin Introduce the recovery image download script for usage with Marvell Armada SoC families (excepting 37xx family). Since Marvell BootROM uses a sliding window in UART buffer for detecting escape sequence during the boot, i

Re: [U-Boot] [PATCH 1/4] arm64: a37xx: use disto defaults

2018-01-10 Thread Stefan Roese
On 02.12.2017 10:46, Andre Heider wrote: Signed-off-by: Andre Heider --- include/configs/mvebu_armada-37xx.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h index 1b2e0d71b4..3e1ff02ed7 100644

Re: [U-Boot] [PATCH 2/4] arm64: a37xx: add distro compatible env vars

2018-01-10 Thread Stefan Roese
On 02.12.2017 10:46, Andre Heider wrote: the values of dt_addr_r/kernel_addr_r/ramdisk_addr_r are taken from the downstream 'u-boot-2017.03-armada-17.10' release. the chosen values of scriptaddr and pxefile_addr_r are below fdt_addr_r, in 1MB steps. Signed-off-by: Andre Heider --- include/co

Re: [U-Boot] [PATCH 4/4] arm64: a37xx: use distro bootcmd

2018-01-10 Thread Stefan Roese
On 02.12.2017 10:46, Andre Heider wrote: Signed-off-by: Andre Heider --- include/configs/mvebu_armada-37xx.h | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h index 383e6dfaf4..f5b4f7211

Re: [U-Boot] [PATCH 3/4] arm64: a37xx: defconfigs: enable CONFIG_DISTRO_DEFAULTS

2018-01-10 Thread Stefan Roese
On 02.12.2017 10:46, Andre Heider wrote: Signed-off-by: Andre Heider --- configs/mvebu_db-88f3720_defconfig | 1 + configs/mvebu_espressobin-88f3720_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/mvebu_db-88f3720_defconfig b/configs/mvebu_db-88f3720_defconf

Re: [U-Boot] [PATCH] arm: mvebu: ClearFog: document boot selection switches, update UART

2018-01-10 Thread Stefan Roese
On 23.12.2017 01:42, Florian Klink wrote: Signed-off-by: Florian Klink --- board/solidrun/clearfog/README | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/board/solidrun/clearfog/README b/board/solidrun/clearfog/README index ef1e3bf426..a7bc0d4e23 100

Re: [U-Boot] [PATCH] ARM: mvebu: Allow MVNETA to be selected with Armada 3700 SoCs

2018-01-10 Thread Stefan Roese
On 28.12.2017 15:43, Miquel Raynal wrote: Until now, Armada 3700 SoCs could not enable the mvneta driver, and thus did not benefit from Ethernet support. Add ARMADA_3700 in the "depends on" list of the MVNETA Kconfig entry. Signed-off-by: Miquel Raynal --- drivers/net/Kconfig | 6 +++--- 1 f

Re: [U-Boot] [PATCH] pinctrl: mvebu: Make drivers depend on the pinctrl framework

2018-01-10 Thread Stefan Roese
On 29.12.2017 15:31, Miquel Raynal wrote: Armada pinctrl drivers shall not be compiled without the entire pinctrl framework and thus lack a "depends on" condition, otherwise the driver will simply not be probed. Signed-off-by: Miquel Raynal --- drivers/pinctrl/mvebu/Kconfig | 4 ++-- 1 file

Re: [U-Boot] [PATCH] ARM: mvebu: correct reference for "ethernet1" on DB-88F6820-AMC

2018-01-10 Thread Stefan Roese
On 08.01.2018 04:17, Chris Packham wrote: The DB-88F6820-AMC connects ethernet@34000 and ethernet@7 which are labeled as eth2 and eth0 in armada-38x.dts. The ethernet@3 (eth1) is not used on the AMC board. This eliminates the following bootup message Device 'ethernet@7': seq 0 is

[U-Boot] Please pull u-boot-marvell/master

2018-01-10 Thread Stefan Roese
Hi Tom, please pull the following Marvell related patches. Thanks, Stefan The following changes since commit f3dd87e0b98999a78e500e8c6d2b063ebadf535a: Prepare v2018.01 (2018-01-08 20:25:29 -0500) are available in the Git repository at: git://www.denx.de/git/u-boot-marvell.git for you t

Re: [U-Boot] [PATCH v3 1/6] mach-omap2: add AM335x Display PLL register definition

2018-01-10 Thread Anatolij Gustschin
On Tue, 9 Jan 2018 19:01:31 +0100 Hannes Schmelzer oe5...@oevsv.at wrote: > Adds the register definition of the Display DPLL > > Signed-off-by: Hannes Schmelzer Reviewed-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.de https://lis

Re: [U-Boot] [PATCH v3 2/6] am335x-fb: cosmetic: update-copyright

2018-01-10 Thread Anatolij Gustschin
On Tue, 9 Jan 2018 19:01:32 +0100 Hannes Schmelzer oe5...@oevsv.at wrote: > Signed-off-by: Hannes Schmelzer Reviewed-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] BugFix: PXE Boot fails on old arm kernel with initrd without FDT

2018-01-10 Thread Tom Rini
On Mon, Oct 30, 2017 at 02:37:17PM +0100, Sven Glodowski wrote: > Hello, > > PXE/Extlinux boot fails on old Kernel which requires initrd but doesn't have > FDT! > > sysboot loads initrd loaded into RAM, but system boots without initrd and > hangs. > > Kernel: > Linux odroid 3.8.13.30 #1 SMP

Re: [U-Boot] [PATCH v3 3/6] am335x-fb: cosmetic: fix coding style

2018-01-10 Thread Anatolij Gustschin
On Tue, 9 Jan 2018 19:01:33 +0100 Hannes Schmelzer oe5...@oevsv.at wrote: > Signed-off-by: Hannes Schmelzer Reviewed-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v3 5/6] board/BuR: provide real clock-frequency instead a divider

2018-01-10 Thread Anatolij Gustschin
On Tue, 9 Jan 2018 19:01:35 +0100 Hannes Schmelzer oe5...@oevsv.at wrote: > Actual am335x-fb implementation takes now a real clock frequency instead > a divider. So this component doesn't need to know anymore some base > frequency of the LCDC, we simply provide the pixel-clock frequency. > > Sig

Re: [U-Boot] [PATCH v3 4/6] am335x-fb: setup display PLL

2018-01-10 Thread Anatolij Gustschin
On Tue, 9 Jan 2018 19:01:34 +0100 Hannes Schmelzer oe5...@oevsv.at wrote: > The LCDC IP-core an be feed from several clock sources, one of those is > a dedicated DPLL for generating a dividable base-clock for this IP-core. > > The TRM specifies the maximum input frequency for the LCCD with 200 M

Re: [U-Boot] [PATCH V5 00/31] imx: add i.MX8M support and i.MX8MQ EVK

2018-01-10 Thread Diego Dorta
Hi Peng, 2018-01-10 3:20 GMT-02:00 Peng Fan : > This patchset is to add i.MX8M and i.MX8MQ-EVK support > > V5: > Drop wait_mask_set/clr_timeout and switch to use readl_poll_timeout in > the patchset. > > V4: > Regenerate patchset based on Tom's master tree. > In this patchset, https://patchwor

Re: [U-Boot] [PATCH v3 6/6] board/BuR: drop LCDC clock manipulation from board code

2018-01-10 Thread Anatolij Gustschin
On Tue, 9 Jan 2018 19:01:36 +0100 Hannes Schmelzer oe5...@oevsv.at wrote: > The clock selection is done now from the am335x-fb code, so there is no > more need doing this in the board code. > > Signed-off-by: Hannes Schmelzer Reviewed-by: Anatolij Gustschin ___

Re: [U-Boot] [GIT PULL] ZFS: lundman/master

2018-01-10 Thread Tom Rini
On Wed, Jan 10, 2018 at 12:21:32PM +0900, Jorgen Lundman wrote: > > Hello, > I didn't hear back about the changes, so I'll proceed to this stage. :) > Please find additional ZFS boot features, and fixes. Please advise if > outside git repositories are not allowed. > > The following changes since

Re: [U-Boot] [PATCH v2] musb: sunxi: Use base address from device tree

2018-01-10 Thread Jun Nie
2017-12-30 20:44 GMT+08:00 Chen-Yu Tsai : > Now that the musb sunxi glue driver is completely device model / device > tree driven, we should use the base address from the device tree, > instead of hard-coding it in the source code. > > Fixes: 3a61b080acee ("musb: sunxi: switch to the device model")

Re: [U-Boot] [PATCH v2] musb: sunxi: Use base address from device tree

2018-01-10 Thread Chen-Yu Tsai
On Wed, Jan 10, 2018 at 10:01 PM, Jun Nie wrote: > 2017-12-30 20:44 GMT+08:00 Chen-Yu Tsai : >> Now that the musb sunxi glue driver is completely device model / device >> tree driven, we should use the base address from the device tree, >> instead of hard-coding it in the source code. >> >> Fixes:

Re: [U-Boot] [PATCH] spl: unbreak CONFIG_SPL_MULTI_DTB_FIT after fixing CONFIG_OF_EMBED

2018-01-10 Thread Goldschmidt Simon
On Wed, 10/01/18 09:48, Lokesh Vutla wrote: > On Wednesday 10 January 2018 12:32 PM, Goldschmidt Simon wrote: > > Commit 9bd76b80 "spl: make CONFIG_OF_EMBED pass dts through fdtgrep" > > moved the fdtgrep code from scripts/Makefile.spl to dts/Makefile so > > that the dtb is stripped in embedded mod

Re: [U-Boot] [PATCH 09/13] board: ti: am574x-idk: Add ddr data support

2018-01-10 Thread Tom Rini
On Fri, Dec 29, 2017 at 11:47:27AM +0530, Lokesh Vutla wrote: > Hi Lukas, > > Sorry for the delayed response. > > On Tuesday 19 December 2017 03:04 PM, Lukasz Majewski wrote: > > Hi Lokesh, > > > >> Hi Lukas, > >> > >> On Monday 18 December 2017 04:46 PM, Lukasz Majewski wrote: > >>> Hi Lokesh,

[U-Boot] [PATCH 2/8] arm: zynq: Enable debug console for zc770 xm011

2018-01-10 Thread Michal Simek
Wire debug console which is useful for early debugging. Signed-off-by: Michal Simek --- configs/zynq_zc770_xm011_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/zynq_zc770_xm011_defconfig b/configs/zynq_zc770_xm011_defconfig index d46238202ed2..3043c82c9dbe 100644 --

[U-Boot] [PATCH 1/8] arm: zynq: Add identification string to Xilinx boards

2018-01-10 Thread Michal Simek
It is good to see this string to make sure that u-boot which runs on the board is the same which should run there. Signed-off-by: Michal Simek --- configs/zynq_zc702_defconfig | 1 + configs/zynq_zc706_defconfig | 1 + configs/zynq_zc770_xm010_defconfig | 1 + configs/zynq_zc770_xm0

[U-Boot] [PATCH 4/8] arm: zynq: Enable BLK when needed

2018-01-10 Thread Michal Simek
There is no reason to enable BLK by default for all boards which is just increasing memory footprint for memory contrained boards like cse. zc770s are also saving some space. Signed-off-by: Michal Simek --- arch/arm/Kconfig | 1 - configs/zynq_cse_qspi_defconfig| 1 - conf

[U-Boot] [PATCH 6/8] arm: zynq: Enable DM_GPIO when needed

2018-01-10 Thread Michal Simek
There are two reasons for doing this change. There is still !DM driver for xilinx soft gpio IP and especially it is saving some space for memory constrained boards like cse (almost ~400B). Signed-off-by: Michal Simek --- arch/arm/Kconfig | 1 - configs/syzygy_hub_defconfig

[U-Boot] [PATCH 8/8] arm: zynq: Enable distro defaults setting

2018-01-10 Thread Michal Simek
BOOTCOMMAND is composed with distro_bootcmd but this variable is not present. Enabling distro defaults setting is fixing it. Signed-off-by: Michal Simek --- configs/syzygy_hub_defconfig | 11 +-- configs/topic_miami_defconfig | 6 +- configs/topic_miamilite_defconfig |

[U-Boot] [PATCH 3/8] arm: zynq: Disable networking for zc770 xm011

2018-01-10 Thread Michal Simek
Ethernet cable is not connected for xm011 that's why disable all ethernet related configurations. Signed-off-by: Michal Simek --- configs/zynq_zc770_xm011_defconfig | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/configs/zynq_zc770_xm011_defconfig b/configs/zynq_

[U-Boot] [PATCH 5/8] arm: zynq: Enable DM_ETH and DM_MMC only if subsystem is enabled

2018-01-10 Thread Michal Simek
Do not enable DM_ETH/MMC if subsystems are not enabled. This saves memory for memory constrained boards like cse. Signed-off-by: Michal Simek --- arch/arm/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index fdeef4d05d9d..d5fb

[U-Boot] [PATCH 7/8] arm: zynq: Move bootcommand to defconfig

2018-01-10 Thread Michal Simek
It will cleanup generic config and enable option to change it for every board. Signed-off-by: Michal Simek --- Alex: Feel free to remove that run $modeboot for z_turn. --- configs/syzygy_hub_defconfig | 2 ++ configs/topic_miami_defconfig | 2 ++ configs/topic_miamilite_defconfig |

[U-Boot] [PATCH] arm: zynq: Fix pmu register description coding style

2018-01-10 Thread Michal Simek
Drop the space before/after '<' and '>'; and separate the entries to be a bit more readable. Reported-by: Julia Cartwright Signed-off-by: Michal Simek --- arch/arm/dts/zynq-7000.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dt

Re: [U-Boot] [PATCH v2 0/3] cadence-quadspi: Fix issues with non 32bit aligned accesses

2018-01-10 Thread Goldschmidt Simon
On Tue 09/01/18 14:19, Vignesh R wrote: > This series reverts use of bounce_buf.c for non-DMA related alignment > restriction > and replaces it with local bounce buffer to handle problems with non 32 bit > aligned > writes on TI platforms. > Based on top of Jason's series: > https://patchwork.ozl

[U-Boot] [PATCH 1/2] arm64: zynqmp: Remove whitespaces in psu_init() comment

2018-01-10 Thread Michal Simek
Remove additional spaces before comment. Signed-off-by: Michal Simek --- arch/arm/cpu/armv8/zynqmp/spl.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/cpu/armv8/zynqmp/spl.c b/arch/arm/cpu/armv8/zynqmp/spl.c index 41b0070a5e1a..e51e2b615679 100644 --- a/ar

[U-Boot] [PATCH 2/2] arm64: zynqmp: Propagate error value from psu_init()

2018-01-10 Thread Michal Simek
psu_init() returns int which wasn't declared and checked. The patch is fixing function declarations and code to handle return values properly. Signed-off-by: Michal Simek --- arch/arm/cpu/armv8/zynqmp/spl.c | 3 ++- arch/arm/include/asm/arch-zynqmp/sys_proto.h | 2 +- board/xilinx/

[U-Boot] [PATCH 1/2] arm64: zynqmp: Prepare psu_init rework

2018-01-10 Thread Michal Simek
Move generic functions to common location spl.c. Function declarations are added to private header. These changes are done in connection to the fact that still files from HDF can be copied over and compilation should pass. Signed-off-by: Michal Simek --- Depends on previous psu_init patches ---

[U-Boot] [PATCH 2/2] arm64: zynqmp: Add psu_init for zcu102-rev1.0

2018-01-10 Thread Michal Simek
Add low level initialization for zcu102-rev1.0. Signed-off-by: Michal Simek --- .../zynqmp/zynqmp-zcu102-rev1.0/psu_init_gpl.c | 625 + 1 file changed, 625 insertions(+) create mode 100644 board/xilinx/zynqmp/zynqmp-zcu102-rev1.0/psu_init_gpl.c diff --git a/board/xilin

Re: [U-Boot] [PATCH v2 0/3] cadence-quadspi: Fix issues with non 32bit aligned accesses

2018-01-10 Thread Marek Vasut
On 01/10/2018 04:33 PM, Goldschmidt Simon wrote: > On Tue 09/01/18 14:19, Vignesh R wrote: >> This series reverts use of bounce_buf.c for non-DMA related alignment >> restriction >> and replaces it with local bounce buffer to handle problems with non 32 bit >> aligned >> writes on TI platforms. >

[U-Boot] [PATCH v1] x86: tangier: Make _CRS for BTH0 Serialized to avoid warning

2018-01-10 Thread Andy Shevchenko
ASL compiler warns: ASL board/intel/edison/dsdt.asl board/intel/edison/dsdt.asl.tmp238: Method (_CRS, 0, NotSerialized) Remark 2120 - Control Method should be made Serialized ^ (due to creation of named objects within) Do as suggested by ASL compiler. Fixes: 5

Re: [U-Boot] Please pull u-boot-marvell/master

2018-01-10 Thread Tom Rini
On Wed, Jan 10, 2018 at 12:40:37PM +0100, Stefan Roese wrote: > Hi Tom, > > please pull the following Marvell related patches. > > Thanks, > Stefan > > > The following changes since commit f3dd87e0b98999a78e500e8c6d2b063ebadf535a: > > Prepare v2018.01 (2018-01-08 20:25:29 -0500) > > are av

Re: [U-Boot] [U-Boot, 2/2] arm: Exercise v7_arch_cp15_set_acr even without errata fixups

2018-01-10 Thread Tom Rini
On Sun, Aug 13, 2017 at 05:25:20AM +0300, Siarhei Siamashka wrote: > By applying this patch, we are ensuring that the code paths > responsible for applying errata workarounds are also exercised > on CPU revisions, which actually don't need these workarounds. > > Only CONFIG_ARM_ERRATA_621766, CON

Re: [U-Boot] [U-Boot, RESEND, 02/14] ARM: DTS: stm32: add stm32f429-disco-u-boot dts file

2018-01-10 Thread Tom Rini
On Tue, Dec 12, 2017 at 09:49:33AM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > _ Add gpio compatible and aliases for stm32f429 > > _ Add FMC sdram node with associated new bindings value to > manage second bank (ie bank 1). > > _ Add "u-boot,dm-pre-reloc" for rcc, fmc, f

Re: [U-Boot] [U-Boot, RESEND, 01/14] ARM: DTS: stm32: add STM32F429 SoC and its Discovery board support

2018-01-10 Thread Tom Rini
On Tue, Dec 12, 2017 at 09:49:32AM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > All these files comes from kernel v4.15-rc1. > > Update some header with correct STMicroelectronics Copyright. > > Remove the paragraph about writing to the Free Software > Foundation's mailing

Re: [U-Boot] [U-Boot, RESEND, 04/14] pinctrl: stm32: add stm32f4 pinctrl compatible strings

2018-01-10 Thread Tom Rini
On Tue, Dec 12, 2017 at 09:49:35AM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > STM32F4 SoCs uses the same pinctrl block as found into > STM32F7 and H7 SoCs. > We can add "st,stm32f429-pinctrl" and "st,stm32f469-pinctrl" > compatible string into pinctrl_stm32.c. > > Signed-o

Re: [U-Boot] [U-Boot, RESEND, 08/14] board: stm32f429-disco: switch to DM STM32 clock driver

2018-01-10 Thread Tom Rini
On Tue, Dec 12, 2017 at 09:49:39AM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Use available DM clk_stm32f.c driver instead of dedicated > mach-stm32/stm32f4/clock.c. > > Migrate periph_clock defines from stm32_periph.h directly in > CLK driver. These periph_clock defines w

Re: [U-Boot] [U-Boot, RESEND, 14/14] ARM: DTS: stm32: add SDIO controller support for stm32f469-disco

2018-01-10 Thread Tom Rini
On Tue, Dec 12, 2017 at 09:49:45AM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > STM32F469 SoC uses an arm_pl180_mmci SDIO controller. > > Signed-off-by: Andrea Merello > Signed-off-by: Alexandre Torgue > Signed-off-by: Patrice Chotard Applied to u-boot/master, thanks! -

Re: [U-Boot] fat write: Fixed a problem with the case of file names when writing files

2018-01-10 Thread Tom Rini
On Thu, Dec 21, 2017 at 12:49:47PM +0100, Jean-Jacques Hiblot wrote: > commit 21a24c3bf35b ("fs/fat: fix case for FAT shortnames") made it > possible that get_name() returns file names with some upper cases. > find_directory_entry() must be updated to take this account, and use > case-insensitive

Re: [U-Boot] [U-Boot, RESEND, 12/14] ARM: DTS: stm32: add stm32f469-disco-u-boot dts file

2018-01-10 Thread Tom Rini
On Tue, Dec 12, 2017 at 09:49:43AM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > _ Add gpio compatible and aliases for stm32f469 > > _ Add FMC sdram node > > _ Add "u-boot,dm-pre-reloc" for rcc, fmc, fixed-clock, pinctrl, > pwrcfg and gpio nodes. > > Signed-off-by

Re: [U-Boot] [U-Boot, RESEND, 11/14] ARM: DTS: add STM32F469 Discovery board support

2018-01-10 Thread Tom Rini
On Tue, Dec 12, 2017 at 09:49:42AM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This DT file comes from kernel v4.15-rc1 > > stm32f469-pinctrl.dtsi header has been updated with correct > STMicroelectronics Copyright. > > Remove the paragraph about writing to the Free Softwa

Re: [U-Boot] [U-Boot, RESEND, 1/2] ARM: DTS: stm32: add MMC nodes for stm32f746-disco and stm32f769-disco

2018-01-10 Thread Tom Rini
On Tue, Dec 12, 2017 at 10:14:59AM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Add DT nodes to enable ARM_PL180_MMCI IP support for STM32F746 > and STM32F769 discovery boards > > There is a hardware issue on these boards, it misses a pullup on the GPIO line > used as card d

Re: [U-Boot] [U-Boot, RESEND, 10/14] ram: stm32: add memory mapping selection support

2018-01-10 Thread Tom Rini
On Tue, Dec 12, 2017 at 09:49:41AM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This allows to controls the memory internal mapping at > address 0x . > We can either map at 0x : > _ main flash memory > _ system flash memory > _ FMC bank1 (NOR/PSRAM 1 an

Re: [U-Boot] [U-Boot, RESEND, 03/14] board: stm32f429-discovery: switch to DM STM32 sdram driver

2018-01-10 Thread Tom Rini
On Tue, Dec 12, 2017 at 09:49:34AM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Use available DM stm32_sdram.c driver instead of board > SDRAM initialization. > For that, enable OF_CONTROL, OF_EMBED and STM32_SDRAM flags. > > Signed-off-by: Patrice Chotard Applied to u-boo

Re: [U-Boot] BCM283x ALT5 function for JTAG pins

2018-01-10 Thread Tom Rini
On Mon, Dec 18, 2017 at 12:13:30AM -0800, henryzhan...@yahoo.com wrote: > From: Henry Zhang > > BCM2835 ARM Peripherals doc shows gpio pins 4, 5, 6, 12 and 13 carry altenate > function, ALT5 for ARM JTAG > > Signed-off-by: Henry Zhang > Reviewed-by: Simon Glass Applied to u-boot/master, than

Re: [U-Boot] Travis-CI: Split 't208xrdb t4qds t102*'-job into separate jobs

2018-01-10 Thread Tom Rini
On Wed, Dec 20, 2017 at 11:06:31AM +0100, Philipp Tomsich wrote: > The 't208xrdb t4qds t102*' job is close to the time limit and > sometimes fails, so this splits it into 3 separate jobs. > > Signed-off-by: Philipp Tomsich Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, RESEND, 07/14] mach-stm32: stmf32f4: timer: remove clock_get() call

2018-01-10 Thread Tom Rini
On Tue, Dec 12, 2017 at 09:49:38AM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > In order to use common clock driver between STM32F4 and > STM32F7, remove clock_get() call > As APB_PSC is always set to 2, only case when > clock_get(CLOCK_AHB) != clock_get(CLOCK_APB1) is kept >

Re: [U-Boot] [U-Boot, RESEND, 13/14] board: stm32: add stm32f469-discovery board support

2018-01-10 Thread Tom Rini
On Tue, Dec 12, 2017 at 09:49:44AM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This board offers : > > _ STM32F469NIH6 microcontroller featuring 2 Mbytes of Flash memory >and 324 Kbytes of RAM in BGA216 package > _ On-board ST-LINK/V2-1 SWD debugger, supporting USB re

Re: [U-Boot] PCI: Drop CONFIG_TSI108_PCI

2018-01-10 Thread Tom Rini
On Tue, Dec 19, 2017 at 12:28:42AM +0200, Tuomas Tynkkynen wrote: > Last user of this option went away in 2015 in commit: > d928664f41 ("powerpc: 74xx_7xx: remove 74xx_7xx cpu support") > > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: P

Re: [U-Boot] [U-Boot, 2/3] build: Drop CONFIG_SPL_BUILD guards in some cases

2018-01-10 Thread Tom Rini
On Thu, Dec 21, 2017 at 10:13:22PM -0500, Tom Rini wrote: > Given gcc-6.1 and later we can now safely have strings discarded when > the functions are unused. This lets us drop certain cases of not > building something so that we don't have the strings brought in when the > code was discarded. Si

Re: [U-Boot] [U-Boot, RESEND, 2/2] configs: stm32f746-disco: enable MMC related flags

2018-01-10 Thread Tom Rini
On Tue, Dec 12, 2017 at 10:15:00AM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > STM32F469-disco embeds an arm_pl180 mmc IP, so > enable CMD_MMC, DM_MMC and ARM_PL180_MMCI flags. > > Also enables all filesystem command related flags : > _ CMD_EXT2 > _ CMD_EXT4 > _ CMD_F

Re: [U-Boot] [U-Boot, RESEND, 09/14] board: stm32f429-disco: switch to DM STM32 pinctrl and gpio driver

2018-01-10 Thread Tom Rini
On Tue, Dec 12, 2017 at 09:49:40AM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Use available DM stm32f7_gpio.c and pinctrl_stm32.c drivers > instead of board GPIO initialization. > > Remove stm32_gpio.c which is no more used and migrate > structs stm32_gpio_regs and stm32_g

Re: [U-Boot] [U-Boot, 1/2] ARM: Drop unreferenced CONFIG_MACH_* defines

2018-01-10 Thread Tom Rini
On Thu, Dec 21, 2017 at 03:58:53AM +0200, Tuomas Tynkkynen wrote: > These macros are all defined once and never checked or used anywhere: > > CONFIG_MACH_ASPENITE > CONFIG_MACH_DAVINCI_CALIMAIN > CONFIG_MACH_DOCKSTAR > CONFIG_MACH_EDMINIV2 > CONFIG_MACH_GOFLEXHOME > CONFIG_MACH_GONI > CONFIG_MACH

Re: [U-Boot] [U-Boot, RESEND, 06/14] board: stm32f429-disco: switch to DM STM32 serial driver

2018-01-10 Thread Tom Rini
On Tue, Dec 12, 2017 at 09:49:37AM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Remove serial_stm32.c driver and uart init from board file, > use available DM serial_stm32x7.c driver compatible for > STM32F4/F7 and H7 SoCs. > > The serial_stm32x7.c driver will be renamed lat

Re: [U-Boot] [U-Boot, RESEND, 05/14] configs: stm32f429-disco: enable MISC, STM32_RCC, DM_RESET and STM32_RESET

2018-01-10 Thread Tom Rini
On Tue, Dec 12, 2017 at 09:49:36AM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This allows to support rcc MFD driver. > By enabling all these flags, we need to increase malloc area to avoid > crash during early stage. > > Signed-off-by: Patrice Chotard Applied to u-boot/m

Re: [U-Boot] linux/kernel.h: Add ALIGN_DOWN macro

2018-01-10 Thread Tom Rini
On Thu, Dec 21, 2017 at 01:51:46PM +0900, Masahiro Yamada wrote: > Follow Linux commit ed067d4a859f ("linux/kernel.h: Add ALIGN_DOWN > macro"). > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] configs: am57xx_evm: fix ethernet phy configuration

2018-01-10 Thread Tom Rini
On Wed, Dec 20, 2017 at 08:39:14PM +0530, Sekhar Nori wrote: > Configure AM57xx EVMs for the exact PHY part that is > present on the various boards. This makes U-Boot apply > configurations needed for this PHY like centering the > FLP timing. > > For configurations to take effect, DM_ETH needs to

Re: [U-Boot] [U-Boot,2/2] sh: Drop unreferenced CONFIG_* defines

2018-01-10 Thread Tom Rini
On Thu, Dec 21, 2017 at 03:58:54AM +0200, Tuomas Tynkkynen wrote: > The following config symbols are only defined once and never referenced > anywhere else: > > CONFIG_AP325RXA > CONFIG_AP_SH4A_4A > CONFIG_CPU_SH_TYPE_R > CONFIG_ECOVEC > CONFIG_ESPT > CONFIG_MIGO_R > CONFIG_MPR2 > CONFIG_MS7720SE

[U-Boot] [PATCH v4 1/1] vsprintf.c: add EFI device path printing

2018-01-10 Thread Heinrich Schuchardt
For debugging efi_loader we need the capability to print EFI device paths. With this patch we can write: debug("device path: %pD", dp); A possible output would be device path: /MemoryMapped(0x0,0x3ff93a82,0x3ff93a82) This enhancement is not available when building without EFI support an

[U-Boot] [PATCH v1] x86: Fix reference to QEMU variant of write_acpi_tables()

2018-01-10 Thread Andy Shevchenko
The commit eece493a7ac1 ("cmd: qfw: bring ACPI generation code into qfw core") moves ACPI related code to another file and missed an update of references in acpi_table.c. Do it now. Fixes: eece493a7ac1 ("cmd: qfw: bring ACPI generation code into qfw core") Cc: Miao Yan Signed-off-by: Andy Sh

[U-Boot] [PATCH v1 2/2] x86: zImage: Propagate acpi_rsdp_addr to kernel via boot parameters

2018-01-10 Thread Andy Shevchenko
New field acpi_rsdp_addr, which has been introduced in boot protocol v2.14 [1], in boot parameters tells kernel the exact address of RDSP ACPI table. Knowing it increases robustness of the kernel by avoiding in some cases traversal through a part of physical memory. It will slightly reduce boot tim

[U-Boot] [PATCH v1 1/2] x86: zImage: Move subarch assignment out of cmd_line check

2018-01-10 Thread Andy Shevchenko
The commit 20bfac0599bd ("x86: zImage: add Intel MID platforms support") introduced an assignment of subarch field in boot parameters, though missed the right place of doing that. It doesn't matter if we have or not a kernel command line supplied, we just set that field. Although guard it by pr

Re: [U-Boot] [PATCH v2 3/3] ls1088ardb: Add SD Secure boot target support

2018-01-10 Thread York Sun
On 01/05/2018 08:00 AM, Sumit Garg wrote: > Signed-off-by: Udit Agarwal > Signed-off-by: Sumit Garg > --- > > Changes in v2: > Rebased to top of master > > arch/arm/include/asm/fsl_secure_boot.h | 16 > board/freescale/ls1088a/MAINTAINERS| 5 +++ > .../ls1

[U-Boot] compilation issue pine64

2018-01-10 Thread Akash Gajjar
Hi All, Facing compilation issue building pine64 mainline u-boot. Please see below build log. user]$ export CROSS_COMPILE=aarch64-linux-gnu- user]$ make pine64_plus_defconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/k

[U-Boot] [PATCHv2 00/15] Updates / improvements to bx50v3 support

2018-01-10 Thread Sebastian Reichel
This series improves the support on the bx50v3 devices (b540v3, b650v3 and b850v3). Changes outside of the bx50v3 specific areas: - Added driver for RX8010SJ RTC. - Added functionality to e1000 driver to enable wrting of EEPROM/MAC address. Changes since PATCHv1: * Rebased to v2018.01 * Fixed

[U-Boot] [PATCHv2 01/15] net: e1000: add support for writing to EEPROM

2018-01-10 Thread Sebastian Reichel
From: Hannu Lounento Port functions for writing to EEPROM, updating the checksum and committing data to flash from the Linux kernel igb driver. Functions were ported from Linux 4.8-rc2 (694d0d0bb20). Signed-off-by: Hannu Lounento CC: Joe Hershberger Signed-off-by: Martyn Welch Reviewed-by: S

[U-Boot] [PATCHv2 02/15] net: e1000: split e1000_read_mac_addr

2018-01-10 Thread Sebastian Reichel
From: Hannu Lounento Split the implementation of e1000_read_mac_addr into eeprom and register versions called by e1000_read_mac_addr. This allows for calling e1000_read_mac_addr when MAC address is needed with no constraints where it is read from, and for calling the register and, especially, th

[U-Boot] [PATCHv2 03/15] net: e1000: implement eth_write_hwaddr

2018-01-10 Thread Sebastian Reichel
From: Hannu Lounento Implement programming MAC address to the hardware, i.e. external flash seen as EEPROM. MAC address is only written if it differs from what is already stored in flash or if reading the current MAC address fails. Signed-off-by: Hannu Lounento CC: Joe Hershberger Signed-off-

[U-Boot] [PATCHv2 04/15] rtc: adding RX8010SJ rtc driver

2018-01-10 Thread Sebastian Reichel
From: Nandor Han Add a new driver for RX8010SJ rtc chip. The driver implements both formats of U-Boot driver model. Signed-off-by: Nandor Han Signed-off-by: Martyn Welch Signed-off-by: Sebastian Reichel --- drivers/rtc/Kconfig| 6 + drivers/rtc/Makefile | 1 + drivers/rtc/rx8010sj.

[U-Boot] [PATCHv2 10/15] board: ge: bx50v3: Support FIT and select configuration based on VPD

2018-01-10 Thread Sebastian Reichel
From: Ian Ray Modify configuration to support FIT. Set variable `confidx' from VPD, in order to load the correct device tree. Modify/simplify U-Boot environment to support loading FIT image. Signed-off-by: Ian Ray Signed-off-by: Martyn Welch Signed-off-by: Sebastian Reichel --- board/ge/bx50

[U-Boot] [PATCHv2 06/15] configs: Add network device support for bx50v3 products

2018-01-10 Thread Sebastian Reichel
From: Ian Ray Modify b450v3, b650v3 and b850v3 defconfigs to enable the network devices found in these products. Signed-off-by: Ian Ray Signed-off-by: Martyn Welch Signed-off-by: Sebastian Reichel --- configs/ge_b450v3_defconfig | 6 +- configs/ge_b650v3_defconfig | 6 +- configs/ge_

[U-Boot] [PATCHv2 11/15] config: ge_bx50v3: read boot script

2018-01-10 Thread Sebastian Reichel
From: Ian Ray Read boot script from shared partition, if available. Signed-off-by: Ian Ray Signed-off-by: Martyn Welch Signed-off-by: Sebastian Reichel --- include/configs/ge_bx50v3.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/configs/ge_bx50v3.h

  1   2   >