[U-Boot] [PATCH v2] armv7m: Fix larger builds

2017-05-31 Thread Phil Edworthy
The branch instruction only has an 11-bit relative target address, which is sometimes not enough. Signed-off-by: Phil Edworthy --- v2: - Use W(b) instead of ldr+mov. Using this macro requires CONFIG_ARM_ASM_UNIFIED and CONFIG_THUMB2_KERNEL to be defined. ---

Re: [U-Boot] [PATCH v2 1/6] EFI: replace number with UUID_STR_LEN macro

2017-05-31 Thread Lukasz Majewski
Hi Alison, > From: Alison Chaiken > > Signed-off-by: Alison Chaiken Acked-by: Lukasz Majewski > --- > disk/part_efi.c | 2 +- > include/part.h | 5 +++-- > 2 files changed, 4 insertions(+), 3 deletions(-) > > diff --git

Re: [U-Boot] [PATCH v2 2/6] disk_partition: introduce macros for description string lengths

2017-05-31 Thread Lukasz Majewski
Hi Alison, > From: Alison Chaiken > > Signed-off-by: Alison Chaiken > --- > include/part.h | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/include/part.h b/include/part.h > index 6ace09f..87b 100644 > ---

Re: [U-Boot] [PATCH] mx7dsabresd: Increase CONFIG_ENV_OFFSET

2017-05-31 Thread Stefano Babic
On 28/05/2017 19:07, Fabio Estevam wrote: > From: Fabio Estevam > > After running 'saveenv' we can no longer boot. > > Adjust CONFIG_ENV_OFFSET so that U-Boot binary and the environment > section do not overlap. > > Signed-off-by: Fabio Estevam >

Re: [U-Boot] [PATCH v2 4/6] GPT: read partition table from device into a data structure

2017-05-31 Thread Lukasz Majewski
Hi Alison, > From: Alison Chaiken > > Make the partition table available for modification by reading it from > the user-specified device into a linked list. Provide an accessor > function for command-line testing. Acked-by: Lukasz Majewski > >

[U-Boot] [PATCH 1/4] x86: baytrail: Change "fsp, mrc-init-tseg-size" default value to 1

2017-05-31 Thread Bin Meng
The default value of "fsp,mrc-init-tseg-size" should be 1 (1MB) per FSP default settings. 0 is not valid. Signed-off-by: Bin Meng --- arch/x86/cpu/baytrail/fsp_configs.c | 2 +- arch/x86/dts/bayleybay.dts| 2 +-

Re: [U-Boot] [PATCH v2 3/6] GPT: add accessor function for disk GUID

2017-05-31 Thread Lukasz Majewski
Hi Alison, > From: Alison Chaiken > > In order to read the GPT, modify the partition name strings, and then > write out a new GPT, the disk GUID is needed. While there is an > existing accessor for the partition UUIDs, there is none yet for the > disk GUID. Acked-by:

[U-Boot] [PATCH 4/4] x86: baytrail: Change lpe/lpss-sio/scc FSP properties to integer

2017-05-31 Thread Bin Meng
At present lpe/lpss-sio/scc FSP properties are all boolean, but in fact for "enable-lpe" it has 3 possible options. This adds macros for these options and change the property from a boolean type to an integer type, and change their names to explicitly indicate what the property is really for.

[U-Boot] [PATCH 3/4] x86: baytrail: Use macros instead of magic numbers for FSP settings

2017-05-31 Thread Bin Meng
Introduce various meaningful macros for FSP settings and switch over to use them instead of magic numbers. Signed-off-by: Bin Meng --- arch/x86/cpu/baytrail/fsp_configs.c| 35 +- arch/x86/dts/bayleybay.dts | 17 ++---

[U-Boot] [PATCH 2/4] x86: baytrail: Remove "serial-debug-port-*" settings

2017-05-31 Thread Bin Meng
"serial-debug-port-address" and "serial-debug-port-type" settings are actually reserved in the FSP UPD data structure. Remove them. Signed-off-by: Bin Meng --- arch/x86/cpu/baytrail/fsp_configs.c | 4 arch/x86/dts/bayleybay.dts

Re: [U-Boot] [PATCH] armv7m: Fix larger builds

2017-05-31 Thread Phil Edworthy
Hi Vikas, On 27 May 2017 00:55 Vikas MANOCHA wrote: > On Friday, May 26, 2017 1:27 AM Phil Edworthy wrote: > > On 26 May 2017 00:58 Vikas MANOCHA wrote: > > > On Thursday, May 25, 2017 6:58 AM Phil Edworthy wrote: > > > > On 25 May 2017 10:16 Phil Edworthy wrote: > > > > > > On 24 May 2017 18:32

Re: [U-Boot] [PATCH 08/11] dwc3: Add support for USB device boot

2017-05-31 Thread Vignesh R
On Wednesday 31 May 2017 09:20 AM, Simon Glass wrote: > On 23 May 2017 at 05:55, Vignesh R wrote: >> Add support to for USB device boot for dwc3 gadget, so that RNDIS can be >> used in SPL to download next stage. >> Provide a way to read MAC address for usb_ether device from

Re: [U-Boot] [PATCH 1/3] nds32: mmc: Support ftsdc010 DM.

