Re: [U-Boot] [PATCH] pci: layerscape: Only set EP CFG READY bit

2019-11-11 Thread Priyanka Jain
>-Original Message- >From: Pankaj Bansal >Sent: Monday, October 14, 2019 5:13 PM >To: Priyanka Jain ; Xiaowei Bao >; Tom Rini ; Z.q. Hou > >Cc: u-boot@lists.denx.de; Pankaj Bansal >Subject: [PATCH] pci: layerscape: Only set EP CFG READY bit > >As part of EP setup, we want to set the con

Re: [U-Boot] [PATCH 1/2] armv8: dts: ls1088a: add PSCI binding for LS1088A

2019-11-11 Thread Priyanka Jain
>-Original Message- >From: Mathew McBride >Sent: Friday, October 18, 2019 8:58 AM >To: u-boot@lists.denx.de >Cc: Priyanka Jain ; Mathew McBride > >Subject: [PATCH 1/2] armv8: dts: ls1088a: add PSCI binding for LS1088A > >This allows the use of PSCI calls to trusted firmware to initiate r

Re: [U-Boot] [PATCH 2/2] armv8: fsl-layerscape: do not use layerscape EFI reset if PSCI used

2019-11-11 Thread Priyanka Jain
>-Original Message- >From: Mathew McBride >Sent: Friday, October 18, 2019 8:58 AM >To: u-boot@lists.denx.de >Cc: Priyanka Jain ; Mathew McBride > >Subject: [PATCH 2/2] armv8: fsl-layerscape: do not use layerscape EFI reset if >PSCI used > >If the secure world reset handlers are used (via

Re: [U-Boot] [PATCH v2 1/6] armv8: fsl-layerscape: guard caam specific defines

2019-11-11 Thread Priyanka Jain
>-Original Message- >From: Laurentiu Tudor >Sent: Friday, October 18, 2019 2:32 PM >To: u-boot@lists.denx.de; Priyanka Jain >Cc: Horia Geanta ; Laurentiu Tudor > >Subject: [PATCH v2 1/6] armv8: fsl-layerscape: guard caam specific defines > >From: Laurentiu Tudor > >These macros should

[U-Boot] [PATCH] thermal: ti-bandgap: Fix adc value datatype

2019-11-11 Thread Faiz Abbas
The CORE_TEMP_SENSOR_MPU register gives a raw adc value which needs to be indexed into a lookup table to get the actual temperature. Fix the naming and datatype of the adc value variable. Signed-off-by: Faiz Abbas --- drivers/thermal/ti-bandgap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 de

[U-Boot] [PATCH] net: cpsw: Add NULL pointer check

2019-11-11 Thread Faiz Abbas
Add null pointer check to take care of out of memory errors. Signed-off-by: Faiz Abbas --- drivers/net/ti/cpsw.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ti/cpsw.c b/drivers/net/ti/cpsw.c index 4a990be93e..b710ae4053 100644 --- a/drivers/net/ti/cpsw.c +++ b/drivers/net/

[U-Boot] [PATCH] regmap: Fix potential memory leaks

2019-11-11 Thread Faiz Abbas
Free allocated memory in case of an error in regmap_init_mem() and regmap_init_mem_index(). Signed-off-by: Faiz Abbas --- drivers/core/regmap.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/core/regmap.c b/drivers/core/regmap.c index e9e55c9d16..a9

Re: [U-Boot] [RESEND PATCH v2 12/13] davinci: omapl138-lcdk: enable driver-model in SPL

2019-11-11 Thread Faiz Abbas
Hi Bartosz, On 08/11/19 9:20 PM, Bartosz Golaszewski wrote: > pt., 25 paź 2019 o 18:10 Bartosz Golaszewski napisał(a): >> >> czw., 26 wrz 2019 o 01:21 Faiz Abbas napisał(a): >>> >>> Hi, >>> >>> On 29/07/19 12:28 PM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Enable CONF

Re: [U-Boot] [PATCH v3 2/2] sifive: fu540: Enable OF_SEPARATE

2019-11-11 Thread Andreas Schwab
On Nov 09 2019, Jagan Teki wrote: > diff --git a/doc/board/sifive/fu540.rst b/doc/board/sifive/fu540.rst > index 7807f5b2c1..91b94ee06f 100644 > --- a/doc/board/sifive/fu540.rst > +++ b/doc/board/sifive/fu540.rst > @@ -58,7 +58,7 @@ firmware. We need to compile OpenSBI with below command: > > .

Re: [U-Boot] Add support for imxrt

2019-11-11 Thread Fabio Estevam
Hi Giulio, On Wed, Nov 6, 2019 at 7:50 PM Giulio Benetti wrote: > With this you mean adding every single mux, divider, gate, fixed_factor > and pfd(i.e. linux/drivers/clk/imx/clk-imxq6.c)? > > Or only a shrinked version of that? > I mean, is it ok if I list everything during imxrt_clk_probe()?

Re: [U-Boot] [RESEND PATCH v2 12/13] davinci: omapl138-lcdk: enable driver-model in SPL

2019-11-11 Thread Adam Ford
On Fri, Nov 8, 2019 at 11:59 AM Bartosz Golaszewski wrote: > > pt., 8 lis 2019 o 18:33 Bartosz Golaszewski > napisał(a): > > > > pt., 8 lis 2019 o 17:14 Adam Ford napisał(a): > > > > > > On Fri, Nov 8, 2019 at 9:50 AM Bartosz Golaszewski > > > wrote: > > > > > > > > pt., 25 paź 2019 o 18:10 Bar

Re: [U-Boot] [PATCH v2 09/41] spl: bootcount: Move code out of header file

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:16PM -0700, Simon Glass wrote: > It is not good practice to write code in a header file. If it is included > multiple times then the code can cause duplicate functions. > > Move the bootcount_store() and bootcount_load() functions into SPL. > > Note: bootcount is a

Re: [U-Boot] [PATCH v2 12/41] Move strtomhz() to vsprintf.h

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:19PM -0700, Simon Glass wrote: > At present this function sits in its own file but it does not really > justify it. There are similar string functions in vsprintf.h, so move it > there. Also add the missing function comment. > > Use the vsprintf.h include file explici

Re: [U-Boot] [PATCH v2 03/41] common: Drop global inclusion of status_led.h

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:10PM -0700, Simon Glass wrote: > This is only used by a few files so it should not be in the common header. > Move it out. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 05/41] common: Move random-number functions into their own header

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:12PM -0700, Simon Glass wrote: > Create a new rand.h header file and move functions into it, to reduce > the size of common.h > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > include/common.h | 6 -- > include/net.h| 1 + > include/rand.h

