Re: [U-Boot] [PATCH 13/14] mkimage: Don't close the file if it wasn't opened

2016-03-19 Thread Tom Rini
On Wed, Mar 16, 2016 at 07:45:43AM -0600, Simon Glass wrote: > The error path for fit_import_data() is incorrect if the second open() call > fails. > > Reported-by: Coverity (CID: 138489) > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom

[U-Boot] [PATCH v2] mx6sabresd: Use VESA 1024x768 timings

2016-03-19 Thread Fabio Estevam
VESA 1024x768 results in much more accurate timings. Based on the patch from Soeren Moch for the tbs2910 board. Signed-off-by: Fabio Estevam --- Changes since v1: - Fix Soeren's name board/freescale/mx6sabresd/mx6sabresd.c | 28 ++-- 1 file

Re: [U-Boot] [PATCH 6/7] ARM: OMAP5/DRA7: Expose do_set_iodelay

2016-03-19 Thread Tom Rini
On Tue, Mar 15, 2016 at 06:09:16PM -0500, Nishanth Menon wrote: > do_set_iodelay can now be used from board files based on needs of the > platforms variation they have. > > Signed-off-by: Nishanth Menon Reviewed-by: Tom Rini -- Tom signature.asc

Re: [U-Boot] [U-Boot, 09/10] keystone2: env: add env script for booting with an initramfs with firmware

2016-03-19 Thread Tom Rini
On Wed, Mar 09, 2016 at 03:39:38PM +0530, Lokesh Vutla wrote: > From: Murali Karicheri > > This patch updates the env script to include a initramfs with firmware > loaded and provided to kernel through second argument of bootz command > during boot. Defined

Re: [U-Boot] [PATCH v8 1/9] mips: add base support for QCA/Atheros ath79 SOCs

2016-03-19 Thread Marek Vasut
On 03/17/2016 01:35 PM, Wills Wang wrote: > > > On Thursday, March 17, 2016 08:20 PM, Marek Vasut wrote: >> On 03/17/2016 05:02 AM, Wills Wang wrote: >>> >>> On Thursday, March 17, 2016 11:44 AM, Marek Vasut wrote: On 03/17/2016 04:39 AM, Wills Wang wrote: > On Thursday, March 17, 2016

Re: [U-Boot] [U-Boot, 13/27] omap-common: clocks-common: Setup USB DPLL when MUSB is in use

2016-03-19 Thread Tom Rini
On Sat, Feb 27, 2016 at 07:19:01PM +0100, Paul Kocialkowski wrote: > On (at least) OMAP4, the USB DPLL is required to be setup for the internal PHY > to work properly. The internal PHY is used by default with the MUSB USB OTG > controller. > > Signed-off-by: Paul Kocialkowski

[U-Boot] [PATCH] sun7i: Add support for the Itead Core EVB

2016-03-19 Thread codekipper
From: Marcus Cooper --- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun7i-a20-itead-core-evb.dts | 316 ++ configs/Itead_Core_EVB_defconfig | 22 +++ 3 files changed, 339 insertions(+) create mode 100644

Re: [U-Boot] [PATCH] arm: socfpga: Enable DM_I2C

2016-03-19 Thread Marek Vasut
On 03/18/2016 01:16 PM, Stefan Roese wrote: > On 18.03.2016 12:20, Marek Vasut wrote: >> On 03/18/2016 08:55 AM, Stefan Roese wrote: >>> The designware I2C driver now supports DM. So lets use it and enable >>> DM_I2C for this platform per default. >>> >>> Signed-off-by: Stefan Roese

Re: [U-Boot] [PATCH v8 1/9] mips: add base support for QCA/Atheros ath79 SOCs

2016-03-19 Thread Wills Wang
On Thursday, March 17, 2016 11:44 AM, Marek Vasut wrote: On 03/17/2016 04:39 AM, Wills Wang wrote: On Thursday, March 17, 2016 05:35 AM, Marek Vasut wrote: On 03/16/2016 09:59 AM, Wills Wang wrote: This patch add some common code for QCA/Atheros ath79 SOCs such as DDR tuning, chip reset

[U-Boot] [PATCH] sunxi: Enable realtek phy support

2016-03-19 Thread Hans de Goede
Enable building of drivers/net/phy/realtek.c so that realtek phys get properly initialized. Signed-off-by: Hans de Goede --- include/configs/sunxi-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h

Re: [U-Boot] [PATCH 3/6] i2c: designware_i2c: Integrate set_speed() into dw_i2c_set_bus_speed()

2016-03-19 Thread Marek Vasut
On 03/18/2016 08:54 AM, Stefan Roese wrote: > Integrating set_speed() into dw_i2c_set_bus_speed() will make the > conversion to DM easier for this driver. > > Signed-off-by: Stefan Roese > Cc: Simon Glass > Cc: Bin Meng > Cc: Marek Vasut

Re: [U-Boot] [PATCH v2] spl_mmc: allow to load raw image

2016-03-19 Thread Tom Rini
On Wed, Mar 16, 2016 at 12:10:00PM +0900, Masahiro Yamada wrote: > The function spl_parse_image_header() falls back to a raw image > if the U-Boot header is missing and CONFIG_SPL_PANIC_ON_RAW_IMAGE > is undefined. While, mmc_load_image_raw_sector() only accepts a > U-Boot legacy image or an FIT

[U-Boot] [PATCH v2 2/2] mmc: Print send_cmd response only when return value is zero

2016-03-19 Thread Bin Meng
send_cmd response is valid only when no error happened. If an error occured, let mmc_send_cmd() print the return value to aid debugging. Signed-off-by: Bin Meng --- Changes in v2: - change commit subject: it should be 'return value is zero' drivers/mmc/mmc.c | 80

[U-Boot] [PATCH] image-fit: Change FIT prefix for configurations

2016-03-19 Thread Sáreník Ján
Instead of `bootm ${loadaddr}#conf@1` one uses `bootm ${loadaddr}_conf@1` This fixes the bug with using just `bootm #conf@2` without $loadaddr where text starting with # is interpreted as a comment. --- cmd/bootm.c | 2 +- common/image-fit.c

Re: [U-Boot] [PATCH v4 01/14] armv8: ls2080: Add SFP Configs for LS2080/LS2085

2016-03-19 Thread york sun
On 02/08/2016 09:26 PM, Saksham Jain wrote: > In LS2080/LS2085, SFP is LE and Ver is 3.4 Please spell out little endian and version. Use proper period sign at the end of sentence. > The base address is 0x01e80200 Same here. York ___ U-Boot mailing

Re: [U-Boot] [PATCH v4 2/4] drivers: remove writes{b, w, l, q} and reads{b, w, l, q}.

2016-03-19 Thread Scott Wood
On 03/18/2016 08:52 AM, Purna Chandra Mandal wrote: > Definition of writes{bwlq}, reads{bwlq} are now added into arch specific > asm/io.h. So removing them from drivers to fix re-definition error > > Signed-off-by: Purna Chandra Mandal > --- > > Changes in v4: None >

[U-Boot] [PATCH 12/13] ARM: uniphier: add System Control register macros for ARMv8 SoCs

2016-03-19 Thread Masahiro Yamada
The System Control block moved to a completely different register map for ARMv8 SoCs, so it cannot be shared with the ARM 32-bit ones. Define register macros in a new header file. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/sc64-regs.h | 44

Re: [U-Boot] [PATCH] arm: socfpga: Enable DM_I2C

2016-03-19 Thread Stefan Roese
On 18.03.2016 12:20, Marek Vasut wrote: On 03/18/2016 08:55 AM, Stefan Roese wrote: The designware I2C driver now supports DM. So lets use it and enable DM_I2C for this platform per default. Signed-off-by: Stefan Roese Cc: Marek Vasut --- arch/arm/Kconfig

Re: [U-Boot] [PATCH 1/7] ARM: DRA72x: Add support for detection of SR2.0

2016-03-19 Thread Tom Rini
On Tue, Mar 15, 2016 at 06:09:11PM -0500, Nishanth Menon wrote: > From: Ravi Babu > > Add support for detection of SR2.0 version of DRA72x family of > processors. > > Signed-off-by: Ravi Babu > Signed-off-by: Nishanth Menon Reviewed-by: Tom

Re: [U-Boot] [PATCH v3 3/4] drivers: musb-new: Add USB DRC driver for Microchip PIC32 OTG controller.

2016-03-19 Thread Purna Chandra Mandal
On 03/16/2016 09:18 PM, Marek Vasut wrote: > On 03/16/2016 10:58 AM, Purna Chandra Mandal wrote: >> On 03/15/2016 11:49 PM, Marek Vasut wrote: >> >>> On 03/15/2016 01:44 PM, Purna Chandra Mandal wrote: This driver adds support of PIC32 MUSB OTG controller as dual role device. It

Re: [U-Boot] mx6sabresd: Use VESA 1024x768 timings

2016-03-19 Thread Fabio Estevam
On Wed, Mar 16, 2016 at 12:52 PM, Soeren Moch wrote: >> VESA 1024x768 results in much more accurate timings. >> >> Based on the patch from Soeren Moech for the tbs2910 board. > > Soeren Moch Sorry about that. Fixed in v2. ___ U-Boot

[U-Boot] [PATCH v3 02/10] dhry: Correct dhrystone calculation for fast machines

2016-03-19 Thread Simon Glass
At present samus reports about 5600 DMIPS. With the default iteration count this is OK, but if 10 million runs are performed it overflows. Fix it. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None lib/dhry/cmd_dhry.c | 8 +--- 1 file changed, 5

Re: [U-Boot] [PATCH v3 06/10] x86: dts: Drop memory SPD compatible string

2016-03-19 Thread Bin Meng
On Wed, Mar 16, 2016 at 9:44 PM, Simon Glass wrote: > This is not needed now that the memory controller driver has the SPD data > in its own node. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v3: None >

[U-Boot] [PATCH 10/14] mkimage: Fix missing free() in fit_extract_data()

2016-03-19 Thread Simon Glass
The 'buf' variable is not freed. Fix it. Reported-by: Coverity (CID: 138492) Signed-off-by: Simon Glass --- tools/fit_image.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/fit_image.c b/tools/fit_image.c index bfb43b2..e628212 100644 --- a/tools/fit_image.c +++

Re: [U-Boot] [PATCH 2/2] board: ti: am57xx: Set ethernet MAC addresses from EEPROM to env

2016-03-19 Thread Tom Rini
On Fri, Mar 18, 2016 at 01:18:12PM +0200, Roger Quadros wrote: > The MAC addresses for the PRU Ethernet ports will be available in the > board EEPROM as an address range. Populate those MAC addresses (if valid) > into the u-boot environment so that they can be passed on to the > device tree

[U-Boot] [PATCH v3 2/2] drivers: mtd: add Microchip PIC32 internal non-CFI flash driver.

2016-03-19 Thread Purna Chandra Mandal
PIC32 internal flash devices are parallel NOR flash divided into number of banks to allow erase-programming in one while fetch and execution continues on other. As the flash banks are memory mapped stored code can be executed directly from flash (XIP), also there is additional hardware logic to

Re: [U-Boot] [PATCH 3/3] ARM: keystone2: Convert BOOT_SET_BITFIELD into static inline function

2016-03-19 Thread Tom Rini
On Tue, Mar 15, 2016 at 10:25:53AM -0500, Nishanth Menon wrote: > Fix up BOOT_SET_BITFIELD to be a static inline function to be readable > with the same functionality. > > Reported-by: Tom Rini > Signed-off-by: Nishanth Menon Reviewed-by: Tom Rini

Re: [U-Boot] [U-Boot,v5,17/30] efi_loader: Add runtime services

2016-03-19 Thread Tom Rini
On Fri, Mar 04, 2016 at 01:10:01AM +0100, Alexander Graf wrote: > After booting has finished, EFI allows firmware to still interact with the OS > using the "runtime services". These callbacks live in a separate address > space, > since they are available long after U-Boot has been overwritten by

Re: [U-Boot] [PATCH v8 1/9] mips: add base support for QCA/Atheros ath79 SOCs

2016-03-19 Thread Marek Vasut
On 03/17/2016 04:39 AM, Wills Wang wrote: > > > On Thursday, March 17, 2016 05:35 AM, Marek Vasut wrote: >> On 03/16/2016 09:59 AM, Wills Wang wrote: >>> This patch add some common code for QCA/Atheros ath79 SOCs such as >>> DDR tuning, chip reset and CPU detection. >>> >>> Signed-off-by: Wills

[U-Boot] [PATCH] [v3] armv8: fsl-layerscape: Updating entries in Serdes Table

2016-03-19 Thread Pratiyush Mohan Srivastava
The serdes protocol entries in Serdes table 1 for protocol 0x03, 0x33, 0x35 and in Serdes table 2 for protocols 0x45 and 0x47 are updated to reflect the entries in current Reference Manual. Signed-off-by: Pratiyush Mohan Srivastava Reported-by: Jose Rivera

[U-Boot] [RFC PATCH 0/2] simple cache layer for block devices

2016-03-19 Thread Eric Nelson
Here's an example of a very simple cache for block devices that will prevent duplicate back-to-back reads from the same block device. By itself, this is sufficient to speed reads of certain files from ext4 by 30x as described in this thread. The areas I think could benefit most from some level

Re: [U-Boot] [PATCH v8 1/9] mips: add base support for QCA/Atheros ath79 SOCs

2016-03-19 Thread Marek Vasut
On 03/17/2016 05:02 AM, Wills Wang wrote: > > > On Thursday, March 17, 2016 11:44 AM, Marek Vasut wrote: >> On 03/17/2016 04:39 AM, Wills Wang wrote: >>> >>> On Thursday, March 17, 2016 05:35 AM, Marek Vasut wrote: On 03/16/2016 09:59 AM, Wills Wang wrote: > This patch add some common

Re: [U-Boot] [PATCH v8 1/9] mips: add base support for QCA/Atheros ath79 SOCs

2016-03-19 Thread Wills Wang
On Thursday, March 17, 2016 08:20 PM, Marek Vasut wrote: On 03/17/2016 05:02 AM, Wills Wang wrote: On Thursday, March 17, 2016 11:44 AM, Marek Vasut wrote: On 03/17/2016 04:39 AM, Wills Wang wrote: On Thursday, March 17, 2016 05:35 AM, Marek Vasut wrote: On 03/16/2016 09:59 AM, Wills Wang

Re: [U-Boot] [U-Boot, 05/27] omap4: Export elpidia sdram device details

2016-03-19 Thread Tom Rini
On Sat, Feb 27, 2016 at 07:18:53PM +0100, Paul Kocialkowski wrote: > Individual boards might provide their own emif_get_device_details function and > use elpidia device details in their own way, hence those have to be exported. > > This also wraps existing definitions with the proper ifdef

Re: [U-Boot] sunxi: Support SID e-fuses on A83T and H3

2016-03-19 Thread Hans de Goede
Hi, On 27-01-16 09:34, Chen-Yu Tsai wrote: On the A83T and H3, the SID block is at a different address. Furthurmore, the e-fuses are at an offset of 0x200 within the hardware's address space. Signed-off-by: Chen-Yu Tsai Thanks, applied to my tree and this will go out with the

Re: [U-Boot] [PATCH v3 05/10] x86: ivybridge: Convert to use the common SDRAM code

2016-03-19 Thread Bin Meng
On Wed, Mar 16, 2016 at 9:44 PM, Simon Glass wrote: > Adjust the existing implementation to use the new common SDRAM init code. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v3: None > Changes in v2: > -

[U-Boot] [PATCH] Fix typo in chosen parameter in vf610-twr.dts.

2016-03-19 Thread Alexander Merkle
Signed-off-by: Alexander Merkle --- arch/arm/dts/vf610-twr.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/vf610-twr.dts b/arch/arm/dts/vf610-twr.dts index a4ccbcb..237aa8d 100644 --- a/arch/arm/dts/vf610-twr.dts +++

Re: [U-Boot] [PATCH v2 2/2] mmc: Print send_cmd response only when return value is zero

2016-03-19 Thread Tom Rini
On Thu, Mar 17, 2016 at 09:53:14PM -0700, Bin Meng wrote: > send_cmd response is valid only when no error happened. If an error > occured, let mmc_send_cmd() print the return value to aid debugging. > > Signed-off-by: Bin Meng > Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH v8 2/9] mips: ath79: add support for AR933x SOCs

2016-03-19 Thread Marek Vasut
On 03/16/2016 09:59 AM, Wills Wang wrote: > This patch enable work for ar933x SOC. > > Signed-off-by: Wills Wang > --- > > Changes in v8: > - Fix multi-line comment for ar933x > > Changes in v7: > - Use CKSEGxADDR instead of KSEGxADDR for ar933x > > Changes in v6: > -

Re: [U-Boot] [U-Boot,24/27] power: twl6030: Power off support

2016-03-19 Thread Tom Rini
On Sat, Feb 27, 2016 at 07:19:12PM +0100, Paul Kocialkowski wrote: > This adds support for powering off (the omap SoC) from the twl6030. > > Signed-off-by: Paul Kocialkowski Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

[U-Boot] [PATCH 13/13] ARM: uniphier: support Debug UART

2016-03-19 Thread Masahiro Yamada
For ARM32 architecture, CONFIG_DEBUG_LL is available for early low-level debugging (and actually UniPhier 32bit SoCs use it), but ARM64 architecture does not support it. Instead, CONFIG_DEBUG_UART is available as an architecture-independent debug facility. This commit supports it on all the

Re: [U-Boot] [PATCH v8 3/9] mips: ath79: add support for QCA953x SOCs

2016-03-19 Thread Marek Vasut
On 03/17/2016 04:14 AM, Wills Wang wrote: > > > On Thursday, March 17, 2016 05:39 AM, Marek Vasut wrote: >> On 03/16/2016 09:59 AM, Wills Wang wrote: >>> This patch enable work for qca953x SOC. >>> >>> Signed-off-by: Wills Wang >>> --- >>> >>> Changes in v8: >>> - Fix

Re: [U-Boot] [U-Boot,21/27] kc1: OMAP4 reboot mode support

2016-03-19 Thread Tom Rini
On Sat, Feb 27, 2016 at 07:19:09PM +0100, Paul Kocialkowski wrote: > This adds support for the omap4 reboot mode mechanism and exports the reboot > mode via an environment variable, that is used in the boot command to make it > possible to boot from the recovery partition or fastboot. > >

Re: [U-Boot] [PATCH] sunxi: chip: enable composite video out

2016-03-19 Thread Hans de Goede
Hi, On 07-03-16 13:50, Maxime Ripard wrote: From: Alex Kaplan The CHIP has a composite video output in the mini-Jack connector, alongside with the 2 audio channels. Enable this output in U-Boot. Signed-off-by: Alex Kaplan Signed-off-by: Maxime

Re: [U-Boot] [PATCH 2/6] i2c: designware_i2c: Add dw_i2c_enable() helper function

2016-03-19 Thread Marek Vasut
On 03/18/2016 01:04 PM, Stefan Roese wrote: > On 18.03.2016 12:12, Marek Vasut wrote: >> On 03/18/2016 08:54 AM, Stefan Roese wrote: >>> dw_i2c_enable() is used to dis-/en-able the I2C controller. It makes >>> sense to add such a function, as the controller is dis-/en-abled >>> multiple times in

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

2016-03-19 Thread Simon Glass
Hi Tom, Here is the rest of the block device stuff as well as a few buildman improvements and a few other things. The following changes since commit f23baa572f96e1e13d7f1a3c8addb61b5d0dbd29: cmd_dhry.c: Use lldiv for vax_mips calculation as well (2016-03-17 10:14:25 -0400) are available in

Re: [U-Boot] [PATCH] sandbox: Enable many more commands

2016-03-19 Thread Tom Rini
On Sat, Mar 19, 2016 at 06:25:48PM -0600, Simon Glass wrote: > Hi Tom, > > On 15 March 2016 at 21:32, Simon Glass wrote: > > > > On 15 March 2016 at 11:20, Tom Rini wrote: > > > good enough. > > > - Make include like other arches do > > > - Enable many

Re: [U-Boot] [PATCH v3 4/4] dm: blk: Add tests for block devices

2016-03-19 Thread Simon Glass
On 13 March 2016 at 08:22, Simon Glass wrote: > Add some tests to check that block devices work as expected. > > Signed-off-by: Simon Glass > Tested-by: Stephen Warren > --- > > Changes in v3: > - Drop patches already applied > > Changes

Re: [U-Boot] [PATCH v3 2/4] dm: sandbox: Switch over to use DM for block devices

2016-03-19 Thread Simon Glass
On 13 March 2016 at 08:22, Simon Glass wrote: > Now that the drivers used by sandbox support CONFIG_BLK, we can switch > sandbox over to use driver model for block devices. > > Signed-off-by: Simon Glass > Tested-by: Stephen Warren > ---

Re: [U-Boot] [PATCH v2 3/3] buildman: Clarify the use of -V

2016-03-19 Thread Simon Glass
On 14 March 2016 at 10:56, Stephen Warren wrote: > On 03/12/2016 06:50 PM, Simon Glass wrote: >> >> This option outputs to the log file, not to the terminal. Clarify that in >> the help, and add a mention of it in the README. > > > Reviewed-by: Stephen Warren

Re: [U-Boot] [PATCH v3 3/4] dm: sandbox: Drop the pre-DM host implementation

2016-03-19 Thread Simon Glass
On 13 March 2016 at 08:22, Simon Glass wrote: > Driver model is used for host device block devices now, so we don't need the > old code. Remove it. > > Signed-off-by: Simon Glass > Tested-by: Stephen Warren > --- > > Changes in v3: None

Re: [U-Boot] [PATCH v3 1/4] dm: usb: Unbind old block devices when shutting down USB

2016-03-19 Thread Simon Glass
On 13 March 2016 at 08:22, Simon Glass wrote: > When 'usb start' is used, block devices are created for any USB flash sticks > and disks, etc. When 'usb stop' is used, these block devices are currently > not removed. > > We don't want old block devices hanging around since they

Re: [U-Boot] [PATCH v2 1/3] buildman: Allow branch names which conflict with directories

2016-03-19 Thread Simon Glass
On 12 March 2016 at 18:50, Simon Glass wrote: > > At present if you try to use buildman with the branch 'test' it will > complain that it is unsure whether you mean the branch or the directory. > This is a feature of the 'git log' command that buildman uses. Fix it > by

Re: [U-Boot] [PATCH v2 2/3] buildman: Add a way to specific a full toolchain prefix

2016-03-19 Thread Simon Glass
Hi Stephen, On 14 March 2016 at 10:56, Stephen Warren wrote: > On 03/12/2016 06:50 PM, Simon Glass wrote: >> >> At present buildman allows you to specify the directory containing the >> toolchain, but not the actual toolchain prefix. If there are multiple >> toolchains in

Re: [U-Boot] [PATCH] sandbox: Enable many more commands

2016-03-19 Thread Simon Glass
Hi Tom, On 15 March 2016 at 21:32, Simon Glass wrote: > > On 15 March 2016 at 11:20, Tom Rini wrote: > > good enough. > > - Make include like other arches do > > - Enable many many more drivers in sandbox_defconfig so that we can get > > more

Re: [U-Boot] [PATCH 00/18] sf: fix support of QSPI memories and controllers

2016-03-19 Thread Cyrille Pitchen
Le 16/03/2016 15:14, Jagan Teki a écrit : > On Wednesday 16 March 2016 07:00 PM, Cyrille Pitchen wrote: >> Le 15/03/2016 19:21, Jagan Teki a écrit : >>> On Tuesday 15 March 2016 11:42 PM, Cyrille Pitchen wrote: Hi all, This series of patches fixes and extend the support of QSPI

Re: [U-Boot] [PATCH v2 0/5] Enable caches for the RPi2

2016-03-19 Thread Alexander Graf
On 17.03.16 05:26, Stephen Warren wrote: > On 03/16/2016 08:41 AM, Alexander Graf wrote: >> This patch set converts the Raspberry Pi 2 system to properly make use of >> the caches available in it. >> >> Because we're running in HYP mode, we first need to teach U-Boot how to >> make use of HYP

Re: [U-Boot] [PATCH v8 3/9] mips: ath79: add support for QCA953x SOCs

2016-03-19 Thread Wills Wang
On Thursday, March 17, 2016 05:39 AM, Marek Vasut wrote: On 03/16/2016 09:59 AM, Wills Wang wrote: This patch enable work for qca953x SOC. Signed-off-by: Wills Wang --- Changes in v8: - Fix multi-line comment for qca953x Changes in v7: - Use CKSEGxADDR instead of

Re: [U-Boot] [PATCH] fdt: Try to read #address-cells/size-cells from parent

2016-03-19 Thread Michal Simek
On 16.3.2016 23:47, David Gibson wrote: > On Wed, Mar 16, 2016 at 05:18:25PM +0100, Michal Simek wrote: >> Hi David, >> >> On 15.3.2016 01:27, David Gibson wrote: >>> On Mon, Mar 14, 2016 at 10:10:58PM +0100, Michal Simek wrote: On 13.3.2016 02:54, Simon Glass wrote: > Hi Michal, >

Re: [U-Boot] [U-Boot, 15/27] power: twl6030: Configure VUSB voltage on USB device setup

2016-03-19 Thread Tom Rini
On Sat, Feb 27, 2016 at 07:19:03PM +0100, Paul Kocialkowski wrote: > This explicitly sets VUSB voltage to 3.3V when enabling USB. > > Signed-off-by: Paul Kocialkowski Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] spl_mmc: allow to load raw image

2016-03-19 Thread Tom Rini
On Fri, Mar 18, 2016 at 01:07:47AM +0900, Masahiro Yamada wrote: > Hi Tom, > > 2016-03-17 11:04 GMT+09:00 Tom Rini : > > On Mon, Feb 29, 2016 at 08:31:57PM +0900, Masahiro Yamada wrote: > > > >> The function spl_parse_image_header() falls back to a raw image > >> if the U-Boot

[U-Boot] [PATCH v2 3/5] lcd: Fix compile warning in 64bit mode

2016-03-19 Thread Alexander Graf
When compiling the code for 64bit, the lcd code emits warnings because it tries to cast pointers to 32bit values. Fix it by casting them to longs instead, actually properly aligning with the function prototype. Signed-off-by: Alexander Graf --- common/lcd.c | 4 ++-- 1 file

Re: [U-Boot] [U-Boot, 2/4] omap3: Use a define for reboot reason offset

2016-03-19 Thread Tom Rini
On Sat, Feb 27, 2016 at 07:26:42PM +0100, Paul Kocialkowski wrote: > This introduces a define for the offset to the reboot reason, rather than > hardcoding it. > > Signed-off-by: Paul Kocialkowski > Reviewed-by: Tom Rini Applied to u-boot/master, thanks!

Re: [U-Boot] [linux-sunxi] [PATCH v2 1/2] sun7i: Add support for the Itead Ibox

2016-03-19 Thread Hans de Goede
Hi, On 15-03-16 18:47, codekip...@gmail.com wrote: From: Marcus Cooper Add dts and defconfig for the multi board device based on the Allwinner A20 SoC. It contains the A20 Itead Core module and a base board for the external interfaces. The core module comes with 4GB

[U-Boot] [PATCH 3/6] ARM: keystone2: Only link cmd_ddr3.o on non-SPL builds

2016-03-19 Thread Tom Rini
When we switch to including all linker lists in U-Boot it is important to not include commands as that may lead to link errors due to other things we have already discarded. In this case simply move cmd_ddr3.o over to the list with the rest. Cc: Vitaly Andrianov Cc: Nishanth

[U-Boot] [PATCH] arm: socfpga: Nuke useless include

2016-03-19 Thread Marek Vasut
The dwmmc.h include was forgotten during the migration of dwmmc probing to DM. Since the shiny DM is in place now, remove this relic of the past. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See ---

Re: [U-Boot] [PATCH v4 14/14] SECURE BOOT: Change fsl_secboot_validate function to output image addr

2016-03-19 Thread york sun
On 02/08/2016 09:27 PM, Saksham Jain wrote: > Currently, fsl_secboot_validate function used to set env variable "img_addr" > to contain address of image being validated. > > The function has been changed to output image addr via argument > img_addr_ptr. The command esbc_validate sets the env

Re: [U-Boot] [PATCH] sunxi: Add support for Cubietruck Plus

2016-03-19 Thread Dennis Gilmore
On Saturday, March 19, 2016 5:43:52 PM CDT Dennis Gilmore wrote: > Hans, > > What is the status of this patch? > > Dennis With the patch applied building for Cubietruck_plus fails with ld.bfd -pie --gc-sections -Bstatic -Ttext 0x4a00 -o u-boot -T u- boot.lds

Re: [U-Boot] [U-Boot, 03/10] ti_armv7_keystone2: env: Remove securedb.key.bin load

2016-03-19 Thread Tom Rini
On Wed, Mar 09, 2016 at 03:39:32PM +0530, Lokesh Vutla wrote: > From: Carlos Hernandez > > securedb.key.bin is not supported so it should not be loaded by > default init_ubi command. > > Signed-off-by: Carlos Hernandez > Signed-off-by: Lokesh Vutla

Re: [U-Boot] [PATCH 2/2] armv8/ls1043aqds: use configuarable clock for non-QSPI boot

2016-03-19 Thread york sun
On 03/14/2016 03:06 AM, Gong Qianyu wrote: > For QSPI boot and SD boot with QSPI, we could only read from FPGA > through I2C to get the system clock and DDR clock info. However in > U-Boot booting flow, I2C is not initialized when get_clocks() is > called and thus it couldn't get correct value of

Re: [U-Boot] [PATCH v4 04/14] SECURE BOOT: Add Secure Boot support on ls2080aqds/rdb

2016-03-19 Thread york sun
Please squash your patch "[PATCH] MAINTAINERS : Add entry for ls2080/5 SECURE BOOT defconfigs" withi this one. On 02/08/2016 09:27 PM, Saksham Jain wrote: > Following changes have been made to enable secure boot: > 1) Sec_init has been called in starting to initialize SEC Block (CAAM) > which

Re: [U-Boot] [PATCH] sunxi: Fix gmac not working due to cpu_eth_init no longer being called

2016-03-19 Thread Hans de Goede
Hi, On 17-03-16 14:21, Ian Campbell wrote: On Thu, 2016-03-17 at 14:02 +0100, Hans de Goede wrote: cpu_eth_init is no longer called for dm enabled eth drivers, this was causing the sunxi gmac eth controller to no longer work in u- boot. This commit fixes this by moving the gpio setup to

[U-Boot] [PATCH 09/14] mkimage: Fix error path in fit_extract_data()

2016-03-19 Thread Simon Glass
The 'fdt' variable is not unmapped in all error cases. Fix this. Reported-by: Coverity (CID: 138493) Signed-off-by: Simon Glass --- tools/fit_image.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tools/fit_image.c b/tools/fit_image.c index

Re: [U-Boot] [PATCH] sunxi: Add support for Cubietruck Plus

2016-03-19 Thread Dennis Gilmore
Hans, What is the status of this patch? Dennis On Wednesday, January 27, 2016 4:34:44 PM CDT Chen-Yu Tsai wrote: > Cubietruck Plus is a A83T/H8 based development board. The board has > standard DDR3 SDRAM, AXP818 PMIC/codec, SD/MMC, eMMC, USB 2.0 host > via HSIC USB Hub, USB OTG, SATA via USB

[U-Boot] [PATCH 1/3] Fix typo in chosen parameter in vf610-twr.dts

2016-03-19 Thread Alexander Merkle
Fix typo "choosen" instead of "chosen" in vf610-twr.dts. Fixes boot process and terminal output for Vybrid series. Signed-off-by: Alexander Merkle --- arch/arm/dts/vf610-twr.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH 4/7] board: ti: DRA72: revC evm: Update sdram timing configuration for SR2.0

2016-03-19 Thread Tom Rini
On Tue, Mar 15, 2016 at 06:09:14PM -0500, Nishanth Menon wrote: > From: Ravi Babu > > DDR configuration has changes from SR1.1 based Rev-A/B version of evm > to the SR2.0 based Rev C of the EVM. Rev C evm now uses the higher > density MT41K512M8RH-125-AAT:E (IT) which is of

[U-Boot] [PATCH 6/6] i2c: designware_i2c: Add support for PCI(e) based I2C cores (x86)

2016-03-19 Thread Stefan Roese
This patch adds support for the PCI(e) based I2C cores. Which can be found for example on the Intel Bay Trail SoC. It has 7 I2C controllers implemented as PCI devices. This patch also adds the fixed values for the timing registers for BayTrail which are taken from the Linux designware I2C driver.

[U-Boot] [PATCH] dm: gpio: pca953x: introduce driver model support for pca953x

2016-03-19 Thread Peng Fan
Introduce a new driver that supports driver model for pca953x. The pca953x chips are used as I2C I/O expanders. This driver is designed to support the following chips: " 4 bits: pca9536, pca9537 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554, pca9556, pca9557, pca9574,

[U-Boot] [PATCH v3 09/10] x86: Add missing pci.h header in me_common.h

2016-03-19 Thread Simon Glass
This uses PCI so should include the header. Signed-off-by: Simon Glass --- Changes in v3: - Add new patch top include missing pci.h header in me_common.c Changes in v2: None arch/x86/include/asm/me_common.h | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH 1/4] rework board config files

2016-03-19 Thread Cyrille Pitchen
--- board/atmel/sama5d2_xplained/Kconfig| 14 ++ board/atmel/sama5d2_xplained/sama5d2_xplained.c | 14 +- drivers/mmc/Kconfig | 6 ++ include/configs/at91-sama5_common.h | 10 ++

[U-Boot] [PATCH 3/6] i2c: designware_i2c: Integrate set_speed() into dw_i2c_set_bus_speed()

2016-03-19 Thread Stefan Roese
Integrating set_speed() into dw_i2c_set_bus_speed() will make the conversion to DM easier for this driver. Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng Cc: Marek Vasut Cc: Heiko Schocher ---

Re: [U-Boot] spl_nor: fix warning when compiled for 64bit target

2016-03-19 Thread Tom Rini
On Mon, Feb 29, 2016 at 08:50:34PM +0900, Masahiro Yamada wrote: > Fix "warning: cast to pointer from integer of different size". > > Signed-off-by: Masahiro Yamada > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 10/10] keystone2: env: Set mmc as default boot for k2g-evm

2016-03-19 Thread Tom Rini
On Wed, Mar 09, 2016 at 03:39:39PM +0530, Lokesh Vutla wrote: > From: Yan Liu > > For k2l, k2e and k2hk, ubi is set to default boot in uboot > environment settings; while for k2g, mmc should be the > default boot. This patch is to set mmc as default for k2g-evm > >

Re: [U-Boot] [PATCH v4 3/4] drivers:usb:common:fsl-dt-fixup: Add device-tree fixup support for xhci controller

2016-03-19 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Friday, March 11, 2016 10:14 PM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; Ramneek Mehresh >; Rajesh Bhagat >Subject:

Re: [U-Boot] [PATCH 1/6] ARM: keystone2: Split monitor code / command code

2016-03-19 Thread Albert ARIBAUD
Hello Tom, On Wed, 16 Mar 2016 11:03:03 -0400, Tom Rini wrote: > When we switch to including all linker lists in U-Boot it is important > to not include commands as that may lead to link errors due to other > things we have already discarded. In this case, we split the code

[U-Boot] [PATCH 02/13] ARM: uniphier: remove commented out define

2016-03-19 Thread Masahiro Yamada
This TODO is no longer useful. CONFIG_SYS_NS16550_SERIAL is just ignored on DM serial. If one wants to use the 16550A UART device on the UniPhier Micro Support Card, it can be enabled by CONFIG_SYS_NS16550 via Kconfig. Please notice CONFIG_SPL_OF_TRANSLATE must be enabled as well and the device

Re: [U-Boot] [PATCH] Add CONFIG_GMAC_TX_DELAY=4 for OlinuXino Lime2

2016-03-19 Thread Michael Haas
Hello all, After the board locked up, I am now working exclusively from within u-boot. Occasionally, gbit will work well. At other times, it will appear to work well but the kernel won't boot. And sometimes, downloading a kernel will just time-out. A reset is often enough to get a behavior

Re: [U-Boot] [U-Boot,07/27] omap4: Export jedec sdram timings

2016-03-19 Thread Tom Rini
On Sat, Feb 27, 2016 at 07:18:55PM +0100, Paul Kocialkowski wrote: > Individual boards might provide their own emif_get_device_timings function and > use the jedec timings in their own way, hence those have to be exported. > > Signed-off-by: Paul Kocialkowski Applied to

[U-Boot] [PATCH 6/6] arm: omap-common: Guard some parts of the code with CONFIG_OMAP44XX/OMAP54XX

2016-03-19 Thread Tom Rini
On OMAP4 platforms that also need to calculate their DDR settings we are now getting very close to the linker limit size. Since OMAP44XX is only seen with LPDDR2, remove some run time tests for LPDDR2 or DDR3 as we will know that we don't have it for OMAP44XX. Cc: Nishanth Menon

Re: [U-Boot] [U-Boot, 05/10] am43xx: configs: Enable USB commands for non usb boot also

2016-03-19 Thread Tom Rini
On Wed, Mar 09, 2016 at 03:39:34PM +0530, Lokesh Vutla wrote: > From: Mugunthan V N > > With commit aee119bd70b8 ('am43xx_evm: add usb host boot support') usb > commands is removed from U-boot second stage and enbaled only on USB > boot config. Fixing this by enable USB

Re: [U-Boot] [PATCH 2/2] Fix spelling of "supported/unsupported".

2016-03-19 Thread Peter Griffin
On Tue, 15 Mar 2016, Vagrant Cascadian wrote: > Signed-off-by: Vagrant Cascadian > --- > > board/hisilicon/hikey/hikey.c | 2 +- > fs/fat/fat_write.c| 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Peter Griffin

Re: [U-Boot] [PATCH v8 0/9] add support for atheros ath79 based SOCs

2016-03-19 Thread Marek Vasut
On 03/16/2016 09:59 AM, Wills Wang wrote: > These series of patch add support for atheros ath79 based SOCs in u-boot, > at the present moment it's just available for ar933x and qca953x chip. > > Changes in v8: > - Use setbits_be32 > - Use lookup-table instead of big switch statement for CPU

Re: [U-Boot] [PATCH] sunxi: Fix gmac not working due to cpu_eth_init no longer being called

2016-03-19 Thread Ian Campbell
On Thu, 2016-03-17 at 15:38 +0100, Hans de Goede wrote: > Hi, > > On 17-03-16 14:21, Ian Campbell wrote: > > > > On Thu, 2016-03-17 at 14:02 +0100, Hans de Goede wrote: > > > > > > cpu_eth_init is no longer called for dm enabled eth drivers, this > > > was causing the sunxi gmac eth controller

Re: [U-Boot] [PATCH v3 4/4] board: pic32mzda: enable USB-host, USB-storage support.

2016-03-19 Thread Marek Vasut
On 03/16/2016 10:12 AM, Daniel Schwierzeck wrote: > > > Am 15.03.2016 um 13:44 schrieb Purna Chandra Mandal: >> Enable MUSB host and USB storage support for Microchip >> PIC32MZ[DA] Starter Kit. >> >> Signed-off-by: Purna Chandra Mandal >> >> --- >> >> Changes in v3:

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-03-19 Thread George Broz
On 16 March 2016 at 18:35, Marek Vasut wrote: > On 03/16/2016 05:17 PM, George Broz wrote: >> On 15 March 2016 at 18:29, George Broz wrote: >> >>> >>> Hello again - >>> >>> So under the assumption my SoCKit h/w was broken, I bought a new board. >>> They are back

Re: [U-Boot] [U-Boot,v5,18/30] efi_loader: Add disk interfaces

2016-03-19 Thread Tom Rini
On Fri, Mar 04, 2016 at 01:10:02AM +0100, Alexander Graf wrote: > A EFI applications usually want to access storage devices to load data from. > > This patch adds support for EFI disk interfaces. It loops through all block > storage interfaces known to U-Boot and creates an EFI object for each

[U-Boot] [PATCH 07/13] ARM: uniphier: add work-around to support Micro Support Card v3.6.10

2016-03-19 Thread Masahiro Yamada
Due to some hardware guy's awful work, this version is not compatible with v3.6: the logic of BIT(0) of the reset logic is inverted! (and v3.6.10 is horribly wrong in multiple ways), but this is what we have to solve now. The v3.6 expects 0x set to the register for reset de-assertion, while

[U-Boot] [PATCH v4 4/4] board: pic32mzda: enable USB-host, USB-storage support.

2016-03-19 Thread Purna Chandra Mandal
Enable MUSB host and USB storage support for Microchip PIC32MZ[DA] Starter Kit. Signed-off-by: Purna Chandra Mandal --- Changes in v4: - dts: add USB clock to musb node - add missing CONFIG_PIC32_USB in defconfig Changes in v3: - add arch specific reads{bwlq},

Re: [U-Boot] [RFC PATCH 1/2] add block device cache

2016-03-19 Thread Eric Nelson
Thanks for the review(s) Stephen. On 03/17/2016 02:16 PM, Stephen Warren wrote: > On 03/16/2016 03:40 PM, Eric Nelson wrote: >> Signed-off-by: Eric Nelson > > A patch description would be useful here; the cover letter wouldn't be > checked in. > Yeah. Please hote the RFC. I

[U-Boot] [PATCH v2 4/5] RPi: Enable caches for rpi2

2016-03-19 Thread Alexander Graf
Now that we have support for running with caches enabled in HYP mode, opt in to that on the Raspberry Pi 2. This brings a significant performance boost. Signed-off-by: Alexander Graf --- v1 -> v2: - Move to KConfig - Adapt to new define name ---

  1   2   3   4   >