Re: [U-Boot] FIT image for falcon boot

2017-03-31 Thread york sun
On 03/31/2017 09:21 PM, Simon Glass wrote: > Hi York, > > On 23 March 2017 at 20:06, york sun wrote: >> Simon, >> >> I made it work. A patch set will be sent later (much later) after I >> clean up and finish the project on hand. > > OK, sounds good! > > IMO some of the

Re: [U-Boot] [PATCH v2 6/6] rockchip: spl: rk3399: enable SPL_SPI_LOAD if SPI is enabled for SPL

2017-03-31 Thread Simon Glass
On 29 March 2017 at 05:31, Philipp Tomsich wrote: > To include the ability to load from an SPI flash in SPL, it's not > sufficient to define SPL_SPI_SUPPORT and SPL_SPI_FLASH_SUPPORT via > Kconfig... so we conditionally define SPL_SPI_LOAD if SPI support >

Re: [U-Boot] [PATCH 2/6] led: gpio: add support for get_status function

2017-03-31 Thread Simon Glass
On 27 March 2017 at 08:38, wrote: > From: Ziping Chen > > The status of a GPIO-connected LED can be read back by reading the GPO > value. > > Add the support for get_status function in led_gpio driver. > > Signed-off-by: Ziping Chen

Re: [U-Boot] [PATCH v2 3/6] rockchip: pinctrl: rk3399: add support for the SPI5 controller

2017-03-31 Thread Simon Glass
On 29 March 2017 at 05:31, Philipp Tomsich wrote: > This commit adds support for the pin-configuration of the SPI5 > controller of the RK3399 through the following changes: > * grf_rk3399.h: adds definition for configuring the SPI5 pins >

Re: [U-Boot] [PATCH v4 00/17] arm: rpi: Enable USB, Ethernet, MMC, Video driver model on Raspberry Pi

2017-03-31 Thread Simon Glass
Hi Tom, On 31 March 2017 at 22:19, Simon Glass wrote: > Hi Tom, > > On 6 February 2017 at 08:32, Simon Glass wrote: >> >> Hi Tom, >> >> On 23 January 2017 at 10:22, Tom Rini wrote: >> > On Fri, Jan 20, 2017 at 07:07:35AM -0700, Simon

Re: [U-Boot] [PATCH v3 1/2] rockchip: cosmetic: Sort RK3288 boards

2017-03-31 Thread Simon Glass
On 29 March 2017 at 17:23, Jernej Skrabec wrote: > Sort rk3288 boards in alphabetical order. > > Signed-off-by: Jernej Skrabec > --- > Changes in v3: > - new patch > > arch/arm/dts/Makefile | 10 ++-- >

Re: [U-Boot] [PATCH] serial: ns16550: Link in the DM driver when when using platdata

2017-03-31 Thread Simon Glass
On 27 March 2017 at 13:54, Alexandru Gagniuc wrote: > Do not condition the compilation of the U_BOOT_DRIVER by !OF_PLATDATA. > This is inconsistent with the majority of other drivers. This also > blocks OF_PLATDATA boards with an 16550-compatible serial from using > serial in

Re: [U-Boot] [PATCH] libfdt: fix build with Python 3

2017-03-31 Thread Simon Glass
On 29 March 2017 at 13:41, Stefan Agner wrote: > From: Stefan Agner > > For some reason Python 3 seems to think it does not need to build > the library. Using the --force parameter makes sure that the library > gets built always. This is especially

Re: [U-Boot] [PATCH 3/6] board: samsung: trats: convert to driver model for controlling phy

2017-03-31 Thread Simon Glass
On 30 March 2017 at 06:29, Jaehoon Chung wrote: > Convert to driver model for controlling phy. > > Signed-off-by: Jaehoon Chung > --- > board/samsung/trats/trats.c | 75 > + > 1 file changed, 48

Re: [U-Boot] [PATCH 2/2] dtoc: Decode val if it's a byte string

2017-03-31 Thread Simon Glass
On 30 March 2017 at 08:44, George McCollister wrote: > With Python 3.5.2 encode will throw an exception if val is a byte array. > Decode it to a string first. This assumes it's utf-8, if it's not valid > utf-8 it will throw an exception. > > Signed-off-by: George

Re: [U-Boot] [PATCH v1 2/3] dts: rk3399-puma: add DTS for RK3399-Q7 (Puma) SoM

2017-03-31 Thread Simon Glass
On 28 March 2017 at 10:48, Philipp Tomsich wrote: > The RK3399-Q7 is a system-on-module featuring the Rockchip RK3399 > in a Qseven-compatible form-factor. > > These changes add a device-tree describing the board and its > interfaces for basic functionality

Re: [U-Boot] [PATCH 1/6] led: add get_status support for DM LED support

2017-03-31 Thread Simon Glass
Hi, On 27 March 2017 at 08:38, wrote: > From: Ziping Chen > > Sometimes we need to read back the status of a LED. > > Add a led_get_status function for DM LED support, and add a get_status > function for the driver to implement this function. >

Re: [U-Boot] [PATCH 3/8] rockchip: spi: enable support for the rk_spi driver for the RK3399

2017-03-31 Thread Simon Glass
On 28 March 2017 at 02:58, Philipp Tomsich wrote: > From: Jakob Unterwurzacher > > The existing Rockchip SPI (rk_spi.c) driver also matches the hardware > block found in the RK3399. This has been confirmed both