Re: [U-Boot] [PATCH v2 06/41] common: Drop linux/crc8.h

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:13PM -0700, Simon Glass wrote: > We have an existing U-Boot header for the one function that this defines. > Use that instead of the linux/ one. Move over the nice comment. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description:

Re: [U-Boot] [PATCH v2 04/41] status_led: Tidy up the code style

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:11PM -0700, Simon Glass wrote: > There are a few whitespace problems with this code. Tidy them up. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___ U-Boot maili

Re: [U-Boot] [PATCH v2 14/41] serial: usb: Correct the usbtty_...() prototypes

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:21PM -0700, Simon Glass wrote: > The function declarations in serial.h are not in sync with what is > currently used in usbtty. Fix this by updating the header and including > it, to help catch future such problems. > > Signed-off-by: Simon Glass Reviewed-by: Tom R

Re: [U-Boot] [PATCH v2 10/41] common: Move bootcount functions to their header file

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:17PM -0700, Simon Glass wrote: > These don't need to be in common.h so move them out. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boo

Re: [U-Boot] [PATCH v2 07/41] crc: Fix code style with crc functions

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:14PM -0700, Simon Glass wrote: > Some of these have a space before the bracket. Drop it to fix the style. > Add some missing function comments while here. > > Note that u32 and u8 cannot be used here since crc.h is included on the > host side. > > Signed-off-by: Sim

