Re: [U-Boot] [U-Boot, 1/2] snapdragon: Add DRAM detection & FDT fixup

2018-07-30 Thread Ramon Fried
On Mon, Jul 30, 2018 at 2:29 PM Ramon Fried wrote: > On July 30, 2018 2:18:17 PM GMT+03:00, Tom Rini > wrote: > >On Sun, Jul 22, 2018 at 09:46:05PM +0300, Ramon Fried wrote: > > > >> Fixup the Linux FDT with the detection of onboard DRAM as > >> provided by SBL (Secondary boot loader) by reading

[U-Boot] [PATCH v2 2/2] db410c: Fixup DRAM

2018-07-30 Thread Ramon Fried
Call the MSM DRAM detection and fixup function to support dynamic detection of onboard memory. Signed-off-by: Ramon Fried --- v2: fixed compiler warning introduced because missing include board/qualcomm/dragonboard410c/dragonboard410c.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/boa

[U-Boot] [PATCH v2 1/2] snapdragon: Add DRAM detection & FDT fixup

2018-07-30 Thread Ramon Fried
Fixup the Linux FDT with the detection of onboard DRAM as provided by SBL (Secondary boot loader) by reading the shared-memory region. Signed-off-by: Ramon Fried --- v2: fixed compiler warning introduced because missing include arch/arm/mach-snapdragon/Makefile| 1 + arch/arm/mach-

Re: [U-Boot] [PATCH v4 6/6] common: Generic loader for file system

2018-07-30 Thread Michal Simek
On 30.7.2018 18:05, Simon Glass wrote: > Hi Michal, > > On 30 July 2018 at 07:30, Michal Simek wrote: >> On 30.7.2018 15:26, Simon Glass wrote: >>> Hi, >>> >>> On 27 July 2018 at 02:40, Chee, Tien Fong wrote: On Thu, 2018-07-26 at 11:03 +0200, Michal Simek wrote: > On 25.7.2018 18:

Re: [U-Boot] [PATCH v2 4/4] configs: sunxi: Drop CONFIG_SUNXI_USB_PHYS

2018-07-30 Thread Jagan Teki
On Fri, Jul 20, 2018 at 12:34 PM, Jagan Teki wrote: > Now number of PHY on Allwinner is handling via dt data, > drivers at phy/allwinner/phy-sun4i-usb.c > > Signed-off-by: Jagan Teki > --- Applied all. ___ U-Boot mailing list U-Boot@lists.denx.de https

Re: [U-Boot] [GIT PULL] Kconfig changes

2018-07-30 Thread Michal Simek
Hi Tom, On 30.7.2018 22:03, Tom Rini wrote: > On Mon, Jul 30, 2018 at 08:27:19AM +0200, Michal Simek wrote: > >> Hi Tom, >> >> I have put together that CMD_DM enabling we have discussed (and small >> Kconfig changes). I have rebased it on Friday and travis also looks >> good. https://travis-ci.or

[U-Boot] [PATCH] dm: Fix CMD_DM enabling

2018-07-30 Thread Michal Simek
The patch "dm: Change CMD_DM enabling" (sha1: 08a00cba06a7e608ae65e3d7ea225cf8c639429d) was incorrectly updated and PICO_IMX7D is missing imply CMD_DM and WARP7 has it twice. This patch is fixing it. Signed-off-by: Michal Simek --- arch/arm/mach-imx/mx7/Kconfig | 2 +- 1 file changed, 1 inserti

Re: [U-Boot] [linux-sunxi] Re: [PATCH] video: sunxi: de2: fix SimpleFB node creation when DE2 not probed

2018-07-30 Thread Jagan Teki
On Mon, Jul 30, 2018 at 1:14 PM, Maxime Ripard wrote: > On Fri, Jul 27, 2018 at 11:50:53PM +0800, Icenowy Zheng wrote: >> Sometimes when a monitor without EDID information is plugged, the DE2 >> won't be probed (because of lack of timing information), but the HDMI >> node is probed, thus a SimpleF

Re: [U-Boot] [linux-sunxi] [PATCH v2 00/13] Allwinner H6 support (w/ SPL)

2018-07-30 Thread Jagan Teki
On Sat, Jul 21, 2018 at 1:50 PM, Icenowy Zheng wrote: > This patchset trys to add support for Allwinner H6 SoC to U-Boot. > > Allwinner H6 is a quite new Allwinner SoC, with several parts changed a > lot (memory map, DRAM controller, CCU, so on). The position which SPL > will be loaded (SRAM A1) a

Re: [U-Boot] [linux-sunxi] [PATCH v2 00/13] Allwinner H6 support (w/ SPL)

2018-07-30 Thread Icenowy Zheng
于 2018年7月31日 GMT+08:00 下午1:57:45, Jagan Teki 写到: >On Tue, Jul 31, 2018 at 11:24 AM, Icenowy Zheng >wrote: >> >> >> 于 2018年7月31日 GMT+08:00 下午1:49:18, Jagan Teki > 写到: >>>On Tue, Jul 31, 2018 at 11:15 AM, Icenowy Zheng >>>wrote: 于 2018年7月31日 GMT+08:00 下午1:42:46, Jagan Teki >>> 写到:

Re: [U-Boot] [linux-sunxi] [PATCH v2 00/13] Allwinner H6 support (w/ SPL)

