Re: [U-Boot] [U-Boot, v2, 3/5] vsprintf.c: add UTF-16 string (%ls) support

2017-09-12 Thread Tom Rini
On Sat, Sep 09, 2017 at 06:47:41AM -0400, Rob Clark wrote: > This is convenient for efi_loader which deals a lot with UTF-16. Only > enabled with CC_SHORT_WCHAR, leaving room to add a UTF-32 version when > CC_SHORT_WCHAR is not enabled. > > Signed-off-by: Rob Clark >

Re: [U-Boot] [PATCH v5 1/3] armv8: ls1088a: Add NXP LS1088A SoC support

2017-09-12 Thread York Sun
On 08/31/2017 03:43 AM, Ashish Kumar wrote: > The QorIQ LS1088A processor is built on the Layerscape > architecture combining eight ARM A53 processor cores > with advanced, high-performance datapath acceleration > and networks, peripheral interfaces required for > networking, wireless

Re: [U-Boot] [U-Boot,v2,4/5] vsprintf.c: add GUID printing

2017-09-12 Thread Tom Rini
On Sat, Sep 09, 2017 at 06:47:42AM -0400, Rob Clark wrote: > This works (roughly) the same way as linux's, but we currently always > print lower-case (ie. we just keep %pUB and %pUL for compat with linux), > mostly just because that is what uuid_bin_to_str() supports. > > %pUb:

Re: [U-Boot] [PATCH v5 2/3] armv8: ls1088ardb: Add support for LS1088ARDB platform

2017-09-12 Thread York Sun
On 08/31/2017 03:43 AM, Ashish Kumar wrote: > LS1088A is an ARMv8 implementation. The LS1088ARDB is an evaluatoin > platform that supports the LS1088A family SoCs. This patch add basic > support of the platform. > > Signed-off-by: Alison Wang > Signed-off-by: Prabhakar

Re: [U-Boot] davinci: da850-evm: switch to using TI_COMMON_CMD_OPTIONS

2017-09-12 Thread Tom Rini
On Fri, Aug 25, 2017 at 01:51:01PM -0500, Adam Ford wrote: > Like the OMAP-L138 LCDK before it, let's move the da850-evm and > the variations to TI_COMMON_CMD_OPTIONS to cut back one some of the > defconfig entries. > > Signed-off-by: Adam Ford Applied to u-boot/master,

Re: [U-Boot] [U-Boot, 2/3] ARM: k2g: Add FIT image handler for PMMC firmware

2017-09-12 Thread Tom Rini
On Mon, Jul 31, 2017 at 10:58:21AM -0500, Andrew F. Davis wrote: > The PMMC firmware should be bundled into a FIT image on HS > devices to allow authentication/decryption, add a handler to > process this PMMC firmware. > > Signed-off-by: Andrew F. Davis Applied to u-boot/master,

Re: [U-Boot] [U-Boot, 2/2] omap3: am3517_evm: Enable TI_COMMON_CMD_OPTION

2017-09-12 Thread Tom Rini
On Tue, Aug 22, 2017 at 10:50:02AM -0500, Adam Ford wrote: > Enable TI_COMMON_CMD_OPTIONS and remove similar options > from the defconfig. Updated with savedefconfig. > > Signed-off-by: Adam Ford > Tested-by: Derald D. Woods Applied to

Re: [U-Boot] [U-Boot,v2,5/5] examples: add fallback memcpy

2017-09-12 Thread Tom Rini
On Sat, Sep 09, 2017 at 06:47:43AM -0400, Rob Clark wrote: > Solves build issue: > > Building current source for 134 boards (12 threads, 1 job per thread) > arm: + lsxhl > +examples/api/vsprintf.o: In function `string16': > +lib/vsprintf.c:278: undefined reference to `memcpy' >

Re: [U-Boot] dma: import linux/dma-direction.h to consolidate enum dma_data_direction

2017-09-12 Thread Tom Rini
On Sat, Aug 26, 2017 at 12:50:17AM +0900, Masahiro Yamada wrote: > Import include/linux/dma-direction.h from Linux 4.13-rc7 and delete > duplicated definitions of enum dma_data_direction. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Andy Shevchenko

Re: [U-Boot] [U-Boot,1/3] image: Add TI PMMC image type

2017-09-12 Thread Tom Rini
On Mon, Jul 31, 2017 at 10:58:20AM -0500, Andrew F. Davis wrote: > Add a new image type representing TI Power Management > Micro-Controller (PMMC) Firmware image type. > > Signed-off-by: Andrew F. Davis Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] ARM: DRA72x: Add support for detection of DRA71x SR 2.1

2017-09-12 Thread Tom Rini
On Sat, Aug 26, 2017 at 04:51:22PM -0500, Vishal Mahaveer wrote: > DRA71x processors are reduced pin and software compatible > derivative of DRA72 processors. Add support for detection > of SR2.1 version of DRA71x family of processors. > > Signed-off-by: Vishal Mahaveer >

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: Fix MC reserved memory calculation

