[U-Boot] [PATCH v2] net: usb: r8152: Add DM support

2016-06-28 Thread Stefan Roese
Add support for driver model, so that CONFIG_DM_ETH can be defined and used with this driver. This patch also adds the read_rom_hwaddr() callback so that the ROM MAC address will be used to the DM part of this driver. Signed-off-by: Stefan Roese Cc: Stephen Warren

Re: [U-Boot] [RFC PATCH v1] usb: spl: fix USB errata for FSL SPL targets

2016-06-28 Thread york sun
On 06/28/2016 08:53 PM, Sriram Dash wrote: >> From: york sun >> On 06/28/2016 12:02 AM, Sriram Dash wrote: From: Marek Vasut [mailto:ma...@denx.de] On 06/28/2016 01:02 AM, York Sun wrote: > Commit 9262367 moved USB errata workaround to a C file but didn't > build it for SPL

Re: [U-Boot] [RFC PATCH v1] usb: spl: fix USB errata for FSL SPL targets

2016-06-28 Thread Sriram Dash
>From: york sun >On 06/28/2016 12:02 AM, Sriram Dash wrote: >>> From: Marek Vasut [mailto:ma...@denx.de] On 06/28/2016 01:02 AM, York >>> Sun wrote: Commit 9262367 moved USB errata workaround to a C file but didn't build it for SPL targets. Signed-off-by: York Sun

Re: [U-Boot] [PATCH 2/2] dm: mmc: dwmmc: use the callback functions as static

2016-06-28 Thread Jaehoon Chung
Hi Simon, On 06/29/2016 12:28 PM, Simon Glass wrote: > Hi Jaehoon, > > On 27 June 2016 at 23:52, Jaehoon Chung wrote: >> There are no places to call these functions. >> It should be used the callback function. >> Then it can be used as static functions. >> >>

Re: [U-Boot] [PATCH 2/2] dm: mmc: dwmmc: use the callback functions as static

2016-06-28 Thread Simon Glass
Hi Jaehoon, On 27 June 2016 at 23:52, Jaehoon Chung wrote: > There are no places to call these functions. > It should be used the callback function. > Then it can be used as static functions. > > Signed-off-by: Jaehoon Chung > --- >

Re: [U-Boot] [PATCH 1/2] dm: mmc: dwmmc: fix the wrong explanation for clock values

2016-06-28 Thread Simon Glass
On 27 June 2016 at 23:52, Jaehoon Chung wrote: > This e,g is wrong. Maximum/minimum e.g values are swapped each other. > > Signed-off-by: Jaehoon Chung > --- > include/dwmmc.h | 8 > 1 file changed, 4 insertions(+), 4 deletions(-)

Re: [U-Boot] [PATCH v2 1/3] types.h: move and redefine resource_size_t

2016-06-28 Thread Simon Glass
On 27 June 2016 at 18:48, Masahiro Yamada wrote: > Currently, this is only defined in arch/arm/include/asm/types.h, > so move it to include/linux/types.h to make it available for all > architectures. > > I defined it with phys_addr_t as Linux does. I needed to

Re: [U-Boot] [UBOOT PATCH] usb: ehci-hcd: Fix crash when rootdev not initialized

2016-06-28 Thread Simon Glass
Hi, On 27 June 2016 at 23:06, Siva Durga Prasad Paladugu wrote: > > Hi, > >> -Original Message- >> From: Hans de Goede [mailto:hdego...@redhat.com] >> Sent: Monday, June 27, 2016 4:35 PM >> To: Siva Durga Prasad Paladugu ;

Re: [U-Boot] [PATCH v2 5/5] tools: patman: Handle missing 'END' in non-last commit of a series

2016-06-28 Thread Simon Glass
On 26 June 2016 at 23:24, Bin Meng wrote: > The following python error: > > Traceback (most recent call last): > File "./tools/patman/patman", line 144, in > series = patchstream.FixPatches(series, args) > File "./tools/patman/patchstream.py", line 477, in FixPatches

Re: [U-Boot] [PATCH v3 6/9] spl: fit: add support for post-processing of images

2016-06-28 Thread Simon Glass
On 27 June 2016 at 07:19, Andreas Dannenberg wrote: > From: Daniel Allred > > The next stage boot loader image and the selected FDT can be post- > processed by board/platform/device-specific code, which can include > modifying the size and altering the

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

2016-06-28 Thread Simon Glass
On 27 June 2016 at 03:17, Alexey Brodkin wrote: > Commit 90b7fc924adf "net: designware: support phy reset device-tree > bindings" made DW GMAC driver dependent on DM_GPIO by unconditional > usage of purely DM_GPIO stuff like: > * dm_gpio_XXX() > *

