Re: [U-Boot] [PATCH 03/14] misc: uclass: Introduce misc_init_by_ofnode

2019-08-13 Thread Keerthy
On 13/08/19 3:04 PM, Simon Glass wrote: Hi Keerthy, On Tue, 6 Aug 2019 at 04:38, Keerthy wrote: Introduce misc_init_by_ofnode to probe a misc device using its ofnode. What is the purpose of this? All patches should have a motivation. Okay. I will add more details in the commit log. In

Re: [U-Boot] [PATCH v4 3/5] powerpc: dts: t2080: add espi controller node support

2019-08-13 Thread Prabhakar Kushwaha
> -Original Message- > From: Chuanhua Han > Sent: Friday, June 21, 2019 7:52 AM > To: w...@denx.de; Shengzhou Liu ; Ruchika Gupta > ; ja...@openedev.com; s...@chromium.org; > Prabhakar Kushwaha > Cc: u-boot@lists.denx.de; Chuanhua Han > Subject: [PATCH v4 3/5] powerpc: dts: t2080: add

Re: [U-Boot] [PATCH v4 4/5] powerpc: dts: t2080qds: add espi slave nodes support

2019-08-13 Thread Prabhakar Kushwaha
> -Original Message- > From: Chuanhua Han > Sent: Friday, June 21, 2019 7:52 AM > To: w...@denx.de; Shengzhou Liu ; Ruchika Gupta > ; ja...@openedev.com; s...@chromium.org; > Prabhakar Kushwaha > Cc: u-boot@lists.denx.de; Chuanhua Han > Subject: [PATCH v4 4/5] powerpc: dts: t2080qds:

Re: [U-Boot] [PATCH v4 0/5] dm: spi: Convert Freescale ESPI driver to driver

2019-08-13 Thread Prabhakar Kushwaha
Dear Jagan, > -Original Message- > From: Chuanhua Han > Sent: Friday, June 21, 2019 7:52 AM > To: w...@denx.de; Shengzhou Liu ; Ruchika Gupta > ; ja...@openedev.com; s...@chromium.org; > Prabhakar Kushwaha > Cc: u-boot@lists.denx.de; Chuanhua Han > Subject: [PATCH v4 0/5] dm: spi:

Re: [U-Boot] [PATCH 1/2] i.MX6: nand: extend nandbcb command for imx6UL(L)

2019-08-13 Thread Shyam Saini
> Hi Shyam, > > On 8/13/19 3:40 PM, Shyam Saini wrote: > > Hi Parthiban, > > > > Thanks a lot for working on this. > > Still enabling SECURE_BOOT fails to boot. Am yet to figure out this. > Do you have secure boot working from NAND? I haven't tried secure boot with nand and our imx6ul board has

Re: [U-Boot] [PATCH v2] armv8: ls1028a: Add environment variables to facilitate the boot

2019-08-13 Thread Prabhakar Kushwaha
Dear Andy, > -Original Message- > From: Yuantian Tang > Sent: Wednesday, June 19, 2019 12:48 PM > To: Prabhakar Kushwaha > Cc: u-boot@lists.denx.de; Andy Tang > Subject: [PATCH v2] armv8: ls1028a: Add environment variables to facilitate > the boot > > Add some environment variables

[U-Boot] [PATCH 1/1] efi_loader: do not call efi_runtime_detach twice

2019-08-13 Thread Heinrich Schuchardt
Commit 7f95104d91cc ("efi_loader: detach runtime in ExitBootServices()") added a call to efi_runtime_detach() to ExitBootServices() but did not remove the call in SetVirtualAddressMap(). Remove the superfluous function call. Correct a comment referring to efi_runtime_detach(). Fixes:

[U-Boot] [PATCH 1/1] efi_loader: parameter check in SetVirtualAddressMap

2019-08-13 Thread Heinrich Schuchardt
Check the parameters DescriptorSize and DescriptiorVersion of SetVirtualAddressMap() as prescribed by the UEFI specification. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_runtime.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git

Re: [U-Boot] [PATCH v3] qemu-x86: Use config_distro_bootcmd

2019-08-13 Thread Heinrich Schuchardt
On 7/19/19 11:46 AM, Bin Meng wrote: On Wed, Jul 17, 2019 at 1:43 PM Bin Meng wrote: On Thu, Jul 4, 2019 at 1:46 AM Joshua Watt wrote: Converts qemu x86 machines to boot using distro_config. The intent is to allow u-boot in qemu to be maximally compatible with many boot methods without

[U-Boot] [PATCH 6/6] cbfs: Rename camel-case variables

