Re: [U-Boot] [PATCH v5 05/16] arm: socfpga: Add A10 macros

2017-04-16 Thread Ley Foon Tan
On Fri, Apr 14, 2017 at 6:20 PM, Marek Vasut wrote: > On 04/13/2017 07:41 PM, Ley Foon Tan wrote: >> Add i2c, timer and other A10 macros. > > What's NOC anyway ? Network on chip. > >> Signed-off-by: Ley Foon Tan >> --- >> arch/arm/mach-socfpga/include/mach/base_addr_a10.h | 8 +++- >> 1 file

Re: [U-Boot] [PATCH v5 14/16] arm: socfpga: Add config and defconfig for Arria 10

2017-04-16 Thread Ley Foon Tan
On Fri, Apr 14, 2017 at 6:25 PM, Marek Vasut wrote: > On 04/13/2017 07:41 PM, Ley Foon Tan wrote: >> Add config and defconfig for the Arria10 and update socfpga_common.h. >> >> Signed-off-by: Tien Fong Chee >> Signed-off-by: Ley Foon Tan > > [...] > >> @@ -298,7 +306,10 @@ unsigned int cm_get_qs

Re: [U-Boot] [PATCH] video: Remove dependecy of I2C_EDID

2017-04-16 Thread Simon Glass
Hi, On 9 April 2017 at 15:30, Jernej Škrabec wrote: > Hi, > > Dne nedelja, 09. april 2017 ob 21:28:47 CEST je Simon Glass napisal(a): >> Hi, >> >> On 28 March 2017 at 16:39, Jernej Skrabec wrote: >> > I2C_EDID currently selects DM_I2C. However, it is not needed. I2C_EDID >> > is used for buildin

Re: [U-Boot] [PATCH] power: regulator: pwm: support pwm polarity setting

2017-04-16 Thread Simon Glass
Hi Elaine, On 9 April 2017 at 20:09, Elaine Zhang wrote: > > > On 04/10/2017 03:28 AM, Simon Glass wrote: >> >> Hi, >> >> On 7 April 2017 at 05:02, Kever Yang wrote: >>> >>> The latest kernel PWM drivers enable the polarity settings. When system >>> run from U-Boot to kerenl, if there are differ

[U-Boot] [PATCH] dm: sandbox: pwm: Add a basic pwm test

2017-04-16 Thread Simon Glass
Unfortunately a test for the PWM uclass was not included when it was submitted. This was noticed when trying to add more functionality: http://patchwork.ozlabs.org/patch/748172/ Add a simple test to get us started. Signed-off-by: Simon Glass --- arch/sandbox/dts/test.dts | 8 +

[U-Boot] U-boot-sunxi status?

2017-04-16 Thread Chen-Yu Tsai
Hi, (Resent from my main email address.) What's the current status of u-boot-sunxi? There are still some patch series floating around. Some of them have been around for a while now, listed here in no particular order: - sunxi: Add support for R40 SoC v2 (by Chen-Yu Tsai) - sunxi: Remove SYS_

Re: [U-Boot] [PATCH 1/2] cmd: remove Blackfin specific commands

2017-04-16 Thread Masahiro Yamada
2017-04-17 4:32 GMT+09:00 Simon Glass : > On 13 April 2017 at 19:54, Masahiro Yamada > wrote: >> These commands have no user since commit ea3310e8aafa ("Blackfin: >> Remove"). >> >> Signed-off-by: Masahiro Yamada >> --- >> >> cmd/Makefile | 6 -- >> cmd/bootldr.c| 170 -

Re: [U-Boot] [PATCH v2 3/3] sysreset: psci: support system reset in a generic way with PSCI

2017-04-16 Thread Masahiro Yamada
Hi Simon, 2017-04-17 4:31 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 12 April 2017 at 20:39, Masahiro Yamada > wrote: >> If the system is running PSCI firmware, the System Reset function >> (func ID: 0x8009) is supposed to be handled by PSCI, that is, >> the SoC/board specific reset imple

[U-Boot] [PATCH 08/19] fdt: Build the new python libfdt module

2017-04-16 Thread Simon Glass
Build the upstream python libfdt module. At present the legacy module is still built and is the one that it used. Future work will switch this over. Signed-off-by: Simon Glass --- tools/Makefile | 18 ++ 1 file changed, 18 insertions(+) diff --git a/tools/Makefile b/tools/Makef

[U-Boot] [PATCH 18/19] binman: Rename fdt variable to dtb

2017-04-16 Thread Simon Glass
Since fdt is the name of a module, use a different name for variables to avoid a conflict. Signed-off-by: Simon Glass --- tools/binman/control.py | 10 +- tools/binman/etype/u_boot_dtb_with_ucode.py | 9 - tools/binman/func_test.py | 4 ++-

[U-Boot] [PATCH 11/19] fdt: Support use of the new python libfdt library

2017-04-16 Thread Simon Glass
Use the new library if available, while retaining backwards compatibility with the old library for now. Signed-off-by: Simon Glass --- tools/Makefile | 4 +++- tools/binman/binman.py | 3 +++ tools/dtoc/fdt.py| 1 + tools/dtoc/fdt_normal.py | 35 ++

[U-Boot] [PATCH 15/19] fdt: Drop fdt_fallback library

2017-04-16 Thread Simon Glass
Drop this now-unused library and associated tests. Signed-off-by: Simon Glass --- tools/binman/fdt_test.py | 10 --- tools/binman/func_test.py | 42 --- tools/dtoc/fdt.py | 4 +- tools/dtoc/fdt_fallback.py | 181 - tools/dtoc/f

