Re: [U-Boot] [PATCH] mx6sabresd: Remove non-SPL targets

2017-05-17 Thread Jagan Teki
On Thu, May 18, 2017 at 10:00 AM, Jagan Teki wrote: > On Mon, May 15, 2017 at 4:31 AM, Fabio Estevam wrote: >> From: Fabio Estevam >> >> Now that mx6sabresd_spl_defconfig can be used to boot all >> mx6sabresd variants, the non-SPL targets can be safely removed. >> >> Signed-off-by: Fabio Estevam

Re: [U-Boot] [PATCH v5 24/33] ARM: i.MX6: %s/mx6[dl|q]sabresd_defconfig/imx6[dl|q]_sabresd_defconfig

2017-05-17 Thread Jagan Teki
On Thu, May 11, 2017 at 10:56 PM, Fabio Estevam wrote: > On Thu, May 4, 2017 at 12:11 PM, Jagan Teki wrote: >> mx6dlsabresd_defconfig => imx6dl_sabresd_defconfig >> mx6qsabresd_defconfig => imx6q_sabresd_defconfig > > > No please, people have been using the old names for a long time. No > need to

Re: [U-Boot] [PATCH 2/2] mx6sabresd: Add SPL support for the mx6dl variant

2017-05-17 Thread Jagan Teki
On Fri, May 12, 2017 at 9:15 PM, Fabio Estevam wrote: > Add support for the mx6dlsabresd board in SPL. > > Retrieved the DCD table from: > board/freescale/mx6sabresd/mx6dlsabresd.cfg > (NXP U-Boot branch imx_v2015.04_4.1.15_1.0.0_ga) > > Flashed SPL and u-boot.img to an SD card and could successfu

Re: [U-Boot] [PATCH 1/2] mx6sabresd: Prepare for supporting MX6DL

2017-05-17 Thread Jagan Teki
On Fri, May 12, 2017 at 9:15 PM, Fabio Estevam wrote: > Currently only MX6Q/QP sabresd boards are supported in SPL. > > In order to also support MX6DL we need to convert to using > IOMUX_PADS and SETUP_IOMUX_PADS macros. > > Other than that move the header inclusion to the > SPL code block in ord

Re: [U-Boot] [PATCH] mx6sabresd: Remove non-SPL targets

2017-05-17 Thread Jagan Teki
On Mon, May 15, 2017 at 4:31 AM, Fabio Estevam wrote: > From: Fabio Estevam > > Now that mx6sabresd_spl_defconfig can be used to boot all > mx6sabresd variants, the non-SPL targets can be safely removed. > > Signed-off-by: Fabio Estevam Reviewed-by: Jagan Teki thanks! -- Jagan Teki Free Soft

Re: [U-Boot] [PATCH 00/22] mmc: Add support for HS200 and UHS modes

2017-05-17 Thread Jaehoon Chung
Hi, On 05/13/2017 03:16 AM, Jean-Jacques Hiblot wrote: > This series brings support for HS200 and UHS modes to the mmc core. > It has been tested with the hsmmc driver on several platforms (DRA7, > AM57x, AM437x, beaglebone black). Some modifications are required in > the host driver to take advan

Re: [U-Boot] [PATCH] rockchip: firefly-rk3399: enable rk3399 pinctrl in defconfig

2017-05-17 Thread Kever Yang
Hi Alex, Thanks for your patch, but this patch is just the same with the one from Heiko[0], right? Thanks, - Kever [0] https://patchwork.ozlabs.org/patch/758272/ On 05/15/2017 08:01 PM, Alex Hixon wrote: The config name enabling the rk3399-pinctrl driver is spelled wrong, so it does not

[U-Boot] [PATCH v3 9/9] dm: core: Adjust device_bind_common() to take an ofnode

2017-05-17 Thread Simon Glass
This core function will need to work with a live tree also. Update it to accept an ofnode instead of an offset. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Cut the series down to only prepare the way for live tree - Drop all live tree changes - Adjust storage to avoid a c

[U-Boot] [PATCH v3 8/9] dm: core: Add ofnode to represent device tree nodes

2017-05-17 Thread Simon Glass
With live tree we need a struct device_node * to reference a node. With the existing flat tree, we need an int offset. We need to unify these into a single value which can represent both. Add an ofnode union for this and adjust existing code to move to this. Signed-off-by: Simon Glass --- Chang

[U-Boot] [PATCH v3 7/9] dm: core: Replace of_offset with accessor (part 2)

2017-05-17 Thread Simon Glass
At present devices use a simple integer offset to record the device tree node associated with the device. In preparation for supporting a live device tree, which uses a node pointer instead, refactor existing code to access this field through an inline function. Signed-off-by: Simon Glass --- Ch

[U-Boot] [PATCH v3 6/9] dm: core: Dont export dm_scan_fdt_node()

2017-05-17 Thread Simon Glass
This function is only used in one place. It is better to just declare it internally since there is a simpler replacement for use outside the driver-model core code. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/core/root.c | 17 +++-- include/dm/roo

[U-Boot] [PATCH v3 5/9] dm: Fix up inclusion of common.h

2017-05-17 Thread Simon Glass
It is good practice to include common.h as the first header. This ensures that required features like the DECLARE_GLOBAL_DATA_PTR macro, configuration options and common types are available. Fix up some files which currently don't do this. This is necessary because driver model will soon start usi

