Re: [U-Boot] [PATCH 3/3] arm: Warn that starting with v2018.01 gcc-6 or later is required

2017-04-14 Thread Masahiro Yamada
Hi Tom, 2017-04-15 8:47 GMT+09:00 Tom Rini : > There are more and more cases where if we do not use gcc-6.0 or later we > run into problems where our binaries are too large for the targets. > Given the prevalence of gcc-6.0 or later toolchains at this point in > time, we give

Re: [U-Boot] [PATCH 3/3] arm: Warn that starting with v2018.01 gcc-6 or later is required

2017-04-14 Thread Tom Rini
On Sat, Apr 15, 2017 at 11:40:10AM +0900, Masahiro Yamada wrote: > Hi Tom, > > 2017-04-15 8:47 GMT+09:00 Tom Rini : > > There are more and more cases where if we do not use gcc-6.0 or later we > > run into problems where our binaries are too large for the targets. > > Given

Re: [U-Boot] [PATCH 1/7] omap_hsmmc: update struct hsmmc to accommodate omap3 from DT

2017-04-14 Thread Adam Ford
On Wed, Apr 12, 2017 at 11:24 PM, Vignesh R wrote: > > > On Wednesday 12 April 2017 06:08 PM, Adam Ford wrote: >> This patch fixes and issue where DM_MMC adds a 0x100 byte offset to the >> base register. This is necessary for AM33xx, OMAP4+ and newer devices, but >> it is not

[U-Boot] [PATCH 3/3] arm: Warn that starting with v2018.01 gcc-6 or later is required

2017-04-14 Thread Tom Rini
There are more and more cases where if we do not use gcc-6.0 or later we run into problems where our binaries are too large for the targets. Given the prevalence of gcc-6.0 or later toolchains at this point in time, we give notice now that starting with v2018.01 we will require gcc-6 (or later)

[U-Boot] [PATCH 2/3] travis-ci: Switch over to Linaro gcc-6.3.1 toolchains for ARM

2017-04-14 Thread Tom Rini
Linaro provides a number of pre-built GCC toolchains for both 32 and 64bit ARM. Switch to their 2017.02 release of gcc-6.3.1 for both. Cc: Koen Kooi Signed-off-by: Tom Rini --- .travis.yml | 14 ++ 1 file changed, 10 insertions(+), 4

[U-Boot] [PATCH 1/3] buildman: Allow 'gnueabihf' toolchains for ARM

2017-04-14 Thread Tom Rini
Many toolchains for ARM use the 'gnueabihf' suffix rather than just 'gnueabi', so allow these to be used, but with a lower priority than 'gnueabi' ones. Cc: Simon Glass Signed-off-by: Tom Rini --- tools/buildman/toolchain.py | 5 +++-- 1 file changed, 3

[U-Boot] [PATCH 07/11] drivers: block: dwc_ahci: Implement a driver for Synopsys DWC sata device

2017-04-14 Thread Jean-Jacques Hiblot
Implement a sata driver for Synopsys DWC sata device based on U-boot driver model. Signed-off-by: Mugunthan V N Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini Reviewed-by: Simon Glass ---

[U-Boot] [PATCH 05/11] drivers: phy: add PIPE3 phy driver

2017-04-14 Thread Jean-Jacques Hiblot
This phy is found on omap platforms with sata capabilities. Except for the part related to the DM and the PHY framework, the code is basically a copy paste from arch/arm/mach-omap2/pipe3-phy.c Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini

[U-Boot] [PATCH 06/11] dra7: dtsi: mark ocp2scp bus compatible with "simple-bus"

2017-04-14 Thread Jean-Jacques Hiblot
This is needed to probe devices under that bus such as the SATA PHY. Signed-off-by: Jean-Jacques Hiblot --- arch/arm/dts/omap5-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/omap5-u-boot.dtsi b/arch/arm/dts/omap5-u-boot.dtsi index

Re: [U-Boot] [PATCH v2 03/10] drivers: phy: add generic PHY framework

2017-04-14 Thread Jean-Jacques Hiblot
On 14/04/2017 12:36, Simon Glass wrote: Hi Jean-Jacques, On 13 April 2017 at 08:17, Jean-Jacques Hiblot wrote: On 09/04/2017 21:27, Simon Glass wrote: Hi, On 7 April 2017 at 05:42, Jean-Jacques Hiblot wrote: The PHY framework provides a set of APIs to

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

2017-04-14 Thread Heinrich Schuchardt
On 04/14/2017 12:49 PM, Jaehoon Chung wrote: > Hi Heinrich, > > On 04/14/2017 07:26 PM, Heinrich Schuchardt wrote: >> This patch series is a resubmission of the v6 patch series >> https://lists.denx.de/pipermail/u-boot/2017-February/281941.html >> by Heiner Kallweit. >> >> Patch 1 updates the