2019-08-13 Thread Simon Glass
Rename some camel-case variables to match U-Boot style. Camel case is not generally allowed in U-Boot. Rename this variable to fit in with the style. Signed-off-by: Simon Glass --- fs/cbfs/cbfs.c | 44 ++-- 1 file changed, 22 insertions(+), 22

[U-Boot] [PATCH 4/6] cbfs: Move result variable into the struct

2019-08-13 Thread Simon Glass
Move the result variable into the struct also, so that it can be used when BSS is not available. Add a function to read it. Note that all functions sill use the BSS version of the data. Signed-off-by: Simon Glass --- cmd/cbfs.c | 4 ++-- fs/cbfs/cbfs.c | 45

[U-Boot] [PATCH 3/6] cbfs: Move static variables into a struct

2019-08-13 Thread Simon Glass
At present there are a number of static variables in BSS. This cannot work with SPL, at least until BSS is available in board_init_r(). Move the variables into a struct, so it is possible to malloc() it and use it before BSS is available. Signed-off-by: Simon Glass --- fs/cbfs/cbfs.c | 96

[U-Boot] [PATCH 1/6] cbfs: Allow CBFS to be used in SPL

2019-08-13 Thread Simon Glass
Add a new Kconfig option to enable CBFS in SPL. This can be useful when the memory-init code is in CBFS. Signed-off-by: Simon Glass --- fs/Makefile | 1 + fs/cbfs/Kconfig | 12 2 files changed, 13 insertions(+) diff --git a/fs/Makefile b/fs/Makefile index

[U-Boot] [PATCH 2/6] cbfs: Move declarations above functions

2019-08-13 Thread Simon Glass
At present this file has a function at the top, above declarations. This is normally avoided, so fix it. Signed-off-by: Simon Glass --- fs/cbfs/cbfs.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/fs/cbfs/cbfs.c b/fs/cbfs/cbfs.c index af4d3c5e56..2a9edcc9a0

[U-Boot] [PATCH 5/6] cbfs: Add functions to support multiple CBFSs

2019-08-13 Thread Simon Glass
Sometimes an image has multiple CBFS. The current CBFS API is limited to handling only one at time. Also it keeps track of the CBFS internally in BSS, which does not work before relocation, for example. Add a few new functions to overcome these limitations. Signed-off-by: Simon Glass ---

[U-Boot] [PATCH 0/6] cbfs: Allow use before relocation / BSS

2019-08-13 Thread Simon Glass
At present CBFS cannot be used in SPL before BSS is available. This is inconvenient if CBFS holds the FSP code needed to init SDRAM. The problem is fairly easy to fix, by putting all static variables into a struct that can be allocated. This series updates CBFS towards this goal, but does not

Re: [U-Boot] [PATCH v2 3/3] rk8xx: add a sysreset driver for poweroff

2019-08-13 Thread Kever Yang
Hi Urja, Simon, This patch is not able to pass the sandbox_spl test, it reports: [1]26463 segmentation fault (core dumped) ./u-boot The driver looks good to me, no idea what cause the issue. Thanks, - Kever Urja Rannikko 于2019年5月17日周五 上午5:49写道: > Based on snooping around the linux

Re: [U-Boot] Pull request: u-boot-riscv/master

2019-08-13 Thread Rick Chen
Hi Lukas > > From: Tom Rini [mailto:tr...@konsulko.com] > > Sent: Wednesday, August 14, 2019 12:50 AM > > To: Open Source Project uboot > > Cc: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志) > > Subject: Re: [U-Boot] Pull request: u-boot-riscv/master > > > > On Mon, Aug 12, 2019 at 06:23:02PM

Re: [U-Boot] Travis test/py sandbox_spl test fail

2019-08-13 Thread Kever Yang
Hi Stephen, On 2019/8/14 上午4:54, Stephen Warren wrote: On 8/13/19 3:39 AM, Simon Glass wrote: +Stephen Hi Kever, On Tue, 13 Aug 2019 at 03:35, Kever Yang wrote: Hi Simon, I got fail in test/py sandbox_spl, and the log says: E OSError: [Errno 5] Input/output error I have no idea

Re: [U-Boot] [PATCH] kconfig: Convert CONFIG_MXS_GPIO to Kconfig

2019-08-13 Thread Peng Fan
> Subject: [PATCH] kconfig: Convert CONFIG_MXS_GPIO to Kconfig > > This converts the following to Kconfig: >CONFIG_MXS_GPIO > > Travis-CI: > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftravis- > ci.org%2Flmajewski%2Fu-boot-dfu%2Fbuilds%2F571260789data=02% >