2018-07-30 Thread Jagan Teki
On Tue, Jul 31, 2018 at 11:24 AM, Icenowy Zheng wrote: > > > 于 2018年7月31日 GMT+08:00 下午1:49:18, Jagan Teki 写到: >>On Tue, Jul 31, 2018 at 11:15 AM, Icenowy Zheng >>wrote: >>> >>> >>> 于 2018年7月31日 GMT+08:00 下午1:42:46, Jagan Teki >> 写到: On Sun, Jul 29, 2018 at 6:54 PM, Icenowy Zheng >>wrote: >>

Re: [U-Boot] [linux-sunxi] [PATCH v2 00/13] Allwinner H6 support (w/ SPL)

2018-07-30 Thread Icenowy Zheng
于 2018年7月31日 GMT+08:00 下午1:49:18, Jagan Teki 写到: >On Tue, Jul 31, 2018 at 11:15 AM, Icenowy Zheng >wrote: >> >> >> 于 2018年7月31日 GMT+08:00 下午1:42:46, Jagan Teki > 写到: >>>On Sun, Jul 29, 2018 at 6:54 PM, Icenowy Zheng >wrote: 在 2018-07-27五的 18:48 +0530,Jagan Teki写道: > On Thu, Jul 26, 20

Re: [U-Boot] [PATCH v4 00/27] SPI-NAND support

2018-07-30 Thread Stefan Roese
Hi Jagan, On 31.07.2018 07:36, Jagan Teki wrote: Acked--by: Jagan Teki Thanks! Can you rebase on master and send the needed patches or whole? Look like some changes been added in drivers/mtd/nand/Kconfig I'll wait a bit for Stefan review also and I think I missed something in mtdpart

Re: [U-Boot] [linux-sunxi] [PATCH v2 00/13] Allwinner H6 support (w/ SPL)

2018-07-30 Thread Jagan Teki
On Tue, Jul 31, 2018 at 11:15 AM, Icenowy Zheng wrote: > > > 于 2018年7月31日 GMT+08:00 下午1:42:46, Jagan Teki 写到: >>On Sun, Jul 29, 2018 at 6:54 PM, Icenowy Zheng wrote: >>> 在 2018-07-27五的 18:48 +0530,Jagan Teki写道: On Thu, Jul 26, 2018 at 12:35 PM, Icenowy Zheng wrote: > >

Re: [U-Boot] [linux-sunxi] [PATCH v2 00/13] Allwinner H6 support (w/ SPL)

2018-07-30 Thread Icenowy Zheng
于 2018年7月31日 GMT+08:00 下午1:42:46, Jagan Teki 写到: >On Sun, Jul 29, 2018 at 6:54 PM, Icenowy Zheng wrote: >> 在 2018-07-27五的 18:48 +0530,Jagan Teki写道: >>> On Thu, Jul 26, 2018 at 12:35 PM, Icenowy Zheng >>> wrote: >>> > >>> > >>> > 于 2018年7月26日 GMT+08:00 下午3:02:50, Jagan Teki < >>> > ja...@amarul

Re: [U-Boot] [linux-sunxi] [PATCH v2 00/13] Allwinner H6 support (w/ SPL)

2018-07-30 Thread Jagan Teki
On Sun, Jul 29, 2018 at 6:54 PM, Icenowy Zheng wrote: > 在 2018-07-27五的 18:48 +0530,Jagan Teki写道: >> On Thu, Jul 26, 2018 at 12:35 PM, Icenowy Zheng >> wrote: >> > >> > >> > 于 2018年7月26日 GMT+08:00 下午3:02:50, Jagan Teki < >> > ja...@amarulasolutions.com> 写到: >> > > On Sat, Jul 21, 2018 at 1:50 PM,

Re: [U-Boot] [PATCH v4 00/27] SPI-NAND support

2018-07-30 Thread Jagan Teki
On Mon, Jul 30, 2018 at 8:41 PM, Stefan Roese wrote: > Hi Miquel, > Hi Jagan, > > > On 26.07.2018 09:29, Miquel Raynal wrote: >> >> Hi Jagan, >> >> Jagan Teki wrote on Thu, 26 Jul 2018 >> 11:00:56 +0530: >> >>> On Fri, Jul 13, 2018 at 6:01 PM, Miquel Raynal >>> wrote: During the last m

Re: [U-Boot] [PATCH v4 6/6] common: Generic loader for file system

2018-07-30 Thread Chee, Tien Fong
On Mon, 2018-07-30 at 10:05 -0600, Simon Glass wrote: > Hi Michal, > > On 30 July 2018 at 07:30, Michal Simek > wrote: > > > > On 30.7.2018 15:26, Simon Glass wrote: > > > > > > Hi, > > > > > > On 27 July 2018 at 02:40, Chee, Tien Fong > > om> wrote: > > > > > > > > > > > > On Thu, 2018-07-

[U-Boot] Please pull ARC changes or 2018.09-rc2

2018-07-30 Thread Alexey Brodkin
Hi Tom, The following changes since commit 5a0007d481c0fcd2d422dd48b2a129dd8e8a272a: Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400) are available in the Git repository at: git://git.denx.de/u-boot-arc.git tags/arc-updates-for-2018.09-rc2 for you to fetch changes up to 8f590063ba635264303

Re: [U-Boot] [PATCH v5 8/8] armv8: ls1046a: setup SEC ICIDs and fix up device tree

2018-07-30 Thread Bharat Bhushan
> -Original Message- > From: Horia Geanta > Sent: Monday, July 30, 2018 8:03 PM > To: Laurentiu Tudor ; Bharat Bhushan > ; u-boot@lists.denx.de; Prabhakar Kushwaha > ; York Sun > Cc: Alison Wang ; Ruchika Gupta > > Subject: Re: [PATCH v5 8/8] armv8: ls1046a: setup SEC ICIDs and fix up d