[U-Boot] [PATCH v3 4/9] atmel: Fix up use of dm_scan_fdt_node()

2017-05-17 Thread Simon Glass
This function should not be used outside the core driver-model code. Update it to use dm_scan_fdt_dev() instead. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/gpio/atmel_pio4.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpio/a

[U-Boot] [PATCH v3 0/9] dm: Prepare for supporting a live device tree

2017-05-17 Thread Simon Glass
The original livetree series [1] proved out the concept of a live device tree in U-Boot. This involved converting the existing flat tree into a node-based data structure immediately after relocation, and adjusting some existing drivers to continue to work. Several points came out of that work: 1

[U-Boot] [PATCH v3 1/9] dm: Use dm.h header when driver mode is used

2017-05-17 Thread Simon Glass
This header includes things that are needed to make driver build. Adjust existing users to include that always, even if other dm/ includes are present Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/arm/lib/bootm.c | 2 +- arch/arm/mach

[U-Boot] [PATCH v3 2/9] dm: core: Move dev_get_addr() etc. into a separate file

2017-05-17 Thread Simon Glass
Move this group of address-related functions into a new file. These use the flat device tree. Future work will provide new versions of these which can support the live tree. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/core/Makefile | 2 +- drivers/core/dev

Re: [U-Boot] [PATCH] ARMv8/sec_firmware : Update chosen/kaslr-seed

2017-05-17 Thread Mark Kettenis
> Date: Wed, 17 May 2017 17:57:04 -0400 > From: Tom Rini > > On Wed, May 17, 2017 at 02:14:28PM +0100, Ard Biesheuvel wrote: > > On 17 May 2017 at 09:23, Alexander Graf wrote: > > > > > > > > > On 17.05.17 10:17, Peter Robinson wrote: > > > > -Original Message- > > From: P

Re: [U-Boot] [PATCH v2] fastboot: Add support for flashing zImage

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 08:20:47PM +0300, Sam Protsenko wrote: > This patch adds support for flashing zImage to the Android boot > partition on eMMC. [snip] > +#ifdef CONFIG_ANDROID_BOOT_IMAGE > + if (strcmp(cmd, "zImage") == 0 || strcmp(cmd, "zimage") == 0) { strncasecmp(cmd, "zimage", 6) ?

Re: [U-Boot] [PATCHv4 3/3] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 09:38:06AM -0500, Rob Herring wrote: > On Wed, May 17, 2017 at 8:33 AM, Tom Rini wrote: > > On Mon, May 15, 2017 at 04:38:14PM -0500, Rob Herring wrote: > >> On Fri, May 12, 2017 at 7:35 AM, Tom Rini wrote: > >> > On Fri, May 12, 2017 at 10:16:52AM +0200, Jorge Ramirez wro

Re: [U-Boot] [PATCHv4 3/3] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-17 Thread Tom Rini
On Thu, May 11, 2017 at 04:34:18PM +0200, Jorge Ramirez wrote: > On 05/11/2017 02:35 PM, Tom Rini wrote: > >On Wed, May 10, 2017 at 01:42:22PM -0600, Simon Glass wrote: > >>Hi, > >> > >>On 10 May 2017 at 13:09, Rob Herring wrote: > >>>On Wed, May 10, 2017 at 12:45 PM, Tom Rini wrote: > On Wed

Re: [U-Boot] [PATCH 4/4] arm: am57xx: cl-som-am57x: adjust default env to the installation system

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 05:29:28PM +0300, Uri Mashiach wrote: > The SD card automatic installation system depends on the default > environment of the previous U-Boot. > > Add the missing environment variables. > > Signed-off-by: Uri Mashiach Reviewed-by: Tom Rini -- Tom signature.asc Desc

Re: [U-Boot] [PATCH 3/4] ARM: am57xx: cl-som-am57x: support for AM5718

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 05:29:27PM +0300, Uri Mashiach wrote: > Disable SDRAM controller EMIF2 for single core SOC > Set SDRAM size size to 1GB > > Signed-off-by: Uri Mashiach Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 2/4] arm: am57xx: cl-som-am57x: change the shell prompt

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 05:29:26PM +0300, Uri Mashiach wrote: > Change the shell prompt to "U-Boot# ". > > Signed-off-by: Uri Mashiach Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.

Re: [U-Boot] [PATCH 1/4] arm: am57xx: cl-som-am57x: support for FS boot

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 05:29:25PM +0300, Uri Mashiach wrote: > Supported boot devices are raw QSPI and raw SD card. > Add support for a FAT16/32 file system for SD card. > > The SOC's boot ROM only supports FAT file system. > Therefore remove the SPL support for the EXT file system. > > Signed-

Re: [U-Boot] [PATCH] ARMv8/sec_firmware : Update chosen/kaslr-seed

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 02:14:28PM +0100, Ard Biesheuvel wrote: > On 17 May 2017 at 09:23, Alexander Graf wrote: > > > > > > On 17.05.17 10:17, Peter Robinson wrote: > > -Original Message- > From: Peter Robinson [mailto:pbrobin...@gmail.com] > Sent: Monday, May 15, 2017

Re: [U-Boot] [PATCHv2] scripts/Makefile.lib: Always have ...-u-boot.dtsi be able to override

2017-05-17 Thread Simon Glass
On 17 May 2017 at 12:06, Tom Rini wrote: > > The intention of having a -u-boot.dtsi file is to be able to make > changes to the provided upstream dts files as well as to be able to add > nodes. Change the logic for adding the file from making it the last > included file at the top of the dts to b