Re: [U-Boot] [PATCH v2 08/41] crc32: Use the crc.h header for crc functions

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:15PM -0700, Simon Glass wrote: > Drop inclusion of crc.h in common.h and use the correct header directly > instead. > > With this we can drop the conflicting definition in fw_env.h and rely on > the crc.h header, which is already included. > > Signed-off-by: Simon G

Re: [U-Boot] [PATCH v2 15/41] common: Move serial_printf() to the serial header

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:22PM -0700, Simon Glass wrote: > Move this function header to serial.h since this function is clearly > related to serial. The function itself stays in console.c since we don't > have a single serial file. DM and non-DM each has a separate file so we > would have to e

Re: [U-Boot] [PATCH v2 11/41] common: Move sorting functions to their own header file

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:18PM -0700, Simon Glass wrote: > These don't need to be in common.h so move them out into a new header. > Also add some missing comments. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [PATCH v2 13/41] common: Move env_get_ip() to net.h

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:20PM -0700, Simon Glass wrote: > This function relates to networking, so move it out of the common.h > header file. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [PATCH v2 17/41] common: Add a new lz4.h header file

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:24PM -0700, Simon Glass wrote: > Add a header file to house the lz4 compression function. Add a comment > while we are here, since it not even clear from the name what the function > actuall does. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom sig

Re: [U-Boot] [PATCH v2 18/41] common: Move some time functions out of common.h

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:25PM -0700, Simon Glass wrote: > These functions belong in time.h so move them over and add comments. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___ U-Boot ma

Re: [U-Boot] [PATCH v2 16/41] common: Move serial functions out of common.h

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:23PM -0700, Simon Glass wrote: > These functions belong in serial.h so move them over. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Bo

[U-Boot] [PATCH v1] imx: bootaux: elf firmware support

2019-11-11 Thread Igor Opaniuk
From: Igor Opaniuk Currently imx-specific bootaux command doesn't support ELF format firmware for Cortex-M4 core. This patches introduces a PoC implementation of handling elf firmware (load_elf_image_phdr() was copy-pasted from elf.c just for PoC). This has the advantage that the user does not

Re: [U-Boot] [PATCH v2 5/5] sifive: fu540: Enable spi-nor flash support

2019-11-11 Thread Bin Meng
Hi Jagan, On Sat, Nov 9, 2019 at 7:57 PM Jagan Teki wrote: > > Hi Bin, > > On Tue, Oct 29, 2019 at 3:50 PM Bin Meng wrote: > > > > Hi Jagan, > > > > On Tue, Oct 29, 2019 at 5:38 PM Bin Meng wrote: > > > > > > Hi Jagan, > > > > > > On Wed, Oct 16, 2019 at 10:58 PM Jagan Teki > > > wrote: > > >

Re: [U-Boot] [PATCH v2 19/41] common: Move wait_ticks functions out of common.h

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:26PM -0700, Simon Glass wrote: > This function belongs in time.h so move it over and add a comment. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > arch/arm/cpu/pxa/pxa2xx.c | 1 + > drivers/timer/mpc83xx_timer.c | 1 + > include/common.h

[U-Boot] [PATCH] m68k: Drop CONFIG_MCFPIT support

2019-11-11 Thread Tom Rini
All platforms currently use the "MCFTMR" DMA timer rather than the PIT timer, so drop the MCFPIT code. Cc: Huan Wang Cc: Angelo Dureghello Cc: TsiChung Liew Cc: Wolfgang Wegner Signed-off-by: Tom Rini --- arch/m68k/include/asm/immap.h| 42 - arch/m68k/lib/time.c