Re: [U-Boot] [PATCH 05/17] fs: fat: check and normailze file name

2018-07-30 Thread Heinrich Schuchardt
On 07/20/2018 04:57 AM, AKASHI Takahiro wrote: > FAT file system's long file name support is a bit complicated and has some > restrictions on its naming. We should be careful about it especially for > write as it may easily end up with wrong file system. > > normalize_longname() check for the rule

Re: [U-Boot] [PATCH 04/20] W1-EEPROM: Add an W1-EEPROM uclass for 1 wire EEPROMs

2018-07-30 Thread Tom Rini
On Mon, Jul 30, 2018 at 11:54:51AM +0300, Eugen Hristev wrote: > > > On 20.07.2018 17:28, Maxime Ripard wrote: > >Hi Eugen, > > > >Thanks for giving those patches another shot. > > > >On Thu, Jul 19, 2018 at 12:57:52PM +0300, Eugen Hristev wrote: > >>From: Maxime Ripard > >> > >>We might want to

[U-Boot] [ANN] U-Boot v2018.09-rc1 released

2018-07-30 Thread Tom Rini
Hey all, So it's release day and I've put up v2018.09-rc1. The merge window is now closed and I've updated git and the tarballs are also up now. That said, there's a few things that I expect to come in and I hope soon. There's the SPI-NAND series. There's EFI support to Sandbox. And there may

Re: [U-Boot] [PATCH 8/9] board: cm_fx6: use PRIx64 macros for printing ram size

2018-07-30 Thread Masahiro Yamada
2018-07-26 22:59 GMT+09:00 Philipp Tomsich : > With the recent changes of the underlying types for the ram size, we > need to adjust the formatting. Use PRIx64 to print the (now) u64 > field. > > Signed-off-by: Philipp Tomsich > --- As I commented in 3/9, using PRIx64 is wrong. > board/co

Re: [U-Boot] [PATCH 3/9] common: include always

2018-07-30 Thread Masahiro Yamada
2018-07-26 22:59 GMT+09:00 Philipp Tomsich : > With the ram-size variable changed to u64, we'll need appropriate > macros for printing u64 values correctly either in 32bit builds > (i.e. ILP32 models) or in 64bit builds (i.e. LP64 models). Best to > make the PRIx64 macro available everywhere. > >

Re: [U-Boot] [PULL] efi patch queue 2018-07-25

2018-07-30 Thread Tom Rini
On Sat, Jul 28, 2018 at 11:55:08AM -0400, Tom Rini wrote: > On Wed, Jul 25, 2018 at 03:04:27PM +0200, Alexander Graf wrote: > > > Hi Tom, > > > > This is my current patch queue for efi. Please pull. > > > > Alex > > > > > > The following changes since commit 323a73adc9a1bf2de43fe03bdd9c3038c

Re: [U-Boot] [PATCH] fs-test.sh: Update expected result output

2018-07-30 Thread Tom Rini
On Mon, Jul 30, 2018 at 07:58:41PM -0400, Tom Rini wrote: > Given 0dc1bfb7302d ("fs: fat: cannot write to subdirectories") we have > changed how the FAT code works from creating the illegal file "./file" > and instead rejecting the path. The correct behavior would be to write > "file" to "." but

[U-Boot] [PATCH] fs-test.sh: Update expected result output

2018-07-30 Thread Tom Rini
Given 0dc1bfb7302d ("fs: fat: cannot write to subdirectories") we have changed how the FAT code works from creating the illegal file "./file" and instead rejecting the path. The correct behavior would be to write "file" to "." but not writing an illegal file is a step in the right direction. For

Re: [U-Boot] [PULL] efi patch queue 2018-07-25

2018-07-30 Thread Tom Rini
On Sat, Jul 28, 2018 at 11:32:56PM +0200, Heinrich Schuchardt wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On 07/28/2018 08:33 PM, Tom Rini wrote: > > On Sat, Jul 28, 2018 at 07:10:39PM +0200, Heinrich Schuchardt > > wrote: > >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 > >

Re: [U-Boot] [PATCH 8/8] configs: icorem6_rqs: Enable CLK_IMX

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:56 AM, Jagan Teki wrote: > CLK support for imx6qdl is available, so enable > CLK_IMX for Engicam i.CoreM6 QDL RQS boards. > > Signed-off-by: Jagan Teki Reviewed-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 7/8] imx6ul: engicam: Enable CLK_IMX

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:56 AM, Jagan Teki wrote: > CLK support for imx6ul is available, so enable > CLK_IMX for Engicam i.MX6UL boards. > > Signed-off-by: Jagan Teki Reviewed-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://l

Re: [U-Boot] [PATCH 5/8] clk: Add generic_clk_valid

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:56 AM, Jagan Teki wrote: > Add clock validate function for validating > specific clock to do further clock operations. > > Signed-off-by: Jagan Teki > Reviewed-by: Simon Glass Reviewed-by: Joe Hershberger ___ U-Boot mailing

Re: [U-Boot] [PATCH 2/8] clk: Add DM CLK driver template for i.MX6QDL

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:56 AM, Jagan Teki wrote: > Add DM CLK driver for iMX6QDL platform. > - basic template for clk_imx6qdl.c > - Kconfig support > > Signed-off-by: Jagan Teki Reviewed-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.

Re: [U-Boot] [PATCH 1/8] clk: Kconfig: Ascending order to sub directiory kconfigs

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:56 AM, Jagan Teki wrote: > sourcing of sub directiory kconfig files are not in > proper order, so keep them in ascending order. > > Signed-off-by: Jagan Teki Reviewed-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.d

