Re: [U-Boot] [PATCH V2 00/32] i.MX: Add i.MX8QXP support

2018-07-27 Thread Peng Fan
> -Original Message- > From: Troy Kisky [mailto:troy.ki...@boundarydevices.com] > Sent: 2018年7月28日 1:58 > To: Peng Fan ; sba...@denx.de; Fabio Estevam > ; Anatolij Gustschin > Cc: u-boot@lists.denx.de; dl-linux-imx > Subject: Re: [PATCH V2 00/32] i.MX: Add i.MX8QXP support > > On 7/27/

[U-Boot] [PATCH] sata: fix sata_Probe return value check

2018-07-27 Thread Troy Kisky
sata_probe returns 1 for failure, so don't checkout for < 0 fixes: f19f1ecb6025 dm: sata: Support driver model with the 'sata' command Signed-off-by: Troy Kisky diff --git a/cmd/sata.c b/cmd/sata.c index cc12afb07e..4f0c6e0137 100644 --- a/cmd/sata.c +++ b/cmd/sata.c @@ -107,8 +107,8 @@ static

Re: [U-Boot] [PATCH V2 00/32] i.MX: Add i.MX8QXP support

2018-07-27 Thread Troy Kisky
On 7/27/2018 12:54 AM, Peng Fan wrote: > Hi All, > > I plan to send out V3 early next week. QXP BETA2 has been external released, > so there will be update in README including link to scfw images. > Paste the link here first: > https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-sc-firmware-0.7.bin, u

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

2018-07-27 Thread Tom Rini
On Thu, Jul 26, 2018 at 02:12:06PM -0500, Joe Hershberger wrote: > Hi Tom, > > All tests are passing: https://travis-ci.org/jhershbe/u-boot/builds/408198713 > > The following changes since commit 08fcdd332f3d6bc7842e21a97c80789d9233e147: > > Makefile: Fix 'clean' target (2018-07-26 07:12:31 -

Re: [U-Boot] [PATCH] openrd: Once again shrink binary size

2018-07-27 Thread Tom Rini
On Fri, Jul 27, 2018 at 07:59:31AM -0400, Tom Rini wrote: > With some recent changes to relevant drivers here the openrd board > (openrd_client in this case) does not fit within its size constraint. > We can however drop the slightly extended baudrate table and then the > duplication of mtdparts/m

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

2018-07-27 Thread Tom Rini
On Thu, Jul 26, 2018 at 06:36:12PM -0600, Simon Glass wrote: > Hi Tom, > > Just a few small things. > > > The following changes since commit 0dd1fc09bb16869fd8adaaad082cd554c60b2c1a: > > board/imgtec/boston: Add new defconfigs to the MAINTAINERS list > (2018-07-20 15:55:10 -0400) > > are av

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

2018-07-27 Thread Tom Rini
On Thu, Jul 26, 2018 at 02:08:33PM -0700, Tom Warren wrote: > Tom, > > Please pull u-boot-tegra/master into U-Boot/master. Thanks! > > All Tegra builds are OK, and Stephen's automated test system reports that > all tests pass. > > The following changes since commit 2547e91dc15e5203e15d4ebde917

[U-Boot] [PATCH] video: sunxi: de2: fix SimpleFB node creation when DE2 not probed

2018-07-27 Thread Icenowy Zheng
Sometimes when a monitor without EDID information is plugged, the DE2 won't be probed (because of lack of timing information), but the HDMI node is probed, thus a SimpleFB node with invalid information will be populated. Also detect whether DE2 is probed when creating SimpleFB node. Fixes: be5b96

[U-Boot] Please pull fsl-qoriq master

2018-07-27 Thread York Sun
Tom, The following changes since commit 08fcdd332f3d6bc7842e21a97c80789d9233e147: Makefile: Fix 'clean' target (2018-07-26 07:12:31 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git for you to fetch changes up to 86b840b78d0eba652f65841a870d232ab743612e:

Re: [U-Boot] [PATCH 2/2] armv8: ls1046ardb: Add falcon mode for for QSPI boot

2018-07-27 Thread York Sun
On 06/26/2018 02:49 PM, York Sun wrote: > A new defconfig is introduced to support SPL boot from QSPI NOR > flash. This is to support falcon mode for faster booting into > Linux. > > Signed-off-by: York Sun > --- Applied to fsl-qoriq, awaiting upstream. York ___

Re: [U-Boot] [PATCH 1/2] armv8: layerscape: spl: Initialize QSPI AHB for QSPI boot

2018-07-27 Thread York Sun
On 06/26/2018 02:49 PM, York Sun wrote: > To get full access of QSPI space, initialize AHB interface. > > Signed-off-by: York Sun > --- Applied to fsl-qoriq, awaiting upstream. York ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/li

[U-Boot] [PATCH] env: common: load read-only variables after reset

2018-07-27 Thread Yaniv Levinsky
U-Boot fails to load read-only variables from storage after a reset. It happens because the environment hash table prevents creating read-only variables unless the H_FORCE flag is passed. In the following example, the variable "test" is set to read-only in the board header file (#define CONFIG_ENV

Re: [U-Boot] [RFC PATCH] spl: Add option SPL_PAYLOAD

2018-07-27 Thread York Sun
On 06/14/2018 02:39 PM, York Sun wrote: > Some legacy boards use RAW image for SPL boot. Add Kconfig option > SPL_PAYLOAD to set alternative image. > > Signed-off-by: York Sun > > --- Applied to fsl-qoriq, awaiting upstream. York ___ U-Boot mailing l

Re: [U-Boot] [PATCH] armv8: ls1046ardb: ls1046aqds: Move SPL macros to defconfig

2018-07-27 Thread York Sun
On 06/26/2018 09:42 AM, York Sun wrote: > Instead of defining Kconfig macros in header file, move them to > defconfig files. > > Signed-off-by: York Sun > --- Applied to fsl-qoriq, awaiting upstream. York ___ U-Boot mailing list U-Boot@lists.denx.d

Re: [U-Boot] [RFC PATCH 2/2] powerpc: mpc85xx: Drop u-boot-with-spl.bin on selected boards

2018-07-27 Thread York Sun
On 06/14/2018 02:26 PM, York Sun wrote: > For SoCs with PBL, u-boot-with-spl-pbl.bin is the final image for > SPL boot. Drop unused u-boot-with-spl.bin. > > Signed-off-by: York Sun > CC: Ashish Kumar > CC: Ruchika Gupta > CC: Priyanka Jain > CC: Shengzhou Liu > Applied to fsl-qoriq, awaitin

Re: [U-Boot] [RFC PATCH 1/2] armv8: layerscape: Drop u-boot-with-spl.bin for selected boards

2018-07-27 Thread York Sun
On 06/14/2018 02:26 PM, York Sun wrote: > For SPL boot with PBL, u-boot-with-spl-pbl.bin is the final image. > Drop unused u-boot-with-spl.bin. > > Signed-off-by: York Sun > CC: Mingkai Hu > CC: Ruchika Gupta > CC: Prabhakar Kushwaha > CC: Udit Agarwal > CC: Sumit Garg > CC: Priyanka Jain >

Re: [U-Boot] [PATCH] armv8: ls1046ardb: Enable IFC for SPL build

2018-07-27 Thread York Sun
On 06/08/2018 04:38 PM, York Sun wrote: > Commit a52ff334c5b1 ("armv8: ls1046ardb: SPL size reduction") reduced > image size for SPL. IFC was disabled. If PPA is loaded in SPL, MMU is > enabled as a result. Removing IFC skips IFC region in the MMU table, > causing later failure in RAM version U-boo

Re: [U-Boot] [PATCH] drivers/ddr/fsl: fix '__hwconfig without a buffer' messages

2018-07-27 Thread York Sun
On 07/20/2018 03:00 PM, Jeremy Gebben wrote: > Pass an empty buffer instead of NULL if the hwconfig environment > variable isn't set. > > Signed-off-by: Jeremy Gebben > Cc: Stefano Babic > Cc: York Sun > --- Applied to fsl-qoriq, awaiting upstream. Thanks. York

Re: [U-Boot] [PATCH 1/4 v3] armv8: fsl: remove sata support

2018-07-27 Thread York Sun
On 07/13/2018 02:27 AM, andy.t...@nxp.com wrote: > From: Yuantian Tang > > Remove the old implementation in order to enable DM for sata > > Signed-off-by: Tang Yuantian > --- > v3: > - rebase to latest code > v2: > - no changes > This set has been pplied to fsl-qoriq, awaiting upstrea

Re: [U-Boot] [PATCH] armv8: layerscape: Enabled I-cache for SPL boot

2018-07-27 Thread York Sun
On 06/26/2018 02:26 PM, York Sun wrote: > Enable I-cache for SPL boot to boost performance. Earlier MMU was > enabled only for LS2080A and has since been dropped by commit > f539c8a4a7a5 ("armv8: ls2080a: Drop early MMU for SPL build"). > > Signed-off-by: York Sun > --- Applied to fsl-qoriq, awa

Re: [U-Boot] [PATCH] armv8: ls2088ardb: Move CONFIG_SPI_FLASH, CONFIG_SPI_FLASH_SPANSION to defconfig

2018-07-27 Thread York Sun
On 06/26/2018 04:21 AM, Ashish Kumar wrote: > Move CONFIG_SPI_FLASH_SPANSION, CONFIG_SPI_FLASH, to defconfig. > Also disable disable 4K erase size option. > > Signed-off-by: Ashish Kumar > --- Applied to fsl-qoriq, awaiting upstream. Thanks. York __

Re: [U-Boot] [PATCH v2] configs: Disable 4k erase sector size for spansion "s25fs512s" flash

2018-07-27 Thread York Sun
On 06/26/2018 02:19 AM, Ashish Kumar wrote: > 4K erase size is used only in case of hydrid mode which is not > supported on any NXP platform with flash "s25fs512s". > Supported mode is uniform sector, with erase size 256kiB. > > Signed-off-by: Ashish Kumar > --- > v2: > 1. use make savedefconfig

Re: [U-Boot] [PATCH] LS1088ARDB: Secure Boot:Change load address of dpl header in SD

2018-07-27 Thread York Sun
On 06/20/2018 06:34 AM, Vinitha V Pillai wrote: > Change address of DPL header in SD > > Signed-off-by: Vinitha V Pillai > --- Applied to fsl-qoriq, awaiting upstream. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/lis

Re: [U-Boot] [PATCH] armv8: ls2080ardb: update copyright claim

2018-07-27 Thread York Sun
On 06/18/2018 05:26 AM, Alison Wang wrote: > This patch updates the copyright claim for the issues reported by Legal > Review. > > Signed-off-by: Alison Wang > --- Applied to fsl-qoriq, awaiting upstream. Thanks. York ___ U-Boot mailing list U-Boot@li

Re: [U-Boot] [PATCH] LS1043ARBD: Fix SD Boot issue with PPA

2018-07-27 Thread York Sun
On 06/06/2018 09:40 PM, Vinitha V Pillai wrote: > CONFIG_SPL_FSL_LS_PPA is needed only in case of falcon boot > Support for this is not present in PPA currently, so > removing the default option from defconfig > > Signed-off-by: Vinitha V Pillai > Signed-off-by: Ruchika Gupta > --- Applied to f

Re: [U-Boot] [PATCH][v2] armv8: ls1088a: change dpl load command from apply to lazyapply

2018-07-27 Thread York Sun
On 06/04/2018 09:36 AM, Jagdish Gediya wrote: > use "fsl_mc lazyapply dpl addr" instead of "fsl_mc apply dpl addr" > > change dpl load addr to 0x80001000 from 0x8020 because dpl gets > corrupted at 0x8020 during bootm command excecution. > > Signed-off-by: Jagdish Gediya > --- > Changes

[U-Boot] [PATCH v4 5/5] sandbox: led: use new function to configure default state

2018-07-27 Thread Patrick Delaunay
Initialize the led with the default state defined in device tree in board_init and solve issue with test for led default state. Reviewed-by: Simon Glass Signed-off-by: Patrick Delaunay --- Led default-state is correctly handle in Sandbox, tested with: ./u-boot -d ./arch/sandbox/dts/test.dtb

[U-Boot] [PATCH v4 0/5] dm: led: remove auto probe in binding function

2018-07-27 Thread Patrick Delaunay
Hi, The commit bc882f5d5c7b4d6ed5e927bf838863af43c786e7 introduce auto probe of LED in binding function but that cause issue on my board. This first patch of this patchset activateis the LED on my board to explain the issue, the second patch revert this commit and the third one propose an other

[U-Boot] [PATCH v4 4/5] stm32mp1: use new function led default state

2018-07-27 Thread Patrick Delaunay
Initialize the led with the default state defined in device tree. Reviewed-by: Simon Glass Signed-off-by: Patrick Delaunay --- Changes in v4: None Changes in v3: - minor update after Simon review - include led.h to avoid compilation warning on stm32mp1 board Changes in v2: None board/st/stm

[U-Boot] [PATCH v4 3/5] dm: led: move default state support in led uclass

2018-07-27 Thread Patrick Delaunay
This patch save common LED property "default-state" value in post bind of LED uclass. The configuration for this default state is only performed when led_default_state() is called; It can be called in your board_init() or it could added in init_sequence_r[] in future. Signed-off-by: Patrick Delaun

[U-Boot] [PATCH v4 1/5] stm32mp1: add gpio led support

2018-07-27 Thread Patrick Delaunay
This patch add the 4 LED available on the ED1 board and activated gpio led driver. Reviewed-by: Simon Glass Signed-off-by: Patrick Delaunay --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 24 configs/stm32mp15

[U-Boot] [PATCH v4 2/5] Revert "dm: led: auto probe() LEDs with "default-state""

2018-07-27 Thread Patrick Delaunay
This reverts commit bc882f5d5c7b4d6ed5e927bf838863af43c786e7. because this patch adds the probe of LED driver during the binding phasis. It is not allowed in driver model because the drivers (clock, pincontrol) needed by the LED driver can be also probed before the binding of all the device and it

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

2018-07-27 Thread Bin Meng
Hi Simon, On Fri, Jul 27, 2018 at 11:51 AM, Bin Meng wrote: > Hi Simon, > > On Fri, Jul 27, 2018 at 8:35 AM, Simon Glass wrote: >> On 25 July 2018 at 03:39, Bin Meng wrote: >>> The correct driver data comes from the matching 'id' instead of >>> 'find_id' in pci_find_and_bind_driver(). >>> >>> S

Re: [U-Boot] [PATCH v3 3/5] dm: led: move default state support in led uclass

2018-07-27 Thread Patrick DELAUNAY
Hi Patrick, > From: Patrick Brünn > Sent: jeudi 26 juillet 2018 12:40 > > Hi Patrick, > sorry, for responding so late, I am in the middle of a vacation at the moment. It is normal in summer time, I will be also in holiday at end of next week. > >From: Patrick Delaunay [mailto:patrick.delau...

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

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

Re: [U-Boot] [PATCH v5 8/8] armv8: ls1046a: setup SEC ICIDs and fix up device tree

2018-07-27 Thread Horia Geanta
On 7/27/2018 2:18 PM, Bharat Bhushan wrote: > > >> -Original Message- >> From: laurentiu.tu...@nxp.com [mailto:laurentiu.tu...@nxp.com] >> Sent: Friday, July 27, 2018 3:28 PM >> To: u-boot@lists.denx.de; Prabhakar Kushwaha >> ; York Sun >> Cc: Bharat Bhushan ; Horia Geanta >> ; Laurentiu

Re: [U-Boot] [linux-sunxi] [PATCH v2 00/13] Allwinner H6 support (w/ SPL)

2018-07-27 Thread Jagan Teki
On Thu, Jul 26, 2018 at 12:35 PM, Icenowy Zheng wrote: > > > 于 2018年7月26日 GMT+08:00 下午3:02:50, Jagan Teki 写到: >>On Sat, Jul 21, 2018 at 1:50 PM, Icenowy Zheng wrote: >>> This patchset trys to add support for Allwinner H6 SoC to U-Boot. >>> >>> Allwinner H6 is a quite new Allwinner SoC, with seve

[U-Boot] [PATCH] openrd: Once again shrink binary size

2018-07-27 Thread Tom Rini
With some recent changes to relevant drivers here the openrd board (openrd_client in this case) does not fit within its size constraint. We can however drop the slightly extended baudrate table and then the duplication of mtdparts/mtdids in the default environment. These defaults are set in the en

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

2018-07-27 Thread Tom Rini
On Fri, Jul 27, 2018 at 11:59:32AM +0200, Lukasz Majewski wrote: > On Thu, 26 Jul 2018 23:14:01 +0200 > Marek Vasut wrote: > > > On 07/26/2018 11:08 PM, Lukasz Majewski wrote: > > > On Thu, 26 Jul 2018 21:25:02 +0200 > > > Marek Vasut wrote: > > > > > >> On 07/26/2018 05:14 PM, Tom Rini wrote

Re: [U-Boot] [PATCH v5 8/8] armv8: ls1046a: setup SEC ICIDs and fix up device tree

2018-07-27 Thread Bharat Bhushan
> -Original Message- > From: laurentiu.tu...@nxp.com [mailto:laurentiu.tu...@nxp.com] > Sent: Friday, July 27, 2018 3:28 PM > To: u-boot@lists.denx.de; Prabhakar Kushwaha > ; York Sun > Cc: Bharat Bhushan ; Horia Geanta > ; Laurentiu Tudor > Subject: [PATCH v5 8/8] armv8: ls1046a: setup

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

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

[U-Boot] [PATCH v5 6/8] armv8: ls1046a: add icid setup for qman portals

2018-07-27 Thread laurentiu . tudor
From: Laurentiu Tudor Add support for ICID setting of qman portals and the required device tree fixups. Also fix an endiness issue in portal setup code. Signed-off-by: Laurentiu Tudor --- .../arm/cpu/armv8/fsl-layerscape/ls1046_ids.c | 16 +++ .../asm/arch-fsl-layerscape/fsl_portals.h

[U-Boot] [PATCH v5 8/8] armv8: ls1046a: setup SEC ICIDs and fix up device tree

2018-07-27 Thread laurentiu . tudor
From: Laurentiu Tudor Add support for SEC ICID configuration and apply it for ls1046a. Also add code to make the necessary device tree fixups. Signed-off-by: Laurentiu Tudor --- .../arm/cpu/armv8/fsl-layerscape/ls1046_ids.c | 14 +++ .../asm/arch-fsl-layerscape/fsl_icid.h| 25 +

[U-Boot] [PATCH v5 5/8] armv8: ls1046a: initial icid setup support

2018-07-27 Thread laurentiu . tudor
From: Laurentiu Tudor Add infrastructure for ICID setup and device tree fixup on ARM platforms. This include basic ICID setup for several devices. Signed-off-by: Laurentiu Tudor --- arch/arm/cpu/armv8/fsl-layerscape/Makefile| 1 + arch/arm/cpu/armv8/fsl-layerscape/icid.c | 110 +

[U-Boot] [PATCH v5 7/8] armv8: ls1046a: setup fman ports ICIDs and device tree

2018-07-27 Thread laurentiu . tudor
From: Laurentiu Tudor Add support for ICID setting of fman ports and the required device tree fixups. Signed-off-by: Laurentiu Tudor --- arch/arm/cpu/armv8/fsl-layerscape/icid.c | 82 +++ .../arm/cpu/armv8/fsl-layerscape/ls1046_ids.c | 30 +++ .../asm/arch-fsl-layersca

[U-Boot] [PATCH v5 4/8] armv8: fsl-layerscape: add missing debug stream ID

2018-07-27 Thread laurentiu . tudor
From: Laurentiu Tudor Add a define with a value for the missing debug stream ID. Signed-off-by: Laurentiu Tudor --- arch/arm/include/asm/arch-fsl-layerscape/stream_id_lsch2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-fsl-layerscape/stream_id_lsch2.h b/arch/

[U-Boot] [PATCH v5 3/8] misc: fsl_portals: setup QMAN_BAR{E} also on ARM platforms

2018-07-27 Thread laurentiu . tudor
From: Laurentiu Tudor QMAN_BAR{E} register setup was disabled on ARM platforms, however the register does need to be set. Enable the code also on ARMs and fix the CONFIG_SYS_QMAN_MEM_PHYS define to the correct value so that the newly enabled code works. Signed-off-by: Laurentiu Tudor --- arch/

[U-Boot] [PATCH v5 2/8] armv8: ls1046a: advertise QMan v3 in configuration

2018-07-27 Thread laurentiu . tudor
From: Laurentiu Tudor The QMan IP block in this SoC is version 3.2 so advertise this in the SoC configuration header. Signed-off-by: Laurentiu Tudor --- arch/arm/include/asm/arch-fsl-layerscape/config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-fsl-layerscap

[U-Boot] [PATCH v5 1/8] armv8: fsl-layerscape: add missing register blocks base address defines

2018-07-27 Thread laurentiu . tudor
From: Laurentiu Tudor Add defines for the edma and qdma register block base addresses. Signed-off-by: Laurentiu Tudor --- arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h b/arc

[U-Boot] [PATCH v5 0/8] NXP LS1046A SMMU enabling patches

2018-07-27 Thread laurentiu . tudor
From: Laurentiu Tudor This patch series adds the required devices setup and device tree fixups for SMMU enablement on NXP LS1046A chips. The approach taken tries to mimic the implementation of PAMU LIODN setup on booke powerpc. First 4 patches contain some fixes and add some missing bits & piece

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

2018-07-27 Thread Lukasz Majewski
On Fri, 27 Jul 2018 14:42:32 +0530 Anand Moon wrote: > Hi Lukasz, > > On 27 July 2018 at 13:54, Lukasz Majewski wrote: > > On Fri, 27 Jul 2018 08:34:15 +0530 > > Anand Moon wrote: > > > >> Hi Lukasz, > >> > >> On 26 July 2018 at 21:23, Lukasz Majewski wrote: > >> > Hi Anand, > >> > > >>

[U-Boot] musb-new startup timeout

2018-07-27 Thread Alex Kiernan
We've been chasing a problem for a while where we've got USB3 devices plugged in (on AM3352 board), this is using the musb-new driver. The symptoms are you plug in a device in and run `usb start` and get `USB0: Port not available.`, having watched the timings (and from our reading of the USB spe

Re: [U-Boot] [PATCH] board_f: drop 'dead code' in ram_top computation

2018-07-27 Thread Dr. Philipp Tomsich
> On 27 Jul 2018, at 11:16, Philipp Tomsich > wrote: > > gd->ram_top is assigned to twice on consecutive lines and the compiler > won't be able to tell that the first assignment is dead (including its > r-value) due to the r-value containing a (side-effect free) function > call. > > This drops

Re: [U-Boot] [PATCH] board_f: drop 'dead code' in ram_top computation

2018-07-27 Thread Bin Meng
On Fri, Jul 27, 2018 at 5:16 PM, Philipp Tomsich wrote: > gd->ram_top is assigned to twice on consecutive lines and the compiler > won't be able to tell that the first assignment is dead (including its > r-value) due to the r-value containing a (side-effect free) function > call. > > This drops th

[U-Boot] [PATCH] board_f: drop 'dead code' in ram_top computation

2018-07-27 Thread Philipp Tomsich
gd->ram_top is assigned to twice on consecutive lines and the compiler won't be able to tell that the first assignment is dead (including its r-value) due to the r-value containing a (side-effect free) function call. This drops the first assignment. Signed-off-by: Philipp Tomsich --- common/bo

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

2018-07-27 Thread Stefan Herbrechtsmeier
Am 27.07.2018 um 08:42 schrieb Michal Simek: On 26.7.2018 22:04, Stefan Herbrechtsmeier wrote: Am 26.07.2018 um 10:22 schrieb Michal Simek: On 25.7.2018 21:17, Stefan Herbrechtsmeier wrote: Am 25.07.2018 um 08:07 schrieb Michal Simek: On 24.7.2018 21:39, Stefan Herbrechtsmeier wrote: Am 24.0

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

2018-07-27 Thread Anand Moon
Hi Lukasz, On 27 July 2018 at 13:54, Lukasz Majewski wrote: > On Fri, 27 Jul 2018 08:34:15 +0530 > Anand Moon wrote: > >> Hi Lukasz, >> >> On 26 July 2018 at 21:23, Lukasz Majewski wrote: >> > Hi Anand, >> > >> >> Hi Lukasz, >> >> >> >> On 26 July 2018 at 03:55, Lukasz Majewski wrote: >> >> >

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

2018-07-27 Thread Dr. Philipp Tomsich
> On 27 Jul 2018, at 09:50, Carlo Caione wrote: > > On Fri, 2018-07-27 at 00:54 +0200, Dr. Philipp Tomsich wrote: >>> On 26 Jul 2018, at 22:05, Carlo Caione wrote: >>> >>> On Thu, 2018-07-26 at 15:59 +0200, Philipp Tomsich wrote: The calculation in `rockchip_sdram_size` would overflow for

Re: [U-Boot] [PATCH 2/3] enable fpga loadfs

2018-07-27 Thread Chee, Tien Fong
On Thu, 2018-07-26 at 10:10 +0200, Marek Vasut wrote: > On 07/26/2018 09:54 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > Signed-off-by: Tien Fong Chee > > --- > >  arch/arm/dts/socfpga_arria10.dtsi|   12 > >  arch/arm/dts/socfpga_arria10_socd

[U-Boot] [PATCH] arm: zynq: dts: add spi flash node to zedboard

2018-07-27 Thread Luis Araneda
Add a flash node to fix the detection of the memory IC. With the changes introduced with commit 8fee8845e754 ("enf_sf: reuse setup_flash_device instead of open coding it") the SPI speed is now read from device-tree or a default value is applied. This replaced the old behavior of setting the SPI spe

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

2018-07-27 Thread Stefan Herbrechtsmeier
Am 27.07.2018 um 09:05 schrieb Michal Simek: On 26.7.2018 21:46, Stefan Herbrechtsmeier wrote: Am 26.07.2018 um 10:41 schrieb Michal Simek: On 25.7.2018 20:21, Stefan Herbrechtsmeier wrote: Am 25.07.2018 um 08:39 schrieb Michal Simek: On 24.7.2018 21:56, Stefan Herbrechtsmeier wrote: Am 24.0

Re: [U-Boot] [PATCH v4 6/6] common: Generic loader for file system

2018-07-27 Thread Chee, Tien Fong
On Thu, 2018-07-26 at 11:03 +0200, Michal Simek wrote: > On 25.7.2018 18:03, Tom Rini wrote: > > > > On Wed, Jul 25, 2018 at 09:47:17AM -0600, Simon Glass wrote: > > > > > > Hi, > > > > > > On 25 July 2018 at 03:48, Michal Simek > > > wrote: > > > > > > > > > > > > On 25.7.2018 08:31, Chee, T

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

2018-07-27 Thread Lukasz Majewski
On Fri, 27 Jul 2018 08:34:15 +0530 Anand Moon wrote: > Hi Lukasz, > > On 26 July 2018 at 21:23, Lukasz Majewski wrote: > > Hi Anand, > > > >> Hi Lukasz, > >> > >> On 26 July 2018 at 03:55, Lukasz Majewski wrote: > >> > This commit allows by default booting Odroid XU3 from the SD card > >>

Re: [U-Boot] [PATCH v4 6/6] common: Generic loader for file system

2018-07-27 Thread Chee, Tien Fong
On Thu, 2018-07-26 at 12:29 +0200, Michal Simek wrote: > On 26.7.2018 11:23, Chee, Tien Fong wrote: > > > > On Wed, 2018-07-25 at 11:48 +0200, Michal Simek wrote: > > > > > > On 25.7.2018 08:31, Chee, Tien Fong wrote: > > > > > > > > > > > > On Wed, 2018-07-18 at 16:48 +0200, Michal Simek wrote

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

2018-07-27 Thread Alex Kiernan
On Fri, Jul 27, 2018 at 1:26 AM Tom Rini wrote: > > On Thu, Jul 26, 2018 at 09:31:08AM +0100, Alex Kiernan wrote: > > On Fri, Jul 20, 2018 at 11:34 PM Tom Rini wrote: > > > > > > On Thu, Jul 05, 2018 at 12:38:15PM +, Alex Kiernan wrote: > > > > > > > The test for (CONFIG_BOOTDELAY >= 0) has b

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

2018-07-27 Thread Nicholas
Hi Tom, On gio, 2018-07-26 at 20:29 -0400, Tom Rini wrote: > On Thu, Jul 26, 2018 at 10:16:01PM +0200, Goldschmidt Simon wrote: > > > > > + Tom: > > > > I don't know via which tree this would go in. I think you took the > > last env > > changes directly? > > > > v1..v4 are detached threads, I

Re: [U-Boot] [PATCH V2 00/32] i.MX: Add i.MX8QXP support

2018-07-27 Thread Peng Fan
Hi All, I plan to send out V3 early next week. QXP BETA2 has been external released, so there will be update in README including link to scfw images. Paste the link here first: https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-sc-firmware-0.7.bin, use mx8qx-mek-scfw-tcm.bin for b0 chip. Troy, Fabi

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

2018-07-27 Thread Carlo Caione
On Fri, 2018-07-27 at 00:54 +0200, Dr. Philipp Tomsich wrote: > > On 26 Jul 2018, at 22:05, Carlo Caione wrote: > > > > On Thu, 2018-07-26 at 15:59 +0200, Philipp Tomsich wrote: > > > The calculation in `rockchip_sdram_size` would overflow for 4GB > > > on > > > 32bit systems (i.e. when PHYS_64BI

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

2018-07-27 Thread Michal Simek
On 26.7.2018 21:46, Stefan Herbrechtsmeier wrote: > Am 26.07.2018 um 10:41 schrieb Michal Simek: >> On 25.7.2018 20:21, Stefan Herbrechtsmeier wrote: >>> Am 25.07.2018 um 08:39 schrieb Michal Simek: On 24.7.2018 21:56, Stefan Herbrechtsmeier wrote: > Am 24.07.2018 um 12:31 schrieb Michal S