Re: [U-Boot] [PATCH] include/version.h: workaround sysroot inc order

2018-07-26 Thread Matthew Weber
Ed (really CCd this time), On Thu, Jul 26, 2018 at 10:52 PM, Matthew Weber wrote: > Ed, > > On Thu, Jul 26, 2018 at 10:37 PM, Matt Weber > wrote: >> On some systems the host system or even the cross sysroot can >> contain a version.h. This leads to the wrong file being picked >> up and a

Re: [U-Boot] [PATCH] include/version.h: workaround sysroot inc order

2018-07-26 Thread Matthew Weber
Ed, On Thu, Jul 26, 2018 at 10:37 PM, Matt Weber wrote: > On some systems the host system or even the cross sysroot can > contain a version.h. This leads to the wrong file being picked > up and a PLAIN_VERSION undefined error. > > This workaround symlinks the version.h into the tool folder to >

Re: [U-Boot] [PATCH 1/3] dm: pci: Assign correct driver data when binding a driver

2018-07-26 Thread Bin Meng
Hi Simon, On Fri, Jul 27, 2018 at 8:35 AM, Simon Glass wrote: > On 25 July 2018 at 03:39, Bin Meng wrote: >> The correct driver data comes from the matching 'id' instead of >> 'find_id' in pci_find_and_bind_driver(). >> >> Signed-off-by: Bin Meng >> --- >> >> drivers/pci/pci-uclass.c | 2 +-

[U-Boot] [PATCH] include/version.h: workaround sysroot inc order

2018-07-26 Thread Matt Weber
On some systems the host system or even the cross sysroot can contain a version.h. This leads to the wrong file being picked up and a PLAIN_VERSION undefined error. This workaround symlinks the version.h into the tool folder to allow reordering of search folders. Fixes

Re: [U-Boot] [PATCH v1 8/9] ARM: Odroid XU3: Modify exynos dw_mmc driver to support Odroid XU3 in DM MMC

2018-07-26 Thread Anand Moon
Hi Lukasz, On 26 July 2018 at 03:55, Lukasz Majewski wrote: > This commit enables support for Exynos Designware MMC driver based on DM. > > Signed-off-by: Lukasz Majewski > --- > > drivers/mmc/exynos_dw_mmc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mmc/exynos_dw_mmc.c

Re: [U-Boot] [PATCH v1 7/9] ARM: Odroid XU3: Fix the dwmci_exynos *priv data assignment for DM_MMC (sdr_timing)

2018-07-26 Thread Anand Moon
Hi Lukasz, On 26 July 2018 at 03:55, Lukasz Majewski wrote: > By convention for DM_MMC the host->priv is used to store struct udevice > *dev pointer. > > Unfortunately, the legacy Exynos DW MMC code uses this field to > store pointer to dwmci_exynos_priv_data struct > Hence, we do need to get

Re: [U-Boot] [PATCH v1 5/9] ARM: Odroid XU3: Adjust BOOT_TARGET_DEVICES to allow booting from SD card (mmc2)

2018-07-26 Thread Anand Moon
Hi Lukasz, On 26 July 2018 at 03:55, Lukasz Majewski wrote: > This change is necessary to allow booting the Odroid XU3 from SD card > after enabling the DM_MMC support. > > After this change the SD card mmc IP block is correctly enumerated as mmc2 > (and not as mmc1 as in the legacy code). > >

Re: [U-Boot] [PATCH v1 4/9] ARM: Odroid XU3: Fix autoboot.cmd to use ${mmcbootdev} instead of hardcoded 0

2018-07-26 Thread Anand Moon
Hi Lukasz On 26 July 2018 at 03:55, Lukasz Majewski wrote: > This commit adjusts the autoboot.cmd file to use ${mmcbootdev} instead of > hardcoded value 0. > > This is necessary to allow booting this board from the SD card. > > Signed-off-by: Lukasz Majewski > --- > >

Re: [U-Boot] [PATCH v1 3/9] ARM: Odroid XU3: Enable driver model support for MMC (DM_MMC)

2018-07-26 Thread Anand Moon
Hi Lukasz On 26 July 2018 at 03:55, Lukasz Majewski wrote: > This commit enables support for DW_MMC running with driver model. > > Signed-off-by: Lukasz Majewski > --- > > configs/odroid-xu3_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs/odroid-xu3_defconfig

Re: [U-Boot] [PATCH v1 2/9] ARM: Odroid XU3: config: Disable SDHCI support in the Odroid XU3

2018-07-26 Thread Anand Moon
Hi Lukasz On 26 July 2018 at 03:55, Lukasz Majewski wrote: > The Exynos5422 is solely using DW MMC IP block to support eMMC/SD devices, > hence the SDHCI code doesn't need to be compiled it. > > Signed-off-by: Lukasz Majewski > --- > > configs/odroid-xu3_defconfig | 2 -- > 1 file changed, 2