Re: [U-Boot] [PATCH v3 1/2] disk: update to use SPL_PARTITIONS for SPL【请注意,邮件由s...@google.com代发】

2019-08-13 Thread Kever Yang
On 2019/8/13 下午5:33, Simon Glass wrote: Hi Kever, On Thu, 8 Aug 2019 at 02:15, Kever Yang wrote: The SPL disk driver can not depends on SPL_FRAMEWORK, Spaces around & which will enable the disk driver when we actually not need it. Use a separate Kconfig to control the partition driver in

Re: [U-Boot] Linux Piter conference 2019 October 4-5 St.Petersrurg, Russia

2019-08-13 Thread Simon Glass
Hi Irina, I am going to two conferences in the next few months so don't have capacity for another. Thank you for the invite. Regards, SImon On Tue, 13 Aug 2019 at 05:53, Irina Saribekova, it-events wrote: > > Hello Simon, > > > > My name is Irina, I am one of the organizers of the biggest

[U-Boot] [ANN] U-Boot v2019.10-rc2 released

2019-08-13 Thread Tom Rini
Hey all, It's the day after the scheduled release day, and here is v2019.10-rc2. It took me a while to confirm that the riscv PR was causing the issue I saw, and I got extra paranoid about testing all of the other PRs to be sure it really was that and not some other race condition. At this

Re: [U-Boot] [PATCH] test/py: Fix MMC/SD block write test dependency

2019-08-13 Thread Stephen Warren
On 8/1/19 10:48 PM, Michal Simek wrote: Test is using random command which has own Kconfig symbol CMD_RANDOM which already depends on CMD_MEMORY. That's why replace cmd_memory by cmd_random. This might not always be true; I think it'd be better to keep the existing dependency list entries and

Re: [U-Boot] [PATCH v2 05/12] armV7R: K3: am654: Allow using SPL BSS pre-relocation

2019-08-13 Thread Andreas Dannenberg
Hi Simon, On Tue, Aug 13, 2019 at 10:38:22PM +0200, Simon Goldschmidt wrote: > Am 07.08.2019 um 23:23 schrieb Andreas Dannenberg: > > Hi Simon, > > thanks for your patience waiting for a response. Please see comments > > inlined... > > > > On Thu, Jul 25, 2019 at 11:52:55AM +0200, Simon

Re: [U-Boot] [PATCH PATCH v4 01/15] spl: fit: don't load the firmware twice