Re: [U-Boot] [PATCH 08/10] dm: net: fec: Refactor mdio_init code

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki wrote: > mdio initialization in dm code is assigning bus->priv > with pointer to struct ethernet_regs which leads to > improper mii. Add proper udevice to store mii_bus priv > and reuse the same in mdio ops. > > Also refactor mdio code, to make common op

Re: [U-Boot] [PATCH 10/10] net: fec: Setup common eth_ops code for dm and non-dm

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki wrote: > Setting up common code for dm and non-dm will easy and > understandable for adding new features, debugging in > both the code area. > > Signed-off-by: Jagan Teki Acked-by: Joe Hershberger ___ U-Boot

Re: [U-Boot] [PATCH 09/10] dm: net: fec: Add support for PHY reset

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki wrote: > Add PHY reset code for DM_ETH by retrieving phy-reset-gpios > and phy-reset-duration in fec node. > > Signed-off-by: Jagan Teki Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 07/10] dm: net: fec: Move enet init in fec_enet

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki wrote: > Move enet initialization code in fec_enet function, > no functional changes. > > Signed-off-by: Jagan Teki Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.d

Re: [U-Boot] [PATCH 06/10] net: fec_mxc: Use udevice to retrive priv, in fec_phy_init

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki wrote: > Retrive priv via udevice using dev_get_priv, so just > pass udevice pointer. > > Signed-off-by: Jagan Teki Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.d

Re: [U-Boot] [PATCH 05/10] net: fec: Use PHY_ADDR instead of FEC_MXC_PHYADDR

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki wrote: > - use PHY_ADDR_ENABLE and PHY_ADDR > - few boards are using FEC_MXC_PHYADDR without PHYLIB > enable the same. > > Signed-off-by: Jagan Teki Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot

Re: [U-Boot] [PATCH 04/10] net: fec: Add default CONFIG_FEC_MXC_PHYADDR for few boards

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki wrote: > Usually PHYADDR is used while PHYLIB is defined, but > boards like apx4devkit, mx6qarm2 are not using PHYLIB > but they are using CONFIG_FEC_MXC_PHYADDR. > > So, future patches will convert CONFIG_FEC_MXC_PHYADDR to > generic CONFIG_PHY_ADDR and

Re: [U-Boot] [PATCH 03/10] net: fec: Use PHY_INTERFACE_MODE_ for xcv_type

2018-07-30 Thread Joe Hershberger
Hi Jagan, On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki wrote: > Use existing PHY_INTERFACE_MODE_ for xcv_type, this eventually > - remove CONFIG_FEC_XCV_TYPE in DM_ETH boards since the phy interface > is grabbing from DT phy-mode. > - prefix PHY_INTERFACE_MODE_ for CONFIG_FEC_XCV_TYPE in non DM_

Re: [U-Boot] [PATCH] Convert CONFIG_MII et al to Kconfig

2018-07-30 Thread Joe Hershberger
On Fri, Jul 20, 2018 at 11:03 PM, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_MII >CONFIG_DRIVER_TI_EMAC > > Signed-off-by: Adam Ford Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.d

Re: [U-Boot] [PATCH 01/10] configs: Drop imx27lite-common.h

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki wrote: > This file not used by any config file, hence droped. > > Cc: Adam Ford > Signed-off-by: Jagan Teki Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listi

Re: [U-Boot] [PATCH v2 6/6] driver: net: fsl-mc: Add support of multiple phys for dpmac

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 8:15 AM, Pankaj Bansal wrote: > Till now we have had cases where we had one phy device per dpmac. > Now, with the upcoming products (LX2160AQDS), we have cases, where there > are sometimes two phy devices for one dpmac. One phy for TX lanes and > one phy for RX lanes. to ha

Re: [U-Boot] [RFC] cmd: add bootslot command to select/boot slot based on boot counts

2018-07-30 Thread Martin Hundebøll
Hi, On 2018-07-16 08:05, Sean Nyekjær wrote: Hi, On 2018-07-13 14:34, Martin Hundebøll wrote: The existing bootcount feature is targeted systems with a primary, and a rescue boot setup, where the number of boot tries to the primary boot is tracked. If the number exceeds the limit, the alternat

Re: [U-Boot] [PATCH v2 5/6] driver: net: fsl-mc: initialize dpmac irrespective of phy

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 8:15 AM, Pankaj Bansal wrote: > The dpmac initalization should not depend on phy. > As the phy is not necessary to be present for dpmac to function. > Therefore, remove dpmac initialization dependency from phy. > > Signed-off-by: Pankaj Bansal Acked-by: Joe Hershberger _

Re: [U-Boot] [PATCH v2 4/6] driver: net: fsl-mc: Modify the dpmac link detection method

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 8:15 AM, Pankaj Bansal wrote: > when there is no phy present for a dpmac, a dummy phy device is created. > when we move to multiple phy method, we need to create as many dummy phy > devices. > > Change this method so that we don't need to create dummy phy devices. > We alwa

Re: [U-Boot] [PATCH v2 3/6] driver: net: fsl-mc: fix error handing in init_phy

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 8:15 AM, Pankaj Bansal wrote: > if an error occurs during init_phy, we should free the phydev structure > which has been allocated by phy_connect. > > Signed-off-by: Pankaj Bansal Acked-by: Joe Hershberger ___ U-Boot mailing li