Re: [U-Boot] [PATCH v2 21/41] common: Move get_ticks() function out of common.h

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:28PM -0700, Simon Glass wrote: > This function belongs in time.h so move it over and add a comment. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___ U-Boot mail

Re: [U-Boot] [PATCH v2 20/41] common: Move timer_get_us() function out of common.h

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:27PM -0700, Simon Glass wrote: > This function belongs in time.h so move it over and update the comment > style. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [PATCH v2 22/41] common: Move mii_init() function out of common.h

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:29PM -0700, Simon Glass wrote: > This function belongs in mii.h so move it over. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lis

Re: [U-Boot] [PATCH v2 24/41] common: Drop cpu_init()

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:31PM -0700, Simon Glass wrote: > This function is not defined anywhere. Drop it. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lis

Re: [U-Boot] [PATCH v2 25/41] common: Move checkcpu() out of common.h

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:32PM -0700, Simon Glass wrote: > This function belongs in cpu.h so move it over. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lis

Re: [U-Boot] [PATCH v2 27/41] arm: powerpc: Tidy up code style for cache functions

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:34PM -0700, Simon Glass wrote: > Remove the unwanted space before the bracket. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists

Re: [U-Boot] [PATCH v2 29/41] common: Drop checkicache() and checkdcache()

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:36PM -0700, Simon Glass wrote: > These are used by only one arch and only within a single file. Drop the > declarations from the common file. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [PATCH v2 31/41] arm: powerpc: Tidy up code style for interrupt functions

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:38PM -0700, Simon Glass wrote: > Remove the unwanted space before the bracket. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists

Re: [U-Boot] [PATCH v2 32/41] common: Move interrupt functions into a new header

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:39PM -0700, Simon Glass wrote: > These functions do not use driver model but are fairly widely used in > U-Boot. Move them to a new irq_legacy.h header file. > > Signed-off-by: Simon Glass I'm still weighing what I want to say about cpu_legacy.h but I feel like for

Re: [U-Boot] [PATCH v2 33/41] common: Move enable/disable_interrupts out of common.h

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:40PM -0700, Simon Glass wrote: > Move these two functions into the irq_legacy.h header file. > Also move interrupt_handler_t as this is used by the irq_install_handler() > function. > > Signed-off-by: Simon Glass Conceptually, whatever we do with irq functions, the

Re: [U-Boot] [PATCH v2 34/41] common: Move command functions out of common.h

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:41PM -0700, Simon Glass wrote: > Move these functions into the command.h header file which is a better fit. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___ U-B

Re: [U-Boot] [PATCH v2 35/41] common: Drop board_show_dram()

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:42PM -0700, Simon Glass wrote: > This function is not defined by any boards so the feature is not used. > Drop it. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 36/41] common: Move board_get_usable_ram_top() out of common.h

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:43PM -0700, Simon Glass wrote: > Move this function into init.h which seems to be designed for this sort > of thing. Also update the header to declare struct global_data so that it > can be included without global_data.h being needed. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v2 38/41] common: Move pci_init_board() out of common.h

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:45PM -0700, Simon Glass wrote: > This function can be dropped when all boards use driver model for PCI. For > now, move it into init.h with a comment. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 39/41] common: Move trap_init() out of common.h

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:46PM -0700, Simon Glass wrote: > Move this function into the init.h header file. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lis

Re: [U-Boot] [PATCH v2 37/41] common: Move some board functions out of common.h

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:44PM -0700, Simon Glass wrote: > A number of board function belong in init.h with the others. Move them. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___ U-Boot

Re: [U-Boot] [PATCH v2 40/41] common: Drop get_endaddr()

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:47PM -0700, Simon Glass wrote: > This is not used in U-Boot. Drop it. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v2 41/41] common: Move old EEPROM functions into a new header

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 12:53:48PM -0700, Simon Glass wrote: > These functions do not use driver model but are still used. Move them to a > new eeprom_legacy.h header file. > > Signed-off-by: Simon Glass I'm not sure if calling this legacy is correct or not as well. Looking over cmd/eeprom.c i

