Re: [U-Boot] [PATCH 1/7] clk: add support for clk_is_match()

2019-06-02 Thread Lokesh Vutla
On 15/05/19 7:44 PM, Sekhar Nori wrote: > Add support for clk_is_match() which is required to > know if two clock pointers point to the same exact > physical clock. > > Signed-off-by: Sekhar Nori Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [U-Boot] [PATCH 2/7] dm: core: add support for getting register address and size

2019-06-02 Thread Lokesh Vutla
On 15/05/19 7:45 PM, Sekhar Nori wrote: > Current dev_read_*() API lacks support to get address and size > of a "reg" property by name or index. Add support for the same. > > Livetree support has been added but not tested. > > Signed-off-by: Sekhar Nori Can you add some test cases under

[U-Boot] [PATCH] configs: icore: Fix U-Boot proper loading from nand

2019-06-02 Thread Shyam Saini
SPL on Engicam i.Core M6 boards enabled DM, so it would require some malloc() pool before relocation in order to load U-Boot proper properly. So, enable SPL malloc() pool of 0x2000 size similarly like what we have used for icore mmc defconfigs. Signed-off-by: Shyam Saini ---

Re: [U-Boot] [PATCH v3 2/7] remoteproc: fix function headers

2019-06-02 Thread Lokesh Vutla
On 31/05/19 6:41 PM, Fabien Dessenne wrote: > Add full function comment headers. > Fix rproc_is_initialized() return value description. > > Signed-off-by: Fabien Dessenne Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > include/remoteproc.h | 104 >

Re: [U-Boot] [PATCH v3 3/7] remoteproc: add device_to_virt ops

2019-06-02 Thread Lokesh Vutla
On 31/05/19 6:41 PM, Fabien Dessenne wrote: > Introduce the device_to_virt function to allow translation between > device address (remote processor view) and virtual address (main > processor view). > > Signed-off-by: Loic Pallardy > Signed-off-by: Fabien Dessenne Reviewed-by: Lokesh Vutla

Re: [U-Boot] [PATCH v3 4/7] remoteproc: add elf file load support

2019-06-02 Thread Lokesh Vutla
On 31/05/19 6:41 PM, Fabien Dessenne wrote: > The current implementation supports only binary file load. > Add helpers to support ELF32 format (sanity check, and load). > Note that since an ELF32 image is built for the remote processor, the > load function uses the device_to_virt ops to

Re: [U-Boot] [PATCH v3 0/2] ARM: davinci: omapl138_lcdk: fix MMC/SD boot breakage

2019-06-02 Thread Sekhar Nori
On 01/06/19 10:46 AM, Peter Howard wrote: > On Thu, 2019-05-30 at 19:04 +0530, Sekhar Nori wrote: >> Hi, >> >> Here is a set of patches that fixes MMC/SD boot breakage introduced >> after 2018.09 release. >> >> This was tested with MMC/SD boot on OMAP-L138 LCDK. >> >> Peter, >> >> I dropped your

Re: [U-Boot] [v3, 5/5] mmc: fsl_esdhc_imx: drop useless code

2019-06-02 Thread Y.b. Lu
Hi, > -Original Message- > From: Angelo Dureghello > Sent: 2019年5月31日 15:15 > To: Y.b. Lu > Cc: u-boot@lists.denx.de > Subject: Re: [v3, 5/5] mmc: fsl_esdhc_imx: drop useless code > > Hi Lu, > > On Fri, May 31, 2019 at 06:12:12AM +, Y.b. Lu wrote: > > Hi Angelo, > > > > >

Re: [U-Boot] [EXT] Re: [PATCH v1] net: use block layer in net driver

2019-06-02 Thread Yinbo Zhu
> -Original Message- > From: Joe Hershberger [mailto:joe.hershber...@gmail.com] > Sent: 2019年6月1日 19:16 > To: Yinbo Zhu > Cc: York Sun ; u-boot@lists.denx.de; Xiaobo Xie > ; Jiafei Pan ; Ran Wang > > Subject: [EXT] Re: [U-Boot] [PATCH v1] net: use block layer in net driver > >

[U-Boot] [PATCH 1/1] efi_loader: fix EnableCursor()

2019-06-02 Thread Heinrich Schuchardt
The EnableCursor() service of the simple text output protocol must update the the CursorVisible field of the output mode. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_console.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/efi_loader/efi_console.c

Re: [U-Boot] Pull request: u-boot-net.git master

2019-06-02 Thread Tom Rini
On Sat, Jun 01, 2019 at 06:10:59PM -0500, Joe Hershberger wrote: > Hi Tom, > > Tested on Jenkins at https://travis-ci.org/jhershbe/u-boot/builds/540178505 > > Basic bug fixes and minor features for 2019.07. > > The following changes since commit 8a802a2eefd36865eaa3d927d1db7af63bb2d922: > >

[U-Boot] [PATCH 2/2] efi_loader: check timer events in Stall()

2019-06-02 Thread Heinrich Schuchardt
During a call to Stall() we should periodically check for timer events. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index

[U-Boot] [PATCH 0/2] efi_loader: check timer events in Stall()

2019-06-02 Thread Heinrich Schuchardt
During a call to Stall() we should periodically check for timer events. This requires exporting function usec_to_tick(). *** BLURB HERE *** Heinrich Schuchardt (2): lib: time: export usec_to_tick() efi_loader: check timer events in Stall() include/time.h| 9 +

[U-Boot] [PATCH 1/2] lib: time: export usec_to_tick()