Re: [U-Boot] [PATCH v2 1/6] driver: net: fsl-mc: modify the label name

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 8:15 AM, Pankaj Bansal wrote: > The goto label name is misspelled it should be DPMAC not DPAMC > > Signed-off-by: Pankaj Bansal Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listin

Re: [U-Boot] [PATCH v2 2/6] driver: net: fsl-mc: remove unused strcture elements

2018-07-30 Thread Joe Hershberger
On Mon, Jul 30, 2018 at 8:15 AM, Pankaj Bansal wrote: > The phydev structure is present in both ldpaa_eth_priv and > wriop_dpmac_info. the phydev in wriop_dpmac_info is not being used > > As the phydev is created based on phy_addr and bus members of > wriop_dpmac_info, it is appropriate to keep ph

[U-Boot] Please pull u-boot-dm

2018-07-30 Thread Simon Glass
Hi Tom, Here are the binman changes, with the rename of the 'pos' property to 'offset'. The following changes since commit 0e8a8a311020d317fcfcf594e8e3fb1598134593: Merge git://git.denx.de/u-boot-fsl-qoriq (2018-07-27 13:09:30 -0400) are available in the Git repository at: git://git.denx.

Re: [U-Boot] Kconfig: Remove trailing whitespaces in prompt

2018-07-30 Thread Tom Rini
On Mon, Jul 23, 2018 at 08:38:56AM +0200, Michal Simek wrote: > Remove additional trailing whitespaces in prompt reported by kconfiglib: > > warning: DM_PMIC_SANDBOX (defined at drivers/power/pmic/Kconfig:133) has > leading or trailing whitespace in its prompt > warning: (defined at dts/Kconfig:

Re: [U-Boot] [GIT PULL] Kconfig changes

2018-07-30 Thread Tom Rini
On Mon, Jul 30, 2018 at 08:27:19AM +0200, Michal Simek wrote: > Hi Tom, > > I have put together that CMD_DM enabling we have discussed (and small > Kconfig changes). I have rebased it on Friday and travis also looks > good. https://travis-ci.org/michalsimek/u-boot/builds/408812930 > > There will

Re: [U-Boot] [PATCH] tpmv2: Make it select CMD_LOG

2018-07-30 Thread Tom Rini
On Sat, Jul 28, 2018 at 09:20:42AM -0400, Tom Rini wrote: > The TPMv2 code requires the log functionality, so select it. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot maili

Re: [U-Boot] [U-Boot, v2, 2/5] Kconfig: Replace spaces with tabs and missing newline

2018-07-30 Thread Tom Rini
On Mon, Jul 23, 2018 at 03:55:12PM +0200, Michal Simek wrote: > Trivial Kconfig cleanup. Use tabs instead of spaces and every Kconfig > entry should be separated by newline. > > Signed-off-by: Michal Simek > Reviewed-by: Tom Rini > Reviewed-by: Joe Hershberger Applied to u-boot/master, thanks

Re: [U-Boot] [U-Boot, 1/1] drivers: rtc: correctly set week day for mc146818

2018-07-30 Thread Tom Rini
On Sat, Jul 21, 2018 at 06:40:20PM +0200, Heinrich Schuchardt wrote: > The driver sets the weekday incorrectly when called by the > 'date set' command. > > Sunday is 1, Saturday is 7 unlike in U-Boot (see data sheet > https://www.nxp.com/docs/en/data-sheet/MC146818.pdf, table 3). > > Signed-off-

Re: [U-Boot] [U-Boot,v2,4/5] dm: Change CMD_DM enabling

2018-07-30 Thread Tom Rini
On Mon, Jul 23, 2018 at 03:55:14PM +0200, Michal Simek wrote: > CMD_DM is used for debug purpose and it shouldn't be enabled by default > via Kconfig. Unfortunately this is in the tree for quite a long time > that's why solution is to use imply DM for all targets which are > enabling DM. > > Sign

Re: [U-Boot] [U-Boot, v2, 1/5] common: Log should depends on DM not be selected by DM

2018-07-30 Thread Tom Rini
On Mon, Jul 23, 2018 at 03:55:11PM +0200, Michal Simek wrote: > Better use depends on instead of select. > > Signed-off-by: Michal Simek > Reviewed-by: Tom Rini > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [U-Boot, v2, 7/7] sandbox: compile both TPM stack versions and drivers

2018-07-30 Thread Tom Rini
On Thu, Jul 19, 2018 at 10:35:12PM +0200, Miquel Raynal wrote: > Now that TPMv1 and TPMv2 can be compiled at the same time, let's compile > them both with Sandbox as well as both drivers (and, it is already > implied in Kconfig: both commands). > > Signed-off-by: Miquel Raynal > Reviewed-by: Sim

Re: [U-Boot] [U-Boot, v2, 6/7] tpm: make TPM_V2 be compiled by default

2018-07-30 Thread Tom Rini
On Thu, Jul 19, 2018 at 10:35:11PM +0200, Miquel Raynal wrote: > TPM_V1 was already compiled by default. Now that both can be compiled > at the same time, compiled them both by default. > > Signed-off-by: Miquel Raynal > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom sig

Re: [U-Boot] [U-Boot, v2, 5/5] Kconfig: Sort bool, default, select and imply options

2018-07-30 Thread Tom Rini
On Mon, Jul 23, 2018 at 03:55:15PM +0200, Michal Simek wrote: > Another round of sorting Kconfig entries aplhabetically. > > Signed-off-by: Michal Simek > Reviewed-by: Tom Rini > Acked-by: Alexey Brodkin > Reviewed-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.as

Re: [U-Boot] [U-Boot, v2, 3/5] Kconfig: Sort bool, default, select and imply options

2018-07-30 Thread Tom Rini
On Mon, Jul 23, 2018 at 03:55:13PM +0200, Michal Simek wrote: > Fix Kconfig bool, default, select and imply options to be > alphabetically sorted. > > Signed-off-by: Michal Simek > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] tools: genboardscfg: move buildman path to first

2018-07-30 Thread Tom Rini
On Tue, Jul 24, 2018 at 02:27:18PM +0800, Peng Fan wrote: > To system which has kconfiglib installed, genboardscfg will > use system kconfiglib, we need it use U-Boot owned version, > so move the buildman path to first. > > Signed-off-by: Peng Fan > Cc: Masahiro Yamada > Cc: Simon Glass > Cc:

Re: [U-Boot] [U-Boot, v5] u-boot: remove driver lookup loop from env_save()

2018-07-30 Thread Tom Rini
On Mon, Jul 23, 2018 at 10:01:07AM +0200, Nicholas Faustini wrote: > When called with ENVOP_SAVE, env_get_location() only returns the > gd->env_load_location variable without actually checking for > the environment location and priority. > > This behaviour causes env_save() to fall into an infini

Re: [U-Boot] [U-Boot,v2,1/7] tpm: fix typo in kernel doc

2018-07-30 Thread Tom Rini
On Thu, Jul 19, 2018 at 10:35:06PM +0200, Miquel Raynal wrote: > The udevice given to the open() function of course must be opened, > not closed. > > Signed-off-by: Miquel Raynal > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] configs: omap3_logic: Remove USB Storage and enable CONFIG_BLK