2017-05-31 Thread Jaehoon Chung
On 05/31/2017 10:36 AM, Andes wrote: > From: rick > > Support Andestech ftsdc010 SD/MMC device tree flow > on AG101P/AE3XX platforms. > > Signed-off-by: rick > --- > drivers/mmc/Kconfig| 12 > drivers/mmc/Makefile |1 + >

Re: [U-Boot] [PATCH V7 4/4] rockchip: rk3288: enable rockusb support on rk3288 based device

2017-05-31 Thread Lukasz Majewski
On Wed, 31 May 2017 10:27:23 +0800 Eddie Cai wrote: > Hi Lukasz > > 2017-05-29 15:51 GMT+08:00 Lukasz Majewski : > > Good morning Eddie, > > > >> this patch enable rockusb support on rk3288 based device. > >> > >> Signed-off-by: Eddie Cai

Re: [U-Boot] [PATCH V7 4/4] rockchip: rk3288: enable rockusb support on rk3288 based device

2017-05-31 Thread Eddie Cai
2017-05-31 15:12 GMT+08:00 Lukasz Majewski : > On Wed, 31 May 2017 10:27:23 +0800 > Eddie Cai wrote: > >> Hi Lukasz >> >> 2017-05-29 15:51 GMT+08:00 Lukasz Majewski : >> > Good morning Eddie, >> > >> >> this patch enable rockusb support on

Re: [U-Boot] [PATCH] arm: mx6: remove unused config variable CONFIG_SPL_NAND_MXS

2017-05-31 Thread Stefano Babic
On 26/05/2017 10:12, Lothar Waßmann wrote: > The config variable CONFIG_SPL_NAND_MXS is only set in > include/configs/imx6_spl.h but used nowhere. > Remove it. > > Signed-off-by: Lothar Waßmann > --- Applied to -master, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH v2 5/6] rename GPT partitions to detect boot failure

2017-05-31 Thread Lukasz Majewski
Hi Alison, > From: Alison Chaiken > > This patch provides support in u-boot for renaming GPT > partitions. The renaming is accomplished via a new 'gpt flip' > command which is enabled via a CONFIG_CMD_GPT_FLIP option. > > The concept for the bootloader state machine is

Re: [U-Boot] [PATCH 2/4] x86: baytrail: Remove "serial-debug-port-*" settings

2017-05-31 Thread Stefan Roese
On 31.05.2017 10:04, Bin Meng wrote: "serial-debug-port-address" and "serial-debug-port-type" settings are actually reserved in the FSP UPD data structure. Remove them. Signed-off-by: Bin Meng Reviewed-by: Stefan Roese Thanks, Stefan

Re: [U-Boot] [PATCH 1/4] x86: baytrail: Change "fsp, mrc-init-tseg-size" default value to 1

2017-05-31 Thread Stefan Roese
On 31.05.2017 10:04, Bin Meng wrote: The default value of "fsp,mrc-init-tseg-size" should be 1 (1MB) per FSP default settings. 0 is not valid. Signed-off-by: Bin Meng How does this change affect the x86 U-Boot versions? Did you experience any problems with the incorrect

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

2017-05-31 Thread Stefan Roese
Hi Tom, please pull the following Marvell changes, mostly including the Armada 37xx pinctrl / gpio driver. Thanks, Stefan The following changes since commit ccbbada0a59fead35495409d0c2c7bcb22a40278: Merge branch 'master' of git://git.denx.de/u-boot-mmc (2017-05-30 14:07:23 -0400) are

[U-Boot] [PATCH v3] spi: fsl_qspi: Copy 16 byte aligned data in TX FIFO

2017-05-31 Thread Suresh Gupta
In some of the QSPI controller version, there must be atleast 128bit data available in TX FIFO for any pop operation otherwise error bit will be set. The code will not make any behavior change for previous controller as the transfer data size in ipcr register is still the same. Patch is tested on

Re: [U-Boot] [PATCH v2 6/6] GPT: fix error in partitions string doc

2017-05-31 Thread Lukasz Majewski
Hi Alison, > From: Alison Chaiken > > The existing partitions-list parsing in cmd/gpt.c passes a value > from gpt_default() to set_gpt_info() that README.gpt suggests > should begin with 'partitions='. Partition-list strings should > in fact begin with 'uuid_disk', as

Re: [U-Boot] [PATCH 3/4] x86: baytrail: Use macros instead of magic numbers for FSP settings

2017-05-31 Thread Stefan Roese
On 31.05.2017 10:04, Bin Meng wrote: Introduce various meaningful macros for FSP settings and switch over to use them instead of magic numbers. Signed-off-by: Bin Meng Looks very good, much more descriptive this way. Thanks for working on this. :) Reviewed-by: Stefan

Re: [U-Boot] [PATCH V7 4/4] rockchip: rk3288: enable rockusb support on rk3288 based device

2017-05-31 Thread Eddie Cai
2017-05-31 16:22 GMT+08:00 Lukasz Majewski : > Hi Eddie, > >> > Prepare v2017.05-rc3 >> > >> > Signed-off-by: Tom Rini >> >> Ok. Thanks for the info. >> >> The u-boot-usb seems to be a bit older. >^^ sorry newer

Re: [U-Boot] [PATCH 4/4] x86: baytrail: Change lpe/lpss-sio/scc FSP properties to integer

2017-05-31 Thread Stefan Roese
On 31.05.2017 10:04, Bin Meng wrote: At present lpe/lpss-sio/scc FSP properties are all boolean, but in fact for "enable-lpe" it has 3 possible options. This adds macros for these options and change the property from a boolean type to an integer type, and change their names to explicitly

