Re: [U-Boot] [PATCH 0/3] Add generic FDT memory bank decoding and gd initialization

2016-12-12 Thread Michal Simek
On 12.12.2016 08:13, Nathan Rossi wrote: > On 12 December 2016 at 03:11, Igor Grinberg wrote: >> dropping the list for this one as the question seems to me irrelevant to >> your patch set. >> >> On 12/11/16 18:47, Nathan Rossi wrote: >>> On 12 December 2016 at 01:08, Igor Grinberg wrote: Hi

Re: [U-Boot] [PATCH 0/3] Add generic FDT memory bank decoding and gd initialization

2016-12-12 Thread Michal Simek
On 12.12.2016 09:05, Igor Grinberg wrote: > On 12/12/16 09:13, Nathan Rossi wrote: >> On 12 December 2016 at 03:11, Igor Grinberg wrote: >>> dropping the list for this one as the question seems to me irrelevant to >>> your patch set. >>> >>> On 12/11/16 18:47, Nathan Rossi wrote: On 12 Decem

Re: [U-Boot] [PATCH] board: topic: Detect RAM size at boot

2016-12-12 Thread Igor Grinberg
On 11/22/16 16:54, Mike Looijmans wrote: > On 22-11-16 12:00, Michal Simek wrote: >> On 21.11.2016 09:30, Mike Looijmans wrote: >>> Miami boards can have memory sizes of 256M, 512M or 1GB. To >>> prevent requiring separate bootloaders for each variant, just >>> detect the RAM size at boot time inst

Re: [U-Boot] [PATCH 0/3] Add generic FDT memory bank decoding and gd initialization

2016-12-12 Thread Igor Grinberg
On 12/12/16 10:02, Michal Simek wrote: > On 12.12.2016 08:13, Nathan Rossi wrote: >> On 12 December 2016 at 03:11, Igor Grinberg wrote: >>> dropping the list for this one as the question seems to me irrelevant to >>> your patch set. >>> >>> On 12/11/16 18:47, Nathan Rossi wrote: On 12 Decemb

Re: [U-Boot] [PATCH 0/3] Add generic FDT memory bank decoding and gd initialization

2016-12-12 Thread Michal Simek
On 12.12.2016 09:24, Igor Grinberg wrote: > On 12/12/16 10:02, Michal Simek wrote: >> On 12.12.2016 08:13, Nathan Rossi wrote: >>> On 12 December 2016 at 03:11, Igor Grinberg wrote: dropping the list for this one as the question seems to me irrelevant to your patch set. On 12/

Re: [U-Boot] [PATCH v4 2/2] splash: add support for loading splash from a FIT image

2016-12-12 Thread Igor Grinberg
On 12/11/16 22:27, Simon Glass wrote: > Hi Igor, > > On 11 December 2016 at 10:37, Igor Grinberg wrote: >> Hi Tomas, Simon, >> >> Sorry, to break in that late... >> I have a quick question below. >> >> On 12/05/16 09:36, Tomas Melin wrote: >>> Enable support for loading a splash image from within

Re: [U-Boot] [PATCH 0/3] Add generic FDT memory bank decoding and gd initialization

2016-12-12 Thread Igor Grinberg
On 12/12/16 10:18, Michal Simek wrote: > On 12.12.2016 09:05, Igor Grinberg wrote: >> On 12/12/16 09:13, Nathan Rossi wrote: >>> On 12 December 2016 at 03:11, Igor Grinberg wrote: dropping the list for this one as the question seems to me irrelevant to your patch set. On 12/11

Re: [U-Boot] [PATCH 0/3] Add generic FDT memory bank decoding and gd initialization

2016-12-12 Thread Igor Grinberg
On 12/12/16 10:27, Michal Simek wrote: > On 12.12.2016 09:24, Igor Grinberg wrote: >> On 12/12/16 10:02, Michal Simek wrote: >>> On 12.12.2016 08:13, Nathan Rossi wrote: On 12 December 2016 at 03:11, Igor Grinberg wrote: > dropping the list for this one as the question seems to me i

[U-Boot] [PATCH 2/2] net: gem: Use wait_for_bit() instead of private mdio_wait()

2016-12-12 Thread Michal Simek
Using generic wait_for_bit() implementation instead of using private wait function. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 32 +--- 1 file changed, 9 insertions(+), 23 deletions(-) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index

[U-Boot] [PATCH v2 1/2] common: miiphyutil: Add helper function for mdio bus name

2016-12-12 Thread Michal Simek
The most of ethernet drivers are using this mdio registration sequence. strcpy(priv->bus->name, "emac"); mdio_register(priv->bus); Where driver can be used only with one MDIO bus because only unique name should be used. Other drivers are using unique device name for MDIO registration to support mu

[U-Boot] [PATCH 1/2] lib: Add WATCHDOG_RESET to wait_bit.h

2016-12-12 Thread Michal Simek
wait_for_bit() is missing reset watchdog in case watchdog is configured. Signed-off-by: Michal Simek --- include/wait_bit.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wait_bit.h b/include/wait_bit.h index 066e30c118af..06ad43a122d6 100644 --- a/include/wait_bit.h +++ b/includ

[U-Boot] [PATCH v2 2/2] net: xilinx: Use mdio_register_seq() to support multiple instances

2016-12-12 Thread Michal Simek
axi_emac, emaclite and gem have the same issue with registering multiple instances with mdio busses. mdio bus name has to be uniq but drivers are setting up only one name for all. Use mdio_register_seq() and pass dev->seq number to allow multiple mdio instances registration. Reported-by: Phani Kir