[U-Boot] [PATCH 13/19] fdt: Stop building the old python libfdt module

2017-04-16 Thread Simon Glass
This is no-longer needed, so stop building it. Signed-off-by: Simon Glass --- lib/libfdt/libfdt_legacy.swig | 112 -- lib/libfdt/setup.py | 38 -- tools/Makefile| 18 --- 3 files changed, 168 deletions(-) delet

Re: [U-Boot] [PATCH 2/2] drivers: remove Blackfin specific drivers

2017-04-16 Thread Masahiro Yamada
2017-04-17 4:32 GMT+09:00 Simon Glass : > On 13 April 2017 at 19:55, Masahiro Yamada > wrote: >> These drivers have no user since commit ea3310e8aafa ("Blackfin: >> Remove"). > > nit: Blackfin-specific > > (in subject) If there is no more comment, can Tom fix up the subject? > > Reviewed-b

[U-Boot] [PATCH 19/19] fdt: Drop fdt_select.py

2017-04-16 Thread Simon Glass
This file was used to select between the normal and fallback libfdt implementations. Now that we only have one, it is not needed. Drop it and fix up all users. Signed-off-by: Simon Glass --- tools/binman/control.py | 2 +- tools/binman/etype/u_boot_dtb_with_ucode.py | 2 +

[U-Boot] [PATCH 09/19] fdt: Update fdt_test to use 'dt' instead of 'fdt'

2017-04-16 Thread Simon Glass
Since fdt is a module it conflicts with this variable name and prevents it being used in tests. Rename the variable. Signed-off-by: Simon Glass --- tools/binman/fdt_test.py | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tools/binman/fdt_test.py b/tools/bi

[U-Boot] [PATCH 10/19] fdt: dtoc: Add a full set of property tests

2017-04-16 Thread Simon Glass
The tests don't currently cover all the different property types. Add a new test which checks each property type in turn, to make sure each has the correct type and value. Signed-off-by: Simon Glass --- tools/binman/fdt_test.py | 46 ++ tools/binman

[U-Boot] [PATCH 07/19] fdt: Rename existing python libfdt module

2017-04-16 Thread Simon Glass
Now that this module has been accepted upstream we should stop using the local U-Boot one. In preparation for this, rename it to indicate it is for legacy use. Signed-off-by: Simon Glass --- lib/libfdt/{libfdt.swig => libfdt_legacy.swig} | 3 +-- lib/libfdt/setup.py

[U-Boot] [PATCH 03/19] fdt: Use SPDX format for licenses in the libfdt headers

2017-04-16 Thread Simon Glass
These should follow the UBoot standard. Update them. Signed-off-by: Simon Glass --- include/fdt.h| 46 +- include/libfdt.h | 46 +- 2 files changed, 2 insertions(+), 90 deletions(-) diff --git a/include

[U-Boot] [PATCH 16/19] binman: Drop a special case related to fdt_fallback

2017-04-16 Thread Simon Glass
Previously we were sometimes forced to collate x86 microcode due to not having access to the offset of each individual piece. Now that we never use fdt_fallback, we don't have this problem. Drop this special case from the code. Signed-off-by: Simon Glass --- tools/binman/etype/u_boot_dtb_with_u

[U-Boot] [PATCH 05/19] fdt: Allow swig options to be provided by Makefile

2017-04-16 Thread Simon Glass
U-Boot needs to provide some swig include directories. Add this feature. Signed-off-by: Simon Glass --- lib/libfdt/pylibfdt/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libfdt/pylibfdt/setup.py b/lib/libfdt/pylibfdt/setup.py index 38a844cb6d..daf1089425 1

[U-Boot] [PATCH 06/19] fdt: Add all source files to the libfdt build

2017-04-16 Thread Simon Glass
At present only a subset of source files are build. Add the rest and refactor this so that a source file list is available also. This will be used in later commit. Signed-off-by: Simon Glass --- tools/Makefile | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/Mak

[U-Boot] [PATCH 14/19] fdt: Drop use of the legacy libfdt python module

2017-04-16 Thread Simon Glass
Now that this is no-longer available, stop looking for it. The new module will be used if available. Signed-off-by: Simon Glass --- tools/dtoc/fdt_normal.py | 32 1 file changed, 8 insertions(+), 24 deletions(-) diff --git a/tools/dtoc/fdt_normal.py b/tools/dto

[U-Boot] [PATCH 17/19] fdt: Merge fdt_normal with its base class

2017-04-16 Thread Simon Glass
Since we only have one Fdt implementation now we don't need to have a base class. Merge the implementation and the base class together. Signed-off-by: Simon Glass --- tools/dtoc/fdt.py| 176 +++- tools/dtoc/fdt_normal.py | 226

[U-Boot] [PATCH 12/19] fdt: Makefile: Build python libfdt library if needed

2017-04-16 Thread Simon Glass
This is needed by binman and dtoc, so if those are being used, check that the library is present and complain if not. This means that the fallback library (which uses fdtget) will not be used anymore and swig will need to be installed to use binman / dtoc. This affects any board which uses binman

[U-Boot] [PATCH 02/19] fdt: Correct cast for sandbox in fdtdec_setup_memory_size()

2017-04-16 Thread Simon Glass
This gives a warning with some native compilers: lib/fdtdec.c:1203:8: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] Fix it with a cast. Signed-off-by: Simon Glass --- lib/fdtdec.c | 3 ++- 1 file changed

[U-Boot] [PATCH 00/19] fdt: Move to the new upstream pylibfdt library