Re: [U-Boot] [PATCH 0/9] i.MX6: Engicam: Move common config code

2017-05-31 Thread Stefano Babic
Hi Jagan, On 12/05/2017 13:48, Jagan Teki wrote: > From: Jagan Teki > > This series move configs code used by different i.MX6 SOM's into > single config file, include/configs/imx6-engicam.h > > (1) Generate single config file imx6-engicam.h > (2) Drop 4 som based

Re: [U-Boot] [PATCH] arm: mvebu: clearfog: generic distro bootcmd

2017-05-31 Thread Stefan Roese
On 10.05.2017 15:12, Patrick Wildt wrote: Switch Clearfog to the generic distro defaults. This has been taken from a Debian mailing list thread: https://lists.debian.org/debian-boot/2016/10/msg00026.html Signed-off-by: Patrick Wildt Applied to u-boot-marvell/master.

Re: [U-Boot] [PATCH] arm: mvebu: clearfog: reset uSOM onboard 1512 phy

2017-05-31 Thread Stefan Roese
On 09.05.2017 13:54, Patrick Wildt wrote: Use GPIO19 which is wired to the uSOM phy reset signal in order to reset the uSOM's 1512 Gigabit Ethernet phy. This GPIO is valid on ClearFog rev 2.1 and newer. Taken from SolidRun's specialised u-boot, see

Re: [U-Boot] [PATCH 1/4] x86: baytrail: Change "fsp, mrc-init-tseg-size" default value to 1

2017-05-31 Thread Bin Meng
Hi Stefan, On Wed, May 31, 2017 at 4:18 PM, Stefan Roese wrote: > On 31.05.2017 10:04, Bin Meng wrote: >> >> The default value of "fsp,mrc-init-tseg-size" should be 1 (1MB) per >> FSP default settings. 0 is not valid. >> >> Signed-off-by: Bin Meng > > > How

[U-Boot] [PATCH] arm64: hikey: Fix instructions in readme

2017-05-31 Thread Michal Simek
Fix inaccurate instructions in README. Signed-off-by: Michal Simek --- board/hisilicon/hikey/README | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/board/hisilicon/hikey/README b/board/hisilicon/hikey/README index 0f6aab717c4e..4c2021f5097a

Re: [U-Boot] [PATCH v5 5/16] cmd: Add Kconfig option for CMD_MTDPARTS and related options

2017-05-31 Thread Jörg Krause
Hi Maxime, On Tue, 2017-05-30 at 23:09 +0200, Maxime Ripard wrote: > Hi Jörg, > > On Tue, May 30, 2017 at 09:39:57AM +0200, Jörg Krause wrote: > > On Mon, 2017-02-27 at 18:22 +0100, Maxime Ripard wrote: > > > CMD_MTDPARTS is something the user might or might not want to > > > select, > > > and >

Re: [U-Boot] [PATCH 2/4] mx25: Fix imx_get_perclk()

2017-05-31 Thread Stefano Babic
On 03/05/2017 11:59, Benoît Thébaudeau wrote: > imx_get_perclk() used the AHB clock as the clock source for all PER > clocks, but the USB PLL output can also be a PER clock source if the > corresponding PER CLK MUX bit is set in CCM.MCR. > > Signed-off-by: Benoît Thébaudeau >

Re: [U-Boot] [PATCH 3/4] mx25: Add function to set PER clocks

2017-05-31 Thread Stefano Babic
On 03/05/2017 11:59, Benoît Thébaudeau wrote: > Introduce the imx_set_perclk() function to make it possible to set the > PER clocks. > > Signed-off-by: Benoît Thébaudeau > --- > arch/arm/cpu/arm926ejs/mx25/generic.c | 19 +++ >

Re: [U-Boot] [PATCH v2 3/6] GPT: add accessor function for disk GUID

2017-05-31 Thread Lothar Waßmann
Hi, On Wed, 31 May 2017 09:44:43 +0200 Lukasz Majewski wrote: > Hi Alison, > > > From: Alison Chaiken > > > > In order to read the GPT, modify the partition name strings, and then > > write out a new GPT, the disk GUID is needed. While there is an > > existing accessor

Re: [U-Boot] [PATCH v2 4/6] GPT: read partition table from device into a data structure

2017-05-31 Thread Lothar Waßmann
Hi, On Wed, 31 May 2017 09:48:45 +0200 Lukasz Majewski wrote: > Hi Alison, > > > From: Alison Chaiken > > > > Make the partition table available for modification by reading it from > > the user-specified device into a linked list. Provide an accessor > > function for

Re: [U-Boot] [PATCH v3 0/3] rockchip: mkimage: refactor rksd/rkspi padding calculation and add dumpimage support