Re: [U-Boot] [PATCH 36/38] common: arm: davinci: Move header file out of common

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 08:23:09AM -0600, Simon Glass wrote: > We should not have an arch-specific header file in common.h. Instead, use > the asm/hardware.h header to provide the required declarations, and drop > the common.h changes. > > Signed-off-by: Simon Glass I'm not a super fan of addin

Re: [U-Boot] [PATCH 28/38] arm: Remove include files from common.h

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 08:23:01AM -0600, Simon Glass wrote: > With a small tweak we can avoid including these files for all boards. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Bo

Re: [U-Boot] [PATCH 25/38] arm: Add explicit include of

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 08:22:58AM -0600, Simon Glass wrote: > Rather than relying on common.h to provide this include, which is going > away at some point, include it explicitly in each file. > > Signed-off-by: Simon Glass [snip] > diff --git a/arch/arm/lib/spl.c b/arch/arm/lib/spl.c > index 8f

Re: [U-Boot] [GIT PULL] u-boot-uniphier/master

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 10:14:18PM +0900, Masahiro Yamada wrote: > Hi Tom, > > Please pull UniPhier updates for v2017.07: > > - Add workaround code to make LD20 SoC boot from ARM Trusted Firmware > - Sync DT with Linux to fix DTC warnings > - Add new SoC support code > - Misc fix, updates > > T

Re: [U-Boot] Please pull u-boot-x86

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 05:18:39PM +0800, Bin Meng wrote: > Hi Tom, > > The following changes since commit 4125bbcef6a998ce8580a1f5c53c8c93a56a125b: > > Merge branch 'master' of git://git.denx.de/u-boot-mmc (2017-05-16 > 08:10:50 -0400) > > are available in the git repository at: > > git:/

Re: [U-Boot] Please pull mpc85xx master

2017-05-17 Thread Tom Rini
On Tue, May 16, 2017 at 04:36:31PM +, york sun wrote: > Tom, > > The following changes since commit 22f3368e71321db1e0e15dfbf54b052367890ec7: > >Merge branch 'master' of git://git.denx.de/u-boot-mips (2017-05-13 > 16:45:35 -0400) > > are available in the git repository at: > >git:

Re: [U-Boot] Very slow mtest on i.MX6UL over dual-die DDR3 (two chip selects)

2017-05-17 Thread Fabio Estevam
Hi Hector, On Wed, May 17, 2017 at 5:50 AM, Palacios, Hector wrote: > The code is on Github [1] (well, not the dual-die DDR3 yet) but there isn't > much to see for this issue other than: I looked at your code and I see: int dram_init(void) { gd->ram_size = ((ulong)CONFIG_DDR_MB * SZ_1M); ret

Re: [U-Boot] [PATCH 21/38] mips: Don't include asm/u-boot.h in common

2017-05-17 Thread Daniel Schwierzeck
Am 17.05.2017 um 16:22 schrieb Simon Glass: > This is not actually needed anywhere, so drop it. > > Signed-off-by: Simon Glass Reviewed-by: Daniel Schwierzeck > --- > > include/common.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/include/common.h b/include/common.h > index

Re: [U-Boot] [PATCH 18/38] mips: Make u-boot-mips.h a private header

2017-05-17 Thread Daniel Schwierzeck
Am 17.05.2017 um 16:22 schrieb Simon Glass: > Rather than including this arch-specific header file in common.h, include > it from within mips's u-boot.h header. > > Signed-off-by: Simon Glass Reviewed-by: Daniel Schwierzeck > --- > > arch/mips/include/asm/u-boot.h | 1 + > include/common.h

Re: [U-Boot] [PATCH v2] ARM: dts: am335x-evm: disable mmc3

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 09:22:55PM +0200, Jean-Jacques Hiblot wrote: > SDIO is not supported in u-boot, there is no point in enabling mmc3. > For this purpose, add u-boot specific dtsi that this will be included > automatically while building the dtb. > > Signed-off-by: Jean-Jacques Hiblot Revi

[U-Boot] [PATCH v2] ARM: dts: am335x-evm: disable mmc3

2017-05-17 Thread Jean-Jacques Hiblot
SDIO is not supported in u-boot, there is no point in enabling mmc3. For this purpose, add u-boot specific dtsi that this will be included automatically while building the dtb. Signed-off-by: Jean-Jacques Hiblot --- This patch relies on "scripts/Makefile.lib: Always have ...-u-boot.dtsi be able

Re: [U-Boot] Orphan Freescale PowerPC boards

2017-05-17 Thread Sinan Akman
Hi York york sun wrote: On 05/09/2017 08:52 AM, York Sun wrote: On 05/09/2017 08:49 AM, Tom Rini wrote: On Tue, May 09, 2017 at 08:46:46AM -0700, York Sun wrote: On 05/09/2017 05:36 AM, Tom Rini wrote: On Tue, May 09, 2017 at 09:19:37PM +0900, Masahiro Yamada wrote: Hi York, I see some

[U-Boot] usb ehci/ohci issues

2017-05-17 Thread Álvaro Fernández Rojas
Hello guys, I'm having quite some trouble getting the bmips usbs to work... Just in case you want to take a look: https://github.com/Noltari/u-boot/commits/bmips-usb-devel https://github.com/Noltari/u-boot/commit/499d62c7871d46ac543c4c6eda391b8cf088 1) I only added support for EHCI because I