Re: [U-Boot] [PATCH v2 3/5] tools: patman: Generate cover letter correctly when 'END' is missing

2016-06-28 Thread Simon Glass
On 26 June 2016 at 23:24, Bin Meng wrote: > If 'END' is missing in a 'Cover-letter' section, and that section > happens to show up at the very end of the commit message, and the > commit is the last commit of the series, patman fails to generate > cover letter for us. Handle

Re: [U-Boot] [PATCH] MMC: Do not write to mmc_uclass_priv if it was not allocated

2016-06-28 Thread Simon Glass
Hi Matt, On 25 June 2016 at 14:57, Matt Corallo wrote: > Signed-off-by: Matt Corallo > --- > drivers/mmc/mmc.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c > index aabfc71..eba20f0 100644 >

Re: [U-Boot] [PATCH v3 00/12] cmd: fdt: Add device tree overlays support

2016-06-28 Thread Simon Glass
Hi Maxime, On 26 June 2016 at 23:29, Maxime Ripard wrote: > Hi David, > > On Mon, Jun 27, 2016 at 01:37:19AM +1000, David Gibson wrote: >> On Fri, Jun 24, 2016 at 04:27:45PM +0200, Maxime Ripard wrote: >> > Hi, >> > >> > The device tree overlays are a great

Re: [U-Boot] [PATCH v2 1/5] tools: patman: Use cover_match for 'Cover-letter'

2016-06-28 Thread Simon Glass
On 26 June 2016 at 23:24, Bin Meng wrote: > Like other patman tags, use a new variable cover_match to indicate > a match for 'Cover-letter'. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - New patch to use cover_match for 'Cover-letter' > >

Re: [U-Boot] [PATCH v3 08/12] libfdt: Add fdt_path_offset_namelen

2016-06-28 Thread Simon Glass
On 26 June 2016 at 01:10, Maxime Ripard wrote: > Hi, > > On Sat, Jun 25, 2016 at 08:53:53PM -0600, Simon Glass wrote: >> On 24 June 2016 at 08:27, Maxime Ripard >> wrote: >> > Add a namelen variant of fdt_path_offset to retrieve

Re: [U-Boot] [PATCH] mmc: msm_sdhci: Set mmc->dev pointer in msm_sdc_probe()

2016-06-28 Thread Simon Glass
On 26 June 2016 at 13:43, Mateusz Kulikowski wrote: > MMC core expects (now) valid mmc->dev pointer. > During conversion in commit cffe5d86 not every driver was updated. > > This patch fixes crash while accessing MMC on > boards using Qualcomm SDHCI controller. > >

Re: [U-Boot] [PATCH 07/20] arm: Avoid error messages in cache_v7

2016-06-28 Thread Simon Glass
Hi Marek, On 19 May 2016 at 08:22, Marek Vasut wrote: > On 05/19/2016 06:02 AM, Simon Glass wrote: >> Hi Marek, >> >> On 14 May 2016 at 15:41, Marek Vasut wrote: >>> On 05/14/2016 11:22 PM, Simon Glass wrote: Hi Marek, >>> >>> Hi! >>> On 14 May 2016 at

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

2016-06-28 Thread Tom Rini
On Wed, Jun 29, 2016 at 10:11:04AM +0800, Bin Meng wrote: > Hi Tom, > > This includes a fix for coreboot-x86 for v2016.07 release. > > The following changes since commit 44faff24f58859bdc1acf28ac739020b5091678a: > > Merge git://git.denx.de/u-boot-fsl-qoriq (2016-06-28 15:59:05 -0400) > >

Re: [U-Boot] [PATCH] x86: coreboot: Remove the dummy pch driver

2016-06-28 Thread Bin Meng
On Wed, Jun 29, 2016 at 2:43 AM, Simon Glass wrote: > On 22 June 2016 at 17:56, Bin Meng wrote: >> Hi Simon, >> >> On Wed, Jun 22, 2016 at 10:36 PM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 22 June 2016 at 03:30, Bin Meng

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

2016-06-28 Thread Bin Meng
Hi Tom, This includes a fix for coreboot-x86 for v2016.07 release. The following changes since commit 44faff24f58859bdc1acf28ac739020b5091678a: Merge git://git.denx.de/u-boot-fsl-qoriq (2016-06-28 15:59:05 -0400) are available in the git repository at: git://git.denx.de/u-boot-x86.git

Re: [U-Boot] [PATCH V2 2/2] common: add new boot media kconfig entry