[U-Boot] [PATCH 1/1] odroid-c2: enable MMC as boot target

2017-04-14 Thread Heinrich Schuchardt
To enable booting from MMC the MMC devices 0 and 1 are added to the BOOT_TARGET_DEVICES. Signed-off-by: Heinrich Schuchardt --- This is a resubmission of https://lists.denx.de/pipermail/u-boot/2017-April/287315.html where this patch was part of patch series which was no

Re: [U-Boot] [PATCH v5 0/8] arm: socfpga: Move to using distro boot

2017-04-14 Thread Marek Vasut
On 04/13/2017 04:30 PM, Dalon Westergreen wrote: > This series adds support to the common socfpga header for distro boot and > moves > the DE0/1, Socrates, C5/A5 SoCDK, and SoCKIT kits to use the common > environment. > > Where available, the default devicetree is set to the devicetree for the

[U-Boot] [PULL] u-boot-socfpga/master

2017-04-14 Thread Marek Vasut
The following changes since commit 40a808f173008729a0c631ab84693b6a2b0dcfc9: ARCv2: SLC: Make sure busy bit is set properly on SLC flushing (2017-04-11 17:54:31 +0300) are available in the git repository at: git://git.denx.de/u-boot-socfpga.git master for you to fetch changes up to

Re: [U-Boot] [PATCH v5 01/16] arm: socfpga: Restructure clock manager driver

2017-04-14 Thread Marek Vasut
On 04/13/2017 07:41 PM, Ley Foon Tan wrote: > Restructure clock manager driver in the preparation to support A10. > Move the Gen5 specific code to _gen5 files. > > - Change all uint32_t to u32 and change to use macro BIT(n) for bit shift. > - Check return value from wait_for_bit(). So change

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

2017-04-14 Thread Heinrich Schuchardt
From: Carlo Caione This driver implements MMC support on Meson GX (S905) based systems. It's based on Carlo Caione's work, changes: - BLK support added - general refactoring Signed-off-by: Carlo Caione Signed-off-by: Andreas Färber

[U-Boot] [PATCH v7,4/4] odroid-c2: enable MMC as boot target

2017-04-14 Thread Heinrich Schuchardt
To enable booting from MMC the MMC devices 0 and 1 are added to the BOOT_TARGET_DEVICES. Signed-off-by: Heinrich Schuchardt --- v7: - added this patch to patch series --- include/configs/meson-gxbb-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

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

2017-04-14 Thread Heinrich Schuchardt
This patch series is a resubmission of the v6 patch series https://lists.denx.de/pipermail/u-boot/2017-February/281941.html by Heiner Kallweit. Patch 1 updates the device tree to a recent Linux version. Patch 2 add a MMC driver for the GXBB SOC Both patches are unchanged relative to version 6 of

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

2017-04-14 Thread Heiner Kallweit
Am 14.04.2017 um 12:26 schrieb Heinrich Schuchardt: > This patch series is a resubmission of the v6 patch series > https://lists.denx.de/pipermail/u-boot/2017-February/281941.html > by Heiner Kallweit. > A updated version of this series was just applied:

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

2017-04-14 Thread Jaehoon Chung
Hi Heinrich, On 04/14/2017 07:26 PM, Heinrich Schuchardt wrote: > This patch series is a resubmission of the v6 patch series > https://lists.denx.de/pipermail/u-boot/2017-February/281941.html > by Heiner Kallweit. > > Patch 1 updates the device tree to a recent Linux version. > Patch 2 add a MMC

[U-Boot] [PATCH 04/11] dm: test: Add tests for the generic PHY uclass

2017-04-14 Thread Jean-Jacques Hiblot
Those tests check: - the ability for a phy-user to get a phy device a reference in the device-tree - the ability to perform operations on the phy (init,deinit,on,off) - the behavior of the uclass when optional operations are not implemented Signed-off-by: Jean-Jacques Hiblot

[U-Boot] [PATCH 03/11] drivers: phy: add generic PHY framework

2017-04-14 Thread Jean-Jacques Hiblot
The PHY framework provides a set of APIs to control a PHY. This API is derived from the linux version of the generic PHY framework. Currently the API supports init(), deinit(), power_on, power_off() and reset(). The framework provides a way to get a reference to a phy from the device-tree.

[U-Boot] [PATCH 08/11] scsi: make the LUN a parameter of scsi_detect_dev()