2019-06-02 Thread Heinrich Schuchardt
In the UEFI Stall() boottime service we need access to usec_to_tick(). Export the function. Signed-off-by: Heinrich Schuchardt --- include/time.h | 9 + lib/time.c | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/include/time.h b/include/time.h index

[U-Boot] [PATCH 1/1] efi_loader: close protocols in UnloadImage()

2019-06-02 Thread Heinrich Schuchardt
When UnloadImage() is called all protocols opened by the image have to be closed. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 35 --- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/lib/efi_loader/efi_boottime.c

[U-Boot] Pull request for UEFI sub-system for v2019.07-rc4

2019-06-02 Thread Heinrich Schuchardt
The following changes since commit 8a802a2eefd36865eaa3d927d1db7af63bb2d922: Merge tag 'rockchip-for-v2019.07-rc3' of git://git.denx.de/u-boot-rockchip (2019-05-31 07:17:09 -0400) are available in the Git repository at: git://git.denx.de/u-boot-efi.git tags/efi-2019-07-rc4 for you to fetch

Re: [U-Boot] [PATCH v2] armv8: fsl-layerscape: fix config dependency for layerscape pci code

2019-06-02 Thread Bin Meng
On Fri, May 31, 2019 at 12:29 AM Alex Marginean wrote: > > Fixes a link error on layerscape platform, linking fails with CONFIG_PCI > set and CONFIG_PCI_LAYERSCAPE unset. > > Signed-off-by: Alex Marginean > --- > Changes in v2: > - resent with proper email addresses for freescale/NXP

Re: [U-Boot] [PATCH] arm: ls1028a: define the integrated PCI bus (ECAM)

2019-06-02 Thread Bin Meng
Hi Alex, On Fri, May 31, 2019 at 12:27 AM Alex Marginean wrote: > > LS1028A includes an integrated PCI bus with 8M of ECAM space plus register > space for the integrated devices. This integrated PCI bus is driven using > the generic ECAM driver. > > Signed-off-by: Alex Marginean > --- >

Re: [U-Boot] [PATCH 2/2] drivers: pci: add API to issue FLR on a PCI function, if supported

2019-06-02 Thread Bin Meng
+Simon Hi Alex, On Sat, Jun 1, 2019 at 12:27 AM Alex Marginean wrote: > Please add a commit message to explain the changes. Also a nits in the commit tile: please remove the , > Signed-off-by: Alex Marginean > --- > drivers/pci/pci-uclass.c | 25 + > include/pci.h

Re: [U-Boot] [PATCH 1/2] drivers: pci: add map_bar support for Enhanced Allocation

2019-06-02 Thread Bin Meng
+Simon, Hi Alex, On Sat, Jun 1, 2019 at 12:26 AM Alex Marginean wrote: > > Makes dm_pci_map_bar function available for integrated PCI devices that > support Enhanced Allocation instead of original PCI BAR mechanism. > > Signed-off-by: Alex Marginean > --- > drivers/pci/pci-uclass.c | 47

[U-Boot] [PATCH 2/2] configs: Migrate CONFIG_SYS_LDSCRIPT to Kconfig

2019-06-02 Thread Tom Rini
In order to migrate this symbol to Kconfig introduce a new symbol to guard it, CONFIG_SYS_CUSTOM_LDSCRIPT. When that is set we can then provide the exact final location o the script. Signed-off-by: Tom Rini --- Kconfig| 17 +

[U-Boot] [PATCH 1/2] configs: Remove unneeded CONFIG_SYS_LDSCRIPT instances

2019-06-02 Thread Tom Rini
A number of boards set CONFIG_SYS_LDSCRIPT and then end up using one of the default searched LDSCRIPT paths. Remove these customizations. Signed-off-by: Tom Rini --- include/configs/P1010RDB.h| 2 -- include/configs/P1022DS.h | 2 -- include/configs/T102xQDS.h| 2 --

[U-Boot] [PATCH 1/1] trace: make call depth limit customizable

2019-06-02 Thread Heinrich Schuchardt
Up to now we had hard coded values for the call depth up to which trace records are created: 200 for early tracing, 15 thereafter. UEFI applications reach a call depth of 80 or above. Provide customizing settings for the call trace depth limit and the early call trace depth limit. Use the old

[U-Boot] [PATCH 1/1] trace: conserve gd register

2019-06-02 Thread Heinrich Schuchardt
An UEFI application may change the value of the register that gd lives in. But some of our functions like get_ticks() access this register. So we have to set the gd register to the U-Boot value when entering a trace point and set it back to the application value when exiting the trace point.

[U-Boot] [PATCH 1/1] disk: part: avoid undefined reference to `__udivmoddi4'

2019-06-02 Thread Heinrich Schuchardt
When compiling with FTRACE=1 an error ld.bfd: disk/built-in.o: in function `lba512_muldiv': disk/part.c:114: undefined reference to `__udivmoddi4 occurred. Use '>> 11' instead of '/ 2048' to avoid the division. Signed-off-by: Heinrich Schuchardt --- disk/part.c | 12 ++-- 1 file

[U-Boot] [PATCH v7] sun8i: h3: Add support for the Beelink-x2 STB

2019-06-02 Thread codekipper
From: Marcus Cooper The Beelink X2 is an STB based on the Allwinner H3 SoC with a uSD slot, 2 USB ports( 1 * USB-2 Host, 1 USB OTG), a 10/100M ethernet port using the SoC's integrated PHY, Wifi via an sdio wifi chip, HDMI, an IR receiver, a dual colour LED and an optical S/PDIF connector. Linux