2017-04-16 Thread Simon Glass
Python libfdt bindings have recently been accepted upstream. While the internals have changed a fair bit most of the API remains the same. Still, a few functions are different from how they are used in U-Boot so changes are needed to make this work. At present in U-Boot there are two libraries for

[U-Boot] [PATCH 01/19] pci: Correct cast for sandbox

2017-04-16 Thread Simon Glass
This gives a warning with some native compilers: cmd/pci.c:152:11: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘u64 {aka long unsigned int}’ [-Wformat=] Fix it with a cast. Signed-off-by: Simon Glass --- cmd/pci.c | 3 ++- 1 file cha

Re: [U-Boot] [PATCH v5 00/16] Add Intel Arria 10 SoC support

2017-04-16 Thread Ley Foon Tan
On Thu, Apr 13, 2017 at 10:38 PM, Luc Verhaegen wrote: > On Fri, Apr 14, 2017 at 01:41:09AM +0800, Ley Foon Tan wrote: >> > > This is what the mail header says: > > Received: by lists.denx.de (Postfix, from userid 105) > id CF30DC21C35; Thu, 13 Apr 2017 09:41:37 + (UTC) > > Add 8h, and

Re: [U-Boot] [PATCH 2/2] Enable PXE boot on meson-gxbb.

2017-04-16 Thread Andreas Färber
Am 17.04.2017 um 00:01 schrieb Vagrant Cascadian: > Enable distro_bootcmd PXE functions on meson-gxbb systems. > > While DHCP boot is already supported, the format is fairly u-boot > specific, while PXE boot supports the widely used syslinux style boot > configuration format. > > Signed-off-by: V

Re: [U-Boot] [PATCH 1/2] Enable MMC boot on meson-gxbb.

2017-04-16 Thread Andreas Färber
Am 17.04.2017 um 00:01 schrieb Vagrant Cascadian: > This enables booting from microSD and eMMC on odroid-c2 by using the > distro_bootcmd MMC functions. > > Signed-off-by: Vagrant Cascadian > --- > > include/configs/meson-gxbb-common.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a

[U-Boot] [PATCH 1/2] Enable MMC boot on meson-gxbb.

2017-04-16 Thread Vagrant Cascadian
This enables booting from microSD and eMMC on odroid-c2 by using the distro_bootcmd MMC functions. Signed-off-by: Vagrant Cascadian --- include/configs/meson-gxbb-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/meson-gxbb-common.h b/include/configs/meson-gxbb-com

[U-Boot] [PATCH 2/2] Enable PXE boot on meson-gxbb.

2017-04-16 Thread Vagrant Cascadian
Enable distro_bootcmd PXE functions on meson-gxbb systems. While DHCP boot is already supported, the format is fairly u-boot specific, while PXE boot supports the widely used syslinux style boot configuration format. Signed-off-by: Vagrant Cascadian --- include/configs/meson-gxbb-common.h | 1

[U-Boot] [PATCH 0/2] Enable MMC and PXE boot on meson-gxbb systems.

2017-04-16 Thread Vagrant Cascadian
The first patch enables MMC boot support, and the second enables PXE boot support. Vagrant Cascadian (2): Enable MMC boot on meson-gxbb. Enable PXE boot on meson-gxbb. include/configs/meson-gxbb-common.h | 3 +++ 1 file changed, 3 insertions(+) -- 2.11.0

Re: [U-Boot] [PATCH v7 1/4] arm: dts: update Meson GXBB / Odroid-C2 DT with latest Linux version

2017-04-16 Thread Andreas Färber
Am 16.04.2017 um 21:33 schrieb Simon Glass: > On 14 April 2017 at 04:27, Heinrich Schuchardt wrote: >> As a prerequisite for adding a Meson GX MMC driver update the >> Meson GXBB / Odroid-C2 device tree in Uboot with the latest > > U-Boot > >> version from Linux. > > It's a good idea to indicat

Re: [U-Boot] [PATCH] Set ramdisk_addr_r to a higher address location on meson-gxbb.

2017-04-16 Thread Vagrant Cascadian
On 2017-04-12, Vagrant Cascadian wrote: > On 2017-04-12, Andreas Färber wrote: >> Am 12.04.2017 um 23:28 schrieb Vagrant Cascadian: >>> Set ramdisk_addr_r to 0x2000, otherwise it may conflict with >>> kernel_addr_r location (0x0108) with a moderately large kernel. > ... >>> diff --git a/inc

Re: [U-Boot] [PATCH v2 02/14] sysreset: add syscon-reboot driver

2017-04-16 Thread Simon Glass
Hi Alvaro, On 15 April 2017 at 16:03, Álvaro Fernández Rojas wrote: > Add a new sysreset driver based on linux/drivers/power/reset/syscon-reboot.c, > which provides a generic driver for platforms that only require writing a mask > to a regmap offset. > > Signed-off-by: Álvaro Fernández Rojas > -

Re: [U-Boot] [PATCH] rockchip: rk3399: defconfig: add CONFIG_OF_EMBED support

2017-04-16 Thread Simon Glass
Hi Kever, On 14 April 2017 at 01:59, Kever Yang wrote: > Hi Simon, > > > On 04/11/2017 09:55 PM, Simon Glass wrote: >> >> Hi Kever, >> >> On 9 April 2017 at 20:36, Kever Yang wrote: >>> >>> Hi Simon, >>> >>> >>> On 04/10/2017 03:28 AM, Simon Glass wrote: Hi Kever, On 7 April

Re: [U-Boot] [PATCH 4/5] rockchip: clk: rk3288: add ciu_clk entry for eMMC/SDMMC/SDIO