Re: [U-Boot] [PATCH 0/3] Add generic FDT memory bank decoding and gd initialization

2016-12-12 Thread Michal Simek
On 12.12.2016 09:54, Igor Grinberg wrote: > On 12/12/16 10:27, Michal Simek wrote: >> On 12.12.2016 09:24, Igor Grinberg wrote: >>> On 12/12/16 10:02, Michal Simek wrote: On 12.12.2016 08:13, Nathan Rossi wrote: > On 12 December 2016 at 03:11, Igor Grinberg > wrote: >> dropping t

Re: [U-Boot] [PATCH v2 3/5] net: phy: Marvell 88E151x: Add support for RGMII

2016-12-12 Thread Phil Edworthy
Hi Joe, On 09 December 2016 18:59, Joe Hershberger wrote: > On Fri, Dec 9, 2016 at 7:38 AM, Phil Edworthy > wrote: > > This has been tested with a Marvell 88E1512 PHY. > > > > Signed-off-by: Phil Edworthy > > Reviewed-by: Stefan Roese > > --- > > v2: > > Rebased on top of Joe's code to use mac

Re: [U-Boot] [RFC PATCH 0/3] spl: Add D-cache support

2016-12-12 Thread Lokesh Vutla
Hi Tom, On Monday 28 November 2016 03:04 PM, Lokesh Vutla wrote: > This series tries to add D-cache support in spl in order to reduce boot time > either in 2stage boot or Falcon Boot. I hope there are no further comments on this series. Do you want me to re post this series or this is good to go?

Re: [U-Boot] [PATCH v2 3/5] net: phy: Marvell 88E151x: Add support for RGMII

2016-12-12 Thread Phil Edworthy
Hi Joe, On 12 December 2016 09:25, Phil Edworthy wrote: > On 09 December 2016 18:59, Joe Hershberger wrote: > > On Fri, Dec 9, 2016 at 7:38 AM, Phil Edworthy > > wrote: > > > This has been tested with a Marvell 88E1512 PHY. > > > > > > Signed-off-by: Phil Edworthy > > > Reviewed-by: Stefan Roese

Re: [U-Boot] [PATCH 1/3] arm64: mvebu: Add L3 cache flush functionality to A8K family

2016-12-12 Thread Stefan Roese
On 04.12.2016 17:34, kos...@marvell.com wrote: From: Konstantin Porotchkin Add missing L3 cache flush functionality which absence prevents Linux kernel from normal boot in case the L3 cache is enabled by ATF. The L3 cache is named the "last level" cache in order to keep the terminology similar

Re: [U-Boot] [PATCH v3 1/6] arm64: mvebu: Modify the A8K SPI and I2C config in DTS

2016-12-12 Thread Stefan Roese
On 08.12.2016 11:22, kos...@marvell.com wrote: From: Konstantin Porotchkin Align the Armada-8040-db and Armada-7040-db SPI and I2C DTS settings with latest DB settings: - 8040-db: disable i2c0 and spi0 on AP (MPPs are reserved for SDIO) - 8040-db: disable cps_i2c0 on CP1 - 8040-db: enable spi1

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

2016-12-12 Thread Stefan Roese
Hi Tom, please pull the patches from Kosta, fixing Linux booting for Armada 7k/8k and introducing the pinctrl driver for this platform. Thanks, Stefan The following changes since commit 361a879902a3cbdb692149a1ac580e3199e771ba: Revert "Merge branch 'master' of git://www.denx.de/git/u-boot-mi

Re: [U-Boot] [PATCH] elf: use program header for loading

2016-12-12 Thread Christian Gmeiner
Sorry for the late reply.. had some days off. > >> The section header address is a VMA whereas the address found in >> the program header is a physical one. With this change it is >> possible to load and start a vx7 intel generic based image. >> >> $ readelf -l /tmp/vx7 >> >> Elf file type is EXEC

Re: [U-Boot] [PATCH 0/3] Add generic FDT memory bank decoding and gd initialization

2016-12-12 Thread Igor Grinberg
On 12/12/16 11:03, Michal Simek wrote: > On 12.12.2016 09:54, Igor Grinberg wrote: >> On 12/12/16 10:27, Michal Simek wrote: >>> On 12.12.2016 09:24, Igor Grinberg wrote: On 12/12/16 10:02, Michal Simek wrote: > On 12.12.2016 08:13, Nathan Rossi wrote: >> On 12 December 2016 at 03:11,

Re: [U-Boot] [PATCH 0/3] Add generic FDT memory bank decoding and gd initialization

2016-12-12 Thread Michal Simek
On 12.12.2016 12:10, Igor Grinberg wrote: > On 12/12/16 11:03, Michal Simek wrote: >> On 12.12.2016 09:54, Igor Grinberg wrote: >>> On 12/12/16 10:27, Michal Simek wrote: On 12.12.2016 09:24, Igor Grinberg wrote: > On 12/12/16 10:02, Michal Simek wrote: >> On 12.12.2016 08:13, Nathan R

Re: [U-Boot] [PATCH 0/3] Add generic FDT memory bank decoding and gd initialization