2019-08-13 Thread Andreas Dannenberg
On Mon, Aug 05, 2019 at 11:43:56AM +0200, Jean-Jacques Hiblot wrote: > When u-boot.img is a FIT image generated automatically by mkimage, the > configuration node has the following structure: > conf-1 { >description = "k3-am654-base-board"; >firmware = "firmware-1"; >loadables =

Re: [U-Boot] Travis test/py sandbox_spl test fail

2019-08-13 Thread Stephen Warren
On 8/13/19 3:39 AM, Simon Glass wrote: +Stephen Hi Kever, On Tue, 13 Aug 2019 at 03:35, Kever Yang wrote: Hi Simon, I got fail in test/py sandbox_spl, and the log says: E OSError: [Errno 5] Input/output error I have no idea about what's wrong in source code, could you help to take

Re: [U-Boot] [PATCH v2 05/12] armV7R: K3: am654: Allow using SPL BSS pre-relocation

2019-08-13 Thread Simon Goldschmidt
Am 07.08.2019 um 23:23 schrieb Andreas Dannenberg: Hi Simon, thanks for your patience waiting for a response. Please see comments inlined... On Thu, Jul 25, 2019 at 11:52:55AM +0200, Simon Goldschmidt wrote: On Thu, Jul 25, 2019 at 10:23 AM Lokesh Vutla wrote: Hi Simon, On 25/07/19 12:31

Re: [U-Boot] [PATCH 1/4 v5] watchdog: Implement generic watchdog_reset() version

2019-08-13 Thread Simon Goldschmidt
Hi Stefan, Am 25.04.2019 um 09:17 schrieb Stefan Roese: This patch tries to implement a generic watchdog_reset() function that can be used by all boards that want to service the watchdog device in U-Boot. This watchdog servicing is enabled via CONFIG_WATCHDOG. Without this approach, new boards

Re: [U-Boot] verified boot against a chain of public keys

2019-08-13 Thread Patrick Doyle
On Mon, Aug 12, 2019 at 8:01 AM Patrick Doyle wrote: > > I am about to embark on the task of adding support for importing and > using multiple keys in the verified boot process. Does u-boot already > support this? Has anybody (else) thought about it? I now see that lib/rsa/rsa-verify.c actually

[U-Boot] [PATCH] ARM: davinci: Remove duplicated references

2019-08-13 Thread Adam Ford
The Kconfig file calls to ti/common/Kconfig twice which makes several of the menu items repeat themselves. In an effort to clean this up, this patch removes the second call which eliminates the duplicate menu items. Signed-off-by: Adam Ford diff --git a/board/davinci/da8xxevm/Kconfig

[U-Boot] [PATCH] Kconfigs: Various: Fix some SPL, TPL and ARM64 dependencies

2019-08-13 Thread Adam Ford
Several options are presenting themselves on a various boards where the options are clearly not used. (ie, arm64 options on arm9, or SPL/TPL options when SPL or TPL are not defined) This patch is not attempting to be a complete list of items, but more like low hanging fruit. This patch attempts

[U-Boot] [PATCH v2 4/4] ARM: dts: ast2500: Add SDHCI nodes

2019-08-13 Thread Eddie James
Add nodes for the Aspeed SD controllers with their necessary properties. Signed-off-by: Eddie James --- arch/arm/dts/ast2500-evb.dts | 14 ++ arch/arm/dts/ast2500-u-boot.dtsi | 16 2 files changed, 30 insertions(+) diff --git a/arch/arm/dts/ast2500-evb.dts

[U-Boot] [PATCH v2 3/4] aspeed: Support SD controller on the ast2500 board

2019-08-13 Thread Eddie James
Initialize the MMC subsystem on the ast2500 board. Compile MMC and the Aspeed SD controller on the ast2500 EVB. Signed-off-by: Eddie James --- arch/arm/include/asm/gpio.h | 3 ++- arch/arm/mach-aspeed/ast2500-board.c | 3 +++ configs/evb-ast2500_defconfig| 6 ++ 3 files

[U-Boot] [PATCH v2 2/4] mmc: Add Aspeed SD controller driver

2019-08-13 Thread Eddie James
Add support for the Aspeed SD host controller engine. Signed-off-by: Eddie James --- drivers/mmc/Kconfig| 11 +++ drivers/mmc/Makefile | 1 + drivers/mmc/aspeed_sdhci.c | 78 ++ 3 files changed, 90 insertions(+) create mode 100644

[U-Boot] [PATCH v2 0/4] ARM: aspeed: Add SD host controller driver

2019-08-13 Thread Eddie James
This series adds support for the SD host controller on Aspeed ast2XXX SocS. It also enables MMC and the SD controller on the ast2500 EVB. Changes since v1: - split the patch up - Add defconfig and dts changes Eddie James (4): clk: aspeed: Add support for SD clock mmc: Add Aspeed SD

[U-Boot] [PATCH v2 1/4] clk: aspeed: Add support for SD clock

2019-08-13 Thread Eddie James
Add code to enable the SD clock on the ast2500 SoC. Signed-off-by: Eddie James --- arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 3 +++ drivers/clk/aspeed/clk_ast2500.c | 27 ++ drivers/pinctrl/aspeed/pinctrl_ast2500.c | 2 ++ 3 files changed, 32

[U-Boot] [PATCH 5/6] bmips: bcm63268: add support for brcmnand

2019-08-13 Thread Álvaro Fernández Rojas
BCM63268 uses 4.0 HW nand controller, which is currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm63268.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/mips/dts/brcm,bcm63268.dtsi

[U-Boot] [PATCH 4/6] bmips: bcm6362: add support for brcmnand

2019-08-13 Thread Álvaro Fernández Rojas
BCM6362 uses old 2.2 HW nand controller, which isn't currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6362.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6362.dtsi

[U-Boot] [PATCH 6/6] bmips: enable vr-3032u nand support

2019-08-13 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/comtrend,vr-3032u.dts| 13 + configs/comtrend_vr3032u_ram_defconfig | 5 + include/configs/comtrend_vr3032u.h | 6 ++ 3 files changed, 24 insertions(+) diff --git a/arch/mips/dts/comtrend,vr-3032u.dts

[U-Boot] [PATCH 2/6] bmips: bcm6368: add support for brcmnand

2019-08-13 Thread Álvaro Fernández Rojas
BCM6368 uses old 2.1 HW nand controller, which isn't currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6368.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6368.dtsi

[U-Boot] [PATCH 0/6] bmips: add brcmnand support

2019-08-13 Thread Álvaro Fernández Rojas
These patches add support for brcmnand on bmips. The current brcmnand driver only supports controller >= 4.0, which means that only BCM63268 works right now. Álvaro Fernández Rojas (6): nand: brcm: add BCM6368 support bmips: bcm6368: add support for brcmnand bmips: bcm6328: add support for

[U-Boot] [PATCH 3/6] bmips: bcm6328: add support for brcmnand

2019-08-13 Thread Álvaro Fernández Rojas
BCM6328 uses old 2.2 HW nand controller, which isn't currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6328.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6328.dtsi

[U-Boot] [PATCH 1/6] nand: brcm: add BCM6368 support

2019-08-13 Thread Álvaro Fernández Rojas
This adds support for BCM6368, BCM6328, BCM6362 and BCM63268 SoCs. Signed-off-by: Álvaro Fernández Rojas --- drivers/mtd/nand/raw/Kconfig | 6 + drivers/mtd/nand/raw/brcmnand/Makefile | 1 + drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c | 122 +++ 3

[U-Boot] [PATCH] Revert "ARM: da850-evm: Enable SPI Flash and NAND Flash when booting NOR"

2019-08-13 Thread Adam Ford
Sorry for the noise, but there appears to be a regression with older hardware. Since it broke the direct_nor boot option, it should be reverted until a better solution is available. This reverts commit 51cd1e2373274dc3167dabba628dcfc25828d36d. diff --git a/board/davinci/da8xxevm/da850evm.c

Re: [U-Boot] [PATCH] ARM: aspeed: Add SD host controller driver

2019-08-13 Thread Eddie James
On 8/13/19 11:55 AM, Cédric Le Goater wrote: On 13/08/2019 08:41, Peng Fan wrote: Subject: [U-Boot][PATCH] ARM: aspeed: Add SD host controller driver Add support for the Aspeed SD host controller engine. This involves adding an MMC SDHCI driver and various additions to the clock and reset

[U-Boot] [U-BOOT PATCH 3/3] spi: riscv: use single bit mode for spi transfers

2019-08-13 Thread Sagar Shrikant Kadam
Use the SPI controller in FU540-C000 soc in one bit mode, rather than using spi-tx-bus-width and spi-rx-bus-width passed from the device tree. This patch handles a case where controller mode in format register (0x40) is configured as per the width specified in the dt-node of the slave device. For

[U-Boot] [U-BOOT PATCH 1/3] spi: nor: add spi-nor-fixup handlers for nor devices

2019-08-13 Thread Sagar Shrikant Kadam
Add support for spi_nor_fixups similar to that done in linux. Flash vendor specific fixups can be registered in spi_nor_ids. and will be called after BFPT parsing to fix any wrong parameter read from SFDP. Signed-off-by: Sagar Shrikant Kadam --- drivers/mtd/spi/sf_internal.h | 5 +

Re: [U-Boot] [PATCH] ARM: aspeed: Add SD host controller driver

2019-08-13 Thread Cédric Le Goater
On 13/08/2019 08:41, Peng Fan wrote: >> Subject: [U-Boot][PATCH] ARM: aspeed: Add SD host controller driver >> >> Add support for the Aspeed SD host controller engine. This involves adding an >> MMC SDHCI driver and various additions to the clock and reset drivers for >> Aspeed chips. >> >>

Re: [U-Boot] [PATCH v2 12/40] env: Move env_set_ulong() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:47AM -0600, Simon Glass wrote: > Move env_set_ulong() over to the new header file. > > Signed-off-by: Simon Glass > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 37/40] env: Drop environment.h header file where not needed

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:12AM -0600, Simon Glass wrote: > This header file is now only used by files that access internal > environment features. Drop it from various places where it is not needed. > > Acked-by: Joe Hershberger > Signed-off-by: Simon Glass Applied to u-boot/master,