Re: [U-Boot] [PATCH v1 1/9] ARM: dw_mmc: Exclude dwmci Exynos priv_data allocation from exynos_dwmci_get_config()

2018-07-26 Thread Anand Moon
Hi Lukasz On 26 July 2018 at 03:55, Lukasz Majewski wrote: > This commit prevents memory leak when this function is used with DM_MMC > as the struct dwmci_exynos_priv_data is already allocated by DM. > > It is necessary for NON DM aware devices to allocate this struct first. > > Signed-off-by:

Re: [U-Boot] [PATCH v1 9/9] ARM: Odroid XU3: Modify Odroid XU3 config to boot by default from SD card

2018-07-26 Thread Anand Moon
Hi Lukasz, On 26 July 2018 at 21:23, Lukasz Majewski wrote: > Hi Anand, > >> Hi Lukasz, >> >> On 26 July 2018 at 03:55, Lukasz Majewski wrote: >> > This commit allows by default booting Odroid XU3 from the SD card >> > (when e.g. eMMC module is not present). >> > >> > Signed-off-by: Lukasz

[U-Boot] [PATCH] arm: bcm7445: Move config defines to bcm7445.h

2018-07-26 Thread Thomas Fitzsimmons
Move some configuration #defines that do not apply to other bcmstb boards from bcmstb.h to bcm7445.h. Signed-off-by: Thomas Fitzsimmons --- include/configs/bcm7445.h | 18 -- include/configs/bcmstb.h | 13 - 2 files changed, 16 insertions(+), 15 deletions(-) diff

[U-Boot] [PATCH] arm: bcm7445: Fix parallel make race condition

2018-07-26 Thread Thomas Fitzsimmons
Move the contents of prior_stage.h into bcmstb.h to prevent a build failure when bcmstb.h is #include'ed before the asm/arch symbolic link is present. Signed-off-by: Thomas Fitzsimmons --- arch/arm/mach-bcmstb/include/mach/prior_stage.h | 30 - include/configs/bcmstb.h

[U-Boot] [PATCH v2] armv8: layerscape: Enable EHCI access for LS1012A

2018-07-26 Thread Ran Wang
Program Central Security Unit (CSU) to grant access permission for USB 2.0 controller, otherwiase EHCI funciton will down. Signed-off-by: Ran Wang --- Change in v2: - Add EL checking code to make sure related programming only happen in EL3 arch/arm/cpu/armv8/fsl-layerscape/soc.c

Re: [U-Boot] [PATCH 1/4] configs: opos6uldev: undef CONFIG_POWER_DOMAIN when SPL_BUILD

2018-07-26 Thread Peng Fan
Hi Simon, > >> > Need to find a way to avoid SPL build failure in future patch, but > >> > in this patchset let's undef CONFIG_POWER_DOMAIN first, because it > >> > is not needed. > >> > > >> > include/configs/opos6uldev.h | 1 + > >> > 1 file changed, 1 insertion(+) > >> > >> This should be

[U-Boot] [PATCH V2 3/4] dm: core: device: enable power domain in probe

2018-07-26 Thread Peng Fan
Enable power domain associated with the device when probe. Signed-off-by: Peng Fan Reviewed-by: Simon Glass --- V2: Add review tag drivers/core/device.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/core/device.c b/drivers/core/device.c index d5f5fc31b0..207d566b71

[U-Boot] [PATCH V2 4/4] dm: power-domain: query power domain after get device

2018-07-26 Thread Peng Fan
This is to test power_domain_on in device_probe. If the device has a power-domain property, enable it when probe the device. So add the test to check whether it is powered on or not. Signed-off-by: Peng Fan Reviewed-by: Simon Glass --- V2: Add review tag test/dm/power-domain.c | 2 ++ 1 file

[U-Boot] [PATCH V2 2/4] power: Add CONFIG_SPL_POWER_DOMAIN config

2018-07-26 Thread Peng Fan
Add CONFIG_SPL_POWER_DOMAIN config entry. Build drivers/power/domain if this config is selected. Signed-off-by: Peng Fan Cc: Simon Glass --- V2: New common/spl/Kconfig| 9 + drivers/Makefile | 1 + drivers/power/domain/Makefile | 2 +- 3 files changed, 11

[U-Boot] [PATCH V2 1/4] power-domain: add dummy functions when CONFIG_POWER_DOMAIN not defined

2018-07-26 Thread Peng Fan
Add dummy functions when CONFIG_POWER_DOMAIN not defined. Signed-off-by: Peng Fan --- V2: Use CONFIG_IS_ENABLED include/power-domain.h | 28 1 file changed, 28 insertions(+) diff --git a/include/power-domain.h b/include/power-domain.h index aba8c0f65c..2029b17c6f

Re: [U-Boot] [PATCH V2] drivers: regulator: fixed: add u-boot, off-on-delay-us