2017-04-14 Thread Jean-Jacques Hiblot
This is a cosmetic change. target and LUN have kind of the same role in this function. One of them was passed as a parameter and the other was embedded in a structure. For consistency, pass both of them as parameters. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini

[U-Boot] [PATCH 10/11] dm: scsi: fix divide-by-0 error in scsi_scan()

2017-04-14 Thread Jean-Jacques Hiblot
With DM_SCSI enabled, blk_create_devicef() is called with blkz = 0, leading to a divide-by-0 exception. scsi_detect_dev() can be used to get the required parameters (block size and number of blocks) from the drive before calling blk_create_devicef(). Signed-off-by: Jean-Jacques Hiblot

Re: [U-Boot] [PATCH 00/11] OMAP: Move SATA to use block driver model

2017-04-14 Thread Jean-Jacques Hiblot
Hi all, This is the VERSION 3 of the series. Sorry for the confusion, I messed up while preparing the patches. Jean-Jacques On 14/04/2017 13:07, Jean-Jacques Hiblot wrote: This series adds support for SATA using the driver model on omap platforms. It is based on the work of Mugunthan V N

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

2017-04-14 Thread Jaehoon Chung
Hi Heiner, On 04/14/2017 07:50 PM, Heiner Kallweit wrote: > Am 14.04.2017 um 12:26 schrieb Heinrich Schuchardt: >> This patch series is a resubmission of the v6 patch series >> https://lists.denx.de/pipermail/u-boot/2017-February/281941.html >> by Heiner Kallweit. >> > A updated version of this

[U-Boot] [PATCH 1/1] odroid-c2: increase CONFIG_SYS_BOOTM_LEN

2017-04-14 Thread Heinrich Schuchardt
A feature rich Kernel for Linux needs more than 8 MiB. Hence enlarge CONFIG_SYS_BOOTM_LEN to 64 MiB for the Odroid C2. As the Odroid C2 has has 2 GiB of RAM this poses no problem. Signed-off-by: Heinrich Schuchardt --- include/configs/meson-gxbb-common.h | 2 ++ 1 file

Re: [U-Boot] [PATCH v2] fdt: Add Python bindings

2017-04-14 Thread Simon Glass
On 10 April 2017 at 13:24, Simon Glass wrote: > An early version of this is available upstream. Bring it in as a starting > point. This is from dtc upstream commit e56f2b0. > > Future work will plumb it into dtoc and remove the now-unnecessary local > libraries. > >

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

2017-04-14 Thread Kever Yang
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 data, or else there will have memory corrupt after SPL

Re: [U-Boot] rockchip: Add USB to the default boot targets

2017-04-14 Thread Simon Glass
On 5 April 2017 at 21:44, Simon Glass wrote: > On 1 April 2017 at 00:49, Eddie Cai wrote: >> Now that most rockchip SoC based board have usb host support, enable >> USB boot targets by default. >> >> Signed-off-by: Eddie Cai

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

2017-04-14 Thread Marek Vasut
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

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

2017-04-14 Thread Marek Vasut
On 04/13/2017 07:41 PM, Ley Foon Tan wrote: > Add i2c, timer and other A10 macros. What's NOC anyway ? > Signed-off-by: Ley Foon Tan > --- > arch/arm/mach-socfpga/include/mach/base_addr_a10.h | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git

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

2017-04-14 Thread Heinrich Schuchardt
As a prerequisite for adding a Meson GX MMC driver update the Meson GXBB / Odroid-C2 device tree in Uboot with the latest version from Linux. Signed-off-by: Neil Armstrong Signed-off-by: Carlo Caione Signed-off-by: Andreas Färber

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

2017-04-14 Thread Heinrich Schuchardt
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 master v6: -

Re: [U-Boot] [PATCH v2 03/10] drivers: phy: add generic PHY framework

2017-04-14 Thread Simon Glass
Hi Jean-Jacques, On 13 April 2017 at 08:17, Jean-Jacques Hiblot wrote: > > > On 09/04/2017 21:27, Simon Glass wrote: >> >> Hi, >> >> On 7 April 2017 at 05:42, Jean-Jacques Hiblot wrote: >>> >>> The PHY framework provides a set of APIs to control a PHY. This API

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

2017-04-14 Thread Dr. Philipp Tomsich
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 the later BL31 stage. It should rather remain the responsibility of the BL31

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

2017-04-14 Thread Kever Yang
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 data, or else there will have memory corrupt after SPL

[U-Boot] [PATCH 00/11] OMAP: Move SATA to use block driver model

2017-04-14 Thread Jean-Jacques Hiblot
This series adds support for SATA using the driver model on omap platforms. It is based on the work of Mugunthan V N in Feb 2016 The first 2 patches are preparatory work. The 3rd patch adds a new framework to handle PHYs in a generic manner. The idea is to move the phy