2016-12-12 Thread Mike Looijmans
On 12-12-16 09:18, Michal Simek wrote: On 12.12.2016 09:05, Igor Grinberg wrote: On 12/12/16 09:13, Nathan Rossi wrote: On 12 December 2016 at 03:11, Igor Grinberg wrote: dropping the list for this one as the question seems to me irrelevant to your patch set. On 12/11/16 18:47, Nathan Ross

Re: [U-Boot] [PATCH v2 3/5] net: phy: Marvell 88E151x: Add support for RGMII

2016-12-12 Thread Phil Edworthy
Hi Joe On 12 December 2016 10:15, Phil Edworthy wrote: > On 12 December 2016 09:25, Phil Edworthy wrote: > > On 09 December 2016 18:59, Joe Hershberger wrote: > > > On Fri, Dec 9, 2016 at 7:38 AM, Phil Edworthy > > > wrote: > > > > This has been tested with a Marvell 88E1512 PHY. > > > > > > > >

[U-Boot] [PATCH v3 0/3] net: phy: Add Marvell M88E1512

2016-12-12 Thread Phil Edworthy
These patches add support for the Marvell M88E1512 PHY. It turns out that it behaves exactly the same as 88E1518, so it's just a matter of fixing up the uid/mask. Phil Edworthy (3): net: phy: Fix mask so that we can identify Marvell 88E1518 net: phy: Add support for Marvell M88E1512 net: ph

[U-Boot] [PATCH v3 1/3] net: phy: Fix mask so that we can identify Marvell 88E1518

2016-12-12 Thread Phil Edworthy
The mask for the 88E1510 meant that the 88E1518 code would never be used. Signed-off-by: Phil Edworthy Reviewed-by: Stefan Roese Acked-by: Joe Hershberger --- Note: This has only been tested on a board that uses a Marvell 88E1512 PHY, see subsequent patches. v3: No changes v2: No changes ---

[U-Boot] [PATCH v3 2/3] net: phy: Add support for Marvell M88E1512

2016-12-12 Thread Phil Edworthy
This device also works with the 88E1518 code, so we just adjust the UID mask accordingly. Signed-off-by: Phil Edworthy --- v3: Correct the mask. v2: Don't add a new entry, just adjust the UID mask. --- drivers/net/phy/marvell.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) di

[U-Boot] [PATCH v3 3/3] net: phy: Marvell: Use phy_interface_is_rgmii helper function

2016-12-12 Thread Phil Edworthy
Signed-off-by: Phil Edworthy Reviewed-by: Stefan Roese Acked-by: Joe Hershberger --- v3: No changes v2: No changes --- drivers/net/phy/marvell.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index 4ddb85d..00d0719

Re: [U-Boot] [PATCH] board: topic: Detect RAM size at boot

2016-12-12 Thread Mike Looijmans
On 12-12-16 08:46, Michal Simek wrote: Hi Mike, On 22.11.2016 12:00, Michal Simek wrote: On 21.11.2016 09:30, Mike Looijmans wrote: Miami boards can have memory sizes of 256M, 512M or 1GB. To prevent requiring separate bootloaders for each variant, just detect the RAM size at boot time instea

Re: [U-Boot] [PATCH] imgtec: Update MAINTAINERS for more config files

2016-12-12 Thread Tom Rini
On Fri, Dec 09, 2016 at 09:29:01AM -0500, Tom Rini wrote: > Cover all of the boston and malta variations. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-B

Re: [U-Boot] arm: armv7: add us timer for bootstage

2016-12-12 Thread Tom Rini
On Tue, Nov 22, 2016 at 05:31:33PM +0100, Patrick Delaunay wrote: > From: Patrick Delaunay > > solve issue when bootstage is used with armV7 generic timer > first call of timer_get_boot_us() use the function get_timer() > before timer initialization (arch.timer_rate_hz = 0) > => div by 0 > > Co

Re: [U-Boot] configs: omap5_uevm_defconfig: Enable LPAE mode

2016-12-12 Thread Tom Rini
On Wed, Nov 30, 2016 at 03:01:57PM +0530, Keerthy wrote: > Enable Linear Physical Address Extension mode which is a > prerequisite for hypervisor mode. > > Signed-off-by: Keerthy > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] am57xx: Set tps659038 PMIC GPIO7 pad mux value to POWERHOLD

2016-12-12 Thread Tom Rini
On Wed, Nov 30, 2016 at 03:02:53PM +0530, Keerthy wrote: > The GPIO7 pad mux should be programmed to POWERHOLD value > as per board design. In cases where the PMIC is shut off the > mux is set to GPIO7 mode. So during initialization to be on the > safer side set the mode to POWERHOLD. > > Signed-

Re: [U-Boot] [U-Boot, v2, 1/8] spl: Use a single underscore in the SPL_LOAD_IMAGE_METHOD() macro

2016-12-12 Thread Tom Rini
On Wed, Nov 30, 2016 at 03:30:49PM -0700, Simon Glass wrote: > A double underscore is normally reserved for compiler predefines. Use a > single underscore instead. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, v2, 2/8] spl: Add a name to the SPL load-image methods

2016-12-12 Thread Tom Rini
On Wed, Nov 30, 2016 at 03:30:50PM -0700, Simon Glass wrote: > It is useful to name each method so that we can print out this name when > using the method. Currently this happens using a separate function. In > preparation for unifying this, add a name to each method. > > The name is only availab

Re: [U-Boot] [U-Boot, v2, 3/8] spl: Move the loading code into its own function