2017-04-16 Thread Simon Glass
On 16 April 2017 at 03:44, Ziyuan Xu wrote: > The genunie bus clock is sclk_x for eMMC/SDMMC/SDIO, add support for > it. > > Signed-off-by: Ziyuan Xu > --- > > drivers/clk/rockchip/clk_rk3288.c | 12 > 1 file changed, 12 insertions(+) Acked-by: Simon Glass

Re: [U-Boot] [PATCH v3 3/3] board: at91sam9263ek: Enable early debug UART

2017-04-16 Thread Simon Glass
On 13 April 2017 at 21:07, Wenyou Yang wrote: > Enable the early debug UART to debug problems when an ICE or other > debug mechanism is not available. > > Signed-off-by: Wenyou Yang > --- > > Changes in v3: > - Rebase on the master branch (22e10be45) of u-boot-dm git tree. > - Update the cover-

Re: [U-Boot] [PATCH 2/2] rockchip: dts: add rk3399-firefly dts

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:49, Kever Yang wrote: > Firefly-rk3399 is a bord from T-Firefly, you can find detail about > it here: > http://en.t-firefly.com/en/firenow/Firefly_RK3399/ > > This patch add basic node for the board and make it able to bring > up. > > Peripheral/interfaces on board: > - usb

Re: [U-Boot] [PATCH v1] i2c: sunxi: add device-model support for i2c

2017-04-16 Thread Simon Glass
Hi, On 1 March 2017 at 14:34, Philipp Tomsich wrote: > The I2C block in sunxi (Allwinner SoCs) is based on Designware and uses > the same driver as the Marvell Orion 5x and Kirkwood families. > > This change adds a compatible id matching the binding for sunxi > devices, supports configuring the c

Re: [U-Boot] [PATCH 2/2] drivers: omap_hsmmc: move to DM_MMC_OPS

2017-04-16 Thread Simon Glass
On 14 April 2017 at 11:50, Jean-Jacques Hiblot wrote: > Signed-off-by: Jean-Jacques Hiblot > --- > drivers/mmc/Kconfig | 1 + > drivers/mmc/omap_hsmmc.c | 39 --- > 2 files changed, 33 insertions(+), 7 deletions(-) > Reviewed-by: Simon Glass __

Re: [U-Boot] [PATCH v5 02/16] disk: part: refactor part_print_efi to prepare GPT over MTD

2017-04-16 Thread Simon Glass
On 13 April 2017 at 03:52, Patrick Delaunay wrote: > split part_print_efi : create sub-functions part_print_gpt() > > Signed-off-by: Patrick Delaunay > Reviewed-by: Christophe KERELLO > --- > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > disk/part_e

Re: [U-Boot] [U-Boot PATCH V2 0/9] introduce Rockchip rockusb

2017-04-16 Thread Simon Glass
Hi Eddie, On 16 April 2017 at 09:54, Eddie Cai wrote: > rockusb is a protocol run between host pc and device. it help people get > device > info, flash image to device. this patch implement rockusb on device side. > > Eddie Cai (9): > usb: ums: split macro and data struct in storage_common.c >

Re: [U-Boot] [PATCH v5 16/16] sandbox: GPT over MTD test

2017-04-16 Thread Simon Glass
On 13 April 2017 at 03:52, Patrick Delaunay wrote: > activate needed feature in sandbox to allow test GPT over MTD > - EFI_PARTITION_MTD > - SPI_FLASH_MTD > - CMD_MTDPARTS > - MTD_PARTITIONS > - MTD_DEVICE > > activate 2 features usefull for test > - RANDOM_UUID > - PARTITION_TYPE_GUID > > Signed-

Re: [U-Boot] [PATCH v2 1/1] tools/env: avoid memory leak in fw_setenv

2017-04-16 Thread Simon Glass
On 15 April 2017 at 05:05, Heinrich Schuchardt wrote: > If realloc fails we should release the old buffer. > > Signed-off-by: Heinrich Schuchardt > --- > v2: > Initial mail was garbled. > --- > tools/env/fw_env.c | 3 +++ > 1 file changed, 3 insertions(+) Reviewed-by: Simon Glass ___

Re: [U-Boot] [RFC 1/1] omap3: incorrect logical check in do_emif4_init

2017-04-16 Thread Simon Glass
On 15 April 2017 at 08:11, Heinrich Schuchardt wrote: > ((readl(&emif4_base->sdram_iodft_tlgc) & (1<<10)) == 0x01) > is always false. > This does not match the comment > /*Wait till that bit clears*/ > > The problem was indicated by cppcheck. > > I do not have the hardware to test if the code chan

Re: [U-Boot] [U-Boot, v7, 3/4] Enable new Meson GX MMC driver in Odroid C2 defconfig.

2017-04-16 Thread Simon Glass
On 14 April 2017 at 04:27, Heinrich Schuchardt wrote: > This patch is based on > [U-Boot,v6,3/3] odroid-c2: enable new Meson GX MMC driver in board defconfig > by Heiner Kallweit > > CC: Heiner Kallweit > Signed-off-by: Heinrich Schuchardt > --- > v7: > - made applicable to current U-boot maste

Re: [U-Boot] [RESEND PATCH] rockchip: reserve memory for rk3399 ATF data

2017-04-16 Thread Simon Glass
On 14 April 2017 at 05:03, Kever Yang wrote: > There are 3 region used by rk3399 ATF: > - bl31 code, locate at 0x1; > - cortex-m0 code and data, locate at 0xff8c; > - bl31 data, locate at 0xff8c1000 ~ 0xff8c4000; > > SPL_TEXT_BASE starts from 0xff8c2000, we need to reserve memory > for ATF