2018-07-26 Thread Peng Fan
> -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: 2018年7月27日 1:06 > To: Peng Fan > Cc: s...@chromium.org; yamada.masah...@socionext.com; > u-boot@lists.denx.de > Subject: Re: [PATCH V2] drivers: regulator: fixed: add u-boot,off-on-delay-us > > On Thu, Jul 26,

Re: [U-Boot] [PATCH] fdt: fix fdtdec_setup_memory_banksize()

2018-07-26 Thread Simon Glass
On 19 July 2018 at 20:17, Simon Glass wrote: > Hi Jens, > > On 19 July 2018 at 09:49, Jens Wiklander wrote: >> On Thu, Jul 19, 2018 at 3:32 AM, Simon Glass wrote: >>> Hi Jens, >>> >>> On 17 July 2018 at 09:42, Jens Wiklander wrote: On Sun, Jul 15, 2018 at 11:20:39PM -0600, Simon Glass

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

2018-07-26 Thread Simon Glass
Hi Tom, Just a few small things. The following changes since commit 0dd1fc09bb16869fd8adaaad082cd554c60b2c1a: board/imgtec/boston: Add new defconfigs to the MAINTAINERS list (2018-07-20 15:55:10 -0400) are available in the Git repository at: git://git.denx.de/u-boot-dm.git for you to

Re: [U-Boot] [PATCH 3/3] dm: pci: Add APIs to find capability and extended capability

2018-07-26 Thread Simon Glass
Hi Bin, On 25 July 2018 at 03:39, Bin Meng wrote: > This introduces two new APIs dm_pci_find_capability() and > dm_pci_find_ext_capability() to get PCI capability address and > PCI express extended capability address for a given PCI device. > > Signed-off-by: Bin Meng > --- > >

Re: [U-Boot] [PATCH] doc: driver-model: Fix typo

2018-07-26 Thread Simon Glass
On 6 July 2018 at 16:03, Simon Glass wrote: > On 6 July 2018 at 04:29, Chris Packham wrote: >> >> Signed-off-by: Chris Packham >> --- >> >> doc/driver-model/README.txt | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > Reviewed-by: Simon Glass Applied to u-boot-dm, thanks!

Re: [U-Boot] [PATCH 1/2] git-mailrc: Replace tabs with spaces in alias entries

2018-07-26 Thread Simon Glass
On 29 June 2018 at 22:19, Simon Glass wrote: > On 27 June 2018 at 06:38, Adam Sampson wrote: >> patman's _ReadAliasFile only splits on spaces, not tabs, so the entries >> for dinh and maxime weren't being recognised as valid. I'll fix patman >> in a separate patch, but this makes all the entries

Re: [U-Boot] [PATCH 1/4] configs: opos6uldev: undef CONFIG_POWER_DOMAIN when SPL_BUILD

2018-07-26 Thread Simon Glass
Hi Peng, On 24 July 2018 at 20:57, Peng Fan wrote: > Hi Simon, > >> -Original Message- >> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass >> Sent: 2018年7月25日 10:46 >> To: Peng Fan >> Cc: U-Boot Mailing List ; dl-linux-imx >> ; Sébastien Szymanski >> ; Stefano

Re: [U-Boot] [PATCH 2/2] patman: Split alias entries on arbitrary whitespace

2018-07-26 Thread Simon Glass
On 29 June 2018 at 22:19, Simon Glass wrote: > On 27 June 2018 at 06:38, Adam Sampson wrote: >> Previously the first three words in a git-mailrc alias entry could only >> be separated by spaces. git-send-email and Mutt both allow arbitrary >> whitespace here. >> >> Signed-off-by: Adam Sampson

Re: [U-Boot] [PATCH] fdt_support: make FDT_FIXUP_PARTITIONS depend on CMD_MTDPARTS

2018-07-26 Thread Simon Glass
On 26 July 2018 at 14:17, Simon Glass wrote: > On 19 July 2018 at 20:04, Masahiro Yamada > wrote: >> fdt_fixup_mtdparts() calls mtdparts_init() and device_find(), >> which are defined in cmd/mtdparts.c >> >> The combination of FDT_FIXUP_PARTITIONS=y and CMD_MTDPARTS=n >> emits the following

Re: [U-Boot] [PATCH 1/3] dm: pci: Assign correct driver data when binding a driver

2018-07-26 Thread Simon Glass
On 25 July 2018 at 03:39, Bin Meng wrote: > The correct driver data comes from the matching 'id' instead of > 'find_id' in pci_find_and_bind_driver(). > > Signed-off-by: Bin Meng > --- > > drivers/pci/pci-uclass.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH 2/3] pci: Add all known capability and extended capability ids

2018-07-26 Thread Simon Glass
On 25 July 2018 at 03:39, Bin Meng wrote: > Currently we don't have a complete list of capability and extended > capability ids. This adds them. > > Signed-off-by: Bin Meng > --- > > include/pci.h | 20 +++- > 1 file changed, 19 insertions(+), 1 deletion(-) Reviewed-by: Simon