Re: [U-Boot] [PATCH] dm: avoid dropping pin control DT properties in case of SPL_PINCTRL

2017-03-31 Thread Simon Glass
On 24 March 2017 at 15:47, Vikas Manocha wrote: > This patch replaces SPL_PINCTRL_FULL with SPL_PINCNTRL. It is to avoid removal > of pin control properties in case of SPL_PINCTRL. No impact in case of > SPL_PINCTRL_FULL as it depends on SPL_PINCTRL. > > Signed-off-by: Vikas

Re: [U-Boot] [PATCH 5/6] cmd: led: add DM-based implementation

2017-03-31 Thread Simon Glass
Hi, On 27 March 2017 at 08:38, wrote: > From: Ziping Chen > > Currently the "led" command only supports the old API without DM. > > Add DM-based implementation of this command. > > Also allow this command to be select with Kconfig. > >

Re: [U-Boot] [PATCH 7/7] defconfig: dra7xx_evm: enable CONFIG_BLK and disk driver model for SCSI

2017-03-31 Thread Simon Glass
On 24 March 2017 at 06:24, Jean-Jacques Hiblot wrote: > Enable disk driver model for dra7xx_evm as dwc_ahci supports > driver model. As a consequence we must also enable CONFIG_BLK and > CONFIG_DM_USB. > > Signed-off-by: Mugunthan V N > Signed-off-by:

Re: [U-Boot] [PATCH 6/7] dm: scsi: fix scan

2017-03-31 Thread Simon Glass
Hi Jean-Jacques, On 24 March 2017 at 06:24, Jean-Jacques Hiblot wrote: > With DM_SCSI enabled, scsi scan suffers 2 problems: > * blk_create_devicef is called with blkz = 0, leading to a divide-by-0 > exception > * new blk devices are created at each scan. > > To fix this we

Re: [U-Boot] [PATCH 5/8] defconfig: rk3399-puma: enable support for SPI and Winbond SPI flash

2017-03-31 Thread Simon Glass
On 28 March 2017 at 02:58, Philipp Tomsich wrote: > Signed-off-by: Philipp Tomsich > --- > > configs/puma_defconfig | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/configs/puma_defconfig

Re: [U-Boot] [PATCH v3 2/2] dts: rk3399-puma: disable 'fifo-mode' in sdmmc

2017-03-31 Thread Simon Glass
On 29 March 2017 at 13:20, Philipp Tomsich wrote: > Signed-off-by: Philipp Tomsich Always nice to have a commit message. Also, please can you always add a 'rockchip: ' tag? > --- > > Changes in v3: None > >

Re: [U-Boot] [PATCH 1/3] arm64: mvebu: Trigger PCI devices scan at early init stage

2017-03-31 Thread Simon Glass
Hi Konstanitin, On 30 March 2017 at 07:58, Konstantin Porotchkin wrote: > > > On 03/30/2017 04:31 PM, Stefan Roese wrote: >> >> (adding Simon to Cc for PCI related question) >> >> On 28.03.2017 17:36, kos...@marvell.com wrote: >>> >>> From: Konstantin Porotchkin

Re: [U-Boot] [PATCH v1 3/3] defconfig: puma-rk3399: add defconfig for the RK3399-Q7 (Puma)

2017-03-31 Thread Simon Glass
On 28 March 2017 at 10:48, Philipp Tomsich wrote: > This commit adds the baseline defconfig for the RK3399-Q7 (Puma) SoM > (under the name 'puma-rk3399_defconfig') featuring the Rockchip RK3399 > in a Qseven compatible module. > > This subsumes the following

Re: [U-Boot] [PATCH 3/7] arm: omap-common: sata: prepare driver for DM conversion

2017-03-31 Thread Simon Glass
Hi, On 24 March 2017 at 06:24, Jean-Jacques Hiblot wrote: > From: Mugunthan V N > > Prepare sata driver for DM conversion by abstracting sata phy > init to seperate function. > > Signed-off-by: Mugunthan V N > Signed-off-by:

Re: [U-Boot] [PATCH 6/6] configs: trats: enable the CONFIG_DM_I2C_GPIO

2017-03-31 Thread Simon Glass
On 30 March 2017 at 06:30, Jaehoon Chung wrote: > Enable the CONFIG_DM_I2C_GPIO for using i2c gpio > > Signed-off-by: Jaehoon Chung > --- > configs/trats_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs/trats_defconfig

Re: [U-Boot] regression: setting the rpi mac address stopped working

2017-03-31 Thread Simon Glass
Hi, On 27 March 2017 at 02:24, Gerd Hoffmann wrote: > Hi, > > u-boot 2016.11 & newer doesn't set the mac address on my raspberry pi > any more, so the linux kernel picks a random mac address. Bisected to > this commit: > > commit b91c6a1209e7da1a7f989d9ac35d0d8be0b7b710 >

Re: [U-Boot] [PATCH] dts: rk3399: move rockchip, vbus-gpio properties into board-specific files