Re: [U-Boot] [PATCH 1/5] arm: dts: Import HI3660 devicetree from Linux

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 08:40:07PM +0530, Manivannan Sadhasivam wrote: > This commit imports HI3660 SoC devicetree from Linux > > Signed-off-by: Manivannan Sadhasivam Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 3/5] usb: kbd: fix typo

2019-08-13 Thread Simon Glass
On Sat, 10 Aug 2019 at 03:24, Heinrich Schuchardt wrote: > > %s/a interrupt/an interrupt/ > > Signed-off-by: Heinrich Schuchardt > --- > v2 > new patch > --- > common/usb_kbd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v3 32/40] env: Drop _ENTRY

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 09:44:19AM -0600, Simon Glass wrote: > This typedef does not need to be defined in the search.h header since it > is only used in one file (hashtable.c). Remove it from the header and > change it to a struct. > > Signed-off-by: Simon Glass Applied to u-boot/master,

Re: [U-Boot] [PATCH v2 29/40] env: Move env_valid to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:04AM -0600, Simon Glass wrote: > This enum is somewhat widely used to determine if the environment is valid > or not. Move it to the common environment header file. > > Signed-off-by: Simon Glass > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! --

[U-Boot] [U-BOOT PATCH 2/3] spi: nor: add support for is25wp256