Re: [U-Boot] [PATCH] clk: clk_set_default: accept no-op skip fields

2018-07-26 Thread Simon Glass
On 26 July 2018 at 07:19, Neil Armstrong wrote: > > The Assigned Clock parents and rates misses the fact that a "0" entry can > be passed to skip setting a parent or rate of an assigned clock as > described in the Linux clock bindings at [1]. > > This patch simply skips the clock reparenting if

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

2018-07-26 Thread Tom Rini
On Thu, Jul 26, 2018 at 10:16:01PM +0200, Goldschmidt Simon wrote: > + Tom: > > I don't know via which tree this would go in. I think you took the last env > changes directly? > > v1..v4 are detached threads, I can send you links if you need them. It's on my TODO list to pick up, thanks! --

Re: [U-Boot] [U-Boot, 1/2] env: Include bootdelay in environment if negative

2018-07-26 Thread Tom Rini
On Thu, Jul 26, 2018 at 09:31:08AM +0100, Alex Kiernan wrote: > On Fri, Jul 20, 2018 at 11:34 PM Tom Rini wrote: > > > > On Thu, Jul 05, 2018 at 12:38:15PM +, Alex Kiernan wrote: > > > > > The test for (CONFIG_BOOTDELAY >= 0) has been in U-Boot since the > > > beginning, but the meaning of it

Re: [U-Boot] [U-Boot,2/3] ARM: add RK3399 Ficus board

2018-07-26 Thread Ezequiel Garcia
On 25 July 2018 at 18:20, Dr. Philipp Tomsich wrote: > Ezequiel, > >> On 25 Jul 2018, at 22:31, Ezequiel Garcia wrote: >> >> On Sat, 2018-07-21 at 16:23 +0200, Dr. Philipp Tomsich wrote: >>> Ezequiel, >>> >>> This series breaks the build (see >>>

Re: [U-Boot] [PATCH v2 00/11] Add ethernet support for phyCORE-RK3288

2018-07-26 Thread Grygorii Strashko
On 07/23/2018 04:29 AM, Janine Hagemann wrote: Unfortunately the v1-patches were only send to the maintainers and not to the official mailinglist. Could you separate "net: phy: ti: " patches in standalone series pls? [...] -- regards, -grygorii

Re: [U-Boot] [PATCH v2 08/11] drivers: net: designware: Add reading of DT phy-handle node

2018-07-26 Thread Grygorii Strashko
On 07/18/2018 03:46 AM, Janine Hagemann wrote: > Add the ability to read the phy-handle node of the > gmac. Upon reading this handle the phy-id > can be stored based on the reg node in the DT. > > The phy-handle also needs to be stored and passed > to the phy to access any phy data that is

Re: [U-Boot] [PATCH 2/9] rockchip: support 4GB DRAM on 32bit systems

2018-07-26 Thread Dr. Philipp Tomsich
> On 26 Jul 2018, at 22:05, Carlo Caione wrote: > > On Thu, 2018-07-26 at 15:59 +0200, Philipp Tomsich wrote: >> The calculation in `rockchip_sdram_size` would overflow for 4GB on >> 32bit systems (i.e. when PHYS_64BIT is not defined). >> >> This makes the internal variables and the signature

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

2018-07-26 Thread Marek Vasut
On 07/26/2018 11:08 PM, Lukasz Majewski wrote: > On Thu, 26 Jul 2018 21:25:02 +0200 > Marek Vasut wrote: > >> On 07/26/2018 05:14 PM, Tom Rini wrote: >>> On Thu, Jul 26, 2018 at 09:35:54AM +0200, Marek Vasut wrote: >>> The following changes since commit

[U-Boot] Pull request, u-boot-tegra/master

2018-07-26 Thread Tom Warren
Tom, Please pull u-boot-tegra/master into U-Boot/master. Thanks! All Tegra builds are OK, and Stephen's automated test system reports that all tests pass. The following changes since commit 2547e91dc15e5203e15d4ebde9172174743b14a7: tegra: Indicate that binman makes all three output files

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

2018-07-26 Thread Lukasz Majewski
On Thu, 26 Jul 2018 21:25:02 +0200 Marek Vasut wrote: > On 07/26/2018 05:14 PM, Tom Rini wrote: > > On Thu, Jul 26, 2018 at 09:35:54AM +0200, Marek Vasut wrote: > > > >> The following changes since commit > >> 323a73adc9a1bf2de43fe03bdd9c3038ce7c2784: > >> > >> mtd: nand: add new enum for

[U-Boot] [PATCH] patman: Correct unit test failure

2018-07-26 Thread Simon Glass
A recent rename of the function did not rename the test file. Fix this. Fixes: 12308b128fa (lib: fdtdec: Rename routine fdtdec_setup_memory_size()) Signed-off-by: Simon Glass --- ...02-fdt-Correct-cast-for-sandbox-in-fdtdec_setup_mem_siz.patch} | 0 1 file changed, 0 insertions(+), 0

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