2017-03-31 Thread Simon Glass
On 29 March 2017 at 13:19, Philipp Tomsich wrote: > The (shared) rk3399.dtsi had defined the 'rockchip,vbus-gpio' > properties for each USB 3.0 controller. > > As the GPIO usage will vary (e.g. one of those GPIOs shuts down one of > the regulators on the

Re: [U-Boot] [PATCH 1/2] rockchip: rk3188: follow THUMB_BUILD Kconfig migration

2017-03-31 Thread Simon Glass
On 26 March 2017 at 13:09, Heiko Stuebner wrote: > Commit 3a649407a49b ("arm: Migrate SYS_THUMB_BUILD to Kconfig, introduce > SPL_SYS_THUMB_BUILD") moved the THUMB_BUILD symbols from the header to > Kconfig symbols. With it still defined in the rk3188 header we end up > with a

Re: [U-Boot] [PATCH 16/17] sunxi: Store the device tree name in the SPL header

2017-03-31 Thread Simon Glass
Hi Andre, On 26 March 2017 at 19:18, André Przywara wrote: > On 08/03/17 21:01, Simon Glass wrote: > > Hi Simon, > > many thanks for the review, finally found some time to look at this. > I have finished the needed rework (including documentation) and will > post

Re: [U-Boot] [PATCH 2/3] rockchip: rk3188: Add Radxa Rock board

2017-03-31 Thread Simon Glass
Hi Heiko, On 26 March 2017 at 16:38, Heiko Stuebner wrote: > Am Sonntag, 26. März 2017, 15:28:44 CEST schrieb Simon Glass: >> Hi Heiko, >> >> On 26 March 2017 at 15:00, Heiko Stuebner wrote: >> > Am Sonntag, 26. März 2017, 22:52:16 CEST schrieb Heiko Stuebner:

Re: [U-Boot] rockchip: dts: firefly: add usb host power supply node

2017-03-31 Thread Simon Glass
On 27 March 2017 at 01:17, Eddie Cai wrote: > firefly have a usb host. add dts node to provide power supply > > Signed-off-by: Eddie Cai > --- > arch/arm/dts/rk3288-firefly.dts | 10 ++ > 1 file changed, 10 insertions(+) > Acked-by:

Re: [U-Boot] [PATCH 2/8] rockchip: pinctrl: rk3399: add support for the SPI5 controller

2017-03-31 Thread Simon Glass
On 28 March 2017 at 02:58, Philipp Tomsich wrote: > This commit adds support for the pin-configuration of the SPI5 > controller of the RK3399 through the following changes: > * grf_rk3399.h: adds definition for configuring the SPI5 pins >

Re: [U-Boot] [PATCH 5/6] board: samsung: trats: remove the i2c_init function

2017-03-31 Thread Simon Glass
On 30 March 2017 at 06:30, Jaehoon Chung wrote: > i2c should be initialized with device-tree. > This function doesn't need anymore. > > Signed-off-by: Jaehoon Chung > --- > board/samsung/trats/trats.c | 13 - > 1 file changed, 13

Re: [U-Boot] [PATCH v1] rockchip: rk3399: spl: make SPL boot-order configurable via /chosen

2017-03-31 Thread Simon Glass
On 28 March 2017 at 03:03, Philipp Tomsich wrote: > The RK3399 does not have any boot selection pins and the BootROM probes > the boot interfaces using the following boot-order: > 1. SPI > 2. eMMC (sdhci in DTS) > 3. SD card (sdmmc in DTS) >

Re: [U-Boot] [PATCH 3/3] binman: Remove hard-coded file name for x86 flash-descriptor & intel-me

2017-03-31 Thread Simon Glass
Hi, On 31 March 2017 at 09:45, Bin Meng wrote: > On Thu, Mar 30, 2017 at 6:58 PM, Stefan Roese wrote: >> Now that we have added file names from Kconfig in x86 u-boot.dtsi, >> update binman to avoid using hard-coded names. >> >> Signed-off-by: Stefan Roese

Re: [U-Boot] [PATCH v3 2/2] rockchip: Add support for MiQi rk3288 board

2017-03-31 Thread Simon Glass
On 29 March 2017 at 17:23, Jernej Skrabec wrote: > MiQi is rk3288 based development board with 1 or 2 GB SDRAM, 16 GB eMMC, > micro SD card interface, 4 USB 2.0 ports, HDMI, gigabit Ethernet and > expansion ports. > > Signed-off-by: Jernej Skrabec

Re: [U-Boot] [PATCH] x86: bootm: Fix FIT image booting on x86

2017-03-31 Thread Simon Glass
On 31 March 2017 at 00:09, Stefan Roese wrote: > Checking 'is_zimage' at this time will always fail and therefore booting > a FIT style image will always lead to this error message: > > "## Kernel loading failed (missing x86 kernel setup) ..." > > This change now removes this check

Re: [U-Boot] [PATCH v2 5/6] rockchip: spi: rk3399: move CONFIG_SPI and CONFIG_SPI_FLASH to defconfig

2017-03-31 Thread Simon Glass
On 29 March 2017 at 05:31, Philipp Tomsich wrote: > From: Jakob Unterwurzacher > > On the RK3399-Q7 we need to enable a number of configuration options > (e.g. CONFIG_SPI_FLASH_WINBND) dependent on Kconfig seeing

Re: [U-Boot] [PATCH 6/8] defconfig: rk3399-puma: enable SPI as a boot-source in SPL

2017-03-31 Thread Simon Glass
On 28 March 2017 at 02:58, Philipp Tomsich wrote: > Signed-off-by: Philipp Tomsich > --- > > configs/puma_defconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/configs/puma_defconfig

Re: [U-Boot] [PATCH v2] fdt: allow address translation in case of SPL_OF_TRANSLATE

2017-03-31 Thread Simon Glass
On 30 March 2017 at 18:21, Vikas Manocha wrote: > Address translation is not working at present even if SPL_OF_TRANSLATE is > enabled which makes this configuration useless. This patch enables address > translation for SPL u-boot when SPL_OF_TRANSLATE is selected. U-Boot >

Re: [U-Boot] [PATCH 3/6] cmd: led: rename command enum value

2017-03-31 Thread Simon Glass
On 27 March 2017 at 08:38, wrote: > From: Ziping Chen > > The "LED_OFF" constant conflicts with the constant with the same name in > include/linux/compat.h. > > Rename all command constants' name prefix from LED_ to LED_CMD_. > > Signed-off-by:

Re: [U-Boot] [PATCH 1/2] patman: Convert byte arrays to strings

2017-03-31 Thread Simon Glass
On 30 March 2017 at 08:44, George McCollister wrote: > os.read() returns a byte array in Python 3.5.2 and needs to be converted > into a string. Check if the returned value is an instance of bytes and > if it is decode it as a utf-8 string. If it is not a utf-8

Re: [U-Boot] [PATCH 6/7] scsi: a3700: enable mvebu scsi driver

2017-03-31 Thread Simon Glass
On 23 March 2017 at 03:29, wrote: > From: Ken Ma > > - Enable SCSI support in Armada-3700 DB default configuration. > > Reviewed-on: http://vgitil04.il.marvell.com:8080/35302 > Reviewed-by: Omri Itach > Tested-by: iSoC Platform CI

Re: [U-Boot] [PATCH 1/2] serial: atmel_usart: fix early debug not work in SPL

2017-03-31 Thread Simon Glass
On 22 March 2017 at 22:50, Wenyou Yang wrote: > Add the uart init function to be used on both probe and the early > debug uart init. For the latter, the input clock should be from > CONFIG_DEBUG_UART_CLOCK. > > Signed-off-by: Wenyou Yang > --- > >

Re: [U-Boot] [PATCH v4 0/3] arm: tegra: apalis-tk1 and ext clock loopback

2017-03-31 Thread Simon Glass
Hi, On 24 March 2017 at 17:52, Marcel Ziswiler wrote: > On Fri, 2017-03-24 at 23:40 +0100, Alexander Graf wrote: >> >> On 24/03/2017 23:22, Marcel Ziswiler wrote: >> > Hi Alexander >> > >> > On Tue, 2017-03-21 at 14:50 +0100, Alexander Graf wrote: >> > > >> > > On

Re: [U-Boot] [PATCH 1/8] rockchip: clk: rk3399: add clock support for SCLK_SPI1 and SCLK_SPI5

2017-03-31 Thread Simon Glass
Hi Philipp, On 28 March 2017 at 02:58, Philipp Tomsich wrote: > This change adds support for configuring the module clocks for SPI1 and > SPI5 from the 594MHz GPLL. > > Note that the driver (rk_spi.c) always sets this to 99MHz, but the > implemented

Re: [U-Boot] [PATCH v2 00/18] SPL: extend FIT loading support

2017-03-31 Thread Simon Glass
Hi Andre, On 27 March 2017 at 18:45, Andre Przywara wrote: > A fixed version of the SPL FIT loading series. > The error handling has been improved, also quite some comments and > documentation has been added. > The README.pine64 file has been totally reworked to reflect

Re: [U-Boot] [PATCH] Remove extra fdt_fixup_ethernet() call

2017-03-31 Thread Simon Glass
Hi Joakim, On 23 March 2017 at 11:02, Joakim Tjernlund wrote: > ft_cpu_setup() already calls fdt_fixup_ethernet(), calling it > in image_setup_libfdt() is both redundant and breaks any modifications > done by ft_board_setup(). Restore the old behavior by removing >

Re: [U-Boot] [PATCH v2] spl: add support to booting with ATF

2017-03-31 Thread Simon Glass
Hi, On 28 March 2017 at 08:37, Andre Przywara wrote: > Hi, > > On 28/03/17 15:16, Dan Handley wrote: >> Hi Kever >> >>> -Original Message- >>> From: Kever Yang [mailto:kever.y...@rock-chips.com] >>> Sent: 28 March 2017 08:23 >>> >>> Hi Andre, >>> >>> >>> On

Re: [U-Boot] [EXT] Re: [PATCH 7/7] scsi: dts: a3700: add scsi node

2017-03-31 Thread Simon Glass
Hi Ken, On 27 March 2017 at 02:28, Ken Ma wrote: > Hi Stefan > > > > Thanks a lot for your kind reply. > > > > But I still do not think it's very good to change sata's uclass id from > "UCLASS_AHCI" to "UCLASS_SCSI". > > If we do such change, UCLASS_AHCI is lost since from the

Re: [U-Boot] [PATCH v2 1/2] rockchip: rk3399: spl: add UART0 support for SPL

2017-03-31 Thread Simon Glass
Hi, On 26 March 2017 at 10:30, Dr. Philipp Tomsich wrote: > Simon, > > you’ll need > CONFIG_DEBUG_UART_BOARD_INIT=y > as include/debug_uart.h checks this macro and either defines this function > inline (with > an empty body) or allows the function

Re: [U-Boot] [PATCH 2/2] rockchip: rk3188: Add Radxa Rock board

2017-03-31 Thread Simon Glass
On 26 March 2017 at 13:09, Heiko Stuebner wrote: > The Rock is a RK3188 based single board computer by Radxa. > Currently it still relies on the proprietary DDR init and > cannot use the generic SPL, but at least is able to boot > a linux kernel and system up to a regular login

Re: [U-Boot] [PATCH v2 1/2] x86: Add SCU IPC driver for Intel MID platforms

2017-03-31 Thread Simon Glass
Hi Andy, On 26 March 2017 at 06:01, Andy Shevchenko wrote: > On Mon, 2017-03-20 at 15:27 +0200, Andy Shevchenko wrote: >> On Sun, 2017-03-19 at 20:30 -0600, Simon Glass wrote: >> > Hi Andy, >> > >> > On 15 March 2017 at 12:42, Andy Shevchenko >> >

Re: [U-Boot] [PATCH 2/7] scsi: add children devices binding

2017-03-31 Thread Simon Glass
On 23 March 2017 at 03:29, wrote: > From: Ken Ma > > - When scsi controller acts as a bus, we need to bind its children > scsi devices(scsi hdd, cd, dvd, scanner) to their drivers as spi > controller binds spi flashes, so scsi-uclass's post bind function

Re: [U-Boot] FIT image for falcon boot

2017-03-31 Thread Simon Glass
Hi York, On 23 March 2017 at 20:06, york sun wrote: > Simon, > > I made it work. A patch set will be sent later (much later) after I > clean up and finish the project on hand. OK, sounds good! IMO some of the motivation for falcon boot is U-Boot running slowly with the cache

Re: [U-Boot] [PATCH v2 2/6] clk: rk3399: fix off-by one during rate calculation in i2c/spi_set_rate

2017-03-31 Thread Simon Glass
On 29 March 2017 at 05:31, Philipp Tomsich wrote: > For the RK3399, i2c_set_rate (and by extension: our spi_set_rate, > which had been mindlessly following the template of the i2c_set_rate > implementation) miscalculates the rate returned due to a off-by-one

Re: [U-Boot] [PATCH 00/16] RFC: Board init using driver model

2017-03-31 Thread Simon Glass
Hi Tom, On 22 March 2017 at 09:13, Tom Rini wrote: > On Wed, Mar 22, 2017 at 08:43:54AM -0600, Simon Glass wrote: >> Hi Tom, >> >> On 22 March 2017 at 08:37, Tom Rini wrote: >> > On Wed, Mar 22, 2017 at 07:05:38AM -0600, Simon Glass wrote: >> >> Hi Tom,

Re: [U-Boot] [PATCH] dm: avoid dropping pin control DT properties in case of SPL_PINCTRL

2017-03-31 Thread Simon Glass
Hi Vikas, On 29 March 2017 at 13:33, Vikas MANOCHA wrote: > Hi Michal/Simon, > >> -Original Message- >> From: Vikas MANOCHA >> Sent: Friday, March 24, 2017 2:48 PM >> To: u-boot@lists.denx.de >> Cc: Vikas MANOCHA ; Michal Simek >>

Re: [U-Boot] [PATCH v2] clk: at91: pmc: align the at91 pmc's compatibles

2017-03-31 Thread Simon Glass
On 22 March 2017 at 22:51, Wenyou Yang wrote: > Align the at91 pmc's compatibles with Kernel's. > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: > - Rebase on v2017.03. > > drivers/clk/at91/pmc.c | 6 ++ > 1 file changed, 6 insertions(+)

Re: [U-Boot] [PATCH 4/7] scsi: dt-bindings: add scsi device tree bindings

2017-03-31 Thread Simon Glass
On 23 March 2017 at 03:29, wrote: > From: Ken Ma > > - Add generic scsi device tree bindings doc, the doc includes: > - Brief introduction for scsi; > - Scsi's properties' introduction; > - Add marvell mvebu scsi binding doc with the example of armada3700

Re: [U-Boot] [PATCH] Add 8 and 16-bit single register pin controller support

2017-03-31 Thread Simon Glass
Hi James, On 26 March 2017 at 23:55, James Balean wrote: > Enables the pinctrl-single driver to support 8 and 16-bit registers. > Only 32-bit registers were supported previously. Can you explain in your commit message why we want this? > > Signed-off-by: James Balean

Re: [U-Boot] [PATCH v1 1/3] arm64: rockchip: rk3399-puma: add DDR3-1333 timings

2017-03-31 Thread Simon Glass
On 28 March 2017 at 10:48, Philipp Tomsich wrote: > For the initial validation of the RK3399-Q7 (Puma), the DDR3 has been > clocked at 666MHz (i.e. DDR3-1333) using the same (safe) settings as > used in Rockchip's MiniLoader. > > Signed-off-by: Philipp

Re: [U-Boot] [PATCH 1/7] scsi: move base, max_lun and max_id to uclass plat data

2017-03-31 Thread Simon Glass
Hi Ken, On 23 March 2017 at 03:29, wrote: > From: Ken Ma > > - The members in scsi_platdata(base, max_lun and max_id) are generic, > so now they are taken from fdt by the uclass_platdata instead of > platdata code upon call to post bind callback. > >

Re: [U-Boot] [PATCH 3/7] scsi: call children devices' probe functions automatically

2017-03-31 Thread Simon Glass
Hi, On 23 March 2017 at 03:29, wrote: > From: Ken Ma > > - For the purpose of accessing peripheral devices through SCSI, the > peripheral devices need to be probed to finish low level > initialization, for example, ahci controller needs to do the ahci >

Re: [U-Boot] [PATCH v2 4/6] rockchip: spi: enable support for the rk_spi driver for the RK3399

2017-03-31 Thread Simon Glass
On 29 March 2017 at 05:31, Philipp Tomsich wrote: > From: Jakob Unterwurzacher > > The existing Rockchip SPI (rk_spi.c) driver also matches the hardware > block found in the RK3399. This has been confirmed both

Re: [U-Boot] [PATCH 4/6] cmd: led: add enum led_cmd member to support error code return

2017-03-31 Thread Simon Glass
On 27 March 2017 at 08:38, wrote: > From: Ziping Chen > > Add enum led_cmd member LED_CMD_ERROR, so that the enum can contain > the error code -1. > > Signed-off-by: Ziping Chen > --- > cmd/led.c | 8 +++- > 1 file

Re: [U-Boot] [PATCH 05/17] SPL: FIT: allow loading multiple images

2017-03-31 Thread Simon Glass
Hi Andre, On 26 March 2017 at 19:19, André Przywara wrote: > On 08/03/17 21:00, Simon Glass wrote: >> Hi Andre, >> >> On 28 February 2017 at 19:25, Andre Przywara wrote: >>> So far we were not using the FIT image format to its full potential: >>>

Re: [U-Boot] [PATCH 5/7] dm: scsi: ahci: fill max_lun and max_id members of scsi_platdata

2017-03-31 Thread Simon Glass
Hi, On 24 March 2017 at 06:24, Jean-Jacques Hiblot wrote: > Those 2 values are required for proper operation of the DM_SCSI version of > scsi_scan(). > > Signed-off-by: Jean-Jacques Hiblot > --- > drivers/block/ahci.c | 12 +++- > 1 file changed, 11

Re: [U-Boot] [PATCH v3 1/2] spl: rk3399: disable DDR security regions for SPL (for DMA in dw_mmc)

2017-03-31 Thread Simon Glass
On 29 March 2017 at 13:20, Philipp Tomsich wrote: > The RK3399 hangs during DMA of the Designware MMC controller, when > performing DMA-based transactions in SPL due to the DDR security settings > left behind by the BootROM (i.e. accesses to the first MB of

Re: [U-Boot] [PATCH 4/8] rockchip: spi: rk3399: move CONFIG_SPI and CONFIG_SPI_FLASH to defconfig

2017-03-31 Thread Simon Glass
On 28 March 2017 at 02:58, Philipp Tomsich wrote: > From: Jakob Unterwurzacher > > On the RK3399-Q7 we need to enable a number of configuration options > (e.g. CONFIG_SPI_FLASH_WINBND) dependent on Kconfig seeing

Re: [U-Boot] [PATCH 7/8] rockchip: spl: RK3399: enable SPL_SPI_LOAD if SPI is enabled for SPL

2017-03-31 Thread Simon Glass
On 28 March 2017 at 02:58, Philipp Tomsich wrote: > Signed-off-by: Philipp Tomsich > --- > > include/configs/rk3399_common.h | 3 +++ > 1 file changed, 3 insertions(+) > Acked-by: Simon Glass

Re: [U-Boot] [PATCH 5/7] scsi: mvebu: add scsi driver

2017-03-31 Thread Simon Glass
On 23 March 2017 at 03:29, wrote: > From: Ken Ma > > - Add mvebu scsi driver which is based on scsi uclass so that > scsi command can work when driver model is enabled for scsi; > - Mvebu scsi is serial attached scsi and act as an add-on host > bus

Re: [U-Boot] [PATCH 0/7] *** SUBJECT HERE ***

2017-03-31 Thread Simon Glass
Hi Ken, On 23 March 2017 at 03:29, wrote: > From: Ken Ma > > *** BLURB HERE *** You might want to try patman which can generate patches, cover letter and change logs for you. > 1. Move base, max_lun and max_id such scsi generic data from platdata to >

Re: [U-Boot] [PATCH 00/22] dm: Add support for a 'live' device tree

2017-03-31 Thread Simon Glass
Hi Tom, On 21 March 2017 at 08:07, Tom Rini wrote: > On Sat, Feb 04, 2017 at 07:34:59PM -0800, Simon Glass wrote: >> Hi, >> >> On 17 January 2017 at 21:50, Simon Glass wrote: >> > So far U-Boot uses a 'flat' device tree, which means that it is decoded >> >

Re: [U-Boot] [PATCH] pci: Add a command to show PCI regions

2017-03-31 Thread Simon Glass
Hi Bin, On 22 March 2017 at 03:27, Bin Meng wrote: > Hi Simon, > > On Fri, Mar 17, 2017 at 7:50 PM, Simon Glass wrote: >> Add 'pci regions' which lists the I/O and memory regions accessible from >> the PCI controller. >> >> Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 6/8] rockchip: rk3188: Switch to new i2c IP blocks

2017-03-31 Thread Simon Glass
On 26 March 2017 at 07:01, Heiko Stuebner wrote: > Am Samstag, 25. März 2017, 19:17:33 CEST schrieb Simon Glass: >> Hi Heiko, >> >> On 24 March 2017 at 01:32, Heiko Stübner wrote: >> > Am Donnerstag, 23. März 2017, 21:28:08 CET schrieb Simon Glass: >> >> Hi

Re: [U-Boot] [PATCH 06/21] usb: ehci: Add STi ehci support

2017-03-31 Thread Simon Glass
Hi Patrice, On 23 March 2017 at 03:59, Patrice CHOTARD wrote: > Hi Simon > > On 03/22/2017 02:05 PM, Simon Glass wrote: >> Hi, >> >> On 17 March 2017 at 10:25, wrote: >>> From: Patrice Chotard >>> >>> Add support for

Re: [U-Boot] [PATCH v3 1/2] ARM: at91: gpio: fix at91_set_gpio_value() define

2017-03-31 Thread Simon Glass
On 22 March 2017 at 22:55, Wenyou Yang wrote: > When the CONFIG_ATMEL_LEGACY is undefined, according to the following > defines, at91_set_gpio_value() references to at91_set_pio_value(x, y) > with two parameters. > #define at91_set_gpio_value(x, y)

Re: [U-Boot] [PATCH 8/8] dts: rk3399-puma: enable spi1 and spi5, add /spi1/spiflash

2017-03-31 Thread Simon Glass
On 28 March 2017 at 02:58, Philipp Tomsich wrote: > From: Jakob Unterwurzacher > > The RK3399-Q7 (Puma) unsually (this is a build-time option for > customised boards) has an on-module SPI-flash connected to SPI1.

Re: [U-Boot] [PATCH v2 3/7] sunxi: video: Convert lcdc to use struct display_timing

2017-03-31 Thread Simon Glass
On 20 March 2017 at 16:01, Jernej Skrabec wrote: > Video driver for older Allwinner SoCs uses cfb console framework which > in turn uses struct ctfb_res_modes to hold timing informations. However, > DM video framework uses different structure - struct display_timing. > >

Re: [U-Boot] [PATCH 2/2] serial: atmel_usart: add clk support

2017-03-31 Thread Simon Glass
On 22 March 2017 at 22:50, Wenyou Yang wrote: > Add the clock support. > > Signed-off-by: Wenyou Yang > --- > > drivers/serial/atmel_usart.c | 37 +++-- > 1 file changed, 35 insertions(+), 2 deletions(-) Reviewed-by:

Re: [U-Boot] [PATCH v5 1/3] arm: tegra: initial support for apalis tk1

2017-03-31 Thread Simon Glass
Hi Marcel, On 24 March 2017 at 18:18, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > This patch adds board support for the Toradex Apalis TK1 a computer on > module which can be used on different carrier boards. > > The module consists of a

Re: [U-Boot] [PATCH v3] serial: Add serial driver for Intel MID

2017-03-31 Thread Simon Glass
+Bin Hi, On 26 March 2017 at 05:48, Andy Shevchenko wrote: > On Mon, 2017-03-13 at 16:09 +0200, Andy Shevchenko wrote: >> On Fri, Mar 3, 2017 at 12:31 PM, Kever Yang > > wrote: >> > On 02/28/2017 08:04 PM, Andy Shevchenko wrote: >>

Re: [U-Boot] [PATCH v1] mmc: sdhci: SDHCI controllers also need power

2017-03-31 Thread Simon Glass
Hi Andy, On 20 March 2017 at 06:51, Andy Shevchenko wrote: > On Sun, 2017-03-19 at 20:30 -0600, Simon Glass wrote: >> Hi Andy, >> >> On 15 March 2017 at 12:25, Andy Shevchenko >> wrote: >> > On some systems SDHCI controllers

Re: [U-Boot] [PATCH v1] env_mmc: configure environment offsets via device tree

2017-03-31 Thread Simon Glass
Hi Igor, On 14 March 2017 at 07:11, Igor Grinberg wrote: > Hi Simon, > > On 03/12/17 22:21, Simon Glass wrote: >> Hi Igor, >> >> On 5 March 2017 at 01:39, Igor Grinberg wrote: >>> Hi Simon, >>> >>> On 03/03/17 06:53, Simon Glass wrote: Hi

Re: [U-Boot] [PATCH v5] mmc: gen_atmel_mci: add driver model support for mci

2017-03-31 Thread Simon Glass
On 22 March 2017 at 22:48, Wenyou Yang wrote: > Add the driver model support for Atmel mci while retaining the > existing legacy code. This allows the driver to support boards > that have converted to driver model as well as those that have not. > > Signed-off-by: Wenyou

Re: [U-Boot] [PATCH v8 1/2] gpio: at91_gpio: remove CPU_HAS_PIO3 macro

2017-03-31 Thread Simon Glass
On 22 March 2017 at 22:44, Wenyou Yang wrote: > The intention of the removal is the preparation to introduce the > new AT91 PIO pinctrl driver. > > Use the union to make the PIO3 and PIO2's registers be together > and make their offset aligned. > > Signed-off-by: Wenyou

Re: [U-Boot] [PATCH v2 06/14] usb: ehci: Add STi ehci support

2017-03-31 Thread Simon Glass
Hi Patrice, On 22 March 2017 at 03:54, wrote: > From: Patrice Chotard > > Add support for on-chip ehci controller available > on STMicrolectronics SoCs. > ehci support will be then available on both type A > USB 2.0 connectors. > > Signed-off-by:

Re: [U-Boot] [PATCH v2 07/14] usb: ohci: Add STi ohci support

2017-03-31 Thread Simon Glass
On 22 March 2017 at 03:54, wrote: > From: Patrice Chotard > > Add support for on-chip ohci controller available > on STMicrolectronics SoCs. > Ohci support will be then available on both type A > USB 2.0 connectors. > > Signed-off-by: Patrice

Re: [U-Boot] [PATCH v2 0/7] sunxi: video: Add support for HDMI output on A64/H3/H5

2017-03-31 Thread Simon Glass
Hi Jernej, On 20 March 2017 at 16:01, Jernej Skrabec wrote: > This series implements support for HDMI output. This is done using > DM video framework and sharing the HDMI controller code with RK3288. > > Patch 1 splits out RK3288 HDMI code in a way that it is appropriate

Re: [U-Boot] [PATCH v2 11/14] usb: dwc3: Add dwc3 support for STi

2017-03-31 Thread Simon Glass
Hi Patrice, On 22 March 2017 at 03:54, wrote: > From: Patrice Chotard > > This patch adds the ST glue logic to manage the DWC3 HC > on STiH407 SoC family. It configures the internal glue > logic and syscfg registers. > > Part of this code been

Re: [U-Boot] [PATCH] rockchip: rk3188: enable remap function

2017-03-31 Thread Simon Glass
Hi Heiko, On 21 March 2017 at 17:30, Heiko Stuebner wrote: > Most Rockchip socs have the ability to either map the bootrom or a sram > area to the starting address of the cpu by flipping a bit in the GRF. > > Newer socs leave this untouched and mapped to the bootrom but the

Re: [U-Boot] [PATCH 10/18] stm32f7: use stm32f7 gpio driver supporting driver model

2017-03-31 Thread Simon Glass
On 20 March 2017 at 14:48, Vikas Manocha wrote: > With this gpio driver supporting DM, there is no need to enable clocks > for different gpios (for pin muxing) in the board specific code. > > Need to increase the allocatable area required before relocation from 0x400 to >

Re: [U-Boot] [PATCH 08/18] dm: gpio: Add driver for stm32f7 gpio controller

2017-03-31 Thread Simon Glass
Hi, On 20 March 2017 at 14:48, Vikas Manocha wrote: > > This patch adds gpio driver supporting driver model for stm32f7 gpio. > > Signed-off-by: Vikas Manocha > cc: Christophe KERELLO > --- > drivers/gpio/Kconfig|

Re: [U-Boot] [PATCH v4 00/17] arm: rpi: Enable USB, Ethernet, MMC, Video driver model on Raspberry Pi

2017-03-31 Thread Simon Glass
Hi Tom, On 6 February 2017 at 08:32, Simon Glass wrote: > > Hi Tom, > > On 23 January 2017 at 10:22, Tom Rini wrote: > > On Fri, Jan 20, 2017 at 07:07:35AM -0700, Simon Glass wrote: > > > >> Raspberry Pi uses a DWC2 USB controller and a SMSC USB Ethernet

Re: [U-Boot] [PATCH 01/22] dm: rtc: Add 16-bit read/write support

2017-03-31 Thread Bin Meng
On Fri, Mar 17, 2017 at 11:26 AM, Simon Glass wrote: > On 16 March 2017 at 08:26, Bin Meng wrote: >> At present there are only 8-bit and 32-bit read/write routines in >> the rtc uclass driver. This adds the 16-bit support. >> >> Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH v3] spi: ich: Configure SPI BIOS parameters