2019-08-13 Thread Sagar Shrikant Kadam
Enable support for spi nor device(is25wp256) mounted on HiFive Unleashed Rev A00 board. Thanks to Bhargav Shah for porting this patch which is based on linux patches https://lkml.org/lkml/2019/7/2/859. Additionally, set the proper number of sectors in the device id table, so that the sf probe

Re: [U-Boot] [PATCH v2 18/40] env: Move eth_env_get/set_enetaddr() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:53AM -0600, Simon Glass wrote: > Move these two functions over to the new header file. > > Acked-by: Joe Hershberger > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 06/40] env: Move get_env_id() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:41AM -0600, Simon Glass wrote: > Move this function over to the new header file. Also rename it to have an > env_ prefix like the other functions. > > Signed-off-by: Simon Glass > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCH v2 28/40] env: Rename environment to embedded_environment

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:03AM -0600, Simon Glass wrote: > The name 'environment' is widely used in U-Boot so is not a very useful > name of a variable. Rename it to better indicate its purpose. > > Signed-off-by: Simon Glass > Acked-by: Joe Hershberger > Reviewed-by: Simon Goldschmidt

Re: [U-Boot] [PATCH] cmd: avb: Fix requested partitions list

2019-08-13 Thread Eugeniu Rosca
Hi Sam, On Fri, Aug 09, 2019 at 07:16:03PM +0300, Sam Protsenko wrote: > The requested_partitions[] array should contain only boot partitions. > Usually it's only 'boot' partition, as can be seen in [1]. Also, seems > like the requested_partitions[] are only used when there is no 'vbmeta' >

Re: [U-Boot] [PATCH v2 36/40] env: Move TOTAL_MALLOC_LEN to environment.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:11AM -0600, Simon Glass wrote: > This declaration is only used in three files. Although it relates to > malloc() it is actually only used during malloc() init. It uses CONFIG > options including CONFIG_ENV_ADDR which are defined only in environment.h > so this header

Re: [U-Boot] [PATCH v3 38/40] env: Rename environment.h to env_internal.h

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 09:44:25AM -0600, Simon Glass wrote: > This file contains lots of internal details about the environment. Most > code can include env.h instead, calling the functions there as needed. > > Rename this file and add a comment at the top to indicate its internal > nature. >

Re: [U-Boot] [PATCH v2 34/40] env: Drop the ACTION typedef

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:09AM -0600, Simon Glass wrote: > Avoid using a typedef here which is unnecessary. Add an 'env_' prefix to > both the enum and its members to make it clear that these are related to > the environment. > > Add an ENV prefix to these two flags so that it is clear what

Re: [U-Boot] [PATCH 2/5] arm: dts: Add devicetree for Hikey960 board

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 08:40:08PM +0530, Manivannan Sadhasivam wrote: > This commit adds devicetree for Hikey960 board. Most of the contents are > copied from Linux kernel with some modifications for u-boot. To be > more precise, SD card's speed related properties are removed due to a > bug in

Re: [U-Boot] [PATCH v2 24/40] env: Drop env_crc_update()

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:59AM -0600, Simon Glass wrote: > This function is not defined or used in U-Boot. Drop it. > > Signed-off-by: Simon Glass > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 13/40] env: Move env_get_ulong() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:48AM -0600, Simon Glass wrote: > Move env_get_ulong() over to the new header file. > > Signed-off-by: Simon Glass > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 26/40] env: Move env_get_char() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:01AM -0600, Simon Glass wrote: > Move env_get_char() over to the new header file. > > Acked-by: Joe Hershberger > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v1] MAINTAINERS: Add entries for Android A/B and AVB

2019-08-13 Thread Tom Rini
On Thu, Aug 08, 2019 at 03:33:09PM +0300, Igor Opaniuk wrote: > 1. Add myself as Android A/B and AVB maintainer > 2. Add Sam Protsenko as Designated reviewer for A/B > > Signed-off-by: Igor Opaniuk Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 3/5] board: hisilicon: Add support for Hikey960 board

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 08:40:09PM +0530, Manivannan Sadhasivam wrote: > This commit adds board support for Hikey960 board from Hisilicon. This > board is one of the Consumer Edition boards of the 96Boards family > powered by Kirin960 SoC. > > More information about this board can be found in

Re: [U-Boot] [PATCH] serial_lpuart: Fix config check issue when using clk driver in SPL