2016-12-12 Thread Tom Rini
On Wed, Nov 30, 2016 at 03:30:51PM -0700, Simon Glass wrote: > Create a boot_from_devices() function to handle trying each device. This > helps to reduce the size of the already-large board_init_r() function. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.

Re: [U-Boot] [U-Boot, v2, 4/8] spl: Pass the loader into spl_load_image()

2016-12-12 Thread Tom Rini
On Wed, Nov 30, 2016 at 03:30:52PM -0700, Simon Glass wrote: > Rather than have this function figure out the correct loader again, pass > it in as a parameter. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, v2, 6/8] spl: sunxi: Drop spl_board_announce_boot_device()

2016-12-12 Thread Tom Rini
On Wed, Nov 30, 2016 at 03:30:54PM -0700, Simon Glass wrote: > This function is not used anymore. Drop it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot,v2,5/8] spl: Drop announce_boot_device()

2016-12-12 Thread Tom Rini
On Wed, Nov 30, 2016 at 03:30:53PM -0700, Simon Glass wrote: > This task can be handled by inline code now. Drop this function. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, v2, 7/8] spl: uniphier: Drop spl_board_announce_boot_device()

2016-12-12 Thread Tom Rini
On Wed, Nov 30, 2016 at 03:30:55PM -0700, Simon Glass wrote: > This function is not used anymore. Drop it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, v2, 8/8] spl: sandbox: Drop spl_board_announce_boot_device()

2016-12-12 Thread Tom Rini
On Wed, Nov 30, 2016 at 03:30:56PM -0700, Simon Glass wrote: > This function is not used anymore. Drop it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, v4, 1/1] cmd: pci: add option to parse and display BAR information

2016-12-12 Thread Tom Rini
On Thu, Dec 01, 2016 at 05:14:18PM +0200, Yehuda Yitschak wrote: > From: Yehuda Yitschak > > Currently the PCI command only allows to see the BAR register > values but not the size and actual base address. > This little extension parses the BAR registers and displays > the base, size and type of

Re: [U-Boot] [U-Boot, 1/2] davinci: omapl138_lcdk: increase u-boot load size

2016-12-12 Thread Tom Rini
On Mon, Dec 05, 2016 at 07:15:20PM +0100, Fabien Parent wrote: > A size of 0x200 seems way too short for u-boot. Increase the size > to 512k. > > Signed-off-by: Fabien Parent > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, 2/2] davinci: omapl138_lcdk: fix bad NAND ECC config

2016-12-12 Thread Tom Rini
On Mon, Dec 05, 2016 at 07:15:21PM +0100, Fabien Parent wrote: > The configuration used to error correction was not in line with what > linux and the ROM code is using. Fix it by using the correct > configuration. Now u-boot and the SPL are able to read correctly > anything written by them. > > S

Re: [U-Boot] [U-Boot, 1/2] defconfigs: dra7xx_hs_evm: Add default OPTEE load address

2016-12-12 Thread Tom Rini
On Mon, Dec 05, 2016 at 04:21:25PM -0600, Andrew F. Davis wrote: > Currently we let U-Boot find a spot at the end of DRAM at runtime, this > forces us to build an OPTEE image based on the size of DRAM for an EVM. > Add a default address that works across all current DRA7xx EVMs. > > Signed-off-by

Re: [U-Boot] [U-Boot, 2/2] defconfigs: am57xx_hs_evm: Add default OPTEE load address

2016-12-12 Thread Tom Rini
On Mon, Dec 05, 2016 at 04:21:26PM -0600, Andrew F. Davis wrote: > Currently we let U-Boot find a spot at the end of DRAM at runtime, this > forces us to build an OPTEE image based on the size of DRAM for an EVM. > Add a default address that works across all current AM57xx EVMs. > > Signed-off-by

Re: [U-Boot] [U-Boot,v2] davinci: omapl138_lcdk: boot from zImage

2016-12-12 Thread Tom Rini
On Tue, Dec 06, 2016 at 03:45:09PM +0100, Fabien Parent wrote: > Stop booting legacy uImage and now boot zImage. > > Signed-off-by: Fabien Parent > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] tools: mkimage: Use fstat instead of stat to avoid malicious hacks

2016-12-12 Thread Tom Rini
On Tue, Dec 06, 2016 at 05:17:01PM +0100, Michal Simek wrote: > The patch is fixing: > "tools: mkimage: Check if file is regular file" > (sha1: 56c7e8015509312240b1ee15f2ff74510939a45d) > which contains two issues reported by Coverity > Unchecked return value from stat and incorrect calling sequen

Re: [U-Boot] travis-ci: Switch to building QEMU

2016-12-12 Thread Tom Rini
On Wed, Dec 07, 2016 at 11:20:40AM -0500, Tom Rini wrote: > First, there are a number of features in newer QEMU that will allow us > to test a wider range of platforms, so we want to use at least v2.8.0. > Second, making use of a PPA for QEMU fails from time to time. So we > change to checking ou

Re: [U-Boot] [U-Boot, 1/1] arm: mach-omap2: Fix secure file generation

2016-12-12 Thread Tom Rini
On Thu, Dec 08, 2016 at 04:48:07PM -0600, Andrew F. Davis wrote: > When TI_SECURE_DEV_PKG is not defined we warn that the file '*_HS' was > not generated but generate an unsigned one anyway. When TI_SECURE_DEV_PKG > is exported and the user re-builds, make will detect this file as > unchangedand a

Re: [U-Boot] calimain: Update maintainers and their email addresses