2018-07-30 Thread Tom Rini
On Sat, Jul 21, 2018 at 12:53:59PM -0500, Adam Ford wrote: > With the pending requirement for CONFIG_BLK, this patch removes > the USB_STORAGE option which assumes that DM_USB is enabled, but isn't > yet available for the omap2340 musb glue among other issues. Once > the USB issues are resolved,

Re: [U-Boot] [U-Boot, v2, 5/7] test/py: tpm2: switch from 'tpm' to 'tpm2' command

2018-07-30 Thread Tom Rini
On Thu, Jul 19, 2018 at 10:35:10PM +0200, Miquel Raynal wrote: > While using the 'tpm' command should work on most cases, this test suite > only works with TPMv2 and since the work to make both versions build at > the same time, we might end up having both 'tpm' (TPMv1) and 'tpm2' > (TPMv2) comman

Re: [U-Boot] Revert "fdt_support: Use CONFIG_NR_DRAM_BANKS if defined"

2018-07-30 Thread Tom Rini
On Sun, Jul 22, 2018 at 08:12:14AM +0300, Ramon Fried wrote: > This reverts commit 5e5745465c94605720295fab942eacbdd215db90. > > The reverted commit didn't support the scenario where there are less > DRAM banks in U-Boot than in Linux. > Also, it didn't introduce any new functionality, only limit

Re: [U-Boot] [U-Boot, v2, 4/7] tpm: allow TPM v1 and v2 to be compiled at the same time

2018-07-30 Thread Tom Rini
On Thu, Jul 19, 2018 at 10:35:09PM +0200, Miquel Raynal wrote: > While there is probably no reason to do so in a real life situation, it > will allow to compile test both stacks with the same sandbox defconfig. > > As we cannot define two 'tpm' commands at the same time, the command for > TPM v1

Re: [U-Boot] [PATCH 2/2] FIT image: use compression = "none" for ramdisks

2018-07-30 Thread Wolfgang Denk
Dear Simon, In message <97a1d1e5-4415-4db4-9c77-72023f37b...@de.pepperl-fuchs.com> you wrote: > > It *is* a valid use case. But for current kernels (if compression is > enabled), it might be faster to let the kernel unzip the content > directly to the memory location where it should reside in

Re: [U-Boot] [U-Boot,v2,3/7] tpm: remove stale symbol in Kconfig

2018-07-30 Thread Tom Rini
On Thu, Jul 19, 2018 at 10:35:08PM +0200, Miquel Raynal wrote: > The TPM_DRIVER_SELECTED symbol was used in one of the initial series > about TPMv2 but its use has been dropped, making these selects > useless, remove them. > > Signed-off-by: Miquel Raynal > Reviewed-by: Simon Glass Applied to

Re: [U-Boot] [U-Boot, v2, 2/7] tpm: compile Sandbox driver by default

2018-07-30 Thread Tom Rini
On Thu, Jul 19, 2018 at 10:35:07PM +0200, Miquel Raynal wrote: > When Sandbox and the TPM stack are both selected, compile Sandbox TPM > driver by default. > > Signed-off-by: Miquel Raynal > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP si

Re: [U-Boot] [PATCH 3/4] gpio: xilinx: Not read output values via regs

2018-07-30 Thread Stefan Herbrechtsmeier
Am 30.07.2018 um 16:10 schrieb Michal Simek: On 30.7.2018 15:32, Stefan Herbrechtsmeier wrote: Am 30.07.2018 um 14:40 schrieb Michal Simek: On 27.7.2018 10:41, Stefan Herbrechtsmeier wrote: Am 27.07.2018 um 09:05 schrieb Michal Simek: On 26.7.2018 21:46, Stefan Herbrechtsmeier wrote: Am 26.0

Re: [U-Boot] [PATCH] net: pch_gbe: Make probe/remove static

2018-07-30 Thread Joe Hershberger
On Sun, Jul 29, 2018 at 2:11 AM, Bin Meng wrote: > These two routines are internal to pch_gbe driver. > > Signed-off-by: Bin Meng Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] spl: fit: Enable GZIP compression also for no kernel partitions