2016-06-28 Thread Tom Rini
On Tue, Jun 28, 2016 at 02:24:00PM +0900, Masahiro Yamada wrote: > Hi. > > > 2016-06-28 14:02 GMT+09:00 Peng Fan : > > Hi Tom, > > > > On Fri, Jun 24, 2016 at 06:57:44PM -0400, Tom Rini wrote: > >>On Sun, Jun 19, 2016 at 06:20:52PM +0800, Peng Fan wrote: > >>> Hi Masahiro,

Re: [U-Boot] [PATCH] x86: coreboot: Remove the dummy pch driver

2016-06-28 Thread Bin Meng
Hi Tom, On Wed, Jun 29, 2016 at 10:05 AM, Tom Rini wrote: > On Wed, Jun 29, 2016 at 10:02:55AM +0800, Bin Meng wrote: >> On Wed, Jun 29, 2016 at 2:43 AM, Simon Glass wrote: >> > On 22 June 2016 at 17:56, Bin Meng wrote: >> >> Hi Simon,

Re: [U-Boot] [PATCH] x86: coreboot: Remove the dummy pch driver

2016-06-28 Thread Tom Rini
On Wed, Jun 29, 2016 at 10:02:55AM +0800, Bin Meng wrote: > On Wed, Jun 29, 2016 at 2:43 AM, Simon Glass wrote: > > On 22 June 2016 at 17:56, Bin Meng wrote: > >> Hi Simon, > >> > >> On Wed, Jun 22, 2016 at 10:36 PM, Simon Glass wrote: >

Re: [U-Boot] [PATCH] x86: coreboot: Remove the dummy pch driver

2016-06-28 Thread Bin Meng
On Wed, Jun 29, 2016 at 2:43 AM, Simon Glass wrote: > On 22 June 2016 at 17:56, Bin Meng wrote: >> Hi Simon, >> >> On Wed, Jun 22, 2016 at 10:36 PM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 22 June 2016 at 03:30, Bin Meng

Re: [U-Boot] [PATCH] configs: Re-sync after boot menu changes

2016-06-28 Thread Tom Rini
On Mon, Jun 27, 2016 at 10:40:17PM -0400, Tom Rini wrote: > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, V2, 2/2] common: add new boot media kconfig entry

2016-06-28 Thread Tom Rini
On Fri, Jun 17, 2016 at 05:39:51PM +0800, Peng Fan wrote: > Add CONFIG_{SD|NAND|ONENAND|SPI|QSPI|SATA}_BOOT kconfig entries. > > SoCs supports loading U-Boot from different medias to DRAM, such as > i.MX6/7 supports loading U-Boot to DRAM from sd/emmc/nand/qspi/spi/sata > and etc. For i.MX,

Re: [U-Boot] [U-Boot, V2, 1/2] Kconfig: make NOR_BOOT a common option

2016-06-28 Thread Tom Rini
On Fri, Jun 17, 2016 at 05:39:50PM +0800, Peng Fan wrote: > Not only am335x supports booting from NOR, i.MX6 SoCs also > supports booting from NOR. Make NOR_BOOT a common > option to let different SoCs share it. > > Signed-off-by: Peng Fan > Cc: Simon Glass

Re: [U-Boot] Please pull fsl-qoriq master

2016-06-28 Thread Tom Rini
On Tue, Jun 28, 2016 at 07:10:32PM +, york sun wrote: > Tom, > > The following changes since commit b66a5c03a0870db3045be2967b85684b1887ca18: > >Merge branch 'master' of git://git.denx.de/u-boot-uniphier > (2016-06-21 20:43:21 -0400) > > are available in the git repository at: > >

Re: [U-Boot] [RFC PATCH v3 2/4] mtd: fix compiler warnings

2016-06-28 Thread Scott Wood
On Sat, 2016-03-12 at 14:48 -0800, Steve Rae wrote: > - add missing declaration > - update debug output format specifiers > > Signed-off-by: Steve Rae > --- > the checkpatch warning: >   warning: cmd/mtdparts.c,1494: quoted string split across lines > is for the existing code;

Re: [U-Boot] [PATCH V2 2/2] common: add new boot media kconfig entry

2016-06-28 Thread Masahiro Yamada
Hi. 2016-06-28 15:39 GMT+09:00 Peng Fan : > Hi Masahiro, > On Tue, Jun 28, 2016 at 02:24:00PM +0900, Masahiro Yamada wrote: >>Hi. >> >> >>2016-06-28 14:02 GMT+09:00 Peng Fan : >>> Hi Tom, >>> >>> On Fri, Jun 24, 2016 at 06:57:44PM -0400, Tom Rini

Re: [U-Boot] [PATCH] arm: mmc: increase MMC SDHCI read status timeout