2019-08-13 Thread Tom Rini
On Thu, Jul 11, 2019 at 03:33:34AM +, Ye Li wrote: > Should use CONFIG_IS_ENABLED not IS_ENABLED for CLK driver, so it will > check the CONFIG_SPL_CLK when building SPL > > Signed-off-by: Ye Li > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [PATCH v2 10/40] env: Move envmatch() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:45AM -0600, Simon Glass wrote: > Move envmatch() over to the new header file. Also rename it to env_match() > to better line up with other functions. > > Signed-off-by: Simon Glass > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCH v2 16/40] env: Move env_set() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:51AM -0600, Simon Glass wrote: > Move env_set() over to the new header file. > > Acked-by: Joe Hershberger > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v3 40/40] common: Add a note about the effort to reduce common.h

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 09:44:27AM -0600, Simon Glass wrote: > This file has quite a lot of general definitions and include files. Add a > note about our intent to remove more of this. > > The file should ultimately include the configuration and perhaps a very > other very common things used by

Re: [U-Boot] [PATCH v2 39/40] Drop PCMCIA

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:14AM -0600, Simon Glass wrote: > This is no-longer used in U-Boot and has not been converted to driver > model. Drop it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v3 4/7] phy: add support for AM654x SERDES

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 07:12:58PM +0530, Sekhar Nori wrote: > Add a new SERDES driver for TI's AM654x SoC which configures > the SERDES only for PCIe. Support fo USB3 can be added later. > > SERDES in am654x has three input clocks (left input, external > reference clock and right input) and two

Re: [U-Boot] [PATCH] ARM: da850-evm: Increase environment NOR partition offset

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 07:03:39AM -0500, Adam Ford wrote: > The current size allocated to U-Boot is 384k, but U-Boot has grown > to 436K which means that saving the environmental variables wipes > out part of the U-Boot source and the board ceases to function. > Due to the sector and erase size

Re: [U-Boot] [PATCH v2 08/40] env: Move env_init() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:43AM -0600, Simon Glass wrote: > Move env_init() over to the new header file. > > Signed-off-by: Simon Glass > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH] firmware: ti_sci: Parse all resource ranges even if some is not available

2019-08-13 Thread Tom Rini
On Mon, Aug 05, 2019 at 12:26:44PM -0500, Andreas Dannenberg wrote: > From: Vignesh Raghavendra > > Do not fail if any of the requested subtypes are not available, but set the > number of resources to 0 and continue parsing the resource ranges. > > Based on Linux kernel patch by Peter Ujfalusi

Re: [U-Boot] [PATCH v2 21/40] env: Move set_default_vars to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:56AM -0600, Simon Glass wrote: > Move this function to the new header file and rename it so it has an env_ > prefix. > > Acked-by: Joe Hershberger > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 19/40] env: net: Move eth_parse_enetaddr() to net.c/h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:54AM -0600, Simon Glass wrote: > This function fits better with the network subsystem, so move it. > > Signed-off-by: Simon Glass > Suggested-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 25/40] env: Move get/set_default_env() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:00AM -0600, Simon Glass wrote: > Move these functions to the new header file and rename set_default_env() > to env_set_default() so that it has a consistent env_ prefix. > > Acked-by: Joe Hershberger > Signed-off-by: Simon Glass Applied to u-boot/master, thanks!

Re: [U-Boot] [PATCH v2 17/40] env: Move env_get() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:52AM -0600, Simon Glass wrote: > Move env_get() over to the new header file. > > Acked-by: Joe Hershberger > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 5/5] MAINTAINERS: Add entry for HI3660 SoC

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 08:40:11PM +0530, Manivannan Sadhasivam wrote: > Add MAINTAINERS entry for HI3660 SoC by adding the arch includes. > While doing so, adding myself as the co-maintainer for HISILICON > SoCs since I'm planning to maintain HI3660 SoC separately and considering > doing

Re: [U-Boot] [PATCH 3/3] pci: intel: Fix configuration type based on secondary number

2019-08-13 Thread Tom Rini
On Fri, May 24, 2019 at 10:30:00AM +0800, Ley Foon Tan wrote: > This fix issue when access config from PCIe switch. > > The PCIe controller need to send Type 0 config TLP if the targeting bus > matches with the secondary bus number, which is when the TLP is targeting > the immediate device on

Re: [U-Boot] [PATCH v2 02/40] common: Drop the dpram_... functions

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:37AM -0600, Simon Glass wrote: > These declarations are not used anymore, so drop them. > > Signed-off-by: Simon Glass > Reviewed-by: Simon Goldschmidt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH] arm: K3: sysfw-loader: Do not require full printf() for version info