2016-12-12 Thread Tom Rini
On Thu, Dec 08, 2016 at 11:56:37PM +0100, Christian Riesch wrote: > Signed-off-by: Christian Riesch > Cc: Manfred Rudigier > Cc: Christoph Rüdisser Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3] arm: am33xx: Initialize EMIF REG_PR_OLD_COUNT for BBB and am335x-evm

2016-12-12 Thread Tom Rini
On Fri, Dec 09, 2016 at 12:29:13PM +0200, Jyri Sarha wrote: > Initialize EMIF OCP_CONFIG registers REG_COS_COUNT_1, REG_COS_COUNT_2, > and REG_PR_OLD_COUNT field for Beaglebone-Black and am335x-evm. With > the default values LCDC suffers from DMA FIFO underflows and frame > synchronization lost er

Re: [U-Boot] [PATCH] elf: use program header for loading

2016-12-12 Thread Tom Rini
On Mon, Dec 12, 2016 at 11:50:31AM +0100, Christian Gmeiner wrote: > Sorry for the late reply.. had some days off. > > > > >> The section header address is a VMA whereas the address found in > >> the program header is a physical one. With this change it is > >> possible to load and start a vx7 int

Re: [U-Boot] [RFC PATCH 0/3] spl: Add D-cache support

2016-12-12 Thread Tom Rini
On Mon, Dec 12, 2016 at 03:22:50PM +0530, Lokesh Vutla wrote: > Hi Tom, > > On Monday 28 November 2016 03:04 PM, Lokesh Vutla wrote: > > This series tries to add D-cache support in spl in order to reduce boot time > > either in 2stage boot or Falcon Boot. > > I hope there are no further comments

Re: [U-Boot] [PATCH v2 15/23] sunxi: A64: use H3 DRAM initialization code for A64

2016-12-12 Thread Maxime Ripard
On Tue, Dec 06, 2016 at 02:15:17PM +, Andre Przywara wrote: > Hi, > > On 06/12/16 11:20, Maxime Ripard wrote: > > On Mon, Dec 05, 2016 at 01:52:22AM +, Andre Przywara wrote: > >> From: Jens Kuske > >> > >> The A64 DRAM controller is very similar to the H3 one, > >> so the code can be reus

Re: [U-Boot] [PATCH v2 12/23] sunxi: provide default DRAM config for sun50i in Kconfig

2016-12-12 Thread Maxime Ripard
On Tue, Dec 06, 2016 at 11:21:26AM +, Andre Przywara wrote: > Hi, > > On 06/12/16 10:56, Maxime Ripard wrote: > > On Mon, Dec 05, 2016 at 01:52:19AM +, Andre Przywara wrote: > >> To avoid enumerating the very same DRAM values in defconfig files > >> for each and every Allwinner A64 board o

Re: [U-Boot] [PATCH v2 23/23] sunxi: A64: add 32-bit SPL support

2016-12-12 Thread Maxime Ripard
On Tue, Dec 06, 2016 at 12:22:59PM +, Andre Przywara wrote: > Hi, > > On 06/12/16 11:28, Maxime Ripard wrote: > > On Mon, Dec 05, 2016 at 01:52:30AM +, Andre Przywara wrote: > >> When compiling the SPL for the Allwinner A64 in AArch64 mode, we can't > >> use the more compact Thumb2 encodin

[U-Boot] [PATCH] MAINTAINERS: ONENAND: MTD: Mark Samsung's OneNAND as orphaned

2016-12-12 Thread Lukasz Majewski
Since I leave Samsung by the end of the year, I will not have access to OneNAND devices anymore. Hence the custodian position has been marked as "Orphaned". Signed-off-by: Lukasz Majewski --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINT

[U-Boot] [PATCH] net: phy: vitesse: Fix cis8204 RGMII_ID code

2016-12-12 Thread Phil Edworthy
Commit 79e86ccb3786c8b20004db3fa10a70049456f580 "vitesse: remove duplicated argument to ||" correctly removed a redundant check. However, I believe that the original code was simply wrong, and should have been checking against RGMII_ID. To fix this and avoid similar problems in the future, use th

Re: [U-Boot] [U-Boot, 1/1] arm: mach-omap2: Fix secure file generation

2016-12-12 Thread Tom Rini
On Fri, Dec 09, 2016 at 03:39:34PM -0600, Andrew F. Davis wrote: > On 12/09/2016 03:30 PM, Tom Rini wrote: > > On Fri, Dec 09, 2016 at 02:24:32PM -0600, Andrew F. Davis wrote: > >> On 12/09/2016 02:10 PM, Tom Rini wrote: > >>> On Fri, Dec 09, 2016 at 02:05:29PM -0600, Andrew F. Davis wrote: >

Re: [U-Boot] genext2fs fix for supporting filesystems generated by genext2fs

2016-12-12 Thread Tom Rini
On Sun, Dec 11, 2016 at 07:25:21PM -0500, FrostyBytes wrote: > I found that the latest U-Boot cannot handle filesystems generated by > genext2fs. Attempts to list such a filesystem results in divide by zero. > > Using git bisect with a test script, I got: > > f798b1dda1c5de818b806189e523d1b75db

Re: [U-Boot] [PATCH 1/2] lib: Add WATCHDOG_RESET to wait_bit.h