2017-05-31 Thread Andy Yan
Hi Philipp: 2017-05-31 5:32 GMT+08:00 Philipp Tomsich < philipp.toms...@theobroma-systems.com>: > > We support booting both from SD/MMC images and SPI images on the > RK3399-Q7 for different use-cases (e.g. external boot in development > from the SD card, internal boot from MMC or SPI depending

Re: [U-Boot] [PATCH] drivers: pci: imx: add imx_pcie_remove function

2017-05-31 Thread Stefano Babic
Hi Tim, On 18/05/2017 16:35, Stefano Babic wrote: >> Stefano, >> >> My patch is not intrusive and it appears several people are wanting >> it. Why not accept my patch which will end up getting re-written once >> the PCI driver is moved to DM? > > Well, most drivers are already moved to DM and

Re: [U-Boot] [PATCH] pico-imx7d: Add initial support

2017-05-31 Thread Stefano Babic
On 08/05/2017 18:17, Vanessa Maegima wrote: > Add the initial support for pico-imx7d board based on Wig Cheng's > source code. > > Add support for eMMC, USB gadget, I2C, PMIC and Ethernet. > > For more information about this board, please visit: >

Re: [U-Boot] [PATCH V7 4/4] rockchip: rk3288: enable rockusb support on rk3288 based device

2017-05-31 Thread Lukasz Majewski
Hi Eddie, > > Prepare v2017.05-rc3 > > > > Signed-off-by: Tom Rini > > Ok. Thanks for the info. > > The u-boot-usb seems to be a bit older. ^^ sorry newer :-) "usb: ehci: Add Renesas RCar M3/H3 EHCI support"

Re: [U-Boot] [PATCH 4/4] mx25pdk: Set the eSDHC PER clock to 48 MHz

2017-05-31 Thread Stefano Babic
On 03/05/2017 11:59, Benoît Thébaudeau wrote: > The maximum SD clock frequency in High Speed mode is 50 MHz. This change > makes it possible to get 48 MHz from the USB PLL (240 MHz / 5 / 1) > instead of the previous 33.25 MHz from the AHB clock (133 MHz / 2 / 2). > > Signed-off-by: Benoît

Re: [U-Boot] [PATCH] arm64: mvebu: armada-7040-db: Enable 10GB port 0 / SFI (KR)

2017-05-31 Thread Stefan Roese
On 06.04.2017 15:39, Stefan Roese wrote: This patch enables the mvpp2 port 0 usage on the Armada 7k DB by setting the correct PHY type (KR / SFI) for the COMPHY driver and enabling the ethernet0 device node in the dts. Signed-off-by: Stefan Roese Cc: Stefan Chulski

Re: [U-Boot] [PATCH] arm64: mvebu: Replace board specific with generic memory bank decoding

2017-05-31 Thread Stefan Roese
On 08.05.2017 08:31, Stefan Roese wrote: The dram_init and dram_init_banksize functions were using a board specific implementation for decoding the memory banks from the fdt. This change makes the dram_init* functions use a generic implementation of decoding and populating memory bank and size

Re: [U-Boot] [PATCH V7 4/4] rockchip: rk3288: enable rockusb support on rk3288 based device

2017-05-31 Thread Lukasz Majewski
On Wed, 31 May 2017 16:02:27 +0800 Eddie Cai wrote: > 2017-05-31 15:12 GMT+08:00 Lukasz Majewski : > > On Wed, 31 May 2017 10:27:23 +0800 > > Eddie Cai wrote: > > > >> Hi Lukasz > >> > >> 2017-05-29 15:51 GMT+08:00 Lukasz

Re: [U-Boot] [PATCH V7 4/4] rockchip: rk3288: enable rockusb support on rk3288 based device

2017-05-31 Thread Eddie Cai
2017-05-31 16:41 GMT+08:00 Eddie Cai : > 2017-05-31 16:22 GMT+08:00 Lukasz Majewski : >> Hi Eddie, >> >>> > Prepare v2017.05-rc3 >>> > >>> > Signed-off-by: Tom Rini >>> >>> Ok. Thanks for the info. >>> >>> The u-boot-usb seems

Re: [U-Boot] [PATCH 1/4] mmc: fsl_esdhc: Allow all supported prescaler values

2017-05-31 Thread Stefano Babic
On 03/05/2017 11:59, Benoît Thébaudeau wrote: > On i.MX, SYSCTL.SDCLKFS may be set to 0 in order to make the SD clock > frequency prescaler divide by 1 in SDR mode. In DDR mode, the prescaler > can divide by up to 512. Allow both of these settings. > > The maximum SD clock frequency in High Speed

Re: [U-Boot] [PATCH 1/6] arm64: mvebu: Add pinctrl nodes for Armada 3700

2017-05-31 Thread Stefan Roese
On 23.05.2017 06:59, Stefan Roese wrote: From: Gregory CLEMENT Add the nodes for the two pin controller present in the Armada 37xx SoCs. Initially the node was named gpio1 using the same name that for the register range in the datasheet. However renaming it

Re: [U-Boot] [PATCH] arm: mvebu: kwbimage: inline function to fix use-after-free

2017-05-31 Thread Stefan Roese
On 10.05.2017 22:18, Patrick Wildt wrote: image_version_file()'s only use is to return the version number of the specified image, and it's only called by kwbimage_generate(). This version function mallocs "image_cfg" and reads the contents of the image into that buffer. Before return to its

Re: [U-Boot] [PATCH v2] sun50i: a64: Add initial Banana Pi M64 support

2017-05-31 Thread Maxime Ripard
On Mon, May 29, 2017 at 01:21:48PM +, Jagan Teki wrote: > From: Jagan Teki > > BPI-M64 is a 64-bit quad-core mini single board computer > using the Allwinner A64 SOC. > > BPI-M64 features > - 1.2 Ghz Quad-Core ARM Cortex A53 > - 2GB DDR3 SDRAM with 733MHz > -

Re: [U-Boot] [PATCH 1/4] x86: baytrail: Change "fsp, mrc-init-tseg-size" default value to 1