[U-Boot] [PATCH 01/11] arm: omap: sata: move enable sata clocks to enable_basic_clocks()

2017-04-14 Thread Jean-Jacques Hiblot
All the clocks which has to be enabled has to be done in enable_basic_clocks(), so moving enable sata clock to common clocks enable function. Signed-off-by: Mugunthan V N Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini ---

[U-Boot] [PATCH 02/11] arm: omap: sata: compile out board-level sata code when CONFIG_DM_SCSI is defined

2017-04-14 Thread Jean-Jacques Hiblot
When CONFIG_DM_SCSI is defined, the SATA initialization will be implemented in the scsi-uclass driver. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini --- arch/arm/mach-omap2/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH 09/11] scsi: move the partition initialization out of the scsi detection

2017-04-14 Thread Jean-Jacques Hiblot
We might want to get information about the scsi device without initializing the partition. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- common/scsi.c | 3 ++- 1 file changed, 2 insertions(+), 1

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

2017-04-14 Thread Jean-Jacques Hiblot
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: Jean-Jacques Hiblot Reviewed-by: Tom Rini ---

[U-Boot] [PULL] u-boot-usb/master

2017-04-14 Thread Marek Vasut
The following changes since commit 40a808f173008729a0c631ab84693b6a2b0dcfc9: ARCv2: SLC: Make sure busy bit is set properly on SLC flushing (2017-04-11 17:54:31 +0300) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to

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

2017-04-14 Thread Jaehoon Chung
On 04/13/2017 03:28 AM, Heiner Kallweit wrote: > As a prerequisite for adding a Meson GX MMC driver update the > Meson GXBB / Odroid-C2 device tree in Uboot with the latest > version from Linux. > > Signed-off-by: Neil Armstrong > Signed-off-by: Carlo Caione

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

2017-04-14 Thread Jaehoon Chung
On 04/13/2017 03:30 AM, Heiner Kallweit wrote: > From: Carlo Caione > This driver implements MMC support on Meson GX (S905) based systems. > It's based on Carlo Caione's work, changes: > - BLK support added > - general refactoring > > Signed-off-by: Carlo Caione

[U-Boot] [PATCH v3 1/2] net: macb: Add remove callback

2017-04-14 Thread Wenyou Yang
To avoid the failure of mdio_register(), add the remove callback to unregister the mii_dev when removing the ethernet device. Signed-off-by: Wenyou Yang Acked-by: Joe Hershberger --- Changes in v3: None Changes in v2: - Rebase on v2017.03.

[U-Boot] [PATCH v3 0/2] net: macb: Add remove callback and align the compatibles

2017-04-14 Thread Wenyou Yang
Add the remove callback to avoid the failure of mdio_register(), and add the compatibles to align with the kernel. Changes in v3: - Incorporate [PATCH] net: macb: align the compatibles with kernel. - Rebase on the latest commit (db40c1aa1c10) of master branch of u-boot-net. - Add Acked-by tag.

Re: [U-Boot] [PATCH] mmc: zynq_sdhci: improve debug print

2017-04-14 Thread Jaehoon Chung
On 04/03/2017 10:42 AM, Jean-Francois Dagenais wrote: > When debugging dual SDHCI controller setup, printing strings and bank info > is very helpful. > > Signed-off-by: Jean-Francois Dagenais This was delegated to Michal, but it's related to mmc side. So i will change

[U-Boot] [PATCH 1/4] fsl-layerscape/ls1043aqds: Integrate FSL PPA

2017-04-14 Thread Zhiqiang Hou
From: Hou Zhiqiang The PPA is a EL3 firmware, which support PSCI, hotplug, power-management features etc. Signed-off-by: Hou Zhiqiang --- board/freescale/ls1043aqds/ls1043aqds.c | 5 + 1 file changed, 5 insertions(+) diff --git

[U-Boot] [PATCH 3/4] fsl-layerscape/ls1046aqds: Integrate FSL PPA

2017-04-14 Thread Zhiqiang Hou
From: Hou Zhiqiang The PPA is a EL3 firmware, which support PSCI, hotplug, power-management features etc. Signed-off-by: Hou Zhiqiang --- board/freescale/ls1046aqds/ls1046aqds.c | 5 + 1 file changed, 5 insertions(+) diff --git

[U-Boot] [PATCH 2/4] fsl-layerscape/ls1043aqds: enable FSL PPA