Re: [U-Boot] [PATCH v3 3/3] board: at91sam9n12ek: Enable early debug UART

2017-04-16 Thread Simon Glass
On 13 April 2017 at 20:16, Wenyou Yang wrote: > Enable the early debug UART to debug problems when an ICE or other > debug mechanism is not available. > > Signed-off-by: Wenyou Yang > --- > > Changes in v3: > - Rebase on the master branch (22e10be45) of u-boot-dm git tree. > - Update the cover-

Re: [U-Boot] [PATCH v3 1/3] configs: at91sam9rlek: Update for DT and DM support

2017-04-16 Thread Simon Glass
On 13 April 2017 at 20:49, Wenyou Yang wrote: > Update the configuration files to support the device tree and driver > model. The device clock and pins configuration are handled by the > clock and the pinctrl drivers respectively. > > Signed-off-by: Wenyou Yang > --- > > Changes in v3: None > Cha

Re: [U-Boot] [PATCH] drivers/crypto/fsl: remove redundant logical contraint

2017-04-16 Thread Simon Glass
On 15 April 2017 at 08:37, Heinrich Schuchardt wrote: > 'A || (!A && B)' is equivalent to 'A || B'. > Let's reduce the complexity of the statement in start_jr0(). > > The problem was indicated by cppcheck. > > Signed-off-by: Heinrich Schuchardt > --- > drivers/crypto/fsl/jr.c | 3 +-- > 1 file c

Re: [U-Boot] [PATCH v3 19/19] sunxi: update Pine64 README

2017-04-16 Thread Simon Glass
On 31 March 2017 at 16:31, Andre Przywara wrote: > With the DRAM init code and the SPL's ability to load the ATF binary as > well, we can now officially get rid of the boot0 boot method, which > involed a closed-source proprietary blob to be used. > Rework the Pine64 README file to document how to

Re: [U-Boot] [PATCH 2/2] drivers: remove Blackfin specific drivers

2017-04-16 Thread Simon Glass
On 13 April 2017 at 19:55, Masahiro Yamada wrote: > These drivers have no user since commit ea3310e8aafa ("Blackfin: > Remove"). nit: Blackfin-specific (in subject) > > Signed-off-by: Masahiro Yamada > --- > > drivers/block/Makefile |1 - > drivers/block/pata_bfin.c| 1209 > ---

Re: [U-Boot] [PATCH 1/2] include: config: am335x: disable DM_MMC_OPS if DM_MMC is disabled

2017-04-16 Thread Simon Glass
Hi, On 14 April 2017 at 11:50, Jean-Jacques Hiblot wrote: > Signed-off-by: Jean-Jacques Hiblot > --- > include/configs/am335x_evm.h | 1 + > include/configs/am335x_shc.h | 1 + > include/configs/chiliboard.h | 1 + > 3 files changed, 3 insertions(+) Reviewed-by: Simon Glass This seems unfort

Re: [U-Boot] [PATCH] mkimage: rockchip: add support for rk3328

2017-04-16 Thread Simon Glass
On 14 April 2017 at 00:55, Kever Yang wrote: > Add support for rk3328 package header in mkimage tool. > > Signed-off-by: Kever Yang > --- > > tools/rkcommon.c | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Simon Glass ___ U-Boot mailing list

Re: [U-Boot] [PATCH 3/5] rockchip: clk: rk3188: add ciu_clk entry for eMMC/SDMMC/SDIO

2017-04-16 Thread Simon Glass
On 16 April 2017 at 03:44, Ziyuan Xu wrote: > The genunie bus clock is sclk_x for eMMC/SDMMC/SDIO, add support for > it. > > Signed-off-by: Ziyuan Xu > --- > > drivers/clk/rockchip/clk_rk3188.c | 12 > 1 file changed, 12 insertions(+) Acked-by: Simon Glass

Re: [U-Boot] [PATCH v2 6/6] ARM: dts: at91: Add dts files for at91sam9263ek

2017-04-16 Thread Simon Glass
On 13 April 2017 at 19:11, Wenyou Yang wrote: > The device tree source files of at91sam9263ek boards are copied from > the Linux v4.10, do the changes as below. > - Add the reg property for the pinctrl node. > - Move the gpio (pioA, pioB, pioC, pioD, pioE) nodes as the pinctrl's >slibling no

Re: [U-Boot] [PATCH v5 07/16] disk: part: add support of GPT partitioning over MTD