2016-12-12 Thread Tom Rini
On Mon, Dec 12, 2016 at 09:58:23AM +0100, Michal Simek wrote: > wait_for_bit() is missing reset watchdog in case watchdog > is configured. > > Signed-off-by: Michal Simek Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] pull request: u-boot-uniphier/master

2016-12-12 Thread Tom Rini
On Sun, Dec 11, 2016 at 06:04:19PM +0900, Masahiro Yamada wrote: > Hi Tom, > > Please pull some updates for v2017.01-rc2, thanks! > - DT sync with Linux > - Disable CONFIG_ARCH_FIXUP_FDT_MEMORY > - Minor fixes > > The following changes since commit 361a879902a3cbdb692149a1ac580e3199e771ba:

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

2016-12-12 Thread Tom Rini
On Mon, Dec 12, 2016 at 11:47:45AM +0100, Stefan Roese wrote: > Hi Tom, > > please pull the patches from Kosta, fixing Linux booting for > Armada 7k/8k and introducing the pinctrl driver for this > platform. > > Thanks, > Stefan > > > The following changes since commit 361a879902a3cbdb692149a1

Re: [U-Boot] [PATCH] MAINTAINERS: ONENAND: MTD: Mark Samsung's OneNAND as orphaned

2016-12-12 Thread Tom Rini
On Mon, Dec 12, 2016 at 04:18:30PM +0100, Lukasz Majewski wrote: > Since I leave Samsung by the end of the year, I will not have access to > OneNAND devices anymore. > > Hence the custodian position has been marked as "Orphaned". > > Signed-off-by: Lukasz Majewski Best of luck and thanks for y

Re: [U-Boot] [PATCH v2 23/23] sunxi: A64: add 32-bit SPL support

2016-12-12 Thread Andre Przywara
Hi, On 12/12/16 15:13, Maxime Ripard wrote: > On Tue, Dec 06, 2016 at 12:22:59PM +, Andre Przywara wrote: >> Hi, >> >> On 06/12/16 11:28, Maxime Ripard wrote: >>> On Mon, Dec 05, 2016 at 01:52:30AM +, Andre Przywara wrote: When compiling the SPL for the Allwinner A64 in AArch64 mode,

Re: [U-Boot] [PATCH v2 15/23] sunxi: A64: use H3 DRAM initialization code for A64

2016-12-12 Thread Andre Przywara
Hi, On 12/12/16 12:29, Maxime Ripard wrote: > On Tue, Dec 06, 2016 at 02:15:17PM +, Andre Przywara wrote: >> Hi, >> >> On 06/12/16 11:20, Maxime Ripard wrote: >>> On Mon, Dec 05, 2016 at 01:52:22AM +, Andre Przywara wrote: From: Jens Kuske The A64 DRAM controller is very si

[U-Boot] [PATCH] MAINTAINERS: DFU: Change e-mail address for DFU maintainer

2016-12-12 Thread Lukasz Majewski
Despite I leave Samsung by the end of the year, I'm going to maintain DFU in u-boot. Signed-off-by: Lukasz Majewski --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 53603d1..c2085ca 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -

Re: [U-Boot] [PATCH v2 23/23] sunxi: A64: add 32-bit SPL support

2016-12-12 Thread Chen-Yu Tsai
On Tue, Dec 13, 2016 at 12:04 AM, Andre Przywara wrote: > Hi, > > On 12/12/16 15:13, Maxime Ripard wrote: >> On Tue, Dec 06, 2016 at 12:22:59PM +, Andre Przywara wrote: >>> Hi, >>> >>> On 06/12/16 11:28, Maxime Ripard wrote: On Mon, Dec 05, 2016 at 01:52:30AM +, Andre Przywara wrote:

Re: [U-Boot] [PATCH v2 23/23] sunxi: A64: add 32-bit SPL support

2016-12-12 Thread Andre Przywara
Hi, On 12/12/16 16:18, Chen-Yu Tsai wrote: > On Tue, Dec 13, 2016 at 12:04 AM, Andre Przywara > wrote: >> Hi, >> >> On 12/12/16 15:13, Maxime Ripard wrote: >>> On Tue, Dec 06, 2016 at 12:22:59PM +, Andre Przywara wrote: Hi, On 06/12/16 11:28, Maxime Ripard wrote: > On Mon,

[U-Boot] [PATCH 01/12] ARM: dt: zynq: Add labels to cpu nodes to allow overriding OPPs.

2016-12-12 Thread Moritz Fischer
By adding labels to the cpu nodes in the dtsi, a dts that includes it can change the OPPs by referencing the cpu0 through the label. [Based on linux (400b6a0cbef55d1ae32808eaa1ef1c28820bf6ac)] Signed-off-by: Moritz Fischer Cc: Michal Simek Cc: u-boot@lists.denx.de --- Hi Michal, I thought I've

[U-Boot] [PATCH v2] ARM: dt: zynq: Add labels to cpu nodes to allow overriding OPPs.

2016-12-12 Thread Moritz Fischer
By adding labels to the cpu nodes in the dtsi, a dts that includes it can change the OPPs by referencing the cpu0 through the label. [Based on linux (400b6a0cbef55d1ae32808eaa1ef1c28820bf6ac)] Signed-off-by: Moritz Fischer Cc: Michal Simek Cc: u-boot@lists.denx.de --- Ok, since I fatfingered v1

Re: [U-Boot] Rockchip RK3288 regulator device table problem