2016-06-28 Thread Steve Rae
On Tue, Jun 28, 2016 at 3:21 PM, Tom Rini wrote: > On Tue, Jun 28, 2016 at 01:53:52PM -0700, Steve Rae wrote: >> Hi Tom, >> >> On Tue, Jun 28, 2016 at 1:34 PM, Tom Rini wrote: >> > On Tue, Jun 28, 2016 at 01:30:09PM -0700, Steve Rae wrote: >> >> Hi Stefan,

Re: [U-Boot] [PATCH] arm: mmc: increase MMC SDHCI read status timeout

2016-06-28 Thread Tom Rini
On Tue, Jun 28, 2016 at 01:53:52PM -0700, Steve Rae wrote: > Hi Tom, > > On Tue, Jun 28, 2016 at 1:34 PM, Tom Rini wrote: > > On Tue, Jun 28, 2016 at 01:30:09PM -0700, Steve Rae wrote: > >> Hi Stefan, > >> > >> On Tue, Jun 28, 2016 at 8:00 AM, Stefan Roese

Re: [U-Boot] [PATCH] arm: mmc: increase MMC SDHCI read status timeout

2016-06-28 Thread Steve Rae
Hi Tom, On Tue, Jun 28, 2016 at 1:34 PM, Tom Rini wrote: > On Tue, Jun 28, 2016 at 01:30:09PM -0700, Steve Rae wrote: >> Hi Stefan, >> >> On Tue, Jun 28, 2016 at 8:00 AM, Stefan Roese wrote: >> > Hi Steve, >> > >> > On 27.06.2016 23:43, Steve Rae wrote: >> >>

Re: [U-Boot] [PATCH] arm: mmc: increase MMC SDHCI read status timeout

2016-06-28 Thread Tom Rini
On Tue, Jun 28, 2016 at 01:30:09PM -0700, Steve Rae wrote: > Hi Stefan, > > On Tue, Jun 28, 2016 at 8:00 AM, Stefan Roese wrote: > > Hi Steve, > > > > On 27.06.2016 23:43, Steve Rae wrote: > >> > >> Otherwise, ocassionally see errors like this: > >>Flashing sparse image at

Re: [U-Boot] [PATCH] arm: mmc: increase MMC SDHCI read status timeout

2016-06-28 Thread Steve Rae
Hi Stefan, On Tue, Jun 28, 2016 at 8:00 AM, Stefan Roese wrote: > Hi Steve, > > On 27.06.2016 23:43, Steve Rae wrote: >> >> Otherwise, ocassionally see errors like this: >>Flashing sparse image at offset 2078720 >>Flashing Sparse Image >>sdhci_send_command: Timeout for

[U-Boot] [PATCH] configs: Re-sync after boot menu changes

2016-06-28 Thread Tom Rini
Signed-off-by: Tom Rini --- configs/am335x_evm_spiboot_defconfig | 2 +- configs/am43xx_evm_qspiboot_defconfig| 2 +- configs/brppt1_spi_defconfig | 1 + configs/ls1012afrdm_qspi_defconfig | 1 + configs/ls1012aqds_qspi_defconfig| 1 +

[U-Boot] Please pull fsl-qoriq master

2016-06-28 Thread york sun
Tom, The following changes since commit b66a5c03a0870db3045be2967b85684b1887ca18: Merge branch 'master' of git://git.denx.de/u-boot-uniphier (2016-06-21 20:43:21 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git for you to fetch changes up to

Re: [U-Boot] [PATCH 2/2] usbarmory: Add board_run_command() function

2016-06-28 Thread Simon Glass
Hi, On 27 June 2016 at 03:38, Stefano Babic wrote: > Hi Andrej, > > On 20/06/2016 18:18, Andrej Rosano wrote: > >>> >>> I ten to NACK this. You can do exactly the same with a U-Boot script, >>> and if you want to have this as default, you can change your default >>> environment.

Re: [U-Boot] [PATCH] x86: coreboot: Remove the dummy pch driver

2016-06-28 Thread Simon Glass
On 22 June 2016 at 17:56, Bin Meng wrote: > Hi Simon, > > On Wed, Jun 22, 2016 at 10:36 PM, Simon Glass wrote: >> Hi Bin, >> >> On 22 June 2016 at 03:30, Bin Meng wrote: >>> There is a dummy pch driver in the coreboot directory. This

Re: [U-Boot] [PATCH] net: usb: r8152: Add DM support

2016-06-28 Thread Simon Glass
Hi Stefan, On 28 June 2016 at 08:28, Stefan Roese wrote: > Hi Simon, > > On 26.06.2016 04:53, Simon Glass wrote: >> On 22 June 2016 at 01:18, Stefan Roese wrote: >>> Add support for driver model, so that CONFIG_DM_ETH can be defined and >>> used with this driver. >>>