2017-04-16 Thread Simon Glass
On 13 April 2017 at 03:52, Patrick Delaunay wrote: > Signed-off-by: Patrick Delaunay > Reviewed-by: Christophe KERELLO > --- > > Changes in v5: > - solve warning and error > (dont' include linux/mtd/mtd.h in part.h) > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > disk/

Re: [U-Boot] [PATCH v3 1/3] configs: at91sam9263ek: Update for DT and DM support

2017-04-16 Thread Simon Glass
On 13 April 2017 at 21:07, Wenyou Yang wrote: > Update the configuration files to support the device tree and driver > model. The device clock and pins configuration are handled by the > clock and the pinctrl drivers respectively. > > Signed-off-by: Wenyou Yang > --- > > Changes in v3: None > Cha

Re: [U-Boot] [PATCH v2 3/3] board: at91sam9m10g45ek: Enable early debug UART

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:03, Wenyou Yang wrote: > Enable the early debug UART to debug problems when an ICE or other > debug mechanism is not available. > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: > - Move out [PATCH] ARM: dts: at91: Add dts files for at91sam9m10g45ek. > - Add [PATCH]

Re: [U-Boot] [PATCH v2 5/6] ARM: dts: at91: Add dts files for at91sam9rlek

2017-04-16 Thread Simon Glass
On 13 April 2017 at 19:11, Wenyou Yang wrote: > The device tree source files of at91sam9rlek boards are copied from > the Linux v4.10, do the changes as below. > - Add the reg property for the pinctrl node. > - Move the gpio (pioA, pioB, pioC, pioD) nodes as the pinctrl's >slibling nodes, in

Re: [U-Boot] [PATCH v3 1/3] configs: at91sam9n12ek: Update for DT and DM support

2017-04-16 Thread Simon Glass
On 13 April 2017 at 20:16, Wenyou Yang wrote: > Update the configuration files to support the device tree and driver > model. The device clock and pins configuration are handled by the > clock and the pinctrl drivers respectively. > > Because the limitation of internal SRAM size, the SPL with driv

Re: [U-Boot] [PATCH v2 2/3] board: at91sam9n12ek: Clean up code

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:08, Wenyou Yang wrote: > Since the introduction of the pinctrl and clk driver and the device > tree files, remove unneeded related code from the board file. > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: None > > board/atmel/at91sam9n12ek/at91sam9n12ek.c | 53 > -

Re: [U-Boot] [PATCH v4 1/3] configs: at91sam9260ek/9g20ek: Update for DT and DM

2017-04-16 Thread Simon Glass
On 13 April 2017 at 20:32, Wenyou Yang wrote: > Update the configuration files to support the device tree and driver > model. The device clock and pins configuration are handled by the > clock and the pinctrl drivers respectively. > > Signed-off-by: Wenyou Yang > --- > > Changes in v4: None > Cha

Re: [U-Boot] [PATCH v2 3/3] board: at91sam9n12ek: Enable early debug UART

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:08, Wenyou Yang wrote: > Enable the early debug UART to debug problems when an ICE or other > debug mechanism is not available. > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: > - Use CONFIG_DEBUG_UART_CLOCK as the input clock for the early >debug UART. > - Mo

Re: [U-Boot] [PATCH v3 2/3] board: at91sam9n12ek: Clean up code

2017-04-16 Thread Simon Glass
On 13 April 2017 at 20:16, Wenyou Yang wrote: > Since the introduction of the pinctrl and clk driver and the device > tree files, remove unneeded related code from the board file. > > Signed-off-by: Wenyou Yang > --- > > Changes in v3: None > Changes in v2: None > > board/atmel/at91sam9n12ek/at9

Re: [U-Boot] [PATCH v2 05/14] cpu: add CPU driver for Broadcom MIPS SoCs

2017-04-16 Thread Simon Glass
On 15 April 2017 at 16:03, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > v2: Introduce changes suggested by Daniel Schwierzeck: > - Split BMIPS support patches. > - Get register base from DT. > > drivers/cpu/Makefile| 2 + > drivers/cpu/bmips_cpu.c | 27

Re: [U-Boot] [PATCH 1/5] mmc: dw_mmc: rockchip: select proper card clock

2017-04-16 Thread Simon Glass
On 16 April 2017 at 03:44, Ziyuan Xu wrote: > As you know, biu_clk is used for AMBA AHB/APB interface, ciu_clk is > used for communication between host and card devices. The real bus clock > is ciu, so let's rectify it. > > Signed-off-by: Ziyuan Xu > --- > > drivers/mmc/rockchip_dw_mmc.c | 4 ++-

Re: [U-Boot] [PATCH v3 2/3] board: at91sam9260ek: Clean up code

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:14, Wenyou Yang wrote: > Since the introduction of the pinctrl and clk drivers and the > device tree files, remove unneeded hard coded related code from > the board file. > > Signed-off-by: Wenyou Yang > --- > > Changes in v3: None > Changes in v2: None > > board/atmel/at9

Re: [U-Boot] [PATCH v2 04/14] serial: add serial driver for BCM6345

2017-04-16 Thread Simon Glass
On 15 April 2017 at 16:03, Álvaro Fernández Rojas wrote: > It is based on linux/drivers/tty/serial/bcm63xx_uart.c > > Signed-off-by: Álvaro Fernández Rojas > --- > v2: Introduce changes suggested by Daniel Schwierzeck: > - Remove unneeded defines. > - Fix incorrect multi-line comment. > > d

Re: [U-Boot] [PATCH] rockchip: reserve memory for rk3399 ATF data

2017-04-16 Thread Simon Glass
Hi Philipp, On 14 April 2017 at 04:51, Dr. Philipp Tomsich wrote: > Kever, > > Do we really need to change the SPL layout (i.e. BL2) for this? > > The SPL code should remain independent of later stages. This change would tie > the > U-Boot SPL (BL2) to a specific implementation/memory layout of

Re: [U-Boot] [PATCH v4 3/3] board: at91sam9260ek/9g20ek: Enable early debug UART

2017-04-16 Thread Simon Glass
On 13 April 2017 at 20:32, Wenyou Yang wrote: > Enable the early debug UART to debug problems when an ICE or other > debug mechanism is not available. > > Signed-off-by: Wenyou Yang > --- > > Changes in v4: > - Rebase on the master branch (22e10be45) of u-boot-dm git tree. > - Update the cover-

Re: [U-Boot] [PATCH 1/2] cmd: remove Blackfin specific commands

2017-04-16 Thread Simon Glass
On 13 April 2017 at 19:54, Masahiro Yamada wrote: > These commands have no user since commit ea3310e8aafa ("Blackfin: > Remove"). > > Signed-off-by: Masahiro Yamada > --- > > cmd/Makefile | 6 -- > cmd/bootldr.c| 170 - > cmd/cplbinfo.c | 60 -

Re: [U-Boot] [PATCH v7 2/3] mmc: meson: add MMC driver for Meson GX (S905)

2017-04-16 Thread Simon Glass
Hi Alex, On 16 April 2017 at 04:08, Alexander Graf wrote: > > > On 16.04.17 04:09, Heinrich Schuchardt wrote: >> >> On 04/15/2017 11:51 PM, Andreas Färber wrote: >>> >>> Am 15.04.2017 um 23:16 schrieb Andreas Färber: Am 15.04.2017 um 23:04 schrieb Alexander Graf: >> >> Am 15.04.

Re: [U-Boot] [PATCH v3 1/3] configs: at91sam9m10g45ek: Update to support DM/DT

2017-04-16 Thread Simon Glass
On 13 April 2017 at 19:59, Wenyou Yang wrote: > Update the configuration files to support the device tree and driver > model. The device clock and pins configuration are handled by the > clock and the pinctrl drivers respectively. > > Because the limitation of internal SRAM size, the SPL with driv

Re: [U-Boot] [PATCH v2 1/6] ARM: dts: at91: Add dts files for at91sam9x5ek

2017-04-16 Thread Simon Glass
On 13 April 2017 at 19:11, Wenyou Yang wrote: > The device tree source files of at91sam9x5ek board are copied from > the Linux v4.10, do the changes below. > - Add the reg property for the pinctrl node. > - Move the gpio (pioA, pioB, pioC ...) nodes as the pinctrl's >slibling nodes, instead

Re: [U-Boot] [PATCH v4 2/3] board: at91sam9260ek: Clean up code

2017-04-16 Thread Simon Glass
On 13 April 2017 at 20:32, Wenyou Yang wrote: > Since the introduction of the pinctrl and clk drivers and the > device tree files, remove unneeded hard coded related code from > the board file. > > Signed-off-by: Wenyou Yang > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: Non

Re: [U-Boot] rockchip: rk3288: grf: FIX the correct gmac tx_delay shift

2017-04-16 Thread Simon Glass
On 14 April 2017 at 03:24, Dr. Philipp Tomsich wrote: > >> On 14 Apr 2017, at 11:02, David Wu wrote: >> >> If the tx_delay is not enabled, the RGMII/1000M can't work. >> >> Signed-off-by: David Wu >> --- >> arch/arm/include/asm/arch-rockchip/grf_rk3288.h | 2 +- >> 1 file changed, 1 insertion(+),

Re: [U-Boot] [PATCH v2 1/1] meson: gxbb: change ramdisk_addr_r

2017-04-16 Thread Simon Glass
On 14 April 2017 at 12:04, Heinrich Schuchardt wrote: > 0x1000 is the start of a 2 MiB area used by the > ARM Trusted Firmware (BL31). > > See > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/arch/arm64/boot/dts/amlogic/meson-gx.dtsi?id=refs/tags/v4.10.10 > > So w

Re: [U-Boot] [PATCH v2 03/14] MIPS: allow using generic sysreset drivers

2017-04-16 Thread Simon Glass
On 15 April 2017 at 16:03, Álvaro Fernández Rojas wrote: > Avoid duplicating do_reset definition if SYSRESET is enabled for MIPS > > Signed-off-by: Álvaro Fernández Rojas > --- > v2: no changes > > arch/mips/cpu/cpu.c | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v5 11/16] cmd: gpt: update write command to support GPT over MTD