2018-07-30 Thread York Sun
On 07/30/2018 05:46 AM, Michal Simek wrote: >>> I am expecting when you put "none" there than you will boot in falcon >>> mode without any issue. >> >> That will work. I can put "none" for the images I don't want U-Boot to >> uncompress. > > ok. Can you please retest this patch with none and gi

[U-Boot] [PATCH] armv8: fsl-layerscape: Update README.falcon for compression

2018-07-30 Thread York Sun
Update README.falcon to use "none" for compression property for ramdisk image to avoid being uncompressed upon loading. Signed-off-by: York Sun --- This change is needed after merging patch http://patchwork.ozlabs.org/patch/948462/ and http://patchwork.ozlabs.org/patch/950822/ arch/arm/cpu/armv

[U-Boot] [PATCH] travis: give every job a name

2018-07-30 Thread Stephen Warren
From: Stephen Warren Travis CI now supports giving jobs an explicit name. Do this for all jobs. This allows more direct control over jobs names than the previous automatic or implicit naming based on the environment variables or script text. Signed-off-by: Stephen Warren --- .travis.yml | 231

[U-Boot] [PATCH v3 1/2] env: Don't show "Failed" error message

2018-07-30 Thread Sam Protsenko
"Failed" error message from env_load() only clutters the log with unnecessary details, as we already have all needed warnings by that time. Example: Loading Environment from FAT... MMC: no card present ** Bad device mmc 0 ** Failed (-5) Let's only print it in case when DEBUG is define

[U-Boot] [PATCH v3 2/2] disk: part: Don't show redundant error message

2018-07-30 Thread Sam Protsenko
Underlying API should already print some meaningful error message, so this one is just brings more noise. E.g. we can see log like this: MMC: no card present ** Bad device mmc 0 ** Obviously, second error message is unwanted. Let's only print it in case when DEBUG is defined to keep log s

[U-Boot] [PATCH v3 0/2] env: Make environment loading log more clear

2018-07-30 Thread Sam Protsenko
This patch series intended to make boot log better. Basically here we just remove unwanted error messages, relying on the message from most deep API to be printed (like mmc subsystem). At the moment this looks like most clean solution to cluttered log problem, as any other solution will be hackish.

Re: [U-Boot] [PULL] efi patch queue 2018-07-25

2018-07-30 Thread Tom Rini
On Mon, Jul 30, 2018 at 06:14:16PM +0200, Alexander Graf wrote: > On 07/30/2018 06:05 PM, Simon Glass wrote: > >Hi, > > > >On 28 July 2018 at 09:55, Tom Rini wrote: > >>On Wed, Jul 25, 2018 at 03:04:27PM +0200, Alexander Graf wrote: > >> > >>>Hi Tom, > >>> > >>>This is my current patch queue for e

Re: [U-Boot] [PULL] efi patch queue 2018-07-25

2018-07-30 Thread Alexander Graf
On 07/30/2018 06:05 PM, Simon Glass wrote: Hi, On 28 July 2018 at 09:55, Tom Rini wrote: On Wed, Jul 25, 2018 at 03:04:27PM +0200, Alexander Graf wrote: Hi Tom, This is my current patch queue for efi. Please pull. Alex The following changes since commit 323a73adc9a1bf2de43fe03bdd9c3038c

Re: [U-Boot] [PULL] efi patch queue 2018-07-25

2018-07-30 Thread Tom Rini
On Sun, Jul 29, 2018 at 09:42:14AM +0200, Heinrich Schuchardt wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On 07/29/2018 03:33 AM, Tom Rini wrote: > > On Sat, Jul 28, 2018 at 11:32:56PM +0200, Heinrich Schuchardt > > wrote: > >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 > >

Re: [U-Boot] [PATCH v4 00/27] SPI-NAND support

2018-07-30 Thread Tom Rini
On Mon, Jul 30, 2018 at 05:23:18PM +0200, Miquel Raynal wrote: > Hi Stefan, Tom, > > Stefan Roese wrote on Mon, 30 Jul 2018 17:11:49 +0200: > > > Hi Miquel, > > Hi Jagan, > > > > On 26.07.2018 09:29, Miquel Raynal wrote: > > > Hi Jagan, > > > > Jagan Teki wrote on Thu, 26 Jul 2018 > > > 11

Re: [U-Boot] [PATCH v2 0/2] env: Make environment loading log more clear

2018-07-30 Thread Sam Protsenko
Hi Wolfgang, On Thu, Jul 26, 2018 at 4:28 PM, Wolfgang Denk wrote: > Dear Sam, > > In message > you > wrote: >> >> Does this series look ok to you? Can you please review? > > Sorry for the delay. > > Hm... I wonder if we should handle patch 1/2 in the same way as done > in 2/2, i. e. not remov

Re: [U-Boot] [PULL] efi patch queue 2018-07-25

2018-07-30 Thread Simon Glass
Hi, On 28 July 2018 at 09:55, Tom Rini wrote: > On Wed, Jul 25, 2018 at 03:04:27PM +0200, Alexander Graf wrote: > >> Hi Tom, >> >> This is my current patch queue for efi. Please pull. >> >> Alex >> >> >> The following changes since commit 323a73adc9a1bf2de43fe03bdd9c3038ce7c2784: >> >> mtd: na

Re: [U-Boot] [PATCH v4 6/6] common: Generic loader for file system