2017-09-12 Thread York Sun
On 09/07/2017 01:17 PM, York Sun wrote: > In case high region memory doesn't have enough space for Management > Complex (MC), the return value should indicate a failure so the > caller can handle it accordingly. > > Signed-off-by: York Sun > Reported-by: Ebony Zhu

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: Add back L3 flushing for all exception levels

2017-09-12 Thread York Sun
On 09/10/2017 09:48 PM, York Sun wrote: > CCN-504 HPF registers were believed to be accessible only from EL3. > However, recent tests proved otherwise. Remove checking for exception > level to re-enable L3 cache flushing for all levels. > > Signed-off-by: York Sun > ---

Re: [U-Boot] [PATCH 2/3] armv8: ls1088a: add PCIe dts node

2017-09-12 Thread York Sun
On 09/03/2017 08:05 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Signed-off-by: Hou Zhiqiang > --- Applied to fsl-qoriq master. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH] patman: Fix error when the email blacklist is missing

2017-09-12 Thread Simon Glass
This section of the settings file may be missing. Handle that gracefully rather than emitting an error. Also update patman to write this section when a new settings file is created. Fixes: e11aa602 (patman: add support for omitting bouncing addresses) Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v3 2/2] armv8: ls1088aqds: Add support of EC1 and EC2

2017-09-12 Thread York Sun
On 08/31/2017 04:07 AM, Ashish Kumar wrote: > From: Prabhakar Kushwaha > > EC1 and EC2 are RGMII interface on ls1088aqds platform. > This patch add support of RGMII with PHY and MDIO > > Signed-off-by: Prabhakar Kushwaha > Signed-off-by:

Re: [U-Boot] [PATCH 3/3] armv8: ls1088a: Enable PCIe in defconfigs

2017-09-12 Thread York Sun
On 09/03/2017 08:05 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Enabled PCIe support and PCI command feature. > > Signed-off-by: Hou Zhiqiang > --- Applied to fsl-qoriq master. Thanks. York ___

Re: [U-Boot] [PATCH v5 1/9] armv8: Add scfg_clrsetbits_32(), scfg_clrbits_32()

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > Some erratum patch might need it to program registers. > > Signed-off-by: Ran Wang > --- > Change in v4: > New patch file Applied to fsl-qoriq master. Thanks. York ___ U-Boot mailing

Re: [U-Boot] [U-Boot,v2,2/2] armv8: mmu: add space around operator

2017-09-12 Thread Tom Rini
On Thu, Aug 17, 2017 at 03:55:50PM +0800, Andy Yan wrote: > Add space around operator "+", make it > match the coding style. > > Signed-off-by: Andy Yan > Reviewed-by: Philipp Tomsich > Reviewed-by: York Sun

Re: [U-Boot] [PATCH v3 1/2] armv8: fsl-layerscape: Support to add RGMII for ls1088aqds

2017-09-12 Thread York Sun
On 08/31/2017 04:07 AM, Ashish Kumar wrote: > This patch adds support for RGMII protocol > > NXP's LDPAA2 support RGMII protocol. LS1088A is the > first Soc supporting both RGMII and SGMII. > > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Amrita Kumari

Re: [U-Boot] [U-Boot, 1/2] misc: i2c_eeprom: Add compatible for 24AA02E48

2017-09-12 Thread Tom Rini
On Mon, Jul 31, 2017 at 11:25:30AM +0800, Wenyou Yang wrote: > Add the new compatible "microchip,24aa02e48" to accommodate 24AA02E48, > the 24AA02E48 is a 2K I2C Serial EEPROM with pre-programmed globally > unique, 48-bit node address, and 8-byte page size. > > Signed-off-by: Wenyou Yang

Re: [U-Boot] [PATCH v5 4/9] armv8: Add workaround for USB erratum A-008997

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > Low Frequency Periodic Signaling(LFPS) Peak-to-Peak Differential > Output Voltage Test Compliance fails using default transmitter > settings > > Change config of transmitter signal swings by setting register > PCSTXSWINGFULL to 0x47 to pass compliance

Re: [U-Boot] [PATCH v5 7/9] armv7: Add workaround for USB erratum A-009798

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > The default setting for USB High Speed Squelch Threshold results > in a threshold close to or lower than 100mV. This leads to Receive > Compliance test failure for a 100mV threshold. > > Shift the threshold from ~100mV towards ~130mV by setting SQRXTUNE >

Re: [U-Boot] [PATCH v5 9/9] armv7: Add workaround for USB erratum A-009007

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > Rx Compliance tests may fail intermittently at high > jitter frequencies using default register values > > Program register USB_PHY_RX_OVRD_IN_HI in certain sequence > to make the Rx compliance test pass. > > Signed-off-by: Sriram Dash

Re: [U-Boot] [PATCH v5 2/9] armv8: Add workaround for USB erratum A-009008

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > USB High Speed (HS) EYE Height Adjustment > USB HS speed eye diagram fails with the default value at > many corners, particularly at a high temperature > > Optimal eye at TXREFTUNE value to 0x9 is observed, change > set the same value. > > Signed-off-by:

Re: [U-Boot] [PATCH v5 8/9] armv7: Add workaround for USB erratum A-008997

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > Low Frequency Periodic Singaling (LFPS) Peak-to-Peak Differential > Output Voltage Test Compliance fails using default transmitter settings > > Change config of transmitter signal swings by setting register > PCSTXSWINGFULL to 0x47 to pass compliance

Re: [U-Boot] linux/io.h: import generic ioread* / iowrite* accessors from Linux

2017-09-12 Thread Tom Rini
On Sat, Aug 26, 2017 at 01:02:39AM +0900, Masahiro Yamada wrote: > Some drivers in Linux (ex. drivers/mtd/nand/denali.c) use > ioread*/iowrite* accessors. Import them to make drivers more > synced. I copied code from include/asm-generic/io.h of Linux. > > Signed-off-by: Masahiro Yamada

Re: [U-Boot] [PATCH v2 15/19] rockchip: i2c: Convert to livetree

2017-09-12 Thread Simon Glass
On 11 September 2017 at 03:18, Philipp Tomsich wrote: > Update the Rockchip I2C driver to support livetree. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 1/2] ARM: OMAP3: am3517_evm: Move header to ti_omap3_common.h

2017-09-12 Thread Tom Rini
On Tue, Aug 22, 2017 at 10:50:01AM -0500, Adam Ford wrote: > Much of the AM3517 functions are copies of the standard definitions > used in ti_omap3_common.h. Moving to include a common file > reduces the amount of duplicative code and clutter. A few > AM3517 specific functions (like EMIF4) are

Re: [U-Boot] [U-Boot, 2/2] misc: i2c_eeprom: Add compatible for AT24MAC402

2017-09-12 Thread Tom Rini
On Mon, Jul 31, 2017 at 11:25:31AM +0800, Wenyou Yang wrote: > Add the new compatible "atmel,24mac402" to accommodate AT24MAC402. > The AT24MAC402 is a 2K Serial EEPROM and the 2-Kbit memory array > is internally organized as 16 pages of 16 bytes of EEPROM each. > The 48-bit EUI address in the

Re: [U-Boot] [PATCH 11/13] x86: braswell: Add FSP configuration

2017-09-12 Thread Simon Glass
Hi Bin, On 12 September 2017 at 09:20, Bin Meng wrote: > Hi Simon, > > On Wed, Sep 6, 2017 at 9:39 AM, Simon Glass wrote: >> Hi Bin, >> >> On 26 August 2017 at 18:10, Bin Meng wrote: >>> Hi Simon, >>> >>> On Sun, Aug 27, 2017 at 6:39

Re: [U-Boot] [PATCH v5 3/9] armv8: Add workaround for USB erratum A-009798

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > The default setting for USB High Speed Squelch Threshold results > in a threshold close to or lower than 100mV. This leads to Receiver > Compliance test failure for a 100mV threshold. > > Shift the threshold from ~100mV towards ~130mV by setting SQRXTUNE

Re: [U-Boot] cosmetic: bootcount: correct comment for used scratch register

2017-09-12 Thread Tom Rini
On Thu, Aug 03, 2017 at 09:16:54AM +0300, Tomas Melin wrote: > Signed-off-by: Tomas Melin Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v5 5/9] armv8: Add workaround for USB erratum A-009007

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > Rx Compliance tests may fail intermittently at high > jitter frequencies using default register values. > > Program register USB_PHY_RX_OVRD_IN_HI in certain sequence > to make the Rx compliance test pass. > > Signed-off-by: Sriram Dash

Re: [U-Boot] [U-Boot, v2, 1/2] armv8: mmu: remove unused macro definition

2017-09-12 Thread Tom Rini
On Thu, Aug 17, 2017 at 03:55:01PM +0800, Andy Yan wrote: > Macro VA_BITS and PTE_BLOCK_BITS are not used > in the code, so remove them. > > Signed-off-by: Andy Yan > Reviewed-by: Philipp Tomsich > Reviewed-by: York Sun

Re: [U-Boot] [PATCH] rockchip: rk3399: spl: convert to using BOOT_DEVICE_BOOTROM

2017-09-12 Thread Simon Glass
On 11 September 2017 at 04:48, Philipp Tomsich wrote: > Instead of directly calling into the back-to-bootrom code, the RK3399 > common SPL implementation now uses BOOT_DEVICE_BOOTROM to trigger a > transfer back into the bootrom. > > With this factored out,

Re: [U-Boot] [PATCH 5/5] x86: fsp: Configure SPI opcode registers before SPI is locked down

2017-09-12 Thread Simon Glass
Hi Bin, On 12 September 2017 at 07:53, Bin Meng wrote: > Hi Simon, > > On Wed, Sep 6, 2017 at 9:39 AM, Simon Glass wrote: >> Hi Bin, >> >> On 26 August 2017 at 18:12, Bin Meng wrote: >>> Hi Simon, >>> >>> On Sun, Aug 27, 2017 at 6:40

Re: [U-Boot] [PATCH v5 6/9] armv7: Add workaround for USB erratum A-009008