Re: [U-Boot] [PATCH] armv8: fsl-lsch3: convert CONFIG_TARGET_x to CONFIG_ARCH_x

2019-11-11 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Michael Walle >Sent: Tuesday, October 22, 2019 4:41 AM >To: u-boot@lists.denx.de >Cc: Yinbo Zhu >Subject: [U-Boot] [PATCH] armv8: fsl-lsch3: convert CONFIG_TARGET_x to >CONFIG_ARCH_x > >The clocks are not dependent on the target but only on

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: introduce fsl_board_late_init()

2019-11-11 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Michael Walle >Sent: Tuesday, October 22, 2019 2:08 AM >To: u-boot@lists.denx.de >Cc: Tom Rini >Subject: [U-Boot] [PATCH] armv8: fsl-layerscape: introduce >fsl_board_late_init() > >The fsl-layerscape already occupies board_late_init(), ther

Re: [U-Boot] [PATCH] armv8: layerscape: set HWCONFIG_BUFFER_SIZE

2019-11-11 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Michael Walle >Sent: Monday, October 21, 2019 11:04 PM >To: u-boot@lists.denx.de >Cc: Tom Rini >Subject: [U-Boot] [PATCH] armv8: layerscape: set HWCONFIG_BUFFER_SIZE > >Set the HWCONFIG_BUFFER_SIZE if it is not already set. Otherwise >compi

Re: [U-Boot] [PATCH 1/2] drivers: net: fsl_enetc: set phydev->node

2019-11-11 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Michael Walle >Sent: Saturday, October 26, 2019 6:09 AM >To: u-boot@lists.denx.de >Cc: Joe Hershberger ; Catalin Horghidan > >Subject: [U-Boot] [PATCH 1/2] drivers: net: fsl_enetc: set phydev->node > >The saved ofnode is used by some PHY dri

Re: [U-Boot] [PATCH 2/2] drivers: net: fsl_enetc: fix RGMII configuration

2019-11-11 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Michael Walle >Sent: Saturday, October 26, 2019 6:09 AM >To: u-boot@lists.denx.de >Cc: Joe Hershberger ; Catalin Horghidan > >Subject: [U-Boot] [PATCH 2/2] drivers: net: fsl_enetc: fix RGMII configuration > >Add the missing RGMII PHY modes i

Re: [U-Boot] [PATCH v2] armv8: fsl-layerscape: fix warning if no hwconfig is defined

2019-11-11 Thread Priyanka Jain
>-Original Message- >From: Pankaj Bansal >Sent: Thursday, October 31, 2019 11:11 AM >To: Priyanka Jain >Cc: u-boot@lists.denx.de; Pankaj Bansal >Subject: [PATCH v2] armv8: fsl-layerscape: fix warning if no hwconfig is >defined > >if no hwconfig variable is defined for a platform and w

Re: [U-Boot] [PATCH v2] configs: spi: Add the SPI_FLASH_BAR for ESPI

2019-11-11 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Xiaowei Bao >Sent: Thursday, October 31, 2019 12:05 PM >To: ja...@amarulasolutions.com; u-boot@lists.denx.de; Jagdish Gediya > >Cc: Xiaowei Bao >Subject: [U-Boot] [PATCH v2] configs: spi: Add the SPI_FLASH_BAR for ESPI > >Add the SPI_FLASH_

Re: [U-Boot] [PATCH v2 1/2] freescale/layerscape: Rename the config CONFIG_SECURE_BOOT name.

2019-11-11 Thread Priyanka Jain
>-Original Message- >From: Udit Agarwal >Sent: Thursday, November 7, 2019 9:42 PM >To: u-boot@lists.denx.de >Cc: Priyanka Jain ; Arun Pathak >; Ruchika Gupta ; Udit >Agarwal >Subject: [PATCH v2 1/2] freescale/layerscape: Rename the config >CONFIG_SECURE_BOOT name. > >Renames CONFIG_SECU