2018-07-26 Thread Simon Glass
On 21 July 2018 at 23:12, 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 limitaion. > User

Re: [U-Boot] [PATCH] fdt_support: make FDT_FIXUP_PARTITIONS depend on CMD_MTDPARTS

2018-07-26 Thread Simon Glass
On 19 July 2018 at 20:04, Masahiro Yamada wrote: > fdt_fixup_mtdparts() calls mtdparts_init() and device_find(), > which are defined in cmd/mtdparts.c > > The combination of FDT_FIXUP_PARTITIONS=y and CMD_MTDPARTS=n > emits the following link error: > > common/fdt_support.c:903: undefined

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

2018-07-26 Thread Goldschmidt Simon
+ Tom: I don't know via which tree this would go in. I think you took the last env changes directly? v1..v4 are detached threads, I can send you links if you need them. Thanks, Simon On 26.07.2018 16:02, Maxime Ripard wrote: On Thu, Jul 26, 2018 at 07:16:36AM +0200, Simon Goldschmidt

Re: [U-Boot] [PATCH 2/9] rockchip: support 4GB DRAM on 32bit systems

2018-07-26 Thread Dr. Philipp Tomsich
> On 26 Jul 2018, at 22:05, Carlo Caione wrote: > > On Thu, 2018-07-26 at 15:59 +0200, Philipp Tomsich wrote: >> The calculation in `rockchip_sdram_size` would overflow for 4GB on >> 32bit systems (i.e. when PHYS_64BIT is not defined). >> >> This makes the internal variables and the signature

Re: [U-Boot] [PATCH 2/9] rockchip: support 4GB DRAM on 32bit systems

2018-07-26 Thread Dr. Philipp Tomsich
> On 26 Jul 2018, at 22:05, Carlo Caione wrote: > > On Thu, 2018-07-26 at 15:59 +0200, Philipp Tomsich wrote: >> The calculation in `rockchip_sdram_size` would overflow for 4GB on >> 32bit systems (i.e. when PHYS_64BIT is not defined). >> >> This makes the internal variables and the signature

Re: [U-Boot] [PATCH 00/29] binman: Expand feature set and documentation

2018-07-26 Thread Simon Glass
Hi, On 17 July 2018 at 13:25, Simon Glass wrote: > This series adds various new features to binman to round out its > capabilities. It also adds documentation of each entry type since there are > quite a few now. > > Noteably this series changes the 'pos' property to be called 'offset'. The >

[U-Boot] [PATCH] libfdt: Update to latest pylibfdt implementation

2018-07-26 Thread Simon Glass
The enhanced pylibfdt support in U-Boot needed for binman was a placeholder while upstreaming of this work continued. This is now complete, so bring in the changes and update the tools as needed. There are quite a few changes since we decided to split the implementation into three fdt classes

Re: [U-Boot] [RFC PATCH] gpio: zynq: Setup bank_name to dev->name

2018-07-26 Thread Stefan Herbrechtsmeier
Am 26.07.2018 um 10:22 schrieb Michal Simek: On 25.7.2018 21:17, Stefan Herbrechtsmeier wrote: Am 25.07.2018 um 08:07 schrieb Michal Simek: On 24.7.2018 21:39, Stefan Herbrechtsmeier wrote: Am 24.07.2018 um 10:37 schrieb Michal Simek: On 23.7.2018 20:29, Stefan Herbrechtsmeier wrote: Am

Re: [U-Boot] configs: am3517-evm: Setup NAND booting

2018-07-26 Thread Tom Rini
On Sat, Jul 21, 2018 at 06:12:12PM -0500, Adam Ford wrote: > The NAND offsets for the kernel and U-Boot were missing. > This patch sets up the offsets so the AM3517-EVM can boot from NAND > when DIP switches S7:1 and S7:4 are to the OFF position > > Signed-off-by: Adam Ford > > diff --git

Re: [U-Boot] tegra: Indicate that binman makes all three output files

2018-07-26 Thread Tom Rini
On Fri, Jul 20, 2018 at 07:49:27PM -0600, Simon Glass wrote: > Use GNU make pattern rules to indicate that a single run of binman > produces all three Tegra output files. The avoids make running binman > three times (perhaps in parallel) and those instances inteferring with > each other. > > See

Re: [U-Boot] [PATCH] MAINTAINERS: Mark NAND as Orphaned

2018-07-26 Thread Tom Rini
On Thu, Jul 26, 2018 at 12:03:20PM -0400, Tom Rini wrote: > Scott is no longer maintaining the NAND subsystem, mark as orphaned for > now. > > Acked-by: Scott Wood > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] ARM: AM3517-EVM: Update Maintainer