2017-04-14 Thread Zhiqiang Hou
From: Hou Zhiqiang Signed-off-by: Hou Zhiqiang --- configs/ls1043aqds_defconfig | 1 + configs/ls1043aqds_lpuart_defconfig | 1 + configs/ls1043aqds_nand_defconfig| 1 + configs/ls1043aqds_nor_ddr3_defconfig| 1 +

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

2017-04-14 Thread Jaehoon Chung
Hi Wenyou, On 04/13/2017 11:29 AM, 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 Yang

Re: [U-Boot] [PATCH v7 3/3] odroid-c2: enable new Meson GX MMC driver in board defconfig

2017-04-14 Thread Jaehoon Chung
On 04/13/2017 03:32 AM, Heiner Kallweit wrote: > Enable new Meson GX MMC driver in Odroid C2 defconfig. > > Signed-off-by: Heiner Kallweit Applied to u-boot-mmc. Thanks! Best Regards, Jaehoon Chung > --- > v6: > - no changes > v7: > - rebased > --- >

Re: [U-Boot] [PATCH 0/2] Improve Raspberry Pi mmc writes.

2017-04-14 Thread Jaehoon Chung
On 04/02/2017 03:58 PM, Alex Deymo wrote: > When experimenting with fastboot from U-Boot on the Raspberry Pi 3 we > found that the writes to the sdcard are much more slow than when > accessing it from the userspace. These two patches speed up the write > and allow us to reliably write the sdcard

[U-Boot] [GIT PULL] Please pull u-boot-mmc master

2017-04-14 Thread Jaehoon Chung
Dear Tom, Could you pull these patches into u-boot/master? The following changes since commit 40a808f173008729a0c631ab84693b6a2b0dcfc9: ARCv2: SLC: Make sure busy bit is set properly on SLC flushing (2017-04-11 17:54:31 +0300) are available in the git repository at:

[U-Boot] [PATCH v4 3/3] clk: at91: Align the at91 pmc's compatibles

2017-04-14 Thread Wenyou Yang
Align the at91 pmc's compatibles with kernel. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann --- Changes in v4: - Incorporate [PATCH v2] clk: at91: pmc: align the at91 pmc's compatibles. -

[U-Boot] [PATCH v4 0/3] clk: at91: Enhance the peripheral clock and align compatibles

2017-04-14 Thread Wenyou Yang
The purpose of the patch set is to enhance the peripheral clock to support both at9sam9x5's and at91rm9200's peripheral clock, and align the clk-master's and at91-pmc's compatibles with kernel. Changes in v4: - Incorporate [PATCH v2] clk: at91: pmc: align the at91 pmc's compatibles. - Rebase on

[U-Boot] [PATCH v4 1/3] clk: at91: Enhance the peripheral clock

2017-04-14 Thread Wenyou Yang
Enhance the peripheral clock to support both at9sam9x5's and at91rm9200's peripheral clock via the different compatibles. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: - Use an enum with

[U-Boot] [PATCH v4 2/3] clk: at91: Align clk-master compatibles with kernel

2017-04-14 Thread Wenyou Yang
Add the compatible "atmel,at91rm9200-clk-master" to align with the kernel. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: - Add the Reviewed-by tags. drivers/clk/at91/clk-master.c | 1 +

[U-Boot] [PATCH 4/4] fsl-layerscape/ls1046aqds: enable FSL PPA

2017-04-14 Thread Zhiqiang Hou
From: Hou Zhiqiang Signed-off-by: Hou Zhiqiang --- configs/ls1046aqds_defconfig | 1 + configs/ls1046aqds_lpuart_defconfig | 1 + configs/ls1046aqds_nand_defconfig| 1 + configs/ls1046aqds_qspi_defconfig| 1 +

Re: [U-Boot] [PATCH] mmc: zynq_sdhci: improve debug print

2017-04-14 Thread Jaehoon Chung
On 04/14/2017 03:29 PM, Jaehoon Chung wrote: > On 04/03/2017 10:42 AM, Jean-Francois Dagenais wrote: >> When debugging dual SDHCI controller setup, printing strings and bank info >> is very helpful. >> >> Signed-off-by: Jean-Francois Dagenais > > This was delegated to

[U-Boot] [PATCH v3 2/2] net: macb: Align the compatibles with kernel

2017-04-14 Thread Wenyou Yang
Add the compatibles to align with the kernel. Signed-off-by: Wenyou Yang Acked-by: Joe Hershberger --- Changes in v3: - Incorporate [PATCH] net: macb: align the compatibles with kernel. - Rebase on the latest commit (db40c1aa1c10) of master

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