Re: [U-Boot] [PATCHv2] scripts/Makefile.lib: Always have ...-u-boot.dtsi be able to override

2017-05-17 Thread Jean-Jacques Hiblot
On 17/05/2017 20:06, Tom Rini wrote: The intention of having a -u-boot.dtsi file is to be able to make changes to the provided upstream dts files as well as to be able to add nodes. Change the logic for adding the file from making it the last included file at the top of the dts to being included

Re: [U-Boot] [PATCH v3 4/4] arm: socfpga: Add FPGA driver support for Arria 10

2017-05-17 Thread Dinh Nguyen
On 05/15/2017 05:52 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Add FPGA driver support for Arria 10. > > Signed-off-by: Tien Fong Chee > --- > arch/arm/mach-socfpga/include/mach/fpga_manager.h | 2 + > .../include/mach/fpga_manager_arria10.h| 100 + > d

Re: [U-Boot] [PATCH v3 3/4] arm: socfpga: Move FPGA manager driver to FPGA driver

2017-05-17 Thread Dinh Nguyen
On 05/15/2017 05:52 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Move FPGA manager driver which is Gen5 specific code from arch/arm/ > into FPGA driver at driver/fpga/. No functional change. > > Signed-off-by: Tien Fong Chee > --- > arch/arm/mach-socfpga/Makefile | 1

Re: [U-Boot] [PATCH v3 2/4] arm: socfpga: Restructure FPGA driver in the preparation to support A10.

2017-05-17 Thread Dinh Nguyen
On 05/15/2017 05:52 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Move FPGA driver which is Gen5 specific code into Gen5 driver file > and keeping common FPGA drivi er intact. All the changes are still keeping > in driver/fpga/ and no functional change. Subsequent patch would m

[U-Boot] [PATCHv2] scripts/Makefile.lib: Always have ...-u-boot.dtsi be able to override

2017-05-17 Thread Tom Rini
The intention of having a -u-boot.dtsi file is to be able to make changes to the provided upstream dts files as well as to be able to add nodes. Change the logic for adding the file from making it the last included file at the top of the dts to being included at the end of the file. Cc: Jean-Jacq

Re: [U-Boot] [PATCH v4 00/20] SPL: extend FIT loading support

2017-05-17 Thread Jagan Teki
On Wed, Apr 26, 2017 at 6:02 AM, Andre Przywara wrote: > Another round of smaller fixes for the SPL FIT loading series and the > respective patches to enable this feature on 64-bit Allwinner SoCs. > The README has been changed to address all 64-bit Allwinner boards and > has consequently been rena

Re: [U-Boot] [PATCH] ARM: dts: am335x: disable mmc3

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 06:14:53PM +0200, Jean-Jacques Hiblot wrote: > > > On 17/05/2017 18:01, Tom Rini wrote: > >On Wed, May 17, 2017 at 04:46:29PM +0200, Jean-Jacques Hiblot wrote: > >> > >>On 17/05/2017 15:04, Tom Rini wrote: > >>>On Wed, May 17, 2017 at 01:55:56PM +0200, Jean-Jacques Hiblot

Re: [U-Boot] Orphan Freescale PowerPC boards

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 05:29:37PM +, Joakim Tjernlund wrote: > On Wed, 2017-05-17 at 13:25 -0400, Tom Rini wrote: > > On Wed, May 17, 2017 at 04:57:57PM +, york sun wrote: > > > On 05/09/2017 08:52 AM, York Sun wrote: > > > > On 05/09/2017 08:49 AM, Tom Rini wrote: > > > > > On Tue, May 09

Re: [U-Boot] Orphan Freescale PowerPC boards

2017-05-17 Thread Joakim Tjernlund
On Wed, 2017-05-17 at 13:25 -0400, Tom Rini wrote: > On Wed, May 17, 2017 at 04:57:57PM +, york sun wrote: > > On 05/09/2017 08:52 AM, York Sun wrote: > > > On 05/09/2017 08:49 AM, Tom Rini wrote: > > > > On Tue, May 09, 2017 at 08:46:46AM -0700, York Sun wrote: > > > > > On 05/09/2017 05:36 AM

Re: [U-Boot] [PATCH v4 30/48] Kconfig: Add CONFIG_HASH to enable hashing API

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 09:05:34AM -0600, Simon Glass wrote: > At present CONFIG_CMD_HASH enables the 'hash' command which also brings > in the hashing API. Some boards may wish to enable the API without the > command. Add a separate CONFIG to permit this. > > Signed-off-by: Simon Glass Reviewe

Re: [U-Boot] Orphan Freescale PowerPC boards

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 04:57:57PM +, york sun wrote: > On 05/09/2017 08:52 AM, York Sun wrote: > > On 05/09/2017 08:49 AM, Tom Rini wrote: > >> On Tue, May 09, 2017 at 08:46:46AM -0700, York Sun wrote: > >>> On 05/09/2017 05:36 AM, Tom Rini wrote: > On Tue, May 09, 2017 at 09:19:37PM +090

[U-Boot] [PATCH v2] fastboot: Add support for flashing zImage

2017-05-17 Thread Sam Protsenko
This patch adds support for flashing zImage to the Android boot partition on eMMC. Usage: $ fastboot flash zImage It's based on [1]. [1] http://omapzoom.org/?p=repo/u-boot.git;a=commit;h=3393b908c1e848bba3706612cbe50aa8970720b3 Signed-off-by: Sam Protsenko --- Changes in v2: - use blk_