2017-03-31 Thread Bin Meng
Hi Stefan, Simon, On Wed, Feb 22, 2017 at 3:07 PM, Stefan Roese wrote: > Hi Simon, > > On 22.02.2017 04:59, Simon Glass wrote: > > > > What if the board mounts a flash with a different SPI flash command > set? Will this work? Frankly, I can't tell for

Re: [U-Boot] [PATCH v1] x86: Remove unused option

2017-03-31 Thread Bin Meng
On Tue, Mar 14, 2017 at 9:44 AM, Bin Meng wrote: > On Mon, Mar 6, 2017 at 7:51 PM, Andy Shevchenko > wrote: >> There is option which is not used: >> CONFIG_ZBOOT_32 >> >> Remove it from default x86 config and from whitelist. >> >>

[U-Boot] [PATCH] spl: armv7m: keep ARM v7M in thumb mode while jumping to entry point

2017-03-31 Thread Vikas Manocha
On ARM v7M, the processor will return to ARM mode when executing blx instruction with bit 0 of the address == 0. Always set it to 1 to stay in thumb mode. Similar commit: f3c10882f7dc8ec35993d5febe59aac01e6a Author: Matt Porter Date: Tue May 5 15:00:23 2015 -0400

Re: [U-Boot] [PATCH v3 00/19] SPL: extend FIT loading support

2017-03-31 Thread André Przywara
On 31/03/17 23:43, Simon Glass wrote: > Hi Andre, > > On 31 March 2017 at 16:31, Andre Przywara wrote: >> Some minor fixes version of the SPL FIT loading series and the respective >> patches to enable this feature on 64-bit Allwinner SoCs. >> There is a new patch (6/19)

Re: [U-Boot] [PATCH v3 00/19] SPL: extend FIT loading support

2017-03-31 Thread Simon Glass
Hi Andre, On 31 March 2017 at 16:31, Andre Przywara wrote: > Some minor fixes version of the SPL FIT loading series and the respective > patches to enable this feature on 64-bit Allwinner SoCs. > There is a new patch (6/19) fixing the SPL_FIT dependencies, above all >

[U-Boot] [PATCH v3 14/19] sunxi: 64-bit SoCs: introduce FIT generator script

2017-03-31 Thread Andre Przywara
Now that the Makefile can call a generator script to build a more advanced FIT image, let's use this feature to address the needs of Allwinner boards with 64-bit SoCs (A64 and H5). The (DTB stripped) U-Boot binary and the ATF are static, but we allow an arbitrary number of supported device trees

  1   2   >