2017-09-12 Thread York Sun
On 09/04/2017 04:04 AM, Ran Wang wrote: > USB High Speed (HS) EYE Height Adjustment > USB HS speed eye diagram fails with the default value at > many corners, particularly at a high temperature > > Optimal eye at TXREFTUNE value to 0x9 is observed, change > set the same value. > > Signed-off-by:

Re: [U-Boot] [PATCH v3 1/2] imx: add macro to detect whether USB PHY is active

2017-09-12 Thread Eric Nelson
Hi Stefan, I hate to be fussy about this, but I don't think I saw a reply to my earlier comment about the term "USB PHY". https://lists.denx.de/pipermail/u-boot/2017-September/305123.html Since i.MX6 SoCs have USB **Host** Phy's as well as the USB OTG Phy, this patch is a bit misleading.

Re: [U-Boot] rockchip: add support for backing to bootrom download mode

2017-09-12 Thread Andy Yan
Hi Philipp: On 2017年09月13日 03:30, Philipp Tomsich wrote: On Mon, 11 Sep 2017, Andy Yan wrote: Rockchip bootrom will enter download mode if it returns from spl/tpl with a none-zero value and couldn't find a valid image in the backup partition. This patch provide a method to instruct the

Re: [U-Boot] [PATCH v3 2/5] cmd: spl: Fix compiling warning

2017-09-12 Thread York Sun
On 08/15/2017 11:15 AM, York Sun wrote: > Fix warning "cast from pointer to integer of different size". > > Signed-off-by: York Sun > Reviewed-by: Tom Rini > --- > > Changes in v3: None > Changes in v2: None Applied to fsl-qoriq master. York

[U-Boot] [PATCH v3 3/3] sunxi: setup simplefb for Allwinner DE2

2017-09-12 Thread Icenowy Zheng
As the support of EFI boot on Allwinner H3 is broken, we still need to use simplefb to pass the framebuffer to Linux. Add code to setup simplefb for Allwinner DE2 driver. Signed-off-by: Icenowy Zheng --- Changes in v3: - Extract CONFIG_VIDEO_DT_SIMPLEFB to a Kconfig option.

Re: [U-Boot] [PATCH v3 1/3] SECURE_BOOT: Unify memory map for Layerscape based platforms

2017-09-12 Thread York Sun
On 08/15/2017 09:45 PM, Sumit Garg wrote: > Unify memory map for Layerscape based platforms. This patch includes > changes in bootscript, bootscript header and PPA header addresses > change as per unified memory map. > > Signed-off-by: Sumit Garg > Tested-by: Vinitha Pillai

Re: [U-Boot] [PATCH v3 3/3] LS2080ARDB: Secure Boot defconfig for QSPI boot.

2017-09-12 Thread York Sun
On 08/15/2017 09:45 PM, Sumit Garg wrote: > From: Udit Agarwal > > Add the secure boot defconfig for QSPI boot on LS2088ARDB > platform. > > Signed-off-by: Udit Agarwal > --- > > Changes in v3: > Rebasing of the patch on top commit. > This patch

Re: [U-Boot] [PATCH v3 2/3] LS2080ARDB: QSPI boot: Secure Boot image validation

2017-09-12 Thread York Sun
On 08/15/2017 09:45 PM, Sumit Garg wrote: > From: Udit Agarwal > > Adds header address for PPA to be validated during ESBC phase for > ARCH_LS2088 and QSPI_BOOT. > > Moves sec_init prior to ppa_init as for validation of PPA, sec must > be initialised before the PPA is

[U-Boot] [PATCH] ARM: zynq: Add support for SYZYGY Hub board

2017-09-12 Thread Tom McLeod
Add the Zynq-based SYZYGY Hub board from Opal Kelly. The board contains a Xilinx Zynq xc7z012s SoC, 1GB DDR3 RAM, and supports booting from SD. Signed-off-by: Tom McLeod --- arch/arm/dts/Makefile |1 + arch/arm/dts/zynq-syzygy-hub.dts

Re: [U-Boot] [PATCH] arm: am33xx: Make pin multiplexing functions optional

2017-09-12 Thread Tom Rini
On Tue, Sep 12, 2017 at 02:05:01PM +0200, Felix Brack wrote: > > > On 07.09.2017 17:14, Tom Rini wrote: > > On Wed, Sep 06, 2017 at 04:57:52PM +0200, Felix Brack wrote: > >> On 01.09.2017 17:21, Tom Rini wrote: > >>> On Thu, Aug 31, 2017 at 03:16:17PM +0200, Felix Brack wrote: > >>> >

Re: [U-Boot] Uboot send pull request

2017-09-12 Thread Tom Rini
On Wed, Sep 13, 2017 at 09:39:10AM +0800, ub...@andestech.com wrote: > Hi Tom, > > Please pull the following patch from u-boot-nds32 into your tree. > Thanks! > > The following changes since commit 8a33cb8b6bdf8a35f931fcc3d8aa15254cfc4b23: > > Merge git://git.denx.de/u-boot-fsl-qoriq

[U-Boot] [PATCH 1/1] checkpatch.pl: Add warning for new __packed additions

2017-09-12 Thread Heinrich Schuchardt
While there are valid reasons to use __packed, often the answer is that you should be doing something else here instead. This reintroduces the changes of f503cc49a570 (Add warning for new __packed additions) Signed-off-by: Heinrich Schuchardt --- This patch is to go after

[U-Boot] [PATCH] rockchip: enable TPL_SYSRESET for all rockchip SoCs

2017-09-12 Thread Kever Yang
With Makefiles testing for $(SPL_TPL_)SYSRESET, we need TPL_SYSRESET for do_reset() in TPL for Rockchip SoCs. References: 87c16d4 "drivers: spl: consistently use the $(SPL_TPL_) macro" Signed-off-by: Kever Yang --- arch/arm/Kconfig | 1 + 1 file changed, 1

[U-Boot] [PATCH v5 6/9] ARM: at91: spl: Add boot device for boot from QSPI

2017-09-12 Thread Wenyou Yang
Add the boot device for booting from the QSPI flash. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/mach-at91/spl.c | 2 ++ 1 file changed, 2

Re: [U-Boot] [U-Boot, 1/2] rockchip: rk3368: add ENV_MEM_LAYOUT to extra env settings

2017-09-12 Thread Philipp Tomsich
> Add the ENV_MEM_LAYOUT_SETTINGS to CONFIG_EXTRA_ENV_SETTINGS > > Signed-off-by: Andy Yan > Acked-by: Philipp Tomsich > --- > > include/configs/rk3368_common.h | 1 + > 1 file changed, 1 insertion(+) > Applied to

Re: [U-Boot] [U-Boot,v4] rk3288: Add Vyasa initial board support

2017-09-12 Thread Philipp Tomsich
> From: Jagan Teki > > This patch adds support for Vyasa RK3288 initial board > from Amarula Solutions. > > Boot from SDMMC: > --- > U-Boot SPL 2017.09-rc1-00111-g3656991-dirty (Aug 10 2017 - 11:40:45) > Trying to boot from MMC1 > > U-Boot

Re: [U-Boot] [ANN] U-Boot v2017.09 is released

2017-09-12 Thread Wolfgang Denk
Dear Tom, In message <20170911181716.GL17058@bill-the-cat> you wrote: > > I've released v2017.09 and it's now live on git and FTP and ACD (along > with PGP sig file). Thanks a lot. And here is the related statistics (see also [1] for the web version): Changes since v2017.07: * Processed 1308

[U-Boot] [PATCH v5 01/10] dts: renamed FIT_EMBED to MULTI_DTB_FIT and moved it to the dts Kconfig

2017-09-12 Thread Jean-Jacques Hiblot
CONFIG_FIT_EMBED might be confused with CONFIG_OF_EMBED, rename it MULTI_DTB_FIT as it is able to get a DTB from a FIT image containing multiple DTBs. Also move the option to the Kconfig dedicated to the DTS options and create a README for this feature. Signed-off-by: Jean-Jacques Hiblot

[U-Boot] [PATCH v5 00/10] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-09-12 Thread Jean-Jacques Hiblot
Following the RFC, here is the series implementing the mechanism in a cleaner way. The idea is that the SPL may take advantage of selecting its DTB from a pool of available DTBs. To do that several DTBs are embedded in a compressed FIT image appended at the end of the SPL. The patch is done in

[U-Boot] [PATCH v5 02/10] fit: use 'const' for the input of fdt_offset() and locate_dtb_in_fit()

2017-09-12 Thread Jean-Jacques Hiblot
Those 2 functions don't modify their input, we can mark it const. This prevents compilation warnings when they are provided const input. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini Reviewed-by: Simon Glass ---

[U-Boot] [PATCH v5 06/10] gzip: add a function to parse the header

2017-09-12 Thread Jean-Jacques Hiblot
Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- include/common.h | 1 + lib/gunzip.c | 15 --- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/include/common.h

[U-Boot] [PATCH v5 07/10] lib: allow building lzo and gunzip for the SPL

2017-09-12 Thread Jean-Jacques Hiblot
Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- lib/Kconfig | 17 - lib/Makefile | 6 +++--- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/lib/Kconfig b/lib/Kconfig

[U-Boot] [PATCH v5 09/10] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-09-12 Thread Jean-Jacques Hiblot
u-boot can be embedded within a FIT image with multiple DTBs. It then selects at run-time which one is best suited for the platform. Use the same principle here for the SPL: put the DTBs in a FIT image, compress it (LZO, GZIP, or no compression) and append it at the end of the SPL.

[U-Boot] [PATCH v5 03/10] fit: fixed bug in locate_dtb_in_fit()

2017-09-12 Thread Jean-Jacques Hiblot
If the dtb is the first data of the FIT, the its offset is 0x0. Change the test to '<' instead of '<=' Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- common/boot_fit.c | 2 +- 1 file changed, 1

[U-Boot] [PATCH v5 10/10] omap: detect board before spl_early_init()

2017-09-12 Thread Jean-Jacques Hiblot
In order to be able to select the right DTB, we need to have identified the board before spl_early_init() is called. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini Reviewed-by: Simon Glass ---

[U-Boot] [PATCH v5 08/10] fdtdec: sort include files

2017-09-12 Thread Jean-Jacques Hiblot
Sort include files in accordance to U-Boot coding style. Signed-off-by: Jean-Jacques Hiblot --- lib/fdtdec.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 630e040..ee398d1 100644 --- a/lib/fdtdec.c +++

Re: [U-Boot] [PATCH] arm: am33xx: Make pin multiplexing functions optional

2017-09-12 Thread Felix Brack
On 07.09.2017 17:14, Tom Rini wrote: > On Wed, Sep 06, 2017 at 04:57:52PM +0200, Felix Brack wrote: >> On 01.09.2017 17:21, Tom Rini wrote: >>> On Thu, Aug 31, 2017 at 03:16:17PM +0200, Felix Brack wrote: >>> Boards using the single-register-pin-controller can configure all pins by

Re: [U-Boot] [PATCH 05/13] usb: gadget: Make g_dnl USB settings common

2017-09-12 Thread Simon Glass
Hi Maxime, On 8 September 2017 at 11:34, Maxime Ripard wrote: > The g_dnl USB settings for the vendor ID, product ID and manufacturer are > actually common settings that can and should be shared by all the gadgets. > > Make them common by renaming them, and

Re: [U-Boot] [PATCH 01/13] usb: gadget: Move USBNET_DEVADDR option out of g_dnl

2017-09-12 Thread Simon Glass
On 8 September 2017 at 11:34, Maxime Ripard wrote: > The USBNET_DEVADDR has nothing to do with the USB download gadget, but > rather with the USB Ethernet gadget. Move it out of the if statement. > > Signed-off-by: Maxime Ripard

Re: [U-Boot] [PATCH] lib: strto: fix incorrect handling of specified base

2017-09-12 Thread Simon Glass
On 11 September 2017 at 14:53, Rob Clark wrote: > > The strto functions should honor the specified base (if non-zero) rather > than permitting a hex or octal string when the user wanted (for example) > base 10. > > This has been fixed somewhere along the way in the upstream

Re: [U-Boot] [PATCH v2] i2c: muxes: pca954x: Add support for GPIO reset line

2017-09-12 Thread Simon Glass
On 11 September 2017 at 12:19, Moritz Fischer wrote: > This commit adds support for GPIO reset lines matching the > common linux "reset-gpios" devicetree binding. > > Signed-off-by: Moritz Fischer > --- > > Changes from v1: > - Simon's feedback

Re: [U-Boot] [PATCH 2/2] add pytests for 'gpt guid' command in sandbox

2017-09-12 Thread Simon Glass
On 10 September 2017 at 00:47, wrote: > From: Alison Chaiken > > Run unit tests for the 'gpt guid' command, making use of the block > device created by test/py/make_test_disk.py. Remove this device at > the end of the tests. > > Signed-off-by:

Re: [U-Boot] [PATCH 06/13] usb: gadget: usb_ether: Move settings to common

2017-09-12 Thread Simon Glass
On 8 September 2017 at 11:34, Maxime Ripard wrote: > The usb_ether gadget duplicates the USB settings for the manufacturer, > product ID and vendor ID. > > Make sure we use the common option so that we can expect a single VID/PID > couple for a single device. > >

Re: [U-Boot] [PATCH v2 11/21] efi_loader: add file/filesys support

2017-09-12 Thread Simon Glass
On 10 September 2017 at 05:21, Rob Clark wrote: > fallback.efi (and probably other things) use UEFI's simple-file-system > protocol and file support to search for OS's to boot. > > Signed-off-by: Rob Clark > --- > include/efi.h | 2

Re: [U-Boot] [PATCH 2/2] rockchip: ram: rk3399: update reg map for of-platdata

2017-09-12 Thread Simon Glass
Hi Kever, On 11 September 2017 at 02:17, Kever Yang wrote: > Hi Simon, > > > On 09/08/2017 08:17 PM, Simon Glass wrote: >> >> Hi Kever, >> >> On 8 September 2017 at 01:34, Dr. Philipp Tomsich >> wrote: >>> >>> On 8 Sep 2017,

Re: [U-Boot] [PATCH] rockchip: rk3399: spl: remove hard-coded addresses for GRF and SGRF

2017-09-12 Thread Simon Glass
On 11 September 2017 at 04:47, Philipp Tomsich wrote: > On the RK3399, we will have either OF_PLATDATA or full OF_CONTROL > enabled: this allows the use of syscon to retrieve the addresses of > GRF and SGRF (except for the early debug UART setup, which runs

Re: [U-Boot] [PATCH v3 2/9] fs/fat: introduce new director iterators

2017-09-12 Thread Simon Glass
On 10 September 2017 at 05:21, Rob Clark wrote: > Untangle directory traversal into a simple iterator, to replace the > existing multi-purpose do_fat_read_at() + get_dentfromdir(). > > Signed-off-by: Rob Clark > Reviewed-by: Łukasz Majewski

Re: [U-Boot] [PATCH v3 8/9] fs/fat: fix case for FAT shortnames

2017-09-12 Thread Simon Glass
On 9 September 2017 at 11:15, Rob Clark wrote: > Noticed when comparing our output to linux. There are some lcase bits > which control whether filename and/or extension should be downcase'd. > > Signed-off-by: Rob Clark > Reviewed-by: Łukasz Majewski

Re: [U-Boot] [PATCH v1 10/12] dm: video: Add basic ANSI escape sequence support

2017-09-12 Thread Rob Clark
On Tue, Sep 12, 2017 at 8:30 AM, Simon Glass wrote: > Hi Rob, > > On 10 September 2017 at 07:22, Rob Clark wrote: >> Really just the subset that is needed by efi_console. Perhaps more will >> be added later, for example color support would be useful to

Re: [U-Boot] [U-Boot, v2, 04/13] arm: dra76: Add support for ES1.0 detection

2017-09-12 Thread Tom Rini
On Mon, Aug 21, 2017 at 12:50:52PM +0530, Lokesh Vutla wrote: > From: Praneeth Bajjuri > > dra76 family is a high-performance, infotainment application > device, based on OMAP architecture on a 28-nm technology. > This contains most of the subsystems, peripherals that are >

Re: [U-Boot] [U-Boot, v2, 06/13] board: ti: dra76-evm: Add the pmic data

2017-09-12 Thread Tom Rini
On Mon, Aug 21, 2017 at 12:50:54PM +0530, Lokesh Vutla wrote: > From: Keerthy > > dra76-evm uses lp8736 and tps65917 pmic for powering on > various peripherals. Add data for these pmics and register > for dra76-evm. > > Reviewed-by: Tom Rini >

Re: [U-Boot] [PATCH v3 1/6] board_f: Drop the timer after relocation

2017-09-12 Thread Bin Meng
On Wed, Sep 6, 2017 at 9:49 AM, Simon Glass wrote: > Once U-Boot relocates itself the existing driver-model timer (if any) is > no-longer valid until the device is reinitialised. Any use of the device > may cause a crash. To handle this, set the timer to NULL after relocation.

Re: [U-Boot] [PATCH v4 8/9] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-09-12 Thread Tom Rini
On Tue, Sep 12, 2017 at 03:23:38PM +0200, Jean-Jacques Hiblot wrote: > Hi Simon, > > It's has been a month since you've reviewed the series, I think it's > time that I send a v5. > I tried to address all your remarks but I stumbled on this one below: > > JJ > > On 13/08/2017 23:35, Simon Glass

Re: [U-Boot] [PATCH v3 5/6] bootstage: Provide a separate record count setting for SPL

2017-09-12 Thread Bin Meng
On Wed, Sep 6, 2017 at 9:49 AM, Simon Glass wrote: > With SPL we often have limited memory and do not need very many bootstage > records. Add a separate Kconfig option for SPL. > > Signed-off-by: Simon Glass > --- > > Changes in v3: None > Changes in v2:

[U-Boot] [PATCH v3] i2c: muxes: pca954x: Add support for GPIO reset line

2017-09-12 Thread Moritz Fischer
This commit adds support for GPIO reset lines matching the common linux "reset-gpios" devicetree binding. Signed-off-by: Moritz Fischer Reviewed-by: Heiko Schocher Reviewed-by: Simon Glass --- Changes from v2: - Removed ifdef that

Re: [U-Boot] [PATCH v2 3/6] dm: x86: Update timer_get_boot_us to work before DM is ready

2017-09-12 Thread Bin Meng
Hi Simon, On Wed, Sep 6, 2017 at 9:39 AM, Simon Glass wrote: > Hi Bin, > > On 27 August 2017 at 23:18, Bin Meng wrote: >> Hi Simon, >> >> On Sun, Aug 27, 2017 at 11:23 PM, Simon Glass wrote: >>> Use the new separate init function so

Re: [U-Boot] [PATCH 11/13] x86: braswell: Add FSP configuration

2017-09-12 Thread Bin Meng
Hi Simon, On Wed, Sep 6, 2017 at 9:39 AM, Simon Glass wrote: > Hi Bin, > > On 26 August 2017 at 18:10, Bin Meng wrote: >> Hi Simon, >> >> On Sun, Aug 27, 2017 at 6:39 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 26 August 2017 at

Re: [U-Boot] [PATCH] genconfig.py: Print defconfig next to warnings

2017-09-12 Thread sjg
At present we sometimes see warnings of the form: /tmp/tmpMA89kB:36: warning: overriding the value of CMD_SPL. Old value: "y", new value: "y". This is not very useful as it does not show whch defconfig file it relates to. Update the tool to show this. Signed-off-by: Simon Glass

Re: [U-Boot] [U-Boot, v3, 17/19] rockchip: gpio: remove outdated/misleading comment

2017-09-12 Thread Philipp Tomsich
> Remove a comment claiming that this driver only supports the RK3288, > as we also use it on the RK3368, RK3399 and (most likely) on other > variants. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > Acked-by: Philipp

Re: [U-Boot] [U-Boot,v3,12/19] rockchip: spi: Convert to livetree

2017-09-12 Thread Philipp Tomsich
> Update the Rockchip SPI driver to support a live device tree. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > Reviewed-by: Jagan Teki > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, v3, 19/19] rockchip: lion-rk3368: defconfig: resync w/ OF_LIVE and BOOTSTAGE enabled

2017-09-12 Thread Philipp Tomsich
> This adds OF_LIVE and BOOTSTAGE support for the RK3368-uQ7 and > regenerates the defconfig (picking up a few changes/reorderings) from > upstream Kconfig changes. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass >

Re: [U-Boot] [U-Boot, 1/2] rockchip: rk3368: add ENV_MEM_LAYOUT to extra env settings

2017-09-12 Thread Philipp Tomsich
> Add the ENV_MEM_LAYOUT_SETTINGS to CONFIG_EXTRA_ENV_SETTINGS > > Signed-off-by: Andy Yan > --- > > include/configs/rk3368_common.h | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Philipp Tomsich

Re: [U-Boot] [PATCH] ARM: socfpga: fix duplicate const specifier warning

2017-09-12 Thread Marek Vasut
On 09/12/2017 10:23 AM, Masahiro Yamada wrote: > GCC 7.1 warns: > duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] > > Signed-off-by: Masahiro Yamada > --- > > arch/arm/mach-socfpga/misc_gen5.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [U-Boot] [U-Boot, v4, 3/4] usb: dwc3: add support for 16 bit UTMI+ interface

2017-09-12 Thread Marek Vasut
On 09/12/2017 11:09 AM, Dr. Philipp Tomsich wrote: > Marek, > > do you know whether there's an update of the DWC3 driver planned to get us > back in sync with the kernel driver? To my knowledge, no. Patches welcome. btw please stop top-posting > Thanks, > Philipp. > > >> On 12 Sep 2017, at

Re: [U-Boot] [PATCH] cmd: set filesize variable in ubi read

2017-09-12 Thread Holger Dengler
Hi Heiko, sorry, my fault. I missed, that the function has been renamed. I'll resend the patch. On 09/12/2017 09:35 AM, Heiko Schocher wrote: > Hello Holger, > > Am 31.08.2017 um 09:25 schrieb Heiko Schocher: >> Hello Holger, >> >> Am 30.08.2017 um 18:38 schrieb Holger Dengler: >>> After a

Re: [U-Boot] [PATCH v3 1/2] dm: core: add clocks node scan

2017-09-12 Thread sjg
On 4 September 2017 at 06:55, wrote: > From: Patrice Chotard > > Currently, all fixed-clock declared in "clocks" node in device tree > can be binded by clk_fixed_rate.c driver only if each of them have > the "simple-bus" compatible string. > This

Re: [U-Boot] [PATCH v3] patman: add support for omitting bouncing addresses

2017-09-12 Thread sjg
> On 1 Sep 2017, at 10:57, Chris Packham wrote: > > Add support for reading a list of bouncing addresses from a in-tree file > (doc/bounces) and from the ~/.patman config file. These addresses are > stripped from the Cc list. > > Signed-off-by: Chris Packham

Re: [U-Boot] [PATCH v2 2/2] dm: core: Show driver name with 'dm tree'

2017-09-12 Thread sjg
It is often useful to see which driver was actually selected for each device. Add a new 'Driver' column to provide this information. Sample output: Class Probed Driver Name root[ + ]root_drive root_driver keyboard[ + ]

Re: [U-Boot] [U-Boot,v3,02/19] dm: timer: Convert to livetree

2017-09-12 Thread Philipp Tomsich
> This updates dm_timer_init to support a live tree and deals with > some fallout (i.e. the need to restructure the code such, that we > don't need multiple discontinuous #if CONFIG_IS_ENABLED blocks). > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon

Re: [U-Boot] [PATCH v2 1/2] dm: core: Drop use of strlcpy()

2017-09-12 Thread sjg
On Thu, Aug 3, 2017 at 2:12 AM, Simon Glass wrote: > We can use printf() to limit the string width. Adjust the code to do this > instead of using strlcpy() which is a bit clumbsy. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Add new patch to

Re: [U-Boot] [PATCH 1/2] sandbox: Introduce Kconfig option for 32/64 bit host

2017-09-12 Thread sjg
On 1 August 2017 at 17:33, Bin Meng wrote: > It seems most of the time we are building and running sandbox on 64-bit host. > But we do support 32-bit host as well. Introduce Kconfig option for this. > > Signed-off-by: Bin Meng > --- > >

Re: [U-Boot] [U-Boot, v3, 18/19] rockchip: dts: rk3368-lion: add /chosen/tick-timer

2017-09-12 Thread Philipp Tomsich
> To support bootstage recording, we want to mark our DM timer as the > tick-timer; this triggers the support for 'trying harder' to read the > timer in the Rockchip DM timer driver, even if the device model isn't > ready yet. > > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 2/2] rockchip: rk3368: add the missing target and pinctrl config for sheep board

2017-09-12 Thread Philipp Tomsich
> Add the missing target and pinctrl config for rk3368 sheep board > > Signed-off-by: Andy Yan > Reviewed-by: Simon Glass > --- > > configs/sheep-rk3368_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Philipp Tomsich

<    1   2   3   4   >