Re: [U-Boot] [PATCH] armv8/fsl_lsch2: Correct the cores frequency initialization

2016-06-28 Thread york sun
On 06/11/2016 11:52 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > The register CLKCNCSR controls the frequency of all cores in the same > cluster. > > Signed-off-by: Hou Zhiqiang > --- > arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c | 8

Re: [U-Boot] [PATCH 1/9] spi: zynq_qspi: Add quad support for zynq qspi

2016-06-28 Thread Jagan Teki
On 21 June 2016 at 17:24, Siva Durga Prasad Paladugu wrote: > Hi Tom, > >> -Original Message- >> From: Siva Durga Prasad Paladugu >> Sent: Tuesday, June 14, 2016 2:49 PM >> To: u-boot@lists.denx.de; jagannadh.t...@gmail.com >> Cc: Michal Simek

Re: [U-Boot] [PATCH][v3] armv8: fsl-layerscape: Append "A" in SoC name for ARM based SoCs

2016-06-28 Thread york sun
On 06/24/2016 01:18 AM, Prabhakar Kushwaha wrote: > Freescale ARMv8 SoC name ends with "A" to represent ARM SoCs. > like LS2080A, LS1043A, LS1012A. > > So append "A" at the last of SoCs. > > Signed-off-by: Pratiyush Mohan Srivastava > Signed-off-by: Prabhakar

Re: [U-Boot] [PATCH] armv8: dts: fsl: Remove cpu nodes from Layerscape DTSIs

2016-06-28 Thread york sun
On 06/14/2016 12:48 AM, Abhimanyu Saini wrote: > Currently layescape SoCs are not using cpu nodes. So removing > them in favour of compatibly with similar SoCs that > have different cores like LS2080A and LS2088A. > > This has been tested on LS2080AQDS, LS1043ARDB, LS1012ARDB. > > Signed-off-by:

Re: [U-Boot] [PATCH V2 1/3] mmc: fsl: reset to normal boot mode when eMMC fast boot

2016-06-28 Thread york sun
On 06/14/2016 07:53 PM, Peng Fan wrote: > When booting in eMMC fast boot, MMC host does not exit from > boot mode after bootrom loading image. So the first command > 'CMD0' sent in uboot will pull down the CMD line to low and > cause errors. > > This patch cleans the MMC boot register in

Re: [U-Boot] [Patch V2 1/3] armv8: ls1043aqds: fix to get boot device info from FPGA

2016-06-28 Thread york sun
On 06/12/2016 08:30 PM, Gong Qianyu wrote: > The LBMAP switches on the board will tell which boot device is used. > Only QSPI boot is supported if the boot device is IFCCard. > > Signed-off-by: Gong Qianyu > --- > board/freescale/ls1043aqds/ls1043aqds.c | 8 +++- > 1

Re: [U-Boot] [RFC PATCH] vexpress: Check TC2 firmware support before defaulting to nonsec booting

2016-06-28 Thread Ryan Harkin
On 23 June 2016 at 13:37, Jon Medhurst (Tixy) wrote: > The firmware on TC2 needs to be configured appropriately before booting > in nonsec mode will work as expected, so test for this and fall back to > sec mode if required. > > Signed-off-by: Jon Medhurst

Re: [U-Boot] [RFC PATCH v1] usb: spl: fix USB errata for FSL SPL targets

2016-06-28 Thread york sun
On 06/28/2016 12:02 AM, Sriram Dash wrote: >> From: Marek Vasut [mailto:ma...@denx.de] >> On 06/28/2016 01:02 AM, York Sun wrote: >>> Commit 9262367 moved USB errata workaround to a C file but didn't >>> build it for SPL targets. >>> >>> Signed-off-by: York Sun >>> CC: Sriram

Re: [U-Boot] [PATCH] nitrogen6x : Use generic distro configuration

2016-06-28 Thread Fabien Lahoudere
On 28/06/16 12:58, Sjoerd Simons wrote: On Fri, 2016-06-24 at 17:59 +0200, Fabien Lahoudere wrote: In order to simplify the use of various images on various media for nitrogen6x, the configuration of the board must follow the generic distro configuration (doc/README.distro). In order to boot

Re: [U-Boot] [PATCH] arm: mmc: increase MMC SDHCI read status timeout

2016-06-28 Thread Stefan Roese
Hi Steve, On 27.06.2016 23:43, Steve Rae wrote: Otherwise, ocassionally see errors like this: Flashing sparse image at offset 2078720 Flashing Sparse Image sdhci_send_command: Timeout for status update! mmc fail to send stop cmd write_sparse_image: Write failed, block #2181088

Re: [U-Boot] uImage load address and entry point with Minnowboard