2018-07-30 Thread Simon Glass
Hi Michal, On 30 July 2018 at 07:30, Michal Simek wrote: > On 30.7.2018 15:26, Simon Glass wrote: >> Hi, >> >> On 27 July 2018 at 02:40, Chee, Tien Fong wrote: >>> >>> On Thu, 2018-07-26 at 11:03 +0200, Michal Simek wrote: On 25.7.2018 18:03, Tom Rini wrote: > > On Wed, Jul 25, 2018

Re: [U-Boot] [PATCH] ARM: socfpga: Convert to DM serial

2018-07-30 Thread Goldschmidt Simon
On 30.07.2018 16:04, Marek Vasut wrote: On 07/30/2018 04:03 PM, Simon Goldschmidt wrote: On 12.05.2018 22:28, Marek Vasut wrote: Pull the serial port configuration from DT and use DM serial instead of having the serial configuration in two places, DT and board config. Signed-off-by: Marek Va

[U-Boot] [PATCH v5 22/27] cmd: mtdparts: accept spi-nand devices

2018-07-30 Thread Miquel Raynal
Let spi-nand devices be recognized by mtdparts. This is superfluous but a full mtdparts rework would be very time-consuming. Signed-off-by: Miquel Raynal Acked-by: Jagan Teki --- cmd/mtdparts.c | 13 - include/jffs2/load_kernel.h | 7 +-- 2 files changed, 13 insert

[U-Boot] [PATCH v5 21/27] cmd: ubi: delete useless and misleading definitions

2018-07-30 Thread Miquel Raynal
These definitions are simply not used and are misleading because similar definitions exist in jffs2/load_kernel.h and are used widely to define MTD device types (which is, by the way, totally redundant with what the MTD core does). Remove these definitions. Signed-off-by: Miquel Raynal --- cmd/u

[U-Boot] [PATCH v5 25/27] mtd: uclass: add probe function

2018-07-30 Thread Miquel Raynal
The user might want to trigger the probe of any MTD device, export these functions so they can be called from a command source file. Signed-off-by: Miquel Raynal Acked-by: Jagan Teki --- drivers/mtd/mtd-uclass.c | 9 + include/linux/mtd/mtd.h | 3 +++ 2 files changed, 12 insertions(+)

[U-Boot] [PATCH v5 18/27] mtd: spinand: Add initial support for the MX35LF2GE4AB chip

2018-07-30 Thread Miquel Raynal
Add support for the MX35LF2GE4AB chip, which is similar to its cousin MX35LF1GE4AB, with two planes instead of one. Signed-off-by: Miquel Raynal Acked-by: Jagan Teki --- drivers/mtd/nand/spi/macronix.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/dri

[U-Boot] [PATCH v5 27/27] cmd: mtdparts: try to probe the MTD devices as a fallback

2018-07-30 Thread Miquel Raynal
Current implementation of mtdparts command errors out if the desired MTD device is not found. Fallback to the new probe function in this case before erroring out. This will the save the user the need to call something like 'mtd list' before mtdparts. Signed-off-by: Miquel Raynal Acked-by: Jagan

Re: [U-Boot] [PATCH v2 0/2] env: Make environment loading log more clear

2018-07-30 Thread Sam Protsenko
Hi Yaniv, On Wed, Jul 25, 2018 at 2:05 PM, Yaniv Levinsky wrote: > On 07/20/2018 06:18 PM, Sam Protsenko wrote: >> This patch series intended to make boot log better. Basically here we >> just remove unwanted error messages, relying on the message from most >> deep API to be printed (like mmc sub

[U-Boot] [PATCH v5 23/27] cmd: mtdparts: add a generic 'mtdparts' parser

2018-07-30 Thread Miquel Raynal
The current parser is very specific to U-Boot mtdparts implementation. It does not use MTD structures like mtd_info and mtd_partition. Write some kind of a wrapper around the current implementation to allow other commands to benefit from this parsing in a user-friendly way. This new command will a

[U-Boot] [PATCH v5 24/27] cmd: mtdparts: remove useless 'mtdparts=' prefix

2018-07-30 Thread Miquel Raynal
All U-Boot users must define the mtdparts environment variable with: setenv mtdparts mtdparts=... This is a pure software limitation and is a complete non-sense. Remove this limitation but keep the backward compatibility. Signed-off-by: Miquel Raynal Acked-by: Jagan Teki --- cmd/mtdparts.c | 1

[U-Boot] [PATCH v5 26/27] cmd: mtd: add 'mtd' command

2018-07-30 Thread Miquel Raynal
There should not be a 'nand' command, a 'sf' command and certainly not another 'spi-nand'. Write a 'mtd' command instead to manage all MTD devices at once. This should be the preferred way to access any MTD device. Signed-off-by: Miquel Raynal Acked-by: Jagan Teki --- cmd/Kconfig |

[U-Boot] [PATCH v5 13/27] spi: Extend the core to ease integration of SPI memory controllers

2018-07-30 Thread Miquel Raynal
From: Boris Brezillon Some controllers are exposing high-level interfaces to access various kind of SPI memories. Unfortunately they do not fit in the current spi_controller model and usually have drivers placed in drivers/mtd/spi-nor which are only supporting SPI NORs and not SPI memories in gen

[U-Boot] [PATCH v5 12/27] mtd: nand: Pass mode information to nand_page_io_req

2018-07-30 Thread Miquel Raynal
From: Boris Brezillon The NAND sub-layers are likely to need the MTD_OPS_XXX mode information in order to decide if they should enable/disable ECC or how they should place the OOB bytes in the provided OOB buffer. Add a field to nand_page_io_req to pass this information. Signed-off-by: Boris Br

  1   2   3   >