2016-12-12 Thread Rick Bronson
Hi Simon, > > On 9 December 2016 at 18:12, Rick Bronson wrote: > > Hi All, > > > > How do I enable a particular regulator upon boot? I have two > > identically set LDO entries: > > > > vccio_en: LDO_REG1 { > > regulator-always-on; > >

Re: [U-Boot] [PATCH v2 1/2] test/py: Allow to pass u_boot_log instead of console for run_and_log

2016-12-12 Thread Stephen Warren
On 12/04/2016 05:52 PM, Stefan Brüns wrote: The runner actually has no console dependency, only on the log provided by the console. Accept both u_boot_console or a multiplexed_log. Either this approach or updating all callers to always pass the log object is fine by me. So if you need it, Ac

Re: [U-Boot] [PATCH v3 1/2] test/py: Pass u_boot_log instead of console for run_and_log

2016-12-12 Thread Stephen Warren
On 12/11/2016 02:58 PM, Stefan Brüns wrote: From: Stefan Brüns The runner actually has no console dependency, only on the log provided by the console. Acked-by: Stephen Warren ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailm

Re: [U-Boot] [PATCH] MAINTAINERS: DFU: Change e-mail address for DFU maintainer

2016-12-12 Thread Tom Rini
On Mon, Dec 12, 2016 at 05:07:07PM +0100, Lukasz Majewski wrote: > Despite I leave Samsung by the end of the year, I'm going to maintain DFU > in u-boot. > > Signed-off-by: Lukasz Majewski Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v2 2/2] test/py: Create tests for ext4 and fat testing on sandbox

2016-12-12 Thread Stephen Warren
On 12/04/2016 05:52 PM, Stefan Brüns wrote: From: Stefan Brüns The following checks are currently implemented: 1. listing a directory 2. verifying size of a file 3. veryfying md5sum for a file region 4. reading the beginning of a file General comments: 1) I don't see anywhere that limits th

Re: [U-Boot] genext2fs fix for supporting filesystems generated by genext2fs

2016-12-12 Thread stefan.bruens
On Sonntag, 11. Dezember 2016 19:25:21 CET FrostyBytes wrote: > I found that the latest U-Boot cannot handle filesystems generated by > genext2fs. Attempts to list such a filesystem results in divide by zero. > > Using git bisect with a test script, I got: > > f798b1dda1c5de818b806189e523d1b75db7

[U-Boot] [PATCHv5 05/17] arm: ls1012a: add PCIe dts node

2016-12-12 Thread Zhiqiang Hou
From: Minghuan Lian Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V5: - No change arch/arm/dts/fsl-ls1012a.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/dts/fsl-ls1012a.dtsi b/arch/arm/dts/fsl-ls1012a.dtsi index 024527e..c4ca9c1 100644 ---

[U-Boot] [PATCHv5 03/17] dm: pci: remove pci_bus_to_hose(0) calling

2016-12-12 Thread Zhiqiang Hou
From: Minghuan Lian There may be multiple PCIe controllers in a SoC. It is not correct that always calling pci_bus_to_hose(0) to get the first PCIe controller for the PCIe device connected other controllers. We just remove this calling because hose always point the correct PCIe controller. Signe

[U-Boot] [PATCHv5 02/17] dm: pci: return the real controller in pci_bus_to_hose()

2016-12-12 Thread Zhiqiang Hou
From: Minghuan Lian for the legacy PCI driver, the function pci_bus_to_hose() returns the real PCIe controller. To keep consistency, this function is changed to return the PCIe controller pointer of the root bus instead of the current PCIe bus. Signed-off-by: Minghuan Lian Signed-off-by: Hou Zh

[U-Boot] [PATCHv5 01/17] configs: ls1021a: enable DT and DM support

2016-12-12 Thread Zhiqiang Hou
From: Hou Zhiqiang Enable DT to support Driver Model. Signed-off-by: Hou Zhiqiang --- V5: - No change configs/ls1021aqds_nand_defconfig | 3 +++ configs/ls1021aqds_nor_SECURE_BOOT_defconfig| 2 ++ configs/ls1021atwr_nor_SECURE_BOOT_defconfig| 2 ++ configs/l

[U-Boot] [PATCHv5 04/17] arm: ls1021a: add PCIe dts node

2016-12-12 Thread Zhiqiang Hou
From: Minghuan Lian Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V5: - No change arch/arm/dts/ls1021a.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/dts/ls1021a.dtsi b/arch/arm/dts/ls1021a.dtsi index 37be169..c40d87c 100644

[U-Boot] [PATCHv5 06/17] armv8: ls1043a: add PCIe dts node

2016-12-12 Thread Zhiqiang Hou
From: Minghuan Lian Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V5: - No change arch/arm/dts/fsl-ls1043a.dtsi | 46 +++ 1 file changed, 46 insertions(+) diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arch/arm/dts/fsl-ls1043a.dtsi index

[U-Boot] [PATCHv5 08/17] armv8: ls2080a: add PCIe dts node

2016-12-12 Thread Zhiqiang Hou
From: Minghuan Lian Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V5: - No change arch/arm/dts/fsl-ls2080a.dtsi | 60 +++ 1 file changed, 60 insertions(+) diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch/arm/dts/fsl-ls2080a.dtsi index

[U-Boot] [PATCHv5 07/17] armv8: ls1046a: add PCIe dts node

2016-12-12 Thread Zhiqiang Hou
From: Minghuan Lian Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V5: - No change arch/arm/dts/fsl-ls1046a.dtsi | 49 +++ 1 file changed, 49 insertions(+) diff --git a/arch/arm/dts/fsl-ls1046a.dtsi b/arch/arm/dts/fsl-ls1046a.dtsi index