2017-04-16 Thread Simon Glass
On 13 April 2017 at 03:52, Patrick Delaunay wrote: > support gpt write for MTD device >> gpt write nand 0 >> gpt write nor 0 > > And verify is not yet supported for MTD device > > Signed-off-by: Patrick Delaunay > Reviewed-by: Christophe KERELLO > --- > > Changes in v5: None > Changes in v4: Non

Re: [U-Boot] [PATCH v5 03/16] disk: part: refactor part_get_info_efi to prepare GPT over MTD

2017-04-16 Thread Simon Glass
On 13 April 2017 at 03:52, Patrick Delaunay wrote: > create sub-functions part_get_disk_info() > > Signed-off-by: Patrick Delaunay > Reviewed-by: Christophe KERELLO > --- > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > disk/part_efi.c | 49 +

Re: [U-Boot] [PATCH v2 06/14] ram: add RAM driver for Broadcom MIPS SoCs

2017-04-16 Thread Simon Glass
On 15 April 2017 at 16:03, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > v2: Introduce changes suggested by Daniel Schwierzeck: > - Split BMIPS support patches. > > drivers/ram/Makefile| 2 + > drivers/ram/bmips_ram.c | 126 >

Re: [U-Boot] [PATCH v3 3/3] board: at91sam9m10g45ek: Enable early debug UART

2017-04-16 Thread Simon Glass
On 13 April 2017 at 19:59, Wenyou Yang wrote: > Enable the early debug UART to debug problems when an ICE or other > debug mechanism is not available. > > Signed-off-by: Wenyou Yang > --- > > Changes in v3: > - Rebase on the master branch (22e10be45) of u-boot-dm git tree. > - Update the cover-

Re: [U-Boot] [PATCH V2 08/12] gpio: 74x164: make oe-pins optional

2017-04-16 Thread Simon Glass
On 13 April 2017 at 00:09, Peng Fan wrote: > Make oe-pins optional because some boards have fixed it to enable. > > Signed-off-by: Peng Fan > Cc: Simon Glass > Cc: Stefano Babic > --- > > V2: > None > > drivers/gpio/74x164_gpio.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Revi

