[U-Boot] [PATCH v2] net: smsc95xx: Use correct get_unaligned functions

2016-07-12 Thread Chris Packham
The __get_unaligned_le* functions may not be declared on all platforms. Instead, get_unaligned_le* should be used. On many platforms both of these are the same function. Signed-off-by: Chris Packham --- Hi Joe, Mark didn't manage to get to this before he went on leave

Re: [U-Boot] [PATCH 1/8] xtensa: add support for the xtensa processor architecture [1/2]

2016-07-12 Thread Simon Glass
Hi Max, On 8 July 2016 at 09:41, Max Filippov wrote: > From: Chris Zankel > > The Xtensa processor architecture is a configurable, extensible, > and synthesizable 32-bit RISC processor core provided by Cadence. > > This is the first part of the basic

Re: [U-Boot] [PATCH 4/8] xtensa: add core information for the dc233c processor

2016-07-12 Thread Simon Glass
Hi Max, On 8 July 2016 at 09:42, Max Filippov wrote: > Signed-off-by: Max Filippov > --- Commit message? > arch/xtensa/include/asm/arch-dc233c/core.h| 475 > ++ > arch/xtensa/include/asm/arch-dc233c/tie-asm.h | 193

Re: [U-Boot] [PATCH 3/8] xtensa: add core information for the dc232b processor

2016-07-12 Thread Simon Glass
Hi Max, On 8 July 2016 at 09:42, Max Filippov wrote: > From: Chris Zankel Commit message? > > Signed-off-by: Chris Zankel > Signed-off-by: Max Filippov > --- > arch/xtensa/include/asm/arch-dc232b/core.h| 422 >

[U-Boot] U-Boot mkimage does not support option -K,-k

2016-07-12 Thread leo tao
Hello Jagan, I just realize the uboot tool mkimage i have is "mkimage version 2013.10", which does not support "-K,-k" and other options. Thus the command failed to run: $ mkimage –D “${DTC_OPS}” –f rsa.its –K zynq-zed-pubkey.dtb –k mykeys –r rsa_signed.img How can I get the latest mkimage

[U-Boot] [PATCH v2 2/4] fdt_support: define stub for fdt_fixup_mtdparts

2016-07-12 Thread christopher.spinrath
From: Christopher Spinrath Define an inline stub for fdt_fixup_mtdparts in the case that CONFIG_FDT_FIXUP_PARTITIONS is not defined. This avoids the need to guard every call to this function by a proper #ifdef in board files. Signed-off-by: Christopher

[U-Boot] [PATCH v2 3/4] ARM: board: cm_fx6: fixup mtd partitions in the fdt

2016-07-12 Thread christopher.spinrath
From: Christopher Spinrath The cm-fx6 module has an on-board st,m25p compatible spi flash chip used for U-Boot (binary & environment). Overwrite the partitions in the device tree by the partition table provided in the mtdparts environment variable, if it is

[U-Boot] [PATCH v2 0/4] ARM: imx: enhance support for the cm-fx6 module

2016-07-12 Thread christopher.spinrath
Hi, this is v2 of the series. To address the review comments of v1, v2 has an addtional patch (2/4) touching include/fdt_support.h (thus, I added Simon to the recipients). The original cover letter was (for a discussion cf. [2]): this series aims at enhancing support for the cm-fx6 module. In

[U-Boot] [PATCH v2 4/4] ARM: configs: cm_fx6: add mtd support

2016-07-12 Thread christopher.spinrath
From: Christopher Spinrath The cm-fx6 module has an on-board spi flash chip. Enable mtd support and the mtdparts command. Also define a default partitioning, add it to the default environment, and enable support to overwrite the partitioning defined in a

[U-Boot] [PATCH v2 1/4] ARM: configs: cm_fx6: improve default environment

2016-07-12 Thread christopher.spinrath
From: Christopher Spinrath Currently, entire script segments have to be changed in the default environment to change the kernel image location or to append kernel cmdline parameters. In the later case this has to be changed for every possible boot device.

Re: [U-Boot] [PATCH] warp7: Increase CONFIG_BOOTDELAY

2016-07-12 Thread Fabio Estevam
Hi Breno, On Tue, Jul 12, 2016 at 12:55 PM, Breno Lima wrote: > Increase the boot delay to 3 seconds, because it's more convenient > to load u-boot from imx_usb_loader tool. > > Signed-off-by: Breno Lima Yes, this is a better value for the BOOTDELAY, so:

Re: [U-Boot] [PATCH v2 2/4] fdt_support: define stub for fdt_fixup_mtdparts

2016-07-12 Thread Simon Glass
On 12 July 2016 at 15:37, wrote: > From: Christopher Spinrath > > Define an inline stub for fdt_fixup_mtdparts in the case that > CONFIG_FDT_FIXUP_PARTITIONS is not defined. This avoids the need > to guard every call to

Re: [U-Boot] [PATCH 8/8] xtensa: add support for the 'xtfpga' evaluation board