2016-06-28 Thread Simon Glass
Hi, On 27 June 2016 at 01:13, vinoth eswaran wrote: > On Fri, Jun 24, 2016 at 1:57 PM, Wolfgang Denk wrote: >> Dear Vinoth, >> >> In message >>

Re: [U-Boot] [PATCH] net: usb: r8152: Add DM support

2016-06-28 Thread Stefan Roese
Hi Simon, On 26.06.2016 04:53, Simon Glass wrote: > On 22 June 2016 at 01:18, Stefan Roese wrote: >> Add support for driver model, so that CONFIG_DM_ETH can be defined and >> used with this driver. >> >> This patch also adds the read_rom_hwaddr() callback so that the ROM MAC >>

[U-Boot] [PATCH] x86: conga-qeval20-qa3: Add SMBus support and SMSC2513 config code

2016-06-28 Thread Stefan Roese
This patch includes the following changes: - Remove Designware I2C support from dts as its not used - Configure SMBus PADs in dts - Enable I2C commands and I2C support - Configure SMSC2513 USB hub via SMBus upon startup - Move environment location to match Minnowmax example - Enhancement of the

[U-Boot] [PATCH] i2c: intel_i2c: SMBus driver PCI addition (e.g. BayTrail)

2016-06-28 Thread Stefan Roese
This patch adds support for the SMBus block read/write functionality. Other protocols like the SMBus quick command need to get added if this is needed. This patch also removed the SMBus related defines from the Ivybridge pch.h header. As they are integrated in this driver and should be used from

[U-Boot] [PATCHv7 6/6] ARMv8/ls1043ardb: Integrate FSL PPA

2016-06-28 Thread Zhiqiang Hou
From: Hou Zhiqiang The PPA use PSCI to make secondary cores bootup. So when PPA was enabled, add the CONFIG_ARMV8_PSCI to identify the SMP boot-method between PSCI and spin-table. Signed-off-by: Hou Zhiqiang --- V7: - No change. V6: - Refactor the

[U-Boot] [PATCHv7 5/6] ARMv8/PSCI: Fixup the device tree for PSCI

2016-06-28 Thread Zhiqiang Hou
From: Hou Zhiqiang Set the enable-method in the cpu node to PSCI, and create device node for PSCI, when PSCI was enabled. Signed-off-by: Hou Zhiqiang --- V7: - Moved the PSCI device node fixup code of both armv7 and armv8 to arch/arm/lib/psci-dt.c.

[U-Boot] [PATCHv7 4/6] ARMv8/Layerscape: switch SMP method accordingly

2016-06-28 Thread Zhiqiang Hou
From: Hou Zhiqiang If the PSCI and PPA is ready, skip the fixup for spin-table and waking secondary cores. Otherwise, change SMP method to spin-table, and the device node of PSCI will be removed. Signed-off-by: Hou Zhiqiang --- V7: - Removed the

[U-Boot] [PATCHv7 3/6] ARMv8/layerscape: Add FSL PPA support

2016-06-28 Thread Zhiqiang Hou
From: Hou Zhiqiang The FSL Primary Protected Application (PPA) is a software component loaded during boot which runs in TrustZone and remains resident after boot. Use the secure firmware framework to integrate FSL PPA into U-Boot. Signed-off-by: Hou Zhiqiang

[U-Boot] [PATCHv7 1/6] armv8: fsl-layerscape: add i/d-cache enable function to enable_caches

2016-06-28 Thread Zhiqiang Hou
From: Hou Zhiqiang This function assume that the d-cache and MMU has been enabled earlier, so it just created MMU table in main memory. But the assumption is not always correct, for example, the early setup is done in EL3, while enable_caches() is called when the PE has

[U-Boot] [PATCHv7 2/6] ARMv8: add the secure monitor firmware framework

2016-06-28 Thread Zhiqiang Hou
From: Hou Zhiqiang This framework is introduced for ARMv8 secure monitor mode firmware. The main functions of the framework are, on EL3, verify the firmware, load it to the secure memory and jump into it, and while it returned to U-Boot, do some necessary setups at the

Re: [U-Boot] [PATCH v2 3/3] linux/io.h: add generic ioremap()/iounmap() defines

2016-06-28 Thread Daniel Schwierzeck
Am 28.06.2016 um 03:48 schrieb Masahiro Yamada: > For most of architectures in U-Boot, virtual address is straight > mapped to physical address. So, it makes sense to have generic > defines of ioremap and friends in . > > All of them are just empty and will disappear at compile time, but >

Re: [U-Boot] [PATCH V2 1/3] mmc: fsl: reset to normal boot mode when eMMC fast boot