Re: [U-Boot] [PATCH v7 1/4] arm: dts: update Meson GXBB / Odroid-C2 DT with latest Linux version

2017-04-16 Thread Simon Glass
On 14 April 2017 at 04:27, Heinrich Schuchardt wrote: > As a prerequisite for adding a Meson GX MMC driver update the > Meson GXBB / Odroid-C2 device tree in Uboot with the latest U-Boot > version from Linux. It's a good idea to indicate which version (or commit) of Linux > > Signed-off-by: Ne

Re: [U-Boot] [PATCH v2 3/3] board: at91sam9263ek: Enable early debug UART

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:23, Wenyou Yang wrote: > Enable the early debug UART to debug problems when an ICE or other > debug mechanism is not available. > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: > - Add [PATCH]: board: at91sam9263ek: Enable early debug UART. > - Move out [PATCH] ARM

Re: [U-Boot] [PATCH v2 01/14] cmd: cpu: fix NULL cpu feature prints

2017-04-16 Thread Simon Glass
On 15 April 2017 at 16:03, Álvaro Fernández Rojas wrote: > Commit 740d5d3 added two new features but only one feature name, > which results in NULL prints when device_id feature is selected. > > Before: > HG556a # cpu detail > -1: cpu@0 BCM6358A1 > ID = 0, fre

Re: [U-Boot] [PATCH 5/5] rockchip: clk: rk3328: add ciu_clk entry for eMMC/SDMMC

2017-04-16 Thread Simon Glass
On 16 April 2017 at 03:44, Ziyuan Xu wrote: > The genunie bus clock is sclk_x for eMMC/SDMMC, add support for it. > > Signed-off-by: Ziyuan Xu > --- > > drivers/clk/rockchip/clk_rk3328.c | 8 > 1 file changed, 8 insertions(+) Acked-by: Simon Glass _

Re: [U-Boot] [PATCH v5 05/16] disk: part: compute partition_entry_lba

2017-04-16 Thread Simon Glass
On 13 April 2017 at 03:52, Patrick Delaunay wrote: > the value for partition_entry_lba of secondary GPT (last usable lba + 1) > is not correct with MTD support as last usable LBA need to be erase size > aligned > > The correct location of partition entry is always recomputed with > the formula : >

Re: [U-Boot] [PATCH v2 3/6] ARM: dts: at91: Add dts files for at91sam9m10g45ek

2017-04-16 Thread Simon Glass
On 13 April 2017 at 19:11, Wenyou Yang wrote: > The device tree source files of at91sam9m10g45ek boards are copied > from the Linux v4.10, do the changes as below. > - Add the reg property for the pinctrl node. > - Move the gpio (pioA, pioB, pioC, pioD, pioE) nodes as the pinctrl's >slibling

Re: [U-Boot] [PATCH] rockchip: rk3399: use actual dram size

2017-04-16 Thread Simon Glass
On 12 April 2017 at 04:38, Kever Yang wrote: > Since our sdram driver is ready, we can use the actual size > instead of hard code. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3399/sdram_rk3399.c | 8 > board/rockchip/evb_rk3399/evb-rk3399.c | 19 +

Re: [U-Boot] [PATCH v2 1/3] configs: at91sam9n12ek: Update for DT and DM support

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:08, Wenyou Yang wrote: > Update the configuration files to support the device tree and driver > model. The device clock and pins configuration are handled by the > clock and the pinctrl drivers respectively. > > Because the limitation of internal SRAM size, the SPL with driv

Re: [U-Boot] [PATCH v5 10/16] cmd: gpt: add print_gpt_info_err

2017-04-16 Thread Simon Glass
On 13 April 2017 at 03:52, Patrick Delaunay wrote: Commit message here > Signed-off-by: Patrick Delaunay > Reviewed-by: Christophe KERELLO > --- > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > cmd/gpt.c | 23 --- > 1 file chang

Re: [U-Boot] [PATCH v3 2/3] board: at91sam9263ek: Clean up code

2017-04-16 Thread Simon Glass
On 13 April 2017 at 21:07, Wenyou Yang wrote: > Because the introduction of the pinctrl and clk drivers and the > device tree files, remove unneeded hard coded related code from > the board file. > > Signed-off-by: Wenyou Yang > --- > > Changes in v3: None > Changes in v2: None > > board/atmel/a

Re: [U-Boot] [PATCH v3 2/3] board: at91sam9rlek: Clean up code

2017-04-16 Thread Simon Glass
On 13 April 2017 at 20:49, Wenyou Yang wrote: > Since the introduction of the pinctrl and clk drivers and the > device tree files, remove unneeded hard coded related code from > the board file. > > Signed-off-by: Wenyou Yang > --- > > Changes in v3: None > Changes in v2: None > > board/atmel/at9

Re: [U-Boot] [PATCH v2 2/3] board: at91sam9m10g45ek: Clean up code

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:03, Wenyou Yang wrote: > Since the introduction of the pinctrl and clk drivers and the > device tree files, remove unneeded hard coded related code from > the board file. > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: None > > board/atmel/at91sam9m10g45ek/at91sam9

Re: [U-Boot] [PATCH v2 2/6] ARM: dts: at91: Add dts files for at91sam9n12ek

2017-04-16 Thread Simon Glass
On 13 April 2017 at 19:11, Wenyou Yang wrote: > The device tree source files of at91sam9n12ek boards are copied from > the Linux v4.10, do the changes as below. > - Add the reg property for the pinctrl node. > - Move the gpio (pioA, pioB, pioC, pioD) nodes as the pinctrl's >slibling nodes, i

  1   2   >