[U-Boot] [PATCHv5 09/17] pci: layerscape: move kernel DT fixup to a separate file

2016-12-12 Thread Zhiqiang Hou
From: Hou Zhiqiang To make the layerscape pcie driver clear, move the kernel DT fixup code from pcie_layerscape.c to pcie_layerscape_fixup.c. Signed-off-by: Hou Zhiqiang --- V5: - New patch drivers/pci/Makefile| 1 + drivers/pci/pcie_layerscape.c | 314 +--

[U-Boot] [PATCHv5 10/17] pci: layerscape: add pci driver based on DM

2016-12-12 Thread Zhiqiang Hou
From: Minghuan Lian There are more than five kinds of Layerscape SoCs. unfortunately, PCIe controller of each SoC is a little bit different. In order to avoid too many macro definitions, the patch addes a new implementation of PCIe driver based on DM. PCIe dts node is used to describe the differe

[U-Boot] [PATCHv5 13/17] armv8: ls1043a: Enable PCIe and E1000 in defconfigs

2016-12-12 Thread Zhiqiang Hou
From: Minghuan Lian The patch enables PCIe and E1000 in ls1043a defconfigs and removes unused PCIe related macro defines. Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V5: - No change configs/ls1043aqds_defconfig | 7 ++- configs/ls1043aqds_lpuart_defconfig

[U-Boot] [PATCHv5 11/17] arm: ls1021a: Enable PCIe in defconfigs

2016-12-12 Thread Zhiqiang Hou
From: Minghuan Lian The patch enables PCIe in ls1021a defconfigs and removes unused PCIe related macro defines. Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V5: - No change configs/ls1021aiot_qspi_defconfig | 4 configs/ls1021aiot_sdcard_defconfig

[U-Boot] [PATCHv5 12/17] arm: ls1012a: Enable PCIe and E1000 in defconfigs

2016-12-12 Thread Zhiqiang Hou
From: Minghuan Lian The patch enables PCIe and E1000 in ls1012a defconfigs and removes unused PCIe related macro defines Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V5: - No change configs/ls1012afrdm_qspi_defconfig | 5 + configs/ls1012aqds_qspi_defconfig | 5 -

[U-Boot] [PATCHv5 14/17] armv8: ls1046a: Enable PCIe and E1000 in defconfigs

2016-12-12 Thread Zhiqiang Hou
From: Minghuan Lian The patch enables PCIe and E1000 in ls1046a related defconfigs. Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V5: - No change configs/ls1046aqds_defconfig | 6 ++ configs/ls1046aqds_nand_defconfig| 6 ++ configs/ls1046aqds_qspi_

[U-Boot] [PATCHv5 15/17] armv8: ls2080a: Enable PCIe in defconfigs

2016-12-12 Thread Zhiqiang Hou
From: Minghuan Lian The patch enables PCIe in ls2080a defconfigs and removes unused PCIe related macro defines. Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V5: - No change .../include/asm/arch-fsl-layerscape/immap_lsch3.h | 8 configs/ls2080aqds_SECURE_BOOT_defco

[U-Boot] [PATCHv5 16/17] pci: layerscape: remove unnecessary legacy code

2016-12-12 Thread Zhiqiang Hou
From: Minghuan Lian All Layerscape SoCs have supported new PCIe driver based on DM. The lagecy PCIe driver code is unused and can be removed. Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang Reviewed-by: Simon Glass --- V5: - No change drivers/pci/pcie_layerscape.c | 497

[U-Boot] [PATCHv5 17/17] kconfig: move FSL_PCIE_COMPAT to platform Kconfig

2016-12-12 Thread Zhiqiang Hou
From: Hou Zhiqiang Signed-off-by: Hou Zhiqiang --- V5: - No change arch/arm/cpu/armv7/ls102xa/Kconfig| 8 arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 11 +++ drivers/pci/pcie_layerscape_fixup.c | 8 include/configs/ls1012aqds.h | 1 - in

[U-Boot] [PATCH v3] rockchip: rk3288: set isp/vop qos priority level

2016-12-12 Thread Nickey Yang
Isp-camera preview image will be broken when dual screen display mode. This patch set isp/vop qos level higher to solve this problem. We have verified this patch on rk3288-miniarm board. Signed-off-by: Nickey Yang --- arch/arm/include/asm/arch-rockchip/qos_rk3288.h | 26 +

Re: [U-Boot] [PATCHv5 02/17] dm: pci: return the real controller in pci_bus_to_hose()

2016-12-12 Thread Bin Meng
On Tue, Dec 13, 2016 at 2:54 PM, Zhiqiang Hou wrote: > From: Minghuan Lian > > for the legacy PCI driver, the function pci_bus_to_hose() returns > the real PCIe controller. To keep consistency, this function is > changed to return the PCIe controller pointer of the root bus > instead of the curre

Re: [U-Boot] [PATCHv5 03/17] dm: pci: remove pci_bus_to_hose(0) calling

2016-12-12 Thread Bin Meng
On Tue, Dec 13, 2016 at 2:54 PM, Zhiqiang Hou wrote: > From: Minghuan Lian > > There may be multiple PCIe controllers in a SoC. > It is not correct that always calling pci_bus_to_hose(0) to get > the first PCIe controller for the PCIe device connected other > controllers. We just remove this call