Re: [U-Boot] i.MX6: u-boot,dm-pre-reloc block U-Boot

2017-05-17 Thread Jagan Teki
Hi Simon, On Tue, May 16, 2017 at 5:47 AM, Simon Glass wrote: > Hi, > > On 13 May 2017 at 10:15, Jagan Teki wrote: >> Hi All, >> >> On Thu, May 11, 2017 at 1:40 PM, Jagan Teki wrote: >>> On Thu, May 11, 2017 at 7:39 AM, Lokesh Vutla wrote: On 5/11/2017 12:52 AM, Jagan Teki wrote

Re: [U-Boot] [PATCH 4/8] usb: host: xhci-rockchip: add support for rk3328

2017-05-17 Thread Marek Vasut
On 05/17/2017 12:21 PM, Meng Dongyang wrote: > Add the compatible "rockchip,rk3328-xhci" in match table > for rk3328 to probe xhci controller. Turn off vbus when > usb stop. > > Signed-off-by: Meng Dongyang > --- > drivers/usb/host/xhci-rockchip.c | 6 ++ > 1 file changed, 6 insertions(+) >

[U-Boot] [PATCH v4] usb: lpc32xx: add i2c DM support

2017-05-17 Thread Sylvain Lemieux
From: Liam Beguin Add DM support for i2c functions. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux Reviewed-by: Marek Vasut --- Changes from v3 to v4: * Moved "dm.h" to the proper location in include list. * Added Reviewed-by from Marek (taken from v3) Changes from v2 to v3: * Cod

Re: [U-Boot] Orphan Freescale PowerPC boards

2017-05-17 Thread york sun
On 05/09/2017 08:52 AM, York Sun wrote: > On 05/09/2017 08:49 AM, Tom Rini wrote: >> On Tue, May 09, 2017 at 08:46:46AM -0700, York Sun wrote: >>> On 05/09/2017 05:36 AM, Tom Rini wrote: On Tue, May 09, 2017 at 09:19:37PM +0900, Masahiro Yamada wrote: > Hi York, > > I see some orph

Re: [U-Boot] [PATCH 2/3] LS2080ARDB: QSPI boot: Secure Boot image validation

2017-05-17 Thread york sun
On 05/02/2017 05:15 AM, Udit Agarwal wrote: > Validates the images in the ESBC phase for LS2088ARDB platform > and QSPI boot using esbc_validate command. Add images validation > in default environment under mcinitcmd prior to MC initialization. > > Adds header address for PPA to be validated during

Re: [U-Boot] [PATCH 1/3] LS2080ARDB: Secure Boot defconfig for QSPI boot.

2017-05-17 Thread york sun
On 05/15/2017 01:19 PM, york sun wrote: > On 05/02/2017 05:15 AM, Udit Agarwal wrote: >> Add the secure boot defconfig for QSPI boot on LS2088ARDB >> platform. >> >> Signed-off-by: Udit Agarwal >> --- >> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatc

Re: [U-Boot] [PATCH] net: usb: mcs7830: fix no DM recive path