2017-05-31 Thread Stefan Roese
Hi Bin, On 31.05.2017 11:18, Bin Meng wrote: Hi Stefan, On Wed, May 31, 2017 at 4:18 PM, Stefan Roese wrote: On 31.05.2017 10:04, Bin Meng wrote: The default value of "fsp,mrc-init-tseg-size" should be 1 (1MB) per FSP default settings. 0 is not valid. Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH v4] dm: serial: bcm6345: fix baud rate clock calculation

2017-05-31 Thread Daniel Schwierzeck
Am 22.05.2017 um 20:01 schrieb Álvaro Fernández Rojas: > It's currently bugged and doesn't work for even cases. > Right shift bits instead of dividing and fix even cases. > > Signed-off-by: Álvaro Fernández Rojas > --- > v4: really fix baud rate calculation > v3: fix baud

Re: [U-Boot] [PATCH v2] armv7m: Fix larger builds

2017-05-31 Thread Vikas MANOCHA
> On May 31, 2017, at 12:27 AM, Phil Edworthy wrote: > > The branch instruction only has an 11-bit relative target address, which > is sometimes not enough. > > Signed-off-by: Phil Edworthy Reviewed-by: Vikas Manocha

Re: [U-Boot] [PATCH v2] armv7m: Fix larger builds

2017-05-31 Thread Tom Rini
On Wed, May 31, 2017 at 08:27:05AM +0100, Phil Edworthy wrote: > The branch instruction only has an 11-bit relative target address, which > is sometimes not enough. > > Signed-off-by: Phil Edworthy > --- > v2: > - Use W(b) instead of ldr+mov. Using this macro

Re: [U-Boot] [PATCH] board: ti: am571-idx: Add vcores support

2017-05-31 Thread Keerthy
On Thursday 25 May 2017 08:11 PM, Tom Rini wrote: > On Thu, May 25, 2017 at 03:37:34PM +0530, Keerthy wrote: > >> Update vcores for am571-idk board. >> >> Reported-by: Steve Kipisz >> Signed-off-by: Keerthy >> Signed-off-by: Lokesh Vutla

[U-Boot] [PATCH v3] sun50i: a64: Add initial Banana Pi M64 support

2017-05-31 Thread Jagan Teki
From: Jagan Teki BPI-M64 is a 64-bit quad-core mini single board computer using the Allwinner A64 SOC. BPI-M64 features - 1.2 Ghz Quad-Core ARM Cortex A53 - 2GB DDR3 SDRAM with 733MHz - MicroSD/eMMC(8GB) - 10/100/1000Mbps ethernet (Realtek RTL8211E/D) - Wifi + BT -

Re: [U-Boot] [RESEND PATCH v2 0/5] net/pch_gbe: updates for MIPS Boston board

2017-05-31 Thread Daniel Schwierzeck
Hi Joe, Am 30.05.2017 um 22:29 schrieb Joe Hershberger: > Hi Daniel, > > On Sun, Apr 30, 2017 at 2:57 PM, Daniel Schwierzeck > wrote: >> This series is a resend of selected net/pch_gbe patches from the >> original patch series [1] which was blocked by other patch

[U-Boot] [PATCH v4 6/9] rockchip: video: split RK3228-specific part off from rk_hdmi

2017-05-31 Thread Philipp Tomsich
To prepare for the addition of RK3399 HDMI support, the HDMI driver is refactored and broken into a chip-specific and a generic part. This change adds the internal interfaces, makes common/reusable functions externally visible and splits the RK3228 driver into a separate file. For the probing of

[U-Boot] [PATCH v4 5/9] rockchip: video: add mpixelclock settings from Linux driver

2017-05-31 Thread Philipp Tomsich
The Linux driver now supports higher mpixelclock settings. Add these to rockchip_phy_config[] and rockchip_mpll_cfg[]. Signed-off-by: Philipp Tomsich --- Changes in v4: - new patch (split off from the earlier RK3399 HDMI encoder change) Changes in v3:

[U-Boot] [PATCH 3/4] rockchip: dts: rk3399-puma: Add DDR3-1866 timings

2017-05-31 Thread Philipp Tomsich
With the validation done for DDR3-1866 (i.e. 933 MHz bus clock), we can now add the timings (rk3399-sdram-ddr3-1866.dtsi) for boards built with the DDR3-1866 option. Signed-off-by: Philipp Tomsich --- arch/arm/dts/rk3399-sdram-ddr3-1866.dtsi | 1537

Re: [U-Boot] [PATCH v4 31/72] dm: gpio: Add live tree support

2017-05-31 Thread Simon Glass
On 30 May 2017 at 21:47, Simon Glass wrote: > Add support for requesting GPIOs with a live device tree. > > This involves adjusting the function signature for the legacy function > gpio_request_by_name_nodev(), so fix up all callers. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v4 51/72] dm: clk: Update uclass to support livetree

2017-05-31 Thread Simon Glass
On 30 May 2017 at 21:47, Simon Glass wrote: > Update the clk uclass to support a live device tree. > > Signed-off-by: Simon Glass > --- > > Changes in v4: > - Update zynq clock driver to use the correct error number > > Changes in v3: None > Changes in v2:

Re: [U-Boot] [PATCH] board/freescale: Share qbman init between archs