Re: [U-Boot] [PATCH] net: cpsw: Add NULL pointer check

2019-11-11 Thread Grygorii Strashko
On 11/11/2019 11:52, Faiz Abbas wrote: Add null pointer check to take care of out of memory errors. Signed-off-by: Faiz Abbas --- drivers/net/ti/cpsw.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ti/cpsw.c b/drivers/net/ti/cpsw.c index 4a990be93e..b710ae4053 100644 -

Re: [U-Boot] [BUG] U-Boot hangs on fatload, commit ee88eacbdd840199a3dec707234579fb15ddd46a

2019-11-11 Thread Gray Remlin
This content is getting very convoluted, if appropriate feel free to crop it. New point raised at very bottom. On Sun, 10 Nov 2019 at 08:41, Heinrich Schuchardt wrote: > On 11/9/19 10:31 PM, Gray Remlin wrote: > > On Sat, 9 Nov 2019 at 20:50, Heinrich Schuchardt > > w

Re: [U-Boot] [PATCH v2 6/6] config: enable DFU over USB on Raspberry Pi4 boards

2019-11-11 Thread Matthias Brugger
On 08/11/2019 17:57, Matthias Brugger wrote: > Hi Marek, > > > First of all thanks for the patch and sorry for the late response. > > On 24/09/2019 15:11, Marek Szyprowski wrote: >> Enable support for DFU over USB. This requires to enable USB gadget, >> DWC2 UDC OTG driver and DFU command. DFU

Re: [U-Boot] [PATCH] env: Access Environment in SPI flashes before relocation

2019-11-11 Thread Simon Goldschmidt
On Mon, Nov 11, 2019 at 7:15 AM Heiko Schocher wrote: > > Hello Simon, > > Am 10.11.2019 um 15:51 schrieb Simon Goldschmidt: > > > > > > Heiko Schocher mailto:h...@denx.de>> schrieb am Sa., 9. Nov. > > 2019, 05:02: > > > > Enable the new Kconfig option ENV_SPI_EARLY if you want > > to use

[U-Boot] [PATCH] spl: fix stack usage check if gd is not initialized

2019-11-11 Thread Simon Goldschmidt
Most platforms do not set up gd->start_addr_sp in SPL. Since this is required for CONFIG_SPL_SYS_REPORT_SACK_F_USAGE to work correctly, set up gd->start_addr_sp in SPL to the value passed to board_init_f_init_reserve if it is not set yet. Fixes: d8c0332031 ("spl: implement stack usage check") Sign

[U-Boot] [PATCH v3] spi: cadence_qspi: support DM_CLK

2019-11-11 Thread Simon Goldschmidt
Support loading clk speed via DM instead of requiring ad-hoc code. Signed-off-by: Simon Goldschmidt --- Changes in v3: - load ref_clk_hz only once in cadence_spi_ofdata_to_platdata instead of loading it every time in cadence_spi_write_speed Changes in v2: - check return value of clk_get_rate

Re: [U-Boot] [PATCH v3 043/108] x86: Adjust mrccache_get_region() to use livetree

2019-11-11 Thread Simon Glass
Hi Bin, On Mon, 4 Nov 2019 at 08:06, Bin Meng wrote: > > Hi Simon, > > On Mon, Oct 21, 2019 at 11:40 AM Simon Glass wrote: > > > > Change the algorithm to first find the flash device then read the > > properties using the livetree API. With this change the device is not > > probed so this needs

Re: [U-Boot] pull request u-boot-fsl-qoriq