2019-08-13 Thread Tom Rini
On Mon, Aug 05, 2019 at 01:46:23PM -0500, Andreas Dannenberg wrote: > A previous commit... > > commit 2a51e16bd57a ("configs: Make USE_TINY_PRINTF depend on SPL||TPL and be > default") > > ...causes the System Firmware version string during SPL boot to no longer > getting printed to the

Re: [U-Boot] [PATCH v2 35/40] env: Drop the double underscores in search.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:10AM -0600, Simon Glass wrote: > There doesn't seem to be any good reason for using __ in the arguments in > this header file. A double underscore is usually reserved for compiler > features. > > Drop these and remove the unnecessary 'extern' as well. > >

Re: [U-Boot] [PATCH v2 03/40] common: Move lcd_setmem() to lcd.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:38AM -0600, Simon Glass wrote: > This function relates to lcd.h and is about to become obsolete with the > driver-model conversion. Move it out of common.h > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [PATCH v2 30/40] env: Move callback definitions to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:05AM -0600, Simon Glass wrote: > These definitions are effectively part of the 'public' API of the > environment implementation since they do not require access to any > internal variables. Move them to the env.h header. > > Signed-off-by: Simon Glass > Acked-by:

Re: [U-Boot] [PATCH v2 09/40] env: Move env_relocate() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:44AM -0600, Simon Glass wrote: > Move env_relocate() over to the new header file. > > Signed-off-by: Simon Glass > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 14/40] env: Move env_get_yesno() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:49AM -0600, Simon Glass wrote: > Move env_get_yesno() over to the new header file. > > Signed-off-by: Simon Glass > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 27/40] env: Move env_reloc() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:02AM -0600, Simon Glass wrote: > Move env_reloc() over to the new header file. > > Acked-by: Joe Hershberger > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 4/5] mmc: Add support for HI3660 SoC reusing hi6220_dw_mmc driver

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 08:40:10PM +0530, Manivannan Sadhasivam wrote: > This commit adds MMC driver support for HI3660 SoC reusing hi6220_dw_mmc > driver. Since HI3660 operates at different clock rate and uses fifo > mode now, let's introduce the platform data and utilize it for different > SoCs

Re: [U-Boot] [PATCH] ARM: da850-evm: Enable SPI Flash and NAND Flash when booting NOR

2019-08-13 Thread Tom Rini
On Sat, Aug 03, 2019 at 07:56:10AM -0500, Adam Ford wrote: > Historically there have been various boot options, SPI flash, > NAND or NOR. The NOR flash is mutually exclusive with MMC, but > it isn't mutually exclusive with NAND or SPI Flash, so this patch > enables both NAND flash and SPI Flash

Re: [U-Boot] [PATCH v2 07/40] env: Move env_get_f() to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:42AM -0600, Simon Glass wrote: > Move this function over to the new header file. > > Signed-off-by: Simon Glass > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v3 31/40] env: Drop the ENTRY typedef

2019-08-13 Thread Tom Rini
On Fri, Aug 02, 2019 at 09:44:18AM -0600, Simon Glass wrote: > U-Boot is not supposed to use typedef for structs anymore. Also this name > is the same as the ENTRY() macro used in assembler files, and 'entry' > itself is widely used in U-Boot (>8k matches). > > Drop the typedef and rename the

Re: [U-Boot] [PATCH v2 33/40] env: Rename the redundancy flags

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:47:08AM -0600, Simon Glass wrote: > Add an ENV prefix to these two flags so that it is clear what they relate > to. Also move them to env.h since they are part of the public API. Use an > enum rather than a #define to tie them together. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v3 6/7] arm: dts: k3-am65: add support for PCIe and SERDES

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 07:13:00PM +0530, Sekhar Nori wrote: > Add needed device-tree nodes to support PCIe 0 > and SERDES on AM65x SoC. The nodes are kept > disabled by default. > > Signed-off-by: Sekhar Nori Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [PATCH v2 23/40] env: Move env import/export functions to env.h

2019-08-13 Thread Tom Rini
On Thu, Aug 01, 2019 at 09:46:58AM -0600, Simon Glass wrote: > Move these functions to the new header file. > > Acked-by: Joe Hershberger > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 1/3] pci: intel: Increase TLP polling counter

2019-08-13 Thread Tom Rini
On Fri, May 24, 2019 at 10:29:58AM +0800, Ley Foon Tan wrote: > Some PCIe devices require longer time to response. > Increase polling counter to 2 (~100ms). > > Signed-off-by: Ley Foon Tan Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

  1   2   3   >