2017-05-31 Thread Roy Pledge
On 5/30/2017 12:40 PM, york sun wrote: > On 05/12/2017 01:30 PM, Roy Pledge wrote: >> From: Ahmed Mansour >> >> This patch adds changes necessary to move functionality present in >> PowerPC folders with ARM architectures that have DPAA1 QBMan hardware >> >> - Created new

[U-Boot] [PATCH 4/4] cm_fx6: Remove SPL entry from CONFIG_SYS_EXTRA_OPTIONS

2017-05-31 Thread Fabio Estevam
SPL is already selected via CONFIG_SPL=y, so there is no need to pass it inside CONFIG_SYS_EXTRA_OPTIONS. Signed-off-by: Fabio Estevam --- configs/cm_fx6_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/cm_fx6_defconfig

[U-Boot] [PATCH 3/4] rockchip: dts: rk3399-puma: set spl-payload-offset

2017-05-31 Thread Philipp Tomsich
From: Klaus Goger defines the spl-payload to 256k (0x4) Signed-off-by: Klaus Goger Signed-off-by: Philipp Tomsich --- arch/arm/dts/rk3399-puma.dts | 3 ++- 1 file changed, 2

[U-Boot] [PATCH 4/4] rockchip: dts: rk3399-puma: sync DTS with Linux tree

2017-05-31 Thread Philipp Tomsich
The Linux DTS for the RK3399-Q7 has moved with the times... resync against it to ensure a consistent configuration. Signed-off-by: Philipp Tomsich --- arch/arm/dts/rk3399-puma.dts | 540 +++ 1 file changed, 495

[U-Boot] [PATCH 2/4] rockchip: dts: rk3399-puma: release reset of on-module USB3 hub via vbus-gpio