2018-07-26 Thread Tom Rini
On Sat, Jul 21, 2018 at 06:18:10PM -0500, Adam Ford wrote: > The previous e-mail pointing to Vaibhav Hiremath > is bouncing and has for some time. This updates it to myself and I > work for Logic PD the manufacturer of the AM3517-SOM and EVM > > Signed-off-by: Adam Ford > > diff --git

Re: [U-Boot] mtdparts: fixed buffer overflow bug

2018-07-26 Thread Tom Rini
On Tue, Jul 17, 2018 at 08:19:39AM +0200, Kay Potthoff wrote: > In the case that there was no name defined for a partition the > code assumes that name_len is 22 and therefore allocates exactly > that space for a dummy name. But the function sprintf() first > resolves "0x%08llx@0x%08llx" to a

Re: [U-Boot] doc: Move device tree bindings documentation to doc/device-tree-bindings

2018-07-26 Thread Tom Rini
On Fri, Jul 20, 2018 at 09:48:10PM -0300, Breno Lima wrote: > From: Breno Lima > > Currently the U-Boot project contains 2 documentation directories: > > - doc/ > - Documentation/ > > The Documentation directory only contains device tree bindings related > content, so move the 3 files to

Re: [U-Boot] [PATCHv2] cmd/ubi.c: Fix format warning

2018-07-26 Thread Tom Rini
On Thu, Jul 26, 2018 at 11:43:10AM -0400, Tom Rini wrote: > On 64bit platforms we would otherwise see: > ../cmd/ubi.c: In function 'ubi_volume_read': > ../cmd/ubi.c:359:16: warning: format '%u' expects argument of type 'unsigned > int', but argument 2 has type 'size_t {aka long unsigned int}'

Re: [U-Boot] spl: remove dependency to "asm/utils.h"

2018-07-26 Thread Tom Rini
On Tue, Jul 17, 2018 at 04:15:46PM -0300, Paulo Zaneti wrote: > Header file "asm/utils.h" is not required to compile "spl_ymodem.c". > So, removing this dependency allows other architectures to use this > booting device as "asm/utils.h" is only present in "arm" architecture. > > Signed-off-by:

Re: [U-Boot] [U-Boot,v2,1/2] avb2.0: add proper dependencies

2018-07-26 Thread Tom Rini
On Tue, Jul 17, 2018 at 02:33:25PM +0300, Igor Opaniuk wrote: > 1. Since libavb library alone is highly portable, introduce dedicated > Kconfig symbol for AVB bootloader-dependent operations, so it's possible > to build libavb separately. AVB bootloader-dependent operations include: > * Helpers

Re: [U-Boot] [U-Boot, 1/1] config: remove unused CONFIG_SPL_RELOC_STACK_SIZE

2018-07-26 Thread Tom Rini
On Sat, Jul 21, 2018 at 05:08:13PM +0200, Heinrich Schuchardt wrote: > Symbol CONFIG_SPL_RELOC_STACK_SIZE is not used anywhere. So remove it. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] mailmap: Fix broken email from fit_image.c

2018-07-26 Thread Tom Rini
On Tue, Jul 24, 2018 at 12:51:37PM +0200, Michal Simek wrote: > The patch > "tools/mkimage: Fix DTC run command to handle file names with space" > (sha1: a6e9810495bc929b6beafb88f557cdaadf87fc83) contains comma in name > which is confusing patman. Fix it by defining Mirza's email in mailmap. > >

Re: [U-Boot] omap3: beagle: re-enable EFI support after the following commit removed it by mistake:

2018-07-26 Thread Tom Rini
On Wed, Jul 18, 2018 at 09:38:44PM +0200, Guillaume GARDET wrote: > commit d233ccb1d84b901f7e23e6d9b4f2c6a57198b23b > ARM: omap3: beagle: Enable DM_SERIAL, update distro usage and NAND layout > > Signed-off-by: Guillaume GARDET > Cc: Derald D. Woods > Cc: Tom Rini Applied to

Re: [U-Boot] mkimage: fit_image: Use macros from image.h

2018-07-26 Thread Tom Rini
On Fri, Jul 20, 2018 at 12:31:02PM +0200, Michal Simek wrote: > There is no reason not to use macros which are already defined. > It is also much easier for grepping. > > Signed-off-by: Michal Simek > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] board: STiH410-B2260: Set SYS_BOOTM_LEN to 16M

2018-07-26 Thread Tom Rini
On Mon, Jul 16, 2018 at 10:04:19AM +0200, Patrice Chotard wrote: > With recent kernel v4.18-rcx, uImage becomes bigger than 8MB. > Set SYS_BOOTM_LEN to 16MB, this fix the following error message: > "Fix Loading Kernel Image ... Image too large: increase > CONFIG_SYS_BOOTM_LEN" > > Signed-off-by:

Re: [U-Boot] [U-Boot,v2,2/2] avb2.0: use block API in AVB ops

2018-07-26 Thread Tom Rini
On Tue, Jul 17, 2018 at 02:33:26PM +0300, Igor Opaniuk wrote: > Use blk_dread()/blk_dwrite() in mmc_read()/mmc_write() AVB operation > implementations. This fixes compilation issues when CONFIG_BLK is > enabled. > > Signed-off-by: Igor Opaniuk > Tested-by: Eugeniu Rosca Applied to

Re: [U-Boot] [U-Boot,v3,1/3] rtc: compile date.c if DM_RTC

2018-07-26 Thread Tom Rini
On Wed, Jul 11, 2018 at 06:06:06PM +0900, AKASHI Takahiro wrote: > rtc_to_tm() and rtc_mktime() are required for some RTC drivers, at least > PL031. Without this patch, we also need to enable CONFIG_CMD_DATE even if > we don't want or need this command. > > Signed-off-by: AKASHI Takahiro >

Re: [U-Boot] hashtable: Fix length calculation in hexport_r

2018-07-26 Thread Tom Rini
On Tue, Jul 17, 2018 at 07:25:38PM +0100, Zubair Lutfullah Kakakhel wrote: > The length returned by hexport_r has a few redundant characters. > This appears as NULL characters at the end so seems harmless. > > Remove the surplus counts in two places > > totlen += strlen(ep->key) + 2; > I'm

Re: [U-Boot] mtd: remove stale comment in mtd_oob_ops structure

2018-07-26 Thread Tom Rini
On Sat, Jul 14, 2018 at 02:37:19PM +0200, Miquel Raynal wrote: > A comment in the kernel doc of the mtd_oob_ops structure tells that it > is not possible to write more than one page with OOB. This was > probably true at some time in the past but today it is entirely wrong. > > As one can see for

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

2018-07-26 Thread Tom Rini
On Thu, Jul 26, 2018 at 09:36:26AM +0200, Marek Vasut wrote: > The following changes since commit 323a73adc9a1bf2de43fe03bdd9c3038ce7c2784: > > mtd: nand: add new enum for storing ECC algorithm (2018-07-23 14:33:21 > -0400) > > are available in the Git repository at: > >

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

2018-07-26 Thread Tom Rini
On Thu, Jul 26, 2018 at 09:35:30AM +0200, Marek Vasut wrote: > The following changes since commit 323a73adc9a1bf2de43fe03bdd9c3038ce7c2784: > > mtd: nand: add new enum for storing ECC algorithm (2018-07-23 14:33:21 > -0400) > > are available in the Git repository at: > >

Re: [U-Boot] [PATCH v2 06/11] net: phy: ti: add workaround for incorrect RX_CTRL pin strap