2017-05-17 Thread Marek Vasut
On 05/17/2017 04:55 PM, Uri Mashiach wrote: > Modifications: > * The call condition of the function net_process_received_packet() is > the success of the function mcs7830_recv_common(). > * The return value of the function mcs7830_recv reflects the success of > the function mcs7830_recv_common(

Re: [U-Boot] [PATCH] ARM: dts: am335x: disable mmc3

2017-05-17 Thread Jean-Jacques Hiblot
On 17/05/2017 18:01, Tom Rini wrote: On Wed, May 17, 2017 at 04:46:29PM +0200, Jean-Jacques Hiblot wrote: On 17/05/2017 15:04, Tom Rini wrote: On Wed, May 17, 2017 at 01:55:56PM +0200, Jean-Jacques Hiblot wrote: SDIO is not supported in u-boot, there is no point in enabling mmc3. Signed-o

Re: [U-Boot] [PATCH] ARM: dts: am335x: disable mmc3

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 04:46:29PM +0200, Jean-Jacques Hiblot wrote: > > > On 17/05/2017 15:04, Tom Rini wrote: > >On Wed, May 17, 2017 at 01:55:56PM +0200, Jean-Jacques Hiblot wrote: > > > >>SDIO is not supported in u-boot, there is no point in enabling mmc3. > >> > >>Signed-off-by: Jean-Jacques

Re: [U-Boot] [PATCH] ARMv8/sec_firmware : Update chosen/kaslr-seed

2017-05-17 Thread Ard Biesheuvel
On 17 May 2017 at 09:23, Alexander Graf wrote: > > > On 17.05.17 10:17, Peter Robinson wrote: -Original Message- From: Peter Robinson [mailto:pbrobin...@gmail.com] Sent: Monday, May 15, 2017 6:18 PM To: Ruchika Gupta Cc: u-boot@lists.denx.de; sun.y...@nxp.com

Re: [U-Boot] [PATCH] test: py: Use global pytestmark for hush tests

2017-05-17 Thread Michal Simek
On 17.5.2017 17:08, Stephen Warren wrote: > On 05/17/2017 03:17 AM, Michal Simek wrote: >> All tests in test_hush_if_test depends on hush parser >> to be present. >> This patch simplify test dependencies by using global >> pytestmark. > > Nit: That seems to have been accidentally line-wrapped. >

[U-Boot] [PATCH v4 30/48] Kconfig: Add CONFIG_HASH to enable hashing API

2017-05-17 Thread Simon Glass
At present CONFIG_CMD_HASH enables the 'hash' command which also brings in the hashing API. Some boards may wish to enable the API without the command. Add a separate CONFIG to permit this. Signed-off-by: Simon Glass --- Changes in v4: - Make CMD_HASH a hidden option Changes in v3: None Changes

[U-Boot] [PATCH] scripts/Makefile.lib: Always have ...-u-boot.dtsi be able to override

2017-05-17 Thread Tom Rini
The intention of having a -u-boot.dtsi file is to be able to make changes to the provided upstream dts files as well as to be able to add nodes. Change the logic for adding the file from making it an #include at the start to being cat'ed as well if it exists. Cc: Simon Glass Signed-off-by: Tom R

Re: [U-Boot] [PATCH v3 30/48] Kconfig: Add CONFIG_HASH to enable hashing API

2017-05-17 Thread Simon Glass
Hi Tom, On 17 May 2017 at 07:13, Tom Rini wrote: > On Wed, May 17, 2017 at 03:25:26AM -0600, Simon Glass wrote: > >> At present CONFIG_CMD_HASH enables the 'hash' command which also brings >> in the hashing API. Some boards may wish to enable the API without the >> command. Add a separate CONFIG

[U-Boot] [PATCH 03/38] common: Move pci_target_init() to PPC header

2017-05-17 Thread Simon Glass
Only one boards needs this definition. Move it to an arch-specific header. Signed-off-by: Simon Glass --- arch/powerpc/include/asm/4xx_pci.h | 1 + include/common.h | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/powerpc/include/asm/4xx_pci.h b/arc

Re: [U-Boot] [PATCH] ARM: dts: am335x: disable mmc3

2017-05-17 Thread Jean-Jacques Hiblot
On 17/05/2017 17:00, Tom Rini wrote: On Wed, May 17, 2017 at 04:46:29PM +0200, Jean-Jacques Hiblot wrote: On 17/05/2017 15:04, Tom Rini wrote: On Wed, May 17, 2017 at 01:55:56PM +0200, Jean-Jacques Hiblot wrote: SDIO is not supported in u-boot, there is no point in enabling mmc3. Signed-o

[U-Boot] [PATCH 25/38] arm: Add explicit include of

2017-05-17 Thread Simon Glass
Rather than relying on common.h to provide this include, which is going away at some point, include it explicitly in each file. Signed-off-by: Simon Glass --- arch/arm/lib/spl.c | 3 +++ board/Barix/ipam390/ipam390.c | 1 + board/LaCie/edminiv2/edm

Re: [U-Boot] [PATCH] ARM: dts: am335x: disable mmc3

2017-05-17 Thread Jean-Jacques Hiblot
On 17/05/2017 15:04, Tom Rini wrote: On Wed, May 17, 2017 at 01:55:56PM +0200, Jean-Jacques Hiblot wrote: SDIO is not supported in u-boot, there is no point in enabling mmc3. Signed-off-by: Jean-Jacques Hiblot --- Tom, this will fix the problem youreported with commit b5511d6cb8dc601efc14

[U-Boot] [PATCH 30/38] common: Drop determine_sysper() and determine_pci_clock_per()

2017-05-17 Thread Simon Glass
These arch-specific declarations should not be in common.h. Drop them. Signed-off-by: Simon Glass --- include/common.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/include/common.h b/include/common.h index 7eab4eb73d..b45f392373 100644 --- a/include/common.h +++ b/include/common.h @

[U-Boot] [PATCH 06/38] common: Move get_OPB_freq() and get_PCI_freq() to PPC header

2017-05-17 Thread Simon Glass
These should not be in common.h. Move the to an arch-specific header. Signed-off-by: Simon Glass --- arch/powerpc/include/asm/ppc4xx.h | 3 +++ include/common.h | 4 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/include/asm/ppc4xx.h b/arch/po

[U-Boot] [PATCH 38/38] common: microblaze: Drop arch-specific declarations

2017-05-17 Thread Simon Glass
These are not needed and should not be in common.h. Drop them. Signed-off-by: Simon Glass --- include/common.h | 5 - 1 file changed, 5 deletions(-) diff --git a/include/common.h b/include/common.h index a413f1ae9b..638c45b954 100644 --- a/include/common.h +++ b/include/common.h @@ -438,11

Re: [U-Boot] [PATCH] ARM: dts: uniphier: sync DT with Linux

2017-05-17 Thread Masahiro Yamada
2017-05-15 14:23 GMT+09:00 Masahiro Yamada : > Fix the following DTC warnings: > Warning (simple_bus_reg): Node > /soc/system-bus@58c0/support_card@1,1f0/ethernet@ simple-bus > unit address format error, expected "0" > Warning (simple_bus_reg): Node > /soc/system-bus@58c0/sup

Re: [U-Boot] [PATCH] test: py: Use global pytestmark for hush tests

2017-05-17 Thread Stephen Warren
On 05/17/2017 03:17 AM, Michal Simek wrote: All tests in test_hush_if_test depends on hush parser to be present. This patch simplify test dependencies by using global pytestmark. Nit: That seems to have been accidentally line-wrapped. diff --git a/test/py/tests/test_hush_if_test.py b/test/py

[U-Boot] [PATCH] net: usb: mcs7830: fix no DM recive path

2017-05-17 Thread Uri Mashiach
Modifications: * The call condition of the function net_process_received_packet() is the success of the function mcs7830_recv_common(). * The return value of the function mcs7830_recv reflects the success of the function mcs7830_recv_common(). Signed-off-by: Uri Mashiach --- drivers/usb/eth/

Re: [U-Boot] [PATCH] ARM: uniphier: add usbupdate command

2017-05-17 Thread Masahiro Yamada
2017-05-10 20:57 GMT+09:00 Masahiro Yamada : > This script command will be useful to update boot images in the > USB storage. > > Signed-off-by: Masahiro Yamada Applied to u-boot-uniphier/master. -- Best Regards Masahiro Yamada ___ U-Boot mailing li

[U-Boot] [PATCH 14/38] arc: Make u-boot-arc.h a private header

2017-05-17 Thread Simon Glass
Rather than including this arch-specific header file in common.h, include it from within arc's u-boot.h header. Signed-off-by: Simon Glass --- arch/arc/include/asm/u-boot.h | 1 + include/common.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arc/includ

[U-Boot] [PATCH 4/4] arm: am57xx: cl-som-am57x: adjust default env to the installation system

2017-05-17 Thread Uri Mashiach
The SD card automatic installation system depends on the default environment of the previous U-Boot. Add the missing environment variables. Signed-off-by: Uri Mashiach --- include/configs/cl-som-am57x.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/configs/cl

[U-Boot] [PATCH v3 1/7] reset: add reset_request()

2017-05-17 Thread patrice.chotard
From: Patrice Chotard This is needed in error path to assert previously deasserted reset by using a saved reset_ctl reference. Signed-off-by: Patrice Chotard Reviewed-by: Simon Glass --- v3: _ none v2: _ none drivers/reset/reset-uclass.c | 9 + include/reset.h |

[U-Boot] [PATCH 24/38] nds32: Remove include files from common.h

2017-05-17 Thread Simon Glass
With a few tweaks we can avoid including these files, which are only needed by two C files. Signed-off-by: Simon Glass --- arch/nds32/lib/bootm.c | 1 + board/AndesTech/adp-ag101p/adp-ag101p.c | 1 + include/common.h| 5 - 3 files changed, 2 insertio

[U-Boot] [PATCH 31/38] common: Move PPC4xx_SYS_INFO() et al to arch-specific header

2017-05-17 Thread Simon Glass
These definitions should not be in common.h. Move them to an arch-specific header file. Signed-off-by: Simon Glass --- arch/powerpc/include/asm/ppc4xx.h | 4 include/common.h | 6 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/include/as

[U-Boot] [PATCH v3 7/7] usb: host: ohci-generic: add generic PHY support

2017-05-17 Thread patrice.chotard
From: Patrice Chotard Extend ohci-generic driver with generic PHY framework Signed-off-by: Patrice Chotard --- v3: _ extract in this patch the PHY support add-on from previous patch 5 drivers/usb/host/ohci-generic.c | 25 - 1 file changed, 24 insertions(+), 1 del

[U-Boot] [PATCH v3 3/7] usb: host: ehci-generic: add error path and .remove callback

2017-05-17 Thread patrice.chotard
From: Patrice Chotard use list to save reference to enabled clocks and deasserted resets in order to respectively disabled and asserted them in case of error during probe() or during driver removal. Signed-off-by: Patrice Chotard --- v3: _ keep enabled clocks and deasserted resets referenc

[U-Boot] [PATCH 22/38] sandbox: Don't include asm/u-boot.h in common

2017-05-17 Thread Simon Glass
This is not actually needed anywhere, so drop it. Signed-off-by: Simon Glass --- include/common.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/common.h b/include/common.h index 298cbbc1a6..e0fbe6b3bf 100644 --- a/include/common.h +++ b/include/common.h @@ -433,9 +433,6 @@ stati

[U-Boot] [PATCH 00/38] common: Reduce size of common.h

2017-05-17 Thread Simon Glass
This file was traditionally a dumping ground for common declarations. It should really only contain things that nearly every file needs, such as the configuration. Perhaps the worst part is that there is arch-specific code in this file. There are plenty of arch-specific places where this should go

Re: [U-Boot] [PATCH v2] ARM: uniphier: add weird workaround code for LD20

2017-05-17 Thread Masahiro Yamada
2017-05-12 22:49 GMT+09:00 Masahiro Yamada : > When booting from ARM Trusted Firmware, U-Boot runs in EL1-NS. > The boot flow is as follows: > BL1 -> BL2 -> BL31 -> BL33 (i.e. U-Boot) > > This boot sequence works fine for LD11 SoC (Cortex-A53), but LD20 > SoC (Cortex-A72) hangs in U-Boot. The so

[U-Boot] [PATCH 02/38] common: Drop pci_pre_init() and is_pci_host()

2017-05-17 Thread Simon Glass
These should not be in common.h. They are used in some legacy PowerPC code. Just drop them. Signed-off-by: Simon Glass --- include/common.h | 5 - 1 file changed, 5 deletions(-) diff --git a/include/common.h b/include/common.h index a6347e0167..8d6d1d8d5f 100644 --- a/include/common.h +++

Re: [U-Boot] [PATCH] ARM: dts: am335x: disable mmc3

2017-05-17 Thread Tom Rini
On Wed, May 17, 2017 at 04:46:29PM +0200, Jean-Jacques Hiblot wrote: > > > On 17/05/2017 15:04, Tom Rini wrote: > >On Wed, May 17, 2017 at 01:55:56PM +0200, Jean-Jacques Hiblot wrote: > > > >>SDIO is not supported in u-boot, there is no point in enabling mmc3. > >> > >>Signed-off-by: Jean-Jacques

[U-Boot] [PATCH 23/38] x86: Don't include asm/u-boot.h in common

2017-05-17 Thread Simon Glass
With a small fixup to u-boot-x86.h, this is not actually needed anywhere, so drop it. Signed-off-by: Simon Glass --- arch/x86/include/asm/u-boot-x86.h | 4 +++- include/common.h | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/x86/include/asm/u-boot-

[U-Boot] [PATCH 07/38] api: Add a header for api_init()

2017-05-17 Thread Simon Glass
Put this in its own header instead of using common.h. Signed-off-by: Simon Glass --- common/board_r.c | 1 + include/api.h| 13 + include/common.h | 3 --- 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 include/api.h diff --git a/common/board_r.c b/comm

[U-Boot] [PATCH 37/38] common: arm: freescale: layerscape: Move header files out of common.h

2017-05-17 Thread Simon Glass
We should not have an arch-specific header file in common.h. Adjust the board files a little so it is not needed, and drop it. Signed-off-by: Simon Glass --- arch/arm/include/asm/arch-fsl-layerscape/soc.h | 11 +++ arch/arm/include/asm/arch-ls102xa/clock.h | 1 + arch/arm/include/

[U-Boot] [PATCH 20/38] arc: Don't include asm/u-boot.h in common

2017-05-17 Thread Simon Glass
This is not actually needed anywhere, so drop it. Signed-off-by: Simon Glass --- include/common.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/common.h b/include/common.h index c1e634045f..83ea3c419c 100644 --- a/include/common.h +++ b/include/common.h @@ -444,9 +444,6 @@ stati

[U-Boot] [PATCH 33/38] common: freescale: Move arch-specific declarations

2017-05-17 Thread Simon Glass
The declarations should not be in common.h. Move them to the arch-specific headers. Signed-off-by: Simon Glass --- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 1 + arch/arm/include/asm/arch-fsl-layerscape/clock.h | 2 + arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 1 + arch/arm/

[U-Boot] [PATCH 27/38] arm: Include asm/setup.h explictly

2017-05-17 Thread Simon Glass
Include this header where needed so we do not need to rely on common.h. Signed-off-by: Simon Glass --- arch/arm/include/asm/omap_common.h | 2 ++ arch/arm/mach-omap2/utils.c | 1 + board/Synology/ds109/ds109.c| 1 + board/bluegiga/apx4devkit/apx4devkit.c | 1 + boa

Re: [U-Boot] [PATCH 22/22] mmc: Retry some MMC cmds on failure

2017-05-17 Thread Jean-Jacques Hiblot
On 17/05/2017 03:38, Simon Glass wrote: Hi Jean-Jacques, On 15 May 2017 at 09:49, Jean-Jacques Hiblot wrote: On 15/05/2017 05:28, Simon Glass wrote: On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: From: Vignesh R With certain SD cards like Kingston 8GB/16GB UHS card, it is seen tha

[U-Boot] [PATCH 16/38] x86: Make u-boot-x86.h a private header

2017-05-17 Thread Simon Glass
Rather than including this arch-specific header file in common.h, include it from within x86's u-boot.h header. Also drop the comment about something to be fixed. It is not clear what needs fixing. Signed-off-by: Simon Glass --- arch/x86/include/asm/u-boot.h | 1 + include/common.h

[U-Boot] [PATCH 18/38] mips: Make u-boot-mips.h a private header

2017-05-17 Thread Simon Glass
Rather than including this arch-specific header file in common.h, include it from within mips's u-boot.h header. Signed-off-by: Simon Glass --- arch/mips/include/asm/u-boot.h | 1 + include/common.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/mips/in

[U-Boot] [PATCH 28/38] arm: Remove include files from common.h

2017-05-17 Thread Simon Glass
With a small tweak we can avoid including these files for all boards. Signed-off-by: Simon Glass --- common/board_f.c | 3 +++ include/common.h | 6 -- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index a212f2b539..fe90faf309 100644 ---

Re: [U-Boot] [PATCH] ARM: uniphier: move kernel physical base to 0x82080000

2017-05-17 Thread Masahiro Yamada
2017-05-16 14:35 GMT+09:00 Masahiro Yamada : > Reserve enough space below the kernel base. > The assumed address map is: > 8000 - 80ff : for IPP > 8100 - 81ff : for ARM secure > 8200 - : for Linux > > Signed-off-by: Masahiro Yamada > --- > Applied to u-boot-uni

[U-Boot] [PATCH 1/4] arm: am57xx: cl-som-am57x: support for FS boot

2017-05-17 Thread Uri Mashiach
Supported boot devices are raw QSPI and raw SD card. Add support for a FAT16/32 file system for SD card. The SOC's boot ROM only supports FAT file system. Therefore remove the SPL support for the EXT file system. Signed-off-by: Uri Mashiach --- configs/cl-som-am57x_defconfig | 1 + include/conf

  1   2   3   >