2017-05-31 Thread Philipp Tomsich
On the RK3399-Q7, the on-module USB3 hub is held in reset at boot-up to save power and needs to be woken up using GPIO4A3. Note that this is not a negated reset-signal (due to a level shifter being needed for this signal anyway), but a negated enable-signal: to enable, we need to output LOW (i.e.

[U-Boot] Please pull u-boot-dm (take 3)

2017-05-31 Thread Simon Glass
Hi Tom, Here it is again with the reported problems (zynq_zc702, stm disco) fixed. The following changes since commit ccbbada0a59fead35495409d0c2c7bcb22a40278: Merge branch 'master' of git://git.denx.de/u-boot-mmc (2017-05-30 14:07:23 -0400) are available in the git repository at:

[U-Boot] [PATCH v4 3/9] rockchip: video: refactor rk_vop and split RK3328-specific code off

2017-05-31 Thread Philipp Tomsich
To prepare for adding the RK3399 VOP driver (which shares most of its registers and config logic with the RK3228 VOP), this change refactors the driver and splits the RK3288-specific driver off. The changes in detail are: - introduces a data-structure for chip-specific drivers to register

[U-Boot] [PATCH v4 1/9] rockchip: video: Kconfig: reformat help for VIDEO_ROCKCHIP

2017-05-31 Thread Philipp Tomsich
For consistency sake (and as we are about to add new options to this file), reformat the help for VIDEO_ROCKCHIP. Signed-off-by: Philipp Tomsich --- Changes in v4: - added to break down into smaller changes Changes in v3: None Changes in v2: None

Re: [U-Boot] [RESEND PATCH v2 0/5] net/pch_gbe: updates for MIPS Boston board

2017-05-31 Thread Joe Hershberger
On Wed, May 31, 2017 at 7:45 AM, Daniel Schwierzeck wrote: > Hi Joe, > > Am 30.05.2017 um 22:29 schrieb Joe Hershberger: >> Hi Daniel, >> >> On Sun, Apr 30, 2017 at 2:57 PM, Daniel Schwierzeck >> wrote: >>> This series is a resend of

[U-Boot] [PATCH v4 9/9] rockchip: board: puma_rk3399: enable BMP_16BPP, BMP_24BPP and BMP_32BPP

2017-05-31 Thread Philipp Tomsich
With video output support for the RK3399-Q7 (Puma) available, we want CMD_BMP enabled and the support for 16bit, 24bit and 32bit BMPs defined. Signed-off-by: Philipp Tomsich Version-changes: 2 - enable SYS_WHITE_ON_BLACK via defconfig --- Changes in v4:

[U-Boot] [PATCH 4/4] rockchip: dts: rk3399-puma: select DRAM timing via Kconfig

2017-05-31 Thread Philipp Tomsich
The RK3399-Q7 has multiple build-options for its DRAM configuration, including the timing of the DRAM components populated. While DDR3-1600 is the standard configuration, custom-configurations are available with DDR3-1333 (for a further cost-optimisation) and with DDR3-1866 (as a premium option).

[U-Boot] [PATCH 2/4] rockchip: arm64: rk3399: support DDR3-1866 (i.e. 933MHz clock)

2017-05-31 Thread Philipp Tomsich
The RK3399 is capable of driving DDR3 at 933MHz (i.e. DDR3-1866), if the PCB layout permits and appropriate memory timings are used. This changes the sanity checks to allow a DTS to request DDR3-1866 operation. Signed-off-by: Philipp Tomsich Tested-by:

[U-Boot] [PATCH 1/4] rockchip: dts: rk3399-puma: make the debug serial dm-pre-reloc

2017-05-31 Thread Philipp Tomsich
Signed-off-by: Philipp Tomsich --- arch/arm/dts/rk3399-puma.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/rk3399-puma.dts b/arch/arm/dts/rk3399-puma.dts index a234db8..5d9dfb5 100644 --- a/arch/arm/dts/rk3399-puma.dts +++

[U-Boot] [PATCH 2/6] rockchip: defconfig: puma-rk3399: update defconfig with video-support

2017-05-31 Thread Philipp Tomsich
With HDMI output for the RK3399 working, this update the RK3399-Q7 (Puma) defconfig for the new functionality: 1. enables PMIC command (to check if the HDMI voltages are correct) +CONFIG_CMD_PMIC=y +CONFIG_CMD_REGULATOR=y 2. enables video-output (via HDMI) +CONFIG_DM_VIDEO=y

[U-Boot] [PATCH 1/6] rockchip: defconfig: puma-rk3399: enable RK808 support

2017-05-31 Thread Philipp Tomsich
On the RK3399-Q7, we need PMIC support (for the RK808) to enable HDMI output, as one of the required powerrails is not enabled on boot. For this, we need to enable the RK808 driver. Signed-off-by: Philipp Tomsich Version-changes: 3 - With the recent

[U-Boot] [PATCH 0/4] rockchip: dts: rk3399-puma: update DTS

2017-05-31 Thread Philipp Tomsich
For the RK3399-Q7, there's been a number of changes to the DTS from the ongoing Linux development and from recently enabled functionality within U-Boot. Klaus Goger (1): rockchip: dts: rk3399-puma: set spl-payload-offset Philipp Tomsich (3): rockchip: dts: rk3399-puma: make the debug

[U-Boot] [PATCH v4 4/9] rockchip: video: rk3399: enable HDMI output (from the rk_vop) for the RK3399

2017-05-31 Thread Philipp Tomsich
This commit adds a driver for the RK3399 VOPs capable and all the necessary plumbing to feed the HDMI encoder. For the VOP-big, this correctly tracks the ability to feed 10bit RGB data to the encoder. Signed-off-by: Philipp Tomsich --- Changes in v4: -

[U-Boot] [PATCH v4 0/9] rockchip: video: rk3399: enable HDMI output

2017-05-31 Thread Philipp Tomsich
This series provides HDMI enablement for the RK3399 and will support video console on the RK3399 either with VOP-lit or VOP-big: - pinctrl and clk support for the hdmi node - a refactoring of rk_vop.c and rk_hdmi.c to allow for the minor differences between the RK3288 and RK3399 VOP and HDMI

[U-Boot] [PATCH] arm: omap: Unify get_device_type() function

2017-05-31 Thread Sam Protsenko
Refactor OMAP3/4/5 code so that we have only one get_device_type() function for all platforms. Details: - Add ctrl variable for AM33xx and OMAP3 platforms (like it's done for OMAP4/5), so we can obtain status register in common way - For now ctrl structure for AM33xx/OMAP3 contains only

[U-Boot] [PATCH v4 8/9] rockchip: dts: rk3399: enable HDMI output in the DTS

2017-05-31 Thread Philipp Tomsich
This commit enables HDMI output in the DTS by adding the necessary nodes to vopl/vopb and by adding the HDMI node. Signed-off-by: Philipp Tomsich --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/dts/rk3399.dtsi | 39

[U-Boot] [PATCH v4 7/9] rockchip: video: rk3399: add HDMI TX support on the RK3399

2017-05-31 Thread Philipp Tomsich
This commit enables the RK3399 HDMI TX, which is very similar to the one found on the RK3288. As requested by Simon, this splits the HDMI driver into a SOC-specific portion (rk3399_hdmi.c, rk3288_hdmi.c) and a common portion (rk_hdmi.c). Note that the I2C communication for reading the EDID works

[U-Boot] [PATCH v2 02/28] Allow displaying the U-Boot banner on a video display

2017-05-31 Thread Simon Glass
At present the U-Boot banner is only displayed on the serial console. If this is not visible to the user, the banner does not show. Some devices have a video display which can usefully display this information. Add a banner which is printed after relocation only on non-serial devices if

[U-Boot] [PATCH v2 03/28] arm: arm720t: Support CONFIG_SKIP_LOWLEVEL_INIT_ONLY

2017-05-31 Thread Simon Glass
This option allows skipping the call to lowlevel() while still performing CP15 init. Support this on ARM720T so it can be used with Tegra. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/cpu/arm720t/start.S | 6 -- 1 file changed, 4 insertions(+), 2

[U-Boot] [PATCH v2 22/28] rockchip: jerry: Add a .its file for chromium

2017-05-31 Thread Simon Glass
Add a sample .its file for booting U-Boot on a jerry Chromebook. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch containing a .its file for chromium doc/chromium/chromebook_jerry.its | 42 +++ 1 file changed, 42

[U-Boot] [PATCH v2 23/28] rockchip: rk3288: Convert clock driver to use shifted masks

2017-05-31 Thread Simon Glass
Shifted masks are the standard approach with rockchip since it allows use of the mask without shifting it each time. Update the definitions and the driver to match. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/include/asm/arch-rockchip/cru_rk3288.h | 74

[U-Boot] [PATCH v2 19/28] rockchip: rk3288: Add error debugging to veyron_init()

2017-05-31 Thread Simon Glass
Add a debug() statement so we can see when something goes wrong with the regulator. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/mach-rockchip/rk3288-board.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v2 14/28] tegra: clock: Avoid a divide-by-zero error

2017-05-31 Thread Simon Glass
The clock fix-up for tegra is still present in the code. It causes a divide-by-zero bug after relocation when chain-loading U-Boot from coreboot. Fix this by adding a check. Signed-off-by: Simon Glass Fixes: 7468676 (ARM: tegra: fix clock_get_periph_rate() for UART clocks) ---

Re: [U-Boot] [PATCH 1/4] dm: spi: add BCM63xx HSSPI driver

2017-05-31 Thread Simon Glass
Hi Alvaro, On 23 May 2017 at 13:18, Álvaro Fernández Rojas wrote: > This driver is a simplified version of linux/drivers/spi/spi-bcm63xx-hsspi.c > > Signed-off-by: Álvaro Fernández Rojas > --- > drivers/spi/Kconfig | 8 + > drivers/spi/Makefile

Re: [U-Boot] [PATCH 12/12] README: Add instructions for chain-loading U-Boot

2017-05-31 Thread Simon Glass
Hi Peter, On 29 May 2017 at 07:29, Peter Robinson wrote: > On Mon, May 22, 2017 at 12:17 PM, Simon Glass wrote: >> Most Chromebooks support chain-loading U-Boot but instructions are >> somewhat scattered. Add a README to hold this information within the

Re: [U-Boot] [PATCH v4 1/5] usb: host: xhci-dwc3: Convert driver to DM

2017-05-31 Thread Simon Glass
On 29 May 2017 at 01:57, wrote: > From: Patrice Chotard > > Add Driver Model support with use of generic DT > compatible string "snps,dwc3" > > Signed-off-by: Patrice Chotard > --- > v4: _ none > v3: _ none > v2:

[U-Boot] [PATCH v2 27/28] rockchip: jerry: Disable CONFIG_CONSOLE_SCROLL_LINES

2017-05-31 Thread Simon Glass
The display on jerry is so fast that this option is not needed. Drop it so that the display scrolls more smoothly. Signed-off-by: Simon Glass --- Changes in v2: None configs/chromebook_jerry_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git

[U-Boot] [PATCH v2 10/28] tegra: spi: Wait a little after setting the clocks

2017-05-31 Thread Simon Glass
For devices that need a delay between SPI transactions we seem to need an additional delay before the first one if the CPU is running at full speed. Add this, under control of the existing setting. At present it will only be enabled with the Chrome OS EC. Signed-off-by: Simon Glass

[U-Boot] [PATCH v2 09/28] tegra: dts: Add cros-ec SPI settings

2017-05-31 Thread Simon Glass
At present the interrupt does not work and the SPI bus runs much less quickly than it should. Add settings to fix this. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/dts/tegra124-nyan-big-u-boot.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git

[U-Boot] [PATCH v2 04/28] arm: Rename HCTR to HTCR

2017-05-31 Thread Simon Glass
This appears to be a typo. Fix it. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/lib/cache-cp15.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/lib/cache-cp15.c b/arch/arm/lib/cache-cp15.c index e9bbcf5122..0f7020a315 100644 ---

[U-Boot] Add Ethernet Support for Banana Pi M64

2017-05-31 Thread Duncan Hare
BPI-M64 is a 64-bit quad-core mini single board computer using the Allwinner A64 SOC. BPI-M64 features - 1.2 Ghz Quad-Core ARM Cortex A53 - 2GB DDR3 SDRAM with 733MHz - MicroSD/eMMC(8GB) - 10/100/1000Mbps ethernet (Realtek RTL8211E/D) - Wifi + BT - IR receiver - Audio In/Out - Video In/Out - 5V

[U-Boot] Add ethernet support to Banana-Pi M2U

2017-05-31 Thread Duncan Hare
Banana Pi BPI-M2 Ultra is a quad-core mini single board computer built with Allwinner R40 SoC. It features 2GB of RAM and 8GB eMMC. Duncan Hare 714 931 7952 ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [RFC PATCH 5/5] rockchip: mkimage: use spl_boot0 for all Rockchip SoCs

2017-05-31 Thread Andy Yan
Hi Philipp: 2017-05-31 18:58 GMT+08:00 Dr. Philipp Tomsich < philipp.toms...@theobroma-systems.com>: > Now that there are no remaining cases where (spl_boot0 == false), we can > drop the spl_boot0 field from struct spl_info and also remove the if-check > (leaving only the code-path for true in

[U-Boot] [PATCH] fdt: Report libfdt error to stderr

2017-05-31 Thread Simon Glass
This error needs to go to stderr otherwise it will not be reported by buildman. Fix it. Signed-off-by: Simon Glass --- Makefile | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 89e0451a49..c13937c3a8 100644 ---

[U-Boot] Uboot send pull request

2017-05-31 Thread uboot
Hi Tom, Please pull the following patch from u-boot-nds32 into your tree. Thanks! The following changes since commit ccbbada0a59fead35495409d0c2c7bcb22a40278: Merge branch 'master' of git://git.denx.de/u-boot-mmc (2017-05-30 14:07:23 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH v4 02/11] reset: add reset_count()

2017-05-31 Thread Simon Glass
Hi Patrice, On 24 May 2017 at 07:01, wrote: > From: Patrice Chotard > > Add reset_count() method to be able to get the number > of resets contained into a resets property. This will allow > to allocate the right amount of memory in order to keep

  1   2   3   >