2018-07-26 Thread Joe Hershberger
On Fri, Jul 20, 2018 at 6:00 PM, Grygorii Strashko wrote: > > > On 07/18/2018 03:46 AM, Janine Hagemann wrote: >> >> The data manual for DP83867IR/CR, SNLS484E[1], revised march 2017, >> advises that strapping RX_DV/RX_CTRL pin in mode 1 and 2 is not >> supported (see note below Table 5 (4-Level

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

2018-07-26 Thread Stefan Herbrechtsmeier
Am 26.07.2018 um 10:41 schrieb Michal Simek: On 25.7.2018 20:21, Stefan Herbrechtsmeier wrote: Am 25.07.2018 um 08:39 schrieb Michal Simek: On 24.7.2018 21:56, Stefan Herbrechtsmeier wrote: Am 24.07.2018 um 12:31 schrieb Michal Simek: On 23.7.2018 20:42, Stefan Herbrechtsmeier wrote: Am

Re: [U-Boot] [PATCH 1/2] Revert "tegra: Introduce SRAM repair on tegra124"

2018-07-26 Thread Tom Warren
Sure, let me take a look. -Original Message- From: Stephen Warren Sent: Thursday, July 26, 2018 12:40 PM To: Tom Warren Cc: u-boot@lists.denx.de; Simon Glass ; Stephen Warren Subject: Re: [U-Boot] [PATCH 1/2] Revert "tegra: Introduce SRAM repair on tegra124" On 06/22/2018 01:02 PM,

Re: [U-Boot] [PATCH] tegra: Indicate that binman makes all three output files

2018-07-26 Thread Tom Warren
I don't usually weigh in on makefile issues, but if Stephen says it's needed, let's get it in. -Original Message- From: Tom Rini Sent: Thursday, July 26, 2018 12:40 PM To: Stephen Warren Cc: Simon Glass ; U-Boot Mailing List ; Stephen Warren ; Tom Warren Subject: Re: [PATCH] tegra:

Re: [U-Boot] [PATCH 1/2] Revert "tegra: Introduce SRAM repair on tegra124"

2018-07-26 Thread Stephen Warren
On 06/22/2018 01:02 PM, Stephen Warren wrote: From: Stephen Warren This reverts commit 701b7b1d2cf657d435d2bd6caf43d0247d37220d. It will be immediately replaced by a different implementation that is more complete and runs are more targetted times. Tom, can we please apply this series, and

Re: [U-Boot] [PATCH] tegra: Indicate that binman makes all three output files

2018-07-26 Thread Tom Rini
On Thu, Jul 26, 2018 at 01:37:31PM -0600, Stephen Warren wrote: > On 07/23/2018 09:27 AM, Stephen Warren wrote: > >On 07/20/2018 07:49 PM, Simon Glass wrote: > >>Use GNU make pattern rules to indicate that a single run of binman > >>produces all three Tegra output files. The avoids make running

Re: [U-Boot] [PATCH v2 08/11] drivers: net: designware: Add reading of DT phy-handle node

2018-07-26 Thread Joe Hershberger
On Wed, Jul 18, 2018 at 3:46 AM, Janine Hagemann wrote: > Add the ability to read the phy-handle node of the > gmac. Upon reading this handle the phy-id > can be stored based on the reg node in the DT. > > The phy-handle also needs to be stored and passed > to the phy to access any phy data that

Re: [U-Boot] [PATCH] tegra: Indicate that binman makes all three output files

2018-07-26 Thread Stephen Warren
On 07/23/2018 09:27 AM, Stephen Warren wrote: On 07/20/2018 07:49 PM, Simon Glass wrote: Use GNU make pattern rules to indicate that a single run of binman produces all three Tegra output files. The avoids make running binman three times (perhaps in parallel) and those instances inteferring

Re: [U-Boot] [PATCH] tegra: Indicate that binman makes all three output files

2018-07-26 Thread Simon Glass
Hi Stephen, On 23 July 2018 at 09:27, Stephen Warren wrote: > On 07/20/2018 07:49 PM, Simon Glass wrote: >> >> Use GNU make pattern rules to indicate that a single run of binman >> produces all three Tegra output files. The avoids make running binman >> three times (perhaps in parallel) and

Re: [U-Boot] drivers: net: cpsw: fix phy dt node setting

2018-07-26 Thread Joe Hershberger
Hi Grygorii, https://patchwork.ozlabs.org/patch/940098/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] arm: Prevent redefinition error in fsl-layerscape

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/949356/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: mvgbe: convert to DM

2018-07-26 Thread Joe Hershberger
Hi Chris, https://patchwork.ozlabs.org/patch/941175/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: add ofnode node to struct phy_device

2018-07-26 Thread Joe Hershberger
Hi Grygorii, https://patchwork.ozlabs.org/patch/940103/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

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

2018-07-26 Thread Marek Vasut
On 07/26/2018 05:14 PM, Tom Rini wrote: > On Thu, Jul 26, 2018 at 09:35:54AM +0200, Marek Vasut wrote: > >> The following changes since commit 323a73adc9a1bf2de43fe03bdd9c3038ce7c2784: >> >> mtd: nand: add new enum for storing ECC algorithm (2018-07-23 14:33:21 >> -0400) >> >> are available in

Re: [U-Boot] sandbox: eth-raw: Make random MAC addresses available to eth-raw

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/938163/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: zynq_gem: convert to use livetree

2018-07-26 Thread Joe Hershberger
Hi Siva, https://patchwork.ozlabs.org/patch/944372/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: dp83867: switch to use phy_get_ofnode()

2018-07-26 Thread Joe Hershberger
Hi Grygorii, https://patchwork.ozlabs.org/patch/940101/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] initialize net_mode.if_type

2018-07-26 Thread Joe Hershberger
Hi andrew, https://patchwork.ozlabs.org/patch/932997/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: dp83867: switch to use ofnode api

2018-07-26 Thread Joe Hershberger
Hi Grygorii, https://patchwork.ozlabs.org/patch/936369/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: Clean up includes of common.h

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/949357/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] sandbox: eth-raw: Add a function to ask the host about localhost

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/938161/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: Correct comment in Kconfig

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/938158/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: Read bootfile from env on netboot_common()

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/939044/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] sandbox: eth-raw: Add a SIMPLE_BUS to enumerate host interfaces

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/938159/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: mvgbe: prepare for conversion to driver model

2018-07-26 Thread Joe Hershberger
Hi Chris, https://patchwork.ozlabs.org/patch/941174/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: dp83867: add workaround for incorrect RX_CTRL pin strap

2018-07-26 Thread Joe Hershberger
Hi Grygorii, https://patchwork.ozlabs.org/patch/936368/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] sandbox: eth-raw: Allow interface to be specified by index

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/938164/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: sandbox-raw: Convert raw eth driver to livetree

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/938155/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] phy: Break include cycle

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/949355/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: Consolidate the parsing of bootfile

2018-07-26 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/939045/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

  1   2   3   >