2019-11-11 Thread Tom Rini
On Mon, Nov 11, 2019 at 04:45:02AM +, Priyanka Jain wrote: > Dear Tom, > > > > Please find my pull-request for u-boot-fsl-qoriq/master > > https://travis-ci.org/p-priyanka-jain/u-boot/builds/609183013 > > > > Summary > > Rename CONFIG_SECURE_BOOT to CONFIG_NXP_ESBC. > > Few bug fixes

Re: [U-Boot] Pull request: u-boot-rockchip-20191026

2019-11-11 Thread Tom Rini
On Mon, Nov 11, 2019 at 02:57:55PM +0800, Kever Yang wrote: > Hi Tom, > > Please pull the rockchip update: > - Add support for rockchip pmic rk805,rk809, rk816, rk817 > - Add rk3399 board Leez support > - Fix bug in rk3328 ram driver > - Adapt SPL to support ATF bl31 with entry at 0x4 > > Fi

[U-Boot] [ANN] U-Boot v2020.01-rc2 released

2019-11-11 Thread Tom Rini
Hey all, It's release day and here is v2020.01-rc2. Most of the outstanding patches I know about that are "big" are also in, except for the MTD clean-up series. That in turn depends on some ENV related clean-ups that I'm doing. As the expression goes, it's turtles all the way down. Once again,

Re: [U-Boot] [PATCH] binman: tegra: Adjust symbol calculation depending on end-at-4gb

2019-11-11 Thread Tom Rini
On Wed, Nov 06, 2019 at 05:22:44PM -0700, Simon Glass wrote: > A recent change adjusted the symbol calculation to work on x86 but broke > it for Tegra. In fact this is because they have different needs. > > On x86 devices the code is linked to a ROM address and the end-at-4gb > property is used f

Re: [U-Boot] [PATCH v4] gitattributes: dont treat non-text files as text

2019-11-11 Thread Tom Rini
On Fri, Nov 08, 2019 at 04:32:55PM +0100, Veeraiyan Chidambaram wrote: > From: Vignesh Rajendran > > With recent update in u-boot gitattributes all files are treated as regular > text files. This creates problems with special files and repo always > shows uncommitted files like below. > > Your

Re: [U-Boot] [PATCH] .gitignore: Ignore .img files

2019-11-11 Thread Tom Rini
On Sat, Nov 09, 2019 at 08:13:57PM +0100, Michael Trimarchi wrote: > The generated idbloader.img file that rockchip uses should > be not included in git status report > > Signed-off-by: Michael Trimarchi Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [PATCH] env: Access Environment in SPI flashes before relocation

2019-11-11 Thread Heiko Schocher
Hello Simon, Am 11.11.2019 um 21:07 schrieb Simon Goldschmidt: On Mon, Nov 11, 2019 at 7:15 AM Heiko Schocher wrote: Hello Simon, Am 10.11.2019 um 15:51 schrieb Simon Goldschmidt: Heiko Schocher mailto:h...@denx.de>> schrieb am Sa., 9. Nov. 2019, 05:02: Enable the new Kconfig optio

Re: [U-Boot] [PATCH v2 0/4] usb: host: dwc2: use driver model for PHY and CLOCK

2019-11-11 Thread Tan, Ley Foon
> -Original Message- > From: Marek Vasut > Sent: Friday, November 8, 2019 11:43 PM > To: Patrick Delaunay ; u-boot@lists.denx.de > Cc: simon.k.r.goldschm...@gmail.com; b.galv...@gmail.com; Michal > Suchanek ; Sven Schwermer > ; U-Boot STM32 mailman.stormreply.com>; Bin Meng ; Tan, Ley >

Re: [U-Boot] [PATCH v1] imx: bootaux: elf firmware support

2019-11-11 Thread Peng Fan
Hi Igor. > Subject: [PATCH v1] imx: bootaux: elf firmware support We also have similar support for i.MX8 DSP firmware loading. Good to see your patch. > > From: Igor Opaniuk > > Currently imx-specific bootaux command doesn't support ELF format > firmware for Cortex-M4 core. > > This patches