2016-07-12 Thread Simon Glass
Hi Max, On 8 July 2016 at 09:42, Max Filippov wrote: > From: Chris Zankel > > The 'xtfpga' board is actually a set of FPGA evaluation boards that > can be configured to run an Xtensa processor. > > - Avnet Xilinx LX60 > - Avnet Xilinx LX110 > - Avnet

Re: [U-Boot] [PATCH] dm: mmc: Add the function for getting current device number

2016-07-12 Thread Simon Glass
Hi Jaehoon, On 4 July 2016 at 01:40, Jaehoon Chung wrote: > get_mmc_num can be returned 0. Then if you use the "mmcinfo" command, it > can't print the mmc information. > If get_mmc_num is 0, it means that there is not mmc device. > So it added the get_mmc_curr_num()

Re: [U-Boot] [PATCH v2 08/13] dm: mmc: zynq: Convert zynq to use driver model for MMC

2016-07-12 Thread Simon Glass
Hi Jaehoon, On 6 July 2016 at 00:53, Jaehoon Chung wrote: > Hi Simon, > > On 07/06/2016 08:10 AM, Simon Glass wrote: >> Move zynq to the latest driver model support by enabling CONFIG_DM_MMC, >> CONFIG_DM_MMC_OPS and CONFIG_BLK. >> >> Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH] arm: start.S: Fix startup of dragonboard410c

2016-07-12 Thread André Przywara
On 12/07/16 21:15, Mateusz Kulikowski wrote: Hi Mateusz, > Commit d73718f3 breaks devices where: > - There is EL2/EL3 firmware and > - U-Boot starts in NS EL1 and > - EL2/EL3 firmware didn't unlocked write-access to CPUECTLR_EL1. > > This patch makes that change opt-out configuration option, >

Re: [U-Boot] [PATCH 6/8] net/ethoc: support private memory configurations

2016-07-12 Thread Simon Glass
Hi, On 8 July 2016 at 09:42, Max Filippov wrote: > From: Chris Zankel > > The 'ethoc' device could also be configured to have a private memory > region instead of having access to the main memory. In that case, > the packets must be copied into (transmit)

Re: [U-Boot] [PATCH 2/8] xtensa: add support for the xtensa processor architecture [2/2]

2016-07-12 Thread Simon Glass
Hi Max, On 8 July 2016 at 09:42, Max Filippov wrote: > From: Chris Zankel > > The Xtensa processor architecture is a configurable, extensible, > and synthesizable 32-bit RISC processor core provided by Tensilica, inc. > > This is the second part of the

[U-Boot] [PATCH] warp7: Increase CONFIG_BOOTDELAY

2016-07-12 Thread Breno Lima
Increase the boot delay to 3 seconds, because it's more convenient to load u-boot from imx_usb_loader tool. Signed-off-by: Breno Lima --- configs/warp7_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/warp7_defconfig

Re: [U-Boot] [PATCH 5/8] xtensa: add core information for the de212 processor

2016-07-12 Thread Simon Glass
Hi, On 8 July 2016 at 09:42, Max Filippov wrote: > Signed-off-by: Max Filippov > --- > arch/xtensa/include/asm/arch-de212/core.h| 594 > +++ > arch/xtensa/include/asm/arch-de212/tie-asm.h | 170 >

Re: [U-Boot] [PATCH 7/8] net/ethoc: don't advertise gigabit on the connected PHY

2016-07-12 Thread Simon Glass
Hi Max, On 8 July 2016 at 09:42, Max Filippov wrote: > Introduce MDIO communication routines. Scan MDIO bus at reset to find > attached PHYs and see if they support gigabit speeds. If they do check > their gigabit control register: if gigabit autonegotiation is enabled >

[U-Boot] Please pull u-boot-x86

2016-07-12 Thread Bin Meng
Hi Tom, The following changes since commit 19ce924ff914f315dc2fdf79f357825c513aed6e: Prepare v2016.07 (2016-07-11 15:01:01 -0400) are available in the git repository at: git://git.denx.de/u-boot-x86.git master for you to fetch changes up to 9532fe3b40ddf66ef976dee3d5cf1d8b3396bf4d:

Re: [U-Boot] [PATCH 6/6] efi_loader: Display which .dtb we found

2016-07-12 Thread Alexander Graf
On 12.07.16 06:21, Andreas Färber wrote: > We do so for the EFI binary already and it aids debugging. > > Cc: Alexander Graf > Signed-off-by: Andreas Färber > --- > include/config_distro_bootcmd.h | 4 > 1 file changed, 4 insertions(+) > > diff --git

[U-Boot] [PATCH] ARM: OMAP5+: Enable errata i727

2016-07-12 Thread Lokesh Vutla
Errata i727 is applicable on all OMAP5 and DRA7 variants but enabled only on OMAP5 ES1.0. So, enable it on all platforms. Signed-off-by: Lokesh Vutla --- arch/arm/cpu/armv7/omap-common/emif-common.c | 3 ++- arch/arm/cpu/armv7/omap-common/hwinit-common.c | 3 +-- 2 files

Re: [U-Boot] [PATCH 4/6] efi_loader: Improve .dtb search for arm64

2016-07-12 Thread Alexander Graf
On 12.07.16 06:21, Andreas Färber wrote: > On arm64 Linux device trees are organized by SoC vendor. Therefore we > need to search the vendor subdirectory as well. > > Since the SoC vendor may be different from ${vendor}, introduce a new > ${soc_vendor}. If this is not set, the behavior remains

Re: [U-Boot] [PATCH] x86: link: Correct a failure in DRAM init

2016-07-12 Thread Bin Meng
On Tue, Jul 12, 2016 at 1:14 PM, Bin Meng wrote: > On Mon, Jul 11, 2016 at 11:30 PM, Simon Glass wrote: >> With the change to set up pinctrl after relocation, link fails to boot. Add >> a special case in the link code to handle this. >> >> Fixes: d8906c1f

Re: [U-Boot] [PATCH 3/6] efi_loader: Search .dtb on non-EFI partitions

2016-07-12 Thread Alexander Graf
On 12.07.16 06:21, Andreas Färber wrote: > A UEFI setup will typically have an EFI FAT partition, but device trees > are more likely to be located on, e.g., Linux volumes. By convention the > EFI partition will usually be placed first, so that we would find the > EFI removable media binary and

[U-Boot] [PATCH v2] driver: spi: fsl-qspi: remove compile Warnings

2016-07-12 Thread Yunhui Cui
From: Yunhui Cui Warnins log: drivers/spi/fsl_qspi.c: In function ‘qspi_ahb_read’: drivers/spi/fsl_qspi.c:400:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memcpy(rxbuf, (u8 *)(priv->cur_amba_base + priv->sf_addr), len);

Re: [U-Boot] [PATCH v5] rockchip: add option to change method of loading u-boot

2016-07-12 Thread Ziyuan Xu
hi Simon, On 2016年07月12日 21:28, Simon Glass wrote: On 12 July 2016 at 05:09, Ziyuan Xu wrote: From: Xu Ziyuan If we would like to boot from SD card, we have to implement mmc driver in SPL stage, and get a slightly large SPL binary. Rockchip

Re: [U-Boot] [PATCH v3 4/4] usb: dwc2: invalidate dcache before starting DMA

2016-07-12 Thread Ziyuan Xu
On 2016年07月12日 20:59, Simon Glass wrote: Hi Ziyuan, On 6 July 2016 at 03:34, Ziyuan Xu wrote: From: Xu Ziyuan Invalidate dcache before starting the DMA to ensure coherency. In case there are any dirty lines from the DMA buffer in the cache,

Re: [U-Boot] [PATCH] warp7: Increase CONFIG_BOOTDELAY

2016-07-12 Thread Peter Robinson
On Tue, Jul 12, 2016 at 11:12 PM, Fabio Estevam wrote: > Hi Breno, > > On Tue, Jul 12, 2016 at 12:55 PM, Breno Lima wrote: >> Increase the boot delay to 3 seconds, because it's more convenient >> to load u-boot from imx_usb_loader tool. >> >>

Re: [U-Boot] [PATCH 4/6] efi_loader: Improve .dtb search for arm64

2016-07-12 Thread Andreas Färber
Am 12.07.2016 um 09:29 schrieb Alexander Graf: > On 12.07.16 06:21, Andreas Färber wrote: >> On arm64 Linux device trees are organized by SoC vendor. Therefore we >> need to search the vendor subdirectory as well. >> >> Since the SoC vendor may be different from ${vendor}, introduce a new >>

Re: [U-Boot] [PATCH] pwm: add MACRO to limit some code which only for rk3288

2016-07-12 Thread Simon Glass
Hi Kever, On 11 July 2016 at 20:45, Kever Yang wrote: > Hi Simon, > > CC Doug for this topic. > > > On 07/12/2016 07:54 AM, Simon Glass wrote: >> >> Hi Kever, >> >> On 11 July 2016 at 00:58, Kever Yang wrote: >>> >>> Hi Simon, >>> >>> On

Re: [U-Boot] [PATCH] ARM: exynos4: dts: add the prefix '/' for aliases nodes

2016-07-12 Thread Minkyu Kang
On 28/06/16 19:47, Jaehoon Chung wrote: > It's correct to use '/' as prefix for aliases nodes. > > Signed-off-by: Jaehoon Chung > --- > arch/arm/dts/exynos4210-origen.dts | 2 +- > arch/arm/dts/exynos4210-trats.dts | 4 ++-- >

Re: [U-Boot] [PATCH] mkimage: fix missing break for -p switch

2016-07-12 Thread Tom Rini
On Mon, Jul 11, 2016 at 10:54:26PM -0700, Teddy Reed wrote: > Signed-off-by: Teddy Reed Reported-by: Coverity (CID: 150277) Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

[U-Boot] [PATCH v5] rockchip: add option to change method of loading u-boot

2016-07-12 Thread Ziyuan Xu
From: Xu Ziyuan If we would like to boot from SD card, we have to implement mmc driver in SPL stage, and get a slightly large SPL binary. Rockchip SoC's bootrom code has the ability to load spl and u-boot, then boot. If CONFIG_ROCKCHIP_SPL_BACK_TO_BROM is enabled, the spl

Re: [U-Boot] [PATCH 2/3] FIX: mmc: sdhci: Board specific definitions for SDHCI CMD and READ TIMEOUTS

2016-07-12 Thread Jaehoon Chung
Hi Lukasz, On 07/11/2016 09:49 PM, Lukasz Majewski wrote: > For some boards - e.g. odroid u3, it is necessary to adjust manually those > two timeouts. > > Exynos4 based boards, which use SDHCI controller to read data from SD cards, > have SDHCI_QUIRK_BROKEN_R1B flag set. This quirk requires

Re: [U-Boot] [PATCH 6/6] efi_loader: Display which .dtb we found

2016-07-12 Thread Andreas Färber
Am 12.07.2016 um 09:30 schrieb Alexander Graf: > On 12.07.16 06:21, Andreas Färber wrote: >> We do so for the EFI binary already and it aids debugging. >> >> Cc: Alexander Graf >> Signed-off-by: Andreas Färber >> --- >> include/config_distro_bootcmd.h | 4

Re: [U-Boot] [PATCH] configs: da850evm: enable bootz command

2016-07-12 Thread Tom Rini
On Tue, Jul 12, 2016 at 04:24:48PM +0530, Sekhar Nori wrote: > Enable bootz command on Texas Instruments DA850 EVM > board. This helps it boot zImage with device-tree > blob passed. > > Signed-off-by: Sekhar Nori Reviewed-by: Tom Rini -- Tom

Re: [U-Boot] [PATCH 0/5] mmc: exynos_dw_mmc: clean the unnecessary codes

2016-07-12 Thread Minkyu Kang
On 29/06/16 19:46, Jaehoon Chung wrote: > This patch-set is for maintaining more easier than now. > Now, exynos_dw_mmc codes are too huge. Some codes can be reused and removed. > Basic goal is the using DM. Before applied DM, it needs to clean more. > > In future, exynos_dw_mmc controller should

Re: [U-Boot] [PATCH] mmc: exynos_dw_mmc: support the Driver mode for Exynos

2016-07-12 Thread Minkyu Kang
On 30/06/16 20:57, Jaehoon Chung wrote: > This patch support the driver mode for exynos dwmmc controller. > To support the legacy model, maintained the existing code. > > Signed-off-by: Jaehoon Chung > --- > drivers/mmc/exynos_dw_mmc.c | 72 >

[U-Boot] [PATCH] storage device support for ub_dev_write

2016-07-12 Thread Ihar Filipau
Hi Simon, > Can you please resend this inline with patman / git send-email, rather > than as an attachment? I'm behind a corporate firewall - I can't SMTP/IMAP - on which git send-email relies. (And I'm sure you do not want me to send patches with Outlook.) At most, without attachments, I can

Re: [U-Boot] [PATCH 3/6] efi_loader: Search .dtb on non-EFI partitions

2016-07-12 Thread Andreas Färber
Am 12.07.2016 um 09:25 schrieb Alexander Graf: > > > On 12.07.16 06:21, Andreas Färber wrote: >> A UEFI setup will typically have an EFI FAT partition, but device trees >> are more likely to be located on, e.g., Linux volumes. By convention the >> EFI partition will usually be placed first, so

Re: [U-Boot] [PATCH] ARM: OMAP5+: Enable errata i727

2016-07-12 Thread Tom Rini
On Tue, Jul 12, 2016 at 02:47:41PM +0530, Lokesh Vutla wrote: > Errata i727 is applicable on all OMAP5 and DRA7 variants but enabled only > on OMAP5 ES1.0. So, enable it on all platforms. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom

Re: [U-Boot] Support for GPIO in U-boot for Intel Edison

2016-07-12 Thread Simon Glass
+Bin Hi, On 10 June 2016 at 17:09, SANRIO ALVARES wrote: > Hi, > Is there any support for GPIO in U-boot for Intel Edison Boards? Mainline U-Boot does not support Edison yet. It is so far a downstream port. Hopefully it will make it to mainline soon. Regards, Simon

Re: [U-Boot] [PATCH 6/6] efi_loader: Display which .dtb we found

2016-07-12 Thread Andreas Färber
Am 12.07.2016 um 16:25 schrieb Alexander Graf: > On 12.07.16 14:45, Andreas Färber wrote: >> Am 12.07.2016 um 09:30 schrieb Alexander Graf: >>> On 12.07.16 06:21, Andreas Färber wrote: We do so for the EFI binary already and it aids debugging. Cc: Alexander Graf

Re: [U-Boot] [PATCH 6/6] efi_loader: Display which .dtb we found

2016-07-12 Thread Alexander Graf
On 12.07.16 14:45, Andreas Färber wrote: > Am 12.07.2016 um 09:30 schrieb Alexander Graf: >> On 12.07.16 06:21, Andreas Färber wrote: >>> We do so for the EFI binary already and it aids debugging. >>> >>> Cc: Alexander Graf >>> Signed-off-by: Andreas Färber >>>

Re: [U-Boot] [PATCH 4/6] efi_loader: Improve .dtb search for arm64

2016-07-12 Thread Andreas Färber
Am 12.07.2016 um 14:38 schrieb Andreas Färber: > Am 12.07.2016 um 09:29 schrieb Alexander Graf: >> On 12.07.16 06:21, Andreas Färber wrote: >>> On arm64 Linux device trees are organized by SoC vendor. Therefore we >>> need to search the vendor subdirectory as well. >>> >>> Since the SoC vendor may

Re: [U-Boot] [PATCH 4/6] efi_loader: Improve .dtb search for arm64

2016-07-12 Thread Tom Rini
On Tue, Jul 12, 2016 at 06:21:45AM +0200, Andreas Färber wrote: > On arm64 Linux device trees are organized by SoC vendor. Therefore we > need to search the vendor subdirectory as well. > > Since the SoC vendor may be different from ${vendor}, introduce a new > ${soc_vendor}. If this is not set,

[U-Boot] [PATCH] configs: da850evm: enable bootz command

2016-07-12 Thread Sekhar Nori
Enable bootz command on Texas Instruments DA850 EVM board. This helps it boot zImage with device-tree blob passed. Signed-off-by: Sekhar Nori --- configs/da850evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/da850evm_defconfig

Re: [U-Boot] [PATCH 1/3] COSMETIC: mmc: sdhci: Add CONFIG_ prefix to SDHCI_READ_STATUS_TIMEOUT

2016-07-12 Thread Tom Rini
On Mon, Jul 11, 2016 at 02:49:03PM +0200, Lukasz Majewski wrote: > This change gives common prefix for SDHCI_READ_STATUS_TIMEOUT. > > Signed-off-by: Lukasz Majewski Hang on, didn't we just intentionally not CONFIG_ this option and not add it to Kconfig? If we're making

Re: [U-Boot] [PATCH 1/3] COSMETIC: mmc: sdhci: Add CONFIG_ prefix to SDHCI_READ_STATUS_TIMEOUT

2016-07-12 Thread Lukasz Majewski
Hi Tom, > On Mon, Jul 11, 2016 at 02:49:03PM +0200, Lukasz Majewski wrote: > > > This change gives common prefix for SDHCI_READ_STATUS_TIMEOUT. > > > > Signed-off-by: Lukasz Majewski > > Hang on, didn't we just intentionally not CONFIG_ this option and not > add it to

Re: [U-Boot] [PATCH v5] rockchip: add option to change method of loading u-boot

2016-07-12 Thread Simon Glass
On 12 July 2016 at 05:09, Ziyuan Xu wrote: > From: Xu Ziyuan > > If we would like to boot from SD card, we have to implement mmc driver > in SPL stage, and get a slightly large SPL binary. Rockchip SoC's > bootrom code has the ability to load spl and

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

2016-07-12 Thread Tom Rini
On Mon, Jul 11, 2016 at 04:08:46PM -0600, Simon Glass wrote: > Hi Tom, > > This includes the MMC block-device stuff (which needs lots of testing > time), cleaning up some fdtdec COMPAT strings and some patman improvements. > > The following changes since commit

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

2016-07-12 Thread Tom Rini
On Sat, Jul 09, 2016 at 09:00:16PM +0530, Jagan Teki wrote: > Hi Tom, > > Please take this series. > > thanks! > Jagan. > > The following changes since commit e8009beff6d5c55c1bf1ae8184791f167e6378b0: > > Merge git://git.denx.de/u-boot-arc (2016-07-04 11:46:21 -0400) > > are available in

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

2016-07-12 Thread Tom Rini
On Tue, Jul 12, 2016 at 02:09:06PM +0800, Bin Meng wrote: > Hi Tom, > > The following changes since commit 19ce924ff914f315dc2fdf79f357825c513aed6e: > > Prepare v2016.07 (2016-07-11 15:01:01 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-x86.git master >

[U-Boot] [PATCH 1/2] mmc: sdhci: set to INT_DATA_END when there are data

2016-07-12 Thread Jaehoon Chung
There is no data, it doesn't needs to wait for completing data transfer. (It seems that it can be removed.) Almost all timeout error is occured from stop command without data. After applied this patch, I hope that we don't need to increase timeout value anymore. Signed-off-by: Jaehoon Chung

[U-Boot] [PATCH 2/2] mmc: s5p_sdhci: unset the SDHCI_QUIRK_BROKEN_R1B

2016-07-12 Thread Jaehoon Chung
Unset the SDHCI_QUIRK_BROKEN_R1B for exynos SoC. (Tested on Exynos4 Boards.) Signed-off-by: Jaehoon Chung --- drivers/mmc/s5p_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/s5p_sdhci.c b/drivers/mmc/s5p_sdhci.c index

Re: [U-Boot] [PATCH 2/2] mmc: s5p_sdhci: unset the SDHCI_QUIRK_BROKEN_R1B

2016-07-12 Thread Lukasz Majewski
Hi Jaehoon, > Unset the SDHCI_QUIRK_BROKEN_R1B for exynos SoC. > (Tested on Exynos4 Boards.) > > Signed-off-by: Jaehoon Chung > --- > drivers/mmc/s5p_sdhci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/s5p_sdhci.c

Re: [U-Boot] [PATCH 1/2] mmc: sdhci: set to INT_DATA_END when there are data

2016-07-12 Thread Lukasz Majewski
Hi Jaehoon, > There is no data, it doesn't needs to wait for completing data > transfer. (It seems that it can be removed.) > Almost all timeout error is occured from stop command without data. > After applied this patch, I hope that we don't need to increase > timeout value anymore. This patch

Re: [U-Boot] [PATCH v3 4/4] usb: dwc2: invalidate dcache before starting DMA

2016-07-12 Thread Simon Glass
Hi Ziyuan, On 6 July 2016 at 03:34, Ziyuan Xu wrote: > From: Xu Ziyuan > > Invalidate dcache before starting the DMA to ensure coherency. In case > there are any dirty lines from the DMA buffer in the cache, subsequent > cache-line replacements may

Re: [U-Boot] [RFC PATCH 3/7] env: Introduce "export" operation and (access flag) restriction

2016-07-12 Thread Bernhard Nortmann
Am 11.07.2016 um 20:14 schrieb Bernhard Nortmann: This patch introduces a new "export" environment operation (env_op_export) and the corresponding access flag ENV_FLAGS_VARACCESS_PREVENT_EXPORT; so that env_flags_validate() may now check requests to export specific variables. In turn,

Re: [U-Boot] [PATCH 4/6] efi_loader: Improve .dtb search for arm64

2016-07-12 Thread Tom Rini
On Tue, Jul 12, 2016 at 05:59:58PM +0200, Andreas Färber wrote: > Am 12.07.2016 um 16:50 schrieb Tom Rini: > > On Tue, Jul 12, 2016 at 06:21:45AM +0200, Andreas Färber wrote: > > > >> On arm64 Linux device trees are organized by SoC vendor. Therefore we > >> need to search the vendor subdirectory

[U-Boot] [U-boot] Add Memset and Memcpy support to standalone Application

2016-07-12 Thread Amit Mahadik
Hi, I have a Cortex-A9 processor based development board with me. I have run the standalone Hello World Application successfully. I want to add support for memcpy and memset functions so I have modified the hello_world code and written basic implementations of memcpy and memset

[U-Boot] EL3 to EL1 for u-boot-2016.05

2016-07-12 Thread wilson002
The linux kernel runs under EL1 model for MMU(msr ttbr0_el1, x25/msr ttbr1_el1, x26). But uboot woks at EL3. How to switch from EL3 to EL1 inside UBOOT for linux kernel loading? -- View this message in context: http://u-boot.10912.n7.nabble.com/EL3-to-EL1-for-u-boot-2016-05-tp260647.html

[U-Boot] [PATCH v5 00/26] spl: Lightweight UBI and UBI fastmap support

2016-07-12 Thread Ladislav Michl
Core of this patch serie is based on Thomas's patchset: https://patchwork.ozlabs.org/patch/367305/ https://patchwork.ozlabs.org/patch/367306/ This serie contains also changes needed to let single binary running on IGEPv2 board equipped either with NAND or OneNAND flash memory:

[U-Boot] [PATCH v5 03/26] onenand_spl_simple: Add a simple OneNAND read function

2016-07-12 Thread Ladislav Michl
Signed-off-by: Ladislav Michl --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None drivers/mtd/onenand/onenand_spl.c | 48 +++ include/onenand_uboot.h | 1 + 2 files changed, 49 insertions(+)

[U-Boot] [PATCH v5 06/26] spl: zImage support in Falcon mode

2016-07-12 Thread Ladislav Michl
Other payload than uImage is currently considered to be raw U-Boot image. Check also for zImage in Falcon mode. Signed-off-by: Ladislav Michl Reviewed-by: Heiko Schocher --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v5 01/26] mtd: Sort subsystem directories aplhabeticaly in Makefile

2016-07-12 Thread Ladislav Michl
Signed-off-by: Ladislav Michl Reviewed-by: Tom Rini Reviewed-by: Heiko Schocher --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None drivers/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2

[U-Boot] [PATCH v5 04/26] spl: Lightweight UBI and UBI fastmap support

2016-07-12 Thread Ladislav Michl
From: Thomas Gleixner Booting a payload out of NAND FLASH from the SPL is a crux today, as it requires hard partioned FLASH. Not a brilliant idea with the reliability of todays NAND FLASH chips. The upstream UBI + UBI fastmap implementation which is about to brought to

[U-Boot] [PATCH v5 02/26] nand_spl_simple: Add a simple NAND read function

2016-07-12 Thread Ladislav Michl
From: Thomas Gleixner To support UBI in SPL we need a simple NAND read function. Add one to nand_spl_simple and keep it as simple as it goes. Signed-off-by: Thomas Gleixner Signed-off-by: Ladislav Michl Acked-by: Scott Wood

[U-Boot] [PATCH v5 07/26] armv7: add reset timeout to identify_nand_chip

2016-07-12 Thread Ladislav Michl
identify_nand_chip hangs forever in loop when NAND is not present. As IGEPv2 comes either with NAND or OneNAND flash, add reset timeout to let function fail gracefully allowing caller to know NAND is not present. On NAND equipped board, reset succeeds on first read, so 1000 loops seems to be safe

[U-Boot] [PATCH v5 05/26] spl: support loading from UBI volumes

2016-07-12 Thread Ladislav Michl
Add support for loading from UBI volumes on the top of NAND and OneNAND. Signed-off-by: Ladislav Michl Reviewed-by: Heiko Schocher --- Changes in v5: - dual license GPL/BSD Changes in v4: None Changes in v3: None Changes in v2: None common/spl/Makefile

[U-Boot] [PATCH v5 08/26] armv7: make gpmc_cfg const

2016-07-12 Thread Ladislav Michl
Signed-off-by: Ladislav Michl --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/armv7/omap-common/mem-common.c | 8 +++- arch/arm/include/asm/arch-omap3/sys_proto.h | 4 ++-- drivers/mtd/nand/omap_gpmc.c|

[U-Boot] [PATCH v5 10/26] armv7: simplify identify_nand_chip

2016-07-12 Thread Ladislav Michl
Use newly introduced function Signed-off-by: Ladislav Michl --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/armv7/omap3/spl_id_nand.c | 35 +++--- 1 file changed, 11 insertions(+), 24

[U-Boot] [PATCH v5 09/26] armv7: armv7: introduce set_gpmc_cs0

2016-07-12 Thread Ladislav Michl
Allow boards to runtime detect flash type. Signed-off-by: Ladislav Michl --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/armv7/omap-common/mem-common.c | 148 +---

[U-Boot] [PATCH v5 11/26] mtd: OneNAND: add timeout to wait ready loops

2016-07-12 Thread Ladislav Michl
Add timeout to onenand_wait ready loop as it hangs here indefinitely when chip not present. Once there, do the same for onenand_bbt_wait as well (note: recent Linux driver code does the same) Signed-off-by: Ladislav Michl --- Changes in v5: None Changes in v4: None Changes

Re: [U-Boot] [PATCH v3] driver: spi: fsl-qspi: disable AHB buffer prefetch

2016-07-12 Thread york sun
On 07/11/2016 08:00 PM, Yunhui Cui wrote: > From: Yunhui Cui > > Errata: A-009282: QuadSPI data pre-fetch can result in incorrect data > We need this errata workaround when CONFIG_SYS_FSL_QSPI_AHB is enabled. > > Signed-off-by: Yunhui Cui > --- >

Re: [U-Boot] [PATCH v2 07/22] clock-uclass: allow disabling a peripheral clock

2016-07-12 Thread Simon Glass
+Stephen Hi Benjamin, On 20 June 2016 at 12:26, Benjamin Tietz wrote: > From: Benjamin Tietz > > Currently, clocks can be enabled, only. To be feature-complete - and allow > a bit of power-saving in applications - disabling a clock should be

Re: [U-Boot] [PATCH] driver: spi: fsl-qspi: remove compile Warnings

2016-07-12 Thread york sun
On 07/11/2016 09:08 PM, Yunhui Cui wrote: > From: Yunhui Cui > > Warnins log: > drivers/spi/fsl_qspi.c: In function ‘qspi_ahb_read’: > drivers/spi/fsl_qspi.c:400:16: warning: cast to pointer from integer of > different size [-Wint-to-pointer-cast] >memcpy(rxbuf, (u8

Re: [U-Boot] [PATCH 4/6] efi_loader: Improve .dtb search for arm64

2016-07-12 Thread Andreas Färber
Am 12.07.2016 um 16:50 schrieb Tom Rini: > On Tue, Jul 12, 2016 at 06:21:45AM +0200, Andreas Färber wrote: > >> On arm64 Linux device trees are organized by SoC vendor. Therefore we >> need to search the vendor subdirectory as well. >> >> Since the SoC vendor may be different from ${vendor},

Re: [U-Boot] Avoiding overwriting FDT from FIT image

2016-07-12 Thread Simon Glass
+Masahiro On 21 June 2016 at 17:30, Chris Packham wrote: > Hi, > > We have several boards making use of FIT images for the kernel/initrd/fdt. > > With v2015.04 we can successfully boot our application image. With > v2016.05 we run into a problem where the FDT is

Re: [U-Boot] [PATCH v2 07/22] clock-uclass: allow disabling a peripheral clock

2016-07-12 Thread Stephen Warren
On 07/12/2016 10:02 AM, Simon Glass wrote: +Stephen Hi Benjamin, On 20 June 2016 at 12:26, Benjamin Tietz wrote: From: Benjamin Tietz Currently, clocks can be enabled, only. To be feature-complete - and allow a bit of power-saving in

Re: [U-Boot] [PATCH 4/6] efi_loader: Improve .dtb search for arm64

2016-07-12 Thread Stephen Warren
On 07/12/2016 01:29 AM, Alexander Graf wrote: On 12.07.16 06:21, Andreas Färber wrote: On arm64 Linux device trees are organized by SoC vendor. Therefore we need to search the vendor subdirectory as well. Since the SoC vendor may be different from ${vendor}, introduce a new ${soc_vendor}. If

Re: [U-Boot] common: Always include errno.h in common.h

2016-07-12 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/605766/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: Fix incorrect RPC packets on 64-bit systems

2016-07-12 Thread Joe Hershberger
Hi Ralf, https://patchwork.ozlabs.org/patch/643461/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: rtl8169: Fix return value for rtl_send_common

2016-07-12 Thread Joe Hershberger
Hi Oleksandr, https://patchwork.ozlabs.org/patch/643462/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: designware: Make driver independent from DM_GPIO again

2016-07-12 Thread Joe Hershberger
Hi Alexey, https://patchwork.ozlabs.org/patch/640922/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] driver: net: phylib: add support for aquantia AQR106/107 PHY

2016-07-12 Thread Joe Hershberger
Hi Qianyu, https://patchwork.ozlabs.org/patch/642927/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] (no subject)

2016-07-12 Thread Joe Hershberger
Hi , https://patchwork.ozlabs.org/patch/e4ead4a/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] (no subject)

2016-07-12 Thread Joe Hershberger
Hi , https://patchwork.ozlabs.org/patch/4c64c4d/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] (no subject)

2016-07-12 Thread Joe Hershberger
Hi , https://patchwork.ozlabs.org/patch/2307ea4/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] (no subject)

2016-07-12 Thread Joe Hershberger
Hi , https://patchwork.ozlabs.org/patch/66d027e/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] (no subject)

2016-07-12 Thread Joe Hershberger
Hi , https://patchwork.ozlabs.org/patch/19c9dda/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] configs: da850evm: enable bootz command

2016-07-12 Thread Kevin Hilman
Sekhar Nori writes: > Enable bootz command on Texas Instruments DA850 EVM > board. This helps it boot zImage with device-tree > blob passed. > > Signed-off-by: Sekhar Nori Tested-by: Kevin Hilman Thanks! This was the only change I needed

[U-Boot] [PATCH v5 22/26] igep00x0: remove unused empty function omap_rev_string()

2016-07-12 Thread Ladislav Michl
Signed-off-by: Ladislav Michl --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None board/isee/igep00x0/igep00x0.c | 8 1 file changed, 8 deletions(-) diff --git a/board/isee/igep00x0/igep00x0.c b/board/isee/igep00x0/igep00x0.c

[U-Boot] [PATCH v5 21/26] igep00x0: remove useless setup_net_chip declaration

2016-07-12 Thread Ladislav Michl
Signed-off-by: Ladislav Michl --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None board/isee/igep00x0/igep00x0.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/board/isee/igep00x0/igep00x0.h b/board/isee/igep00x0/igep00x0.h index

[U-Boot] [PATCH v5 18/26] cmd: mtdparts: support runtime generated mtdparts

2016-07-12 Thread Ladislav Michl
Some CPUs contains boot ROM code capable reading first few blocks (where SPL resides) of NAND flash and executing it. It is wise to create separate partition here for SPL. As block size depends on NAND chip used, we could either use worst case (biggest) partition size or base its size on actual

[U-Boot] [PATCH v5 19/26] igep00x0: move sysinfo into C file

2016-07-12 Thread Ladislav Michl
Signed-off-by: Ladislav Michl --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None board/isee/igep00x0/igep00x0.c | 18 ++ board/isee/igep00x0/igep00x0.h | 18 -- 2 files changed, 18 insertions(+), 18

[U-Boot] [PATCH v5 20/26] igep00x0: reorder lan9221 code to remove ifdefs

2016-07-12 Thread Ladislav Michl
Signed-off-by: Ladislav Michl --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None board/isee/igep00x0/igep00x0.c | 41 + 1 file changed, 17 insertions(+), 24 deletions(-) diff --git

  1   2   >