2017-04-14 Thread Kever Yang
Add support for rk3328 package header in mkimage tool. Signed-off-by: Kever Yang --- tools/rkcommon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/rkcommon.c b/tools/rkcommon.c index 6cdb749..8803593 100644 --- a/tools/rkcommon.c +++ b/tools/rkcommon.c

[U-Boot] [PATCH v3 0/2] serial: atmel_usart: Fix uart init and add clk support

2017-04-14 Thread Wenyou Yang
The patches is rework the uart init to fix the early debug not work in SPL, and add the clock support. Changes in v3: - Rebase on the master branch (22e10be45) of u-boot-dm git tree. Changes in v2: - Fix the DBGU clock handling. - Add Reviewed-by tag. Wenyou Yang (2): serial: atmel_usart:

[U-Boot] [PATCH v3 2/2] serial: atmel_usart: Add clk support

2017-04-14 Thread Wenyou Yang
Add the clock support. Note that the clock handling of the DBGU peripheral is different from the USART. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v3: - Rebase on the master branch (22e10be45) of u-boot-dm git tree. Changes in

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

2017-04-14 Thread Wenyou Yang
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 Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None

[U-Boot] [PATCH] armv8: ls1046a: enable PCI command tool

2017-04-14 Thread Zhiqiang Hou
From: Hou Zhiqiang Signed-off-by: Hou Zhiqiang --- include/configs/ls1046a_common.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h index 8ec1247..2779bb4 100644 ---

Re: [U-Boot] [PATCH] rockchip: rk3399: do not use lower address

2017-04-14 Thread Simon Glass
On 9 April 2017 at 13:28, Simon Glass wrote: > On 7 April 2017 at 04:12, Kever Yang wrote: >> The lower address is reserved for ATF, do not use it. >> >> Signed-off-by: Kever Yang >> --- >> >>

Re: [U-Boot] [PATCH 1/5] rockchip: i2c: Enable i2c for rk3399

2017-04-14 Thread Simon Glass
On 11 April 2017 at 07:55, Simon Glass wrote: > On 9 April 2017 at 20:17, Eric Gao wrote: >> To enable mipi display, we need to enable pmic >> rk808 first for lcd3v3 power,which use i2c0 to >> communicate with soc. So enable i2c0. >> >> Signed-off-by:

Re: [U-Boot] [PATCH] rockchip: cosmetic: Move rock board to its correct position

2017-04-14 Thread Simon Glass
On 9 April 2017 at 13:27, Simon Glass wrote: > On 5 April 2017 at 16:19, Heiko Stuebner wrote: >> Somehow 43b5c78d8d91 ("rockchip: cosmetic: Sort RK3288 boards") moved >> the rock board in between some rk3288 board, probably as a result of >> rebasing. >> >>

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

2017-04-14 Thread Kever Yang
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 2017 at 04:35, Kever Yang wrote: Need to enablt

[U-Boot] mmc: meson: switch mmc slot order and allow to store environment in eMMC

2017-04-14 Thread Heiner Kallweit
In most cases Odroid C2 is used with a eMMC card. So far the eMMC slot was assigned dev number 1 (0 is the SD slot). So on uboot prompt we had to manually switch the mmc device first. Therefore change the device number assignment. Thanks to Jaehoon for the hint how to do it. In addition allow to

[U-Boot] [PATCH 1/2] arm: dts: odroid-c2: assign mmc device number 0 to eMMC slot

2017-04-14 Thread Heiner Kallweit
In most cases Odroid C2 is used with a eMMC card. So far the eMMC slot was assigned dev number 1 (0 is the SD slot). So on uboot prompt we had to manually switch the mmc device first. Therefore change the device number assignment. Signed-off-by: Heiner Kallweit ---

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

2017-04-14 Thread Simon Glass
On 31 March 2017 at 22:23, Simon Glass wrote: > 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

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

2017-04-14 Thread Simon Glass
On 9 April 2017 at 13:27, Simon Glass wrote: > On 5 April 2017 at 16:19, 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

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

2017-04-14 Thread Simon Glass
On 31 March 2017 at 22:23, Simon Glass wrote: > > 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

Re: [U-Boot] [PATCH] dts: rk3399-puma: make the DTS dual-licensed

2017-04-14 Thread Simon Glass
On 9 April 2017 at 13:28, Simon Glass wrote: > On 7 April 2017 at 11:09, Philipp Tomsich > wrote: >> The RK3399-Q7 (Puma) DTS should (of course) be dual-licensed. >> This updates the licensing info in the rk3399-puma.dts. >> >>

Re: [U-Boot] [PATCH] rockchip: sysreset: rk3188: Make sure remap is off on warm-resets

2017-04-14 Thread Simon Glass
On 9 April 2017 at 13:28, Simon Glass wrote: > On 7 April 2017 at 04:38, Heiko Stuebner wrote: >> The warm-reset of rk3188 socs keeps the remap setting as it was, so if >> it was enabled, the cpu would start from address 0x0 of the sram instead >> of address

Re: [U-Boot] [PATCH 2/5] rockchip: pmic: Enable RK808 for rk3399 evb

2017-04-14 Thread Simon Glass
On 11 April 2017 at 07:55, Simon Glass wrote: > On 9 April 2017 at 20:41, Eric Gao wrote: >> For using mipi display, we need to enable lcd3v3 >> which supplied by rk808,so enable rk808 first. >> >> Signed-off-by: Eric Gao >>

Re: [U-Boot] rockchip: tinker: configs: Add USB, PXE, DHCP to the default boot targets

2017-04-14 Thread Simon Glass
On 5 April 2017 at 21:44, Simon Glass wrote: > On 1 April 2017 at 00:46, Eddie Cai wrote: >> tinker board support ethernet and usb host, so enable USB, PXE and DHCP >> support. >> >> Signed-off-by: Eddie Cai >> --- >>

[U-Boot] mmc: meson: increase max block number per request

2017-04-14 Thread Heiner Kallweit
Number of blocks is a 9 bit field where 0 stands for a unlimited number of blocks. Therefore the max number of blocks which can be set is 511. Signed-off-by: Heiner Kallweit --- drivers/mmc/meson_gx_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 2/2] odroid-c2: support storing the uboot environment in eMMC

2017-04-14 Thread Heiner Kallweit
Support storing uboot environment in eMMC. Signed-off-by: Heiner Kallweit --- include/configs/meson-gxbb-common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/configs/meson-gxbb-common.h b/include/configs/meson-gxbb-common.h index

Re: [U-Boot] [PATCH] driver: net: fsl-mc: Update fsl_mc_ldpaa_exit() path

2017-04-14 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Yogesh Gaur > Sent: Thursday, April 13, 2017 2:35 PM > To: u-boot@lists.denx.de; york sun > Cc: Priyanka Jain ; Yogesh Narayan Gaur >

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

2017-04-14 Thread Dr. Philipp Tomsich
> 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(+), 1

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

2017-04-14 Thread Kever Yang
Hi David, On 04/14/2017 05:02 PM, 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(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH] rockchip: rk3399: Add missing sentinel in syscon

2017-04-14 Thread Simon Glass
On 10 April 2017 at 20:13, Kever Yang wrote: > Hi Eric, > > > > On 04/10/2017 09:53 AM, Eric Gao wrote: >> >> when enable PMIC rk808,the system will halt at very >> early stage,log is shown as bellow. >> >> INFO:plat_rockchip_pmu_init(1211): pd status 3e >> INFO:

Re: [U-Boot] [PATCH v2] ARM64: rockchip: split RK3399-Q7 board off the RK3399-EVB board

2017-04-14 Thread Simon Glass
On 9 April 2017 at 13:28, Simon Glass wrote: > On 7 April 2017 at 11:13, Philipp Tomsich > wrote: >> From: Klaus Goger >> >> The RK3399-Q7 SoM is a Qseven-compatible (70mm x 70mm, MXM-230 >> connector)

Re: [U-Boot] [PATCH v4 1/2] at91: video: Support driver-model for the HLCD driver

2017-04-14 Thread Anatolij Gustschin
On Tue, 11 Apr 2017 16:33:30 +0800 Songjun Wu songjun...@microchip.com wrote: ... > drivers/video/Kconfig| 6 + > drivers/video/atmel_hlcdfb.c | 482 > --- > 2 files changed, 417 insertions(+), 71 deletions(-) applied to u-boot-video/master.

Re: [U-Boot] [PATCH v4 2/2] at91: video: DT binding for HLCDC driver

2017-04-14 Thread Anatolij Gustschin
On Tue, 11 Apr 2017 16:33:31 +0800 Songjun Wu songjun...@microchip.com wrote: ... > doc/device-tree-bindings/video/atme-hlcdc.txt | 42 > +++ > 1 file changed, 42 insertions(+) > create mode 100644 doc/device-tree-bindings/video/atme-hlcdc.txt applied to

Re: [U-Boot] [PATCH 1/1] odroid-c2: enable MMC as boot target

2017-04-14 Thread Heinrich Schuchardt
On 04/14/2017 03:42 PM, Andreas Färber wrote: > Am 14.04.2017 um 13:46 schrieb Heinrich Schuchardt: >> To enable booting from MMC the MMC devices 0 and 1 are added to the > > from eMMC > >> BOOT_TARGET_DEVICES. >> >> Signed-off-by: Heinrich Schuchardt >> --- >> This is a

Re: [U-Boot] [PATCH 1/1] odroid-c2: enable MMC as boot target

2017-04-14 Thread Andreas Färber
Am 14.04.2017 um 15:50 schrieb Heinrich Schuchardt: > On 04/14/2017 03:42 PM, Andreas Färber wrote: >> Am 14.04.2017 um 13:46 schrieb Heinrich Schuchardt: >>> To enable booting from MMC the MMC devices 0 and 1 are added to the >> >> from eMMC Sorry, was getting confused with the multiple

Re: [U-Boot] [PATCH 1/1] usb: return 0 from usb_stor_get_info even if removable media

2017-04-14 Thread Marek Vasut
On 04/11/2017 03:23 AM, Troy Kisky wrote: > This fixes a regression caused by > > commit 07b2b78ce4bc8ae25e066c65245eaf58c0d9a67c > dm: usb: Convert USB storage to use driver-model for block devs > > which caused part_init to be called when it was not previously. > Without this patch, the

Re: [U-Boot] [PATCH 1/1] odroid-c2: enable MMC as boot target

2017-04-14 Thread Heinrich Schuchardt
On 04/14/2017 03:55 PM, Andreas Färber wrote: > Am 14.04.2017 um 15:50 schrieb Heinrich Schuchardt: >> On 04/14/2017 03:42 PM, Andreas Färber wrote: >>> Am 14.04.2017 um 13:46 schrieb Heinrich Schuchardt: To enable booting from MMC the MMC devices 0 and 1 are added to the >>> >>> from eMMC >

Re: [U-Boot] [PATCH v2 1/1] odroid-c2: enable MMC as boot target

2017-04-14 Thread Andreas Färber
Am 14.04.2017 um 16:33 schrieb Heinrich Schuchardt: > To enable automatic booting from SD card or eMMC the MMC devices 0 and 1 > are added to the BOOT_TARGET_DEVICES. > > Booting from SD card, eMMC, and DHCP are tried in sequence. > A missing or failing device is gracefully handled. > > Cc:

[U-Boot] [PATCH 1/1] buildman: Translate more strings to latin-1

2017-04-14 Thread Tom Rini
When writing out some of our results we may now have UTF-8 characters in there as well. Translate these to latin-1 and ignore any errors (as this is for diagnostic and given the githash anything else can be reconstructed by the user. Cc: Simon Glass Signed-off-by: Tom Rini

Re: [U-Boot] [PATCH] Add support for Microchip LAN75xx and LAN78xx

2017-04-14 Thread Marek Vasut
On 04/10/2017 09:23 PM, yuiko.osh...@microchip.com wrote: > From: Yuiko Oshino > > Add support for Microchip LAN7500, LAN7800 and 7850, USB to 10/100/1000 > Ethernet Controllers > > Signed-off-by: Yuiko Oshino > Cc: Marek Vasut

Re: [U-Boot] [PATCH v3 0/6] Introduce DCU support for Vybrid

2017-04-14 Thread Anatolij Gustschin
On Tue, 11 Apr 2017 11:12:08 +0530 Sanchayan Maity maitysancha...@gmail.com wrote: ... > Sanchayan Maity (1): > Convert CONFIG_FSL_DCU_FB to Kconfig > > Stefan Agner (5): > video: fsl_dcu_fb: fix framebuffer to the end of memory > video: fsl_dcu_fb: Enable pixel clock after initialization >

Re: [U-Boot] [PATCH 2/2] odroid-c2: support storing the uboot environment in eMMC

2017-04-14 Thread Andreas Färber
Am 14.04.2017 um 10:26 schrieb Heiner Kallweit: > Support storing uboot environment in eMMC. > > Signed-off-by: Heiner Kallweit > --- > include/configs/meson-gxbb-common.h | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git

Re: [U-Boot] [PATCH] usb: lpc32xx: Add i2c DM support

2017-04-14 Thread Marek Vasut
On 03/14/2017 04:28 PM, Sylvain Lemieux wrote: > From: Liam Beguin > > Add DM support for i2c functions. > > Signed-off-by: Liam Beguin > Signed-off-by: Sylvain Lemieux > --- > Note: > * This patch is require as part of the DM

Re: [U-Boot] [PATCH] video: Fix crash when scroll screen

2017-04-14 Thread Anatolij Gustschin
On Mon, 10 Apr 2017 10:02:20 +0800 Eric Gao eric@rock-chips.com wrote: ... > drivers/video/console_normal.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied to u-boot-video/master. Thanks! -- Anatolij ___ U-Boot mailing list

  1   2   >