2016-06-28 Thread Peng Fan
On Fri, Jun 24, 2016 at 03:21:35PM +, york sun wrote: >On 06/24/2016 02:39 AM, Peng Fan wrote: >> Hi York, Stefano >> >> Any comments on this patch set? Would you kindly pick up this patch set? > >Technically Panto is the maintainer of MMC. Since this set is dealing >with FSL mmc controller,

Re: [U-Boot] [PATCH] nitrogen6x : Use generic distro configuration

2016-06-28 Thread Sjoerd Simons
On Fri, 2016-06-24 at 17:59 +0200, Fabien Lahoudere wrote: > In order to simplify the use of various images on various media > for nitrogen6x, the configuration of the board must follow the > generic distro configuration (doc/README.distro). > > In order to boot your old rootfs, move your kernel

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

2016-06-28 Thread Jaehoon Chung
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 ++-- arch/arm/dts/exynos4210-universal_c210.dts | 4 ++--

Re: [U-Boot] [PATCH v5 8/8] ARMv7: PSCI: ls102xa: move secure text section into OCRAM

2016-06-28 Thread Hongbo Zhang
On Tue, Jun 28, 2016 at 12:16 PM, Chen-Yu Tsai wrote: > On Tue, Jun 14, 2016 at 3:01 PM, wrote: >> From: Hongbo Zhang >> >> LS1021 offers two secure OCRAM blocks for trustzone. >> This patch moves all the secure text sections into

Re: [U-Boot] [PATCH v5 5/8] ARMv7: PSCI: ls102xa: check target CPU ID before further operations

2016-06-28 Thread Hongbo Zhang
On Tue, Jun 28, 2016 at 12:10 PM, Chen-Yu Tsai wrote: > On Tue, Jun 14, 2016 at 3:01 PM, wrote: >> From: Hongbo Zhang >> >> The input parameter CPU ID needs to be validated before furher oprations such >> as CPU_ON, this patch

Re: [U-Boot] [PATCH v5 4/8] ARMv7: PSCI: add codes to save context ID for CPU_ON

2016-06-28 Thread Hongbo Zhang
On Tue, Jun 28, 2016 at 11:15 AM, Chen-Yu Tsai wrote: > Hi, > > On Tue, Jun 14, 2016 at 3:01 PM, wrote: >> From: Hongbo Zhang >> >> According to latest PSCI specification, the context ID is needed by CPU_ON. >> This patch saves

Re: [U-Boot] [PATCH v2] nitrogen6x : Use generic distro configuration

2016-06-28 Thread Fabien Lahoudere
In order to simplify the use of various images on various media for nitrogen6x, the configuration of the board must follow the generic distro configuration (doc/README.distro). In order to boot your old rootfs, move your kernel and your device tree in /boot/. Then create

Re: [U-Boot] [PATCH v5 3/8] ARMv7: PSCI: update the place of saving target PC

2016-06-28 Thread Chen-Yu Tsai
On Tue, Jun 28, 2016 at 5:23 PM, Hongbo Zhang wrote: > On Tue, Jun 28, 2016 at 11:24 AM, Chen-Yu Tsai wrote: >> On Tue, Jun 14, 2016 at 3:01 PM, wrote: >>> From: Hongbo Zhang >>> >>> The legacy code saves

Re: [U-Boot] [PATCH] mpc85xx/powerpc:cpu_init: Modified the errata according to endianness

2016-06-28 Thread Sriram Dash
>From: york sun > >+Suresh Gupta > >On 06/21/2016 12:22 AM, Sriram Dash wrote: >> Modifies errata implementation due to the fact that P3041, P5020, and >> P5040 are all big endian for the USB PHY registers, but they were >> specified little endian. Also, Adds errata for P1010 and >> P2041 2.0. >

Re: [U-Boot] [PATCH v5 3/8] ARMv7: PSCI: update the place of saving target PC

2016-06-28 Thread Hongbo Zhang
On Tue, Jun 28, 2016 at 11:24 AM, Chen-Yu Tsai wrote: > On Tue, Jun 14, 2016 at 3:01 PM, wrote: >> From: Hongbo Zhang >> >> The legacy code saves target PC at stack top, this patch changes it to stack >> bottom, because we will save

Re: [U-Boot] [RFC PATCH v1] usb: spl: fix USB errata for FSL SPL targets

2016-06-28 Thread Marek Vasut
On 06/28/2016 09:02 AM, Sriram Dash wrote: >> From: Marek Vasut [mailto:ma...@denx.de] >> On 06/28/2016 01:02 AM, York Sun wrote: >>> Commit 9262367 moved USB errata workaround to a C file but didn't >>> build it for SPL targets. >>> >>> Signed-off-by: York Sun >>> CC: Sriram

Re: [U-Boot] [PATCH] nitrogen6x : Use generic distro configuration

2016-06-28 Thread Fabien Lahoudere
On 27/06/16 20:51, Troy Kisky wrote: On 6/24/2016 8:59 AM, Fabien Lahoudere wrote: In order to simplify the use of various images on various media for nitrogen6x, the configuration of the board must follow the generic distro configuration (doc/README.distro). In order to boot your old rootfs,

Re: [U-Boot] [RFC PATCH v1] usb: spl: fix USB errata for FSL SPL targets

2016-06-28 Thread Sriram Dash
>From: Marek Vasut [mailto:ma...@denx.de] >On 06/28/2016 01:02 AM, York Sun wrote: >> Commit 9262367 moved USB errata workaround to a C file but didn't >> build it for SPL targets. >> >> Signed-off-by: York Sun >> CC: Sriram Dash >> CC: Rajesh Bhagat

[U-Boot] [PATCH 1/2] dm: mmc: dwmmc: fix the wrong explanation for clock values

2016-06-28 Thread Jaehoon Chung
This e,g is wrong. Maximum/minimum e.g values are swapped each other. Signed-off-by: Jaehoon Chung --- include/dwmmc.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/dwmmc.h b/include/dwmmc.h index 6aebe96..164d1dc 100644 ---

[U-Boot] [PATCH 0/2] dm: mmc: dwmmc: fix the minor things

2016-06-28 Thread Jaehoon Chung
It's working on converting from legacy to DM. It's also in progessing. There are some minor wrongs. These patches are fixed wrong explanations and removing unnecessary defined. These patchese are based on u-boot-dm. (blk-working branch) Jaehoon Chung (2): dm: mmc: dwmmc: fix the wrong

[U-Boot] [PATCH 2/2] dm: mmc: dwmmc: use the callback functions as static

2016-06-28 Thread Jaehoon Chung
There are no places to call these functions. It should be used the callback function. Then it can be used as static functions. Signed-off-by: Jaehoon Chung --- drivers/mmc/dw_mmc.c | 4 ++-- include/dwmmc.h | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-)

Re: [U-Boot] testing: [PATCH v7 0/3] common: usb_storage: Implement logic to calculate optimal usb maximum trasfer blocks

2016-06-28 Thread Rajesh Bhagat
> -Original Message- > From: Matthew Bright [mailto:matthew.bri...@alliedtelesis.co.nz] > Sent: Thursday, June 23, 2016 8:23 AM > To: Marek Vasut ; Rajesh Bhagat > Cc: u-boot@lists.denx.de; Chris Packham ; > Mark

Re: [U-Boot] comments: [PATCH v7 3/3] common: usb_storage: Implement logic to calculate optimal usb maximum trasfer blocks

2016-06-28 Thread Rajesh Bhagat
> > > From: Matthew Bright [mailto:matthew.bri...@alliedtelesis.co.nz] > Sent: Wednesday, June 22, 2016 11:56 AM > To: Rajesh Bhagat ; ma...@denx.de > Cc: u-boot@lists.denx.de; Chris Packham ; > Mark Tomlinson

Re: [U-Boot] [PATCH V2 2/2] common: add new boot media kconfig entry

2016-06-28 Thread Peng Fan
Hi Masahiro, On Tue, Jun 28, 2016 at 02:24:00PM +0900, Masahiro Yamada wrote: >Hi. > > >2016-06-28 14:02 GMT+09:00 Peng Fan : >> Hi Tom, >> >> On Fri, Jun 24, 2016 at 06:57:44PM -0400, Tom Rini wrote: >>>On Sun, Jun 19, 2016 at 06:20:52PM +0800, Peng Fan wrote: Hi

Re: [U-Boot] [PATCH 24/27] dm: zynq: usb: Convert to CONFIG_DM_USB

2016-06-28 Thread Siva Durga Prasad Paladugu
Hi Simon, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Simon Glass > Sent: Monday, June 13, 2016 11:01 AM > To: U-Boot Mailing List > Cc: Marek Vasut > Subject: [U-Boot] [PATCH 24/27] dm: zynq: usb: Convert

Re: [U-Boot] [UBOOT PATCH] usb: ehci-hcd: Fix crash when rootdev not initialized

2016-06-28 Thread Siva Durga Prasad Paladugu
Hi, > -Original Message- > From: Hans de Goede [mailto:hdego...@redhat.com] > Sent: Monday, June 27, 2016 4:35 PM > To: Siva Durga Prasad Paladugu ; u-boot@lists.denx.de > Cc: ma...@denx.de; Siva Durga Prasad Paladugu > Subject: Re: [U-Boot]