[U-Boot] [PATCH 1/2] driver/ddr/fsl: add command/address parity for DDR4 UDIMM

2016-03-07 Thread Shengzhou Liu
Add support of command/address parity for DDR4 UDIMM or discrete memory. It requires to configurate corresponding MR5[2:0] and TIMING_CFG_7[PAR_LAT]. Parity can be turned on/off by hwconfig, e.g. hwconfig=fsl_ddr:parity=on. Signed-off-by: Shengzhou Liu --- doc/README.fsl-ddr | 8 ++

[U-Boot] [PATCH 2/2] driver/ddr/fsl: Add workaround for erratum A-009803

2016-03-07 Thread Shengzhou Liu
During the initial DDR training, false parity errors may be detected. This can lead to the ERR_DETECT[APE], ERR_DETECT[MME] bits getting set during DDR training and the DDR could enter a bad state to try and recover since it thinks a parity error has occurred. This patch adds workaround to fix the

Re: [U-Boot] [PATCH] dm: ti_qspi: Fix conversion of address to a pointer

2016-03-07 Thread Mugunthan V N
On Saturday 05 March 2016 04:43 PM, Lokesh Vutla wrote: > TI QSPI driver directly typecasts fdt_addr_t to a pointer. This is > not strictly correct, as it gives a build warning when fdt_addr_t is u64. > So, use map_physmem for a proper typecasts. > > This is inspired by commit 167efe01bc5a9 ("dm:

Re: [U-Boot] [PATCH V6] ARM: Various: Future-proof serial platdata

2016-03-07 Thread Mugunthan V N
On Tuesday 08 March 2016 08:38 AM, Adam Ford wrote: > A few boards still use ns16550_platdata structures, but assume the structure > is going to be in a specific order. By explicitly naming each entry, > this should also help 'future-proof' in the event the structure changes. > > Tested on the Log

Re: [U-Boot] [PATCH 1/3] drivers: block: Kconfig: set default n to CONFIG_DISK

2016-03-07 Thread Mugunthan V N
Hi Simon On Monday 07 March 2016 08:09 AM, Simon Glass wrote: > Hi Mugunthan, > > On 2 March 2016 at 22:06, Mugunthan V N wrote: >> > When a platform is converted to support DM and when its scsi >> > driver is not converted to support DM, there is a build break as >> > multiple definition of scs

[U-Boot] [PATCH] ARM: DRA72-evm: Update mux and VIRTUAL/MANUAL mode timings

2016-03-07 Thread Lokesh Vutla
All the mux configurations needs to be done as part of the IODelay sequence to avoid glitch. Adding all the mux configuration, MANUAL/VIRTUAL mode configuration as needed for DRA72-evm. Also update the mux for SD card detect on DRA74-evm. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Vign

[U-Boot] [PATCH] arm: ls102xa: Enable CONFIG_SYS_CONSOLE_IS_IN_ENV support

2016-03-07 Thread Alison Wang
CONFIG_SYS_CONSOLE_IS_IN_ENV needs to be enabled, so we could set stdout environment variable to specify the vga for the console output when LCD/HDMI is connected to the boards. Signed-off-by: Alison Wang --- include/configs/ls1021aqds.h | 1 + include/configs/ls1021atwr.h | 1 + 2 files changed

[U-Boot] [PATCH v2 0/6] ARM: DRA7: Add support for RevH evm

2016-03-07 Thread Lokesh Vutla
DRA74-evm RevH and later versions uses 4GB DDR and populates this info in EEPROM. This series reads EEPROM and populates emif settings for 4GB ddr. If eeprom is not available or evm revision is < H, then it fall backs to default emif settings. This series depends on the ti common eeprom driver ser

[U-Boot] [PATCH v2 6/6] ARM: DRA7-evm: Update memory info in banks

2016-03-07 Thread Lokesh Vutla
Updating the memory banks properly so that DT is populated accordingly. And updating this only after DDR is properly detected by eeprom, so that git bisect is still maintained. Acked-by: Nishanth Menon Reviewed-by: Tom Rini Signed-off-by: Lokesh Vutla --- board/ti/dra7xx/evm.c | 14 +++

[U-Boot] [PATCH v2 5/6] ARM: DRA7: EMIF: Add 4GB DDR settings

2016-03-07 Thread Lokesh Vutla
The REVH and later versions of DRA7-evm uses MICRON MT41K512M16HA-125 memory chips which is of size 4GB(2GB on EMIF1 and 2GB on EMIF2). Add support for the same. Acked-by: Nishanth Menon Reviewed-by: Tom Rini Signed-off-by: Lokesh Vutla --- board/ti/dra7xx/evm.c | 83 ++

[U-Boot] [PATCH v2 3/6] ARM: DRA7: Move emif settings to board specific files

2016-03-07 Thread Lokesh Vutla
The newer versions of DRA7 boards has EEPROM populated with DDR size specified in it. Moving DRA7 specific emif related settings to board files so that emif settings can be identified based on EEPROM. Acked-by: Nishanth Menon Reviewed-by: Tom Rini Signed-off-by: Lokesh Vutla --- arch/arm/cpu/a

[U-Boot] [PATCH v2 4/6] ARM: DRA7: configs: Prepare for detecting memory > 2GB

2016-03-07 Thread Lokesh Vutla
Enable configs that are required for detecting memory > 2GB. Reviewed-by: Tom Rini Signed-off-by: Lokesh Vutla --- include/configs/dra7xx_evm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h index e79250b..45bda4f 100644 ---

[U-Boot] [PATCH v2 2/6] ARM: DRA7: Enable EEPROM support

2016-03-07 Thread Lokesh Vutla
Enable EEPROM support for DRA74-evm. Acked-by: Nishanth Menon Reviewed-by: Tom Rini Signed-off-by: Lokesh Vutla --- arch/arm/cpu/armv7/omap5/Kconfig | 1 + board/ti/dra7xx/Kconfig | 3 ++ board/ti/dra7xx/evm.c| 59 +--- include/configs

[U-Boot] [PATCH v2 1/6] ti: common: dra7: Add standard access for board description EEPROM

2016-03-07 Thread Lokesh Vutla
DRA7 EVM revH and later EVMs have EEPROM populated that can contain board description information such as name, revision, DDR definition, etc. Adding support for this EEPROM format. Acked-by: Nishanth Menon Reviewed-by: Tom Rini Signed-off-by: Lokesh Vutla --- board/ti/common/board_detect.c |

[U-Boot] [PATCH v2] ARM: AM57xx: Update EMIF registers

2016-03-07 Thread Lokesh Vutla
There are certain EMIF timing failures seen on the some x15 boards. Updating the EMIF settings to get rid of these timing failures. Reviewed-by: Tom Rini Signed-off-by: Lokesh Vutla --- Changes since v1: - Added Reviewed-by - Updated sdram config 2 register. board/ti/am57xx/board.c | 136 ++

Re: [U-Boot] [PATCH 5/6] ARM: DRA7: configs: Prepare for detecting memory > 2GB

2016-03-07 Thread Lokesh Vutla
On Tuesday 08 March 2016 05:06 AM, Tom Rini wrote: > On Sat, Mar 05, 2016 at 05:35:17PM +0530, Lokesh Vutla wrote: > >> Enable configs that are required for detecting memory > 2GB. >> >> Signed-off-by: Lokesh Vutla > > This needs to be either folded into 4/6 or re-ordered to not break > bisect

Re: [U-Boot] [PATCH 0/4] ARM: DRA7: emif: Miscellaneous bug fixes

2016-03-07 Thread Lokesh Vutla
On Tuesday 08 March 2016 05:06 AM, Tom Rini wrote: > On Sat, Mar 05, 2016 at 05:32:27PM +0530, Lokesh Vutla wrote: > >> This series fixes miscellaneous bugs for the emif driver. >> >> Lokesh Vutla (4): >> ARM: DRA7: emif: Fix updating of refresh ctrl shadow >> ARM: DRA7: emif: Fix DDR init

Re: [U-Boot] [PATCH] ARM: AM57xx: Update EMIF registers

2016-03-07 Thread Lokesh Vutla
On Tuesday 08 March 2016 05:06 AM, Tom Rini wrote: > On Sat, Mar 05, 2016 at 05:33:39PM +0530, Lokesh Vutla wrote: > >> There are certain EMIF timing failures seen on the some x15 boards. Updating >> the EMIF settings to get rid of these timing failures. >> >> Signed-off-by: Lokesh Vutla > > R

Re: [U-Boot] [PATCH 1/1] am33xx: Update serial platdata to update reg_offset to 0

2016-03-07 Thread Adam Ford
On Wed, Mar 2, 2016 at 10:49 PM, Mugunthan V N wrote: > Adam > > On Wednesday 02 March 2016 06:25 PM, Adam Ford wrote: >> On Wed, Mar 2, 2016 at 6:24 AM, Michal Simek wrote: >>> On 2.3.2016 13:18, Adam Ford wrote: On Wed, Mar 2, 2016 at 5:53 AM, Michal Simek wrote: > On 2.3.2016 1

Re: [U-Boot] [PATCH 1/2][v2] driver: net: ldpaa_eth: Add support of PHY framework

2016-03-07 Thread Prabhakar Kushwaha
Hi Joe, I have incorporated your review comments on this patch. Please review it and let me know if any other changes are required. Regards, Prabhakar > -Original Message- > From: Prabhakar Kushwaha [mailto:prabhakar.kushw...@nxp.com] > Sent: Wednesday, February 24, 2016 5:02 PM > To:

[U-Boot] [PATCH V6] ARM: Various: Future-proof serial platdata

2016-03-07 Thread Adam Ford
A few boards still use ns16550_platdata structures, but assume the structure is going to be in a specific order. By explicitly naming each entry, this should also help 'future-proof' in the event the structure changes. Tested on the Logic PD Torpedo + Wireless. I only changed a handful of devices

Re: [U-Boot] [PATCH 2/2] OMAP3: am3517_evm: Add NAND MTD partitions with UBI/UBIFS support

2016-03-07 Thread Derald D. Woods
On Mon, Mar 07, 2016 at 08:33:33PM -0500, Tom Rini wrote: > On Mon, Mar 07, 2016 at 06:24:05PM -0600, Derald D. Woods wrote: > > On Mon, Mar 07, 2016 at 06:36:56PM -0500, Tom Rini wrote: > > > On Sat, Mar 05, 2016 at 01:19:59PM -0600, Derald D. Woods wrote: > > > > > > > - Add required UBI/UBIFS c

Re: [U-Boot] [PATCH v2] rockchip: rk3288: correct sdram setting

2016-03-07 Thread Chris Zhong
On 2016年03月08日 02:30, Simon Glass wrote: Hi Chris, On 6 March 2016 at 23:51, Chris Zhong wrote: The DMC driver in v3.14 kernel[0] get the ddr setting from PMU_SYS_REG2, and it expects uboot to store the value using a same protocol. But now the ddr setting value is different with DMC, so if y

[U-Boot] [PATCH v2] rockchip: rk3288: correct sdram setting

2016-03-07 Thread Chris Zhong
The DMC driver in v3.14 kernel[0] get the ddr setting from PMU_SYS_REG2, and it expects uboot to store the value using a same protocol. But now the ddr setting value is different with DMC, so if you enable the DMC, system would crash in kernel. Correct the sdram setting here, according to the requi

Re: [U-Boot] [PATCH 2/2] OMAP3: am3517_evm: Add NAND MTD partitions with UBI/UBIFS support

2016-03-07 Thread Tom Rini
On Mon, Mar 07, 2016 at 06:24:05PM -0600, Derald D. Woods wrote: > On Mon, Mar 07, 2016 at 06:36:56PM -0500, Tom Rini wrote: > > On Sat, Mar 05, 2016 at 01:19:59PM -0600, Derald D. Woods wrote: > > > > > - Add required UBI/UBIFS config definitions > > > - Add reasonable MTD partition layout > > >

Re: [U-Boot] [PATCH 2/2] OMAP3: am3517_evm: Add NAND MTD partitions with UBI/UBIFS support

2016-03-07 Thread Adam Ford
On Mar 7, 2016 6:24 PM, "Derald D. Woods" wrote: > > On Mon, Mar 07, 2016 at 06:36:56PM -0500, Tom Rini wrote: > > On Sat, Mar 05, 2016 at 01:19:59PM -0600, Derald D. Woods wrote: > > > > > - Add required UBI/UBIFS config definitions > > > - Add reasonable MTD partition layout > > > - Remove JFFS2

Re: [U-Boot] [PATCH 2/2] OMAP3: am3517_evm: Add NAND MTD partitions with UBI/UBIFS support

2016-03-07 Thread Derald D. Woods
On Mon, Mar 07, 2016 at 06:36:56PM -0500, Tom Rini wrote: > On Sat, Mar 05, 2016 at 01:19:59PM -0600, Derald D. Woods wrote: > > > - Add required UBI/UBIFS config definitions > > - Add reasonable MTD partition layout > > - Remove JFFS2 config definitions > > - Drop some CFI verbage and definitions

Re: [U-Boot] [PATCH 2/2] OMAP3: am3517_evm: Add NAND MTD partitions with UBI/UBIFS support

2016-03-07 Thread Tom Rini
On Mon, Mar 07, 2016 at 05:38:36PM -0600, Adam Ford wrote: > On Mar 7, 2016 5:35 PM, "Tom Rini" wrote: > > > > On Sat, Mar 05, 2016 at 01:19:59PM -0600, Derald D. Woods wrote: > > > > > - Add required UBI/UBIFS config definitions > > > - Add reasonable MTD partition layout > > > - Remove JFFS2 con

Re: [U-Boot] [PATCH 2/2] OMAP3: am3517_evm: Add NAND MTD partitions with UBI/UBIFS support

2016-03-07 Thread Adam Ford
On Mar 7, 2016 5:35 PM, "Tom Rini" wrote: > > On Sat, Mar 05, 2016 at 01:19:59PM -0600, Derald D. Woods wrote: > > > - Add required UBI/UBIFS config definitions > > - Add reasonable MTD partition layout > > - Remove JFFS2 config definitions > > - Drop some CFI verbage and definitions > > - Make co

Re: [U-Boot] [PATCH] serial: pl01x: Add support for devices with the rate pre-configured.

2016-03-07 Thread Tom Rini
On Sun, Mar 06, 2016 at 07:38:47PM -0700, Simon Glass wrote: > Hi Stephen, > > On 5 March 2016 at 23:26, Stephen Warren wrote: > > > > On 02/05/2016 09:19 PM, Stephen Warren wrote: > >> > >> On 02/05/2016 02:43 PM, Eric Anholt wrote: > >>> > >>> For Raspberry Pi, we had the input clock rate to th

Re: [U-Boot] [PATCH V2 5/6] ARM: keystone2: use SPD info to configure K2HK and K2E DDR3

2016-03-07 Thread Tom Rini
On Fri, Mar 04, 2016 at 10:36:42AM -0600, Nishanth Menon wrote: > From: Vitaly Andrianov > > This commit replaces hard-coded EMIF and PHY DDR3 configurations for > predefined SODIMMs to a calculated configuration. The SODIMM parameters > are read from SODIMM's SPD and used to calculated the conf

Re: [U-Boot] [PATCH 4/6] ARM: DRA7: EMIF: Add 4GB DDR settings

2016-03-07 Thread Tom Rini
On Sat, Mar 05, 2016 at 05:35:16PM +0530, Lokesh Vutla wrote: > The REVH and later versions of DRA7-evm uses MICRON MT41K512M16HA-125 memory > chips which is of size 4GB(2GB on EMIF1 and 2GB on EMIF2). Add support for the > same. > > Acked-by: Nishanth Menon > Signed-off-by: Lokesh Vutla Revie

Re: [U-Boot] [PATCH 5/6] ARM: DRA7: configs: Prepare for detecting memory > 2GB

2016-03-07 Thread Tom Rini
On Sat, Mar 05, 2016 at 05:35:17PM +0530, Lokesh Vutla wrote: > Enable configs that are required for detecting memory > 2GB. > > Signed-off-by: Lokesh Vutla This needs to be either folded into 4/6 or re-ordered to not break bisectability. Contents: Reviewed-by: Tom Rini -- Tom signature.a

Re: [U-Boot] [PATCH 1/2] OMAP3: am3517_evm: Use BCH8 ECC for NAND

2016-03-07 Thread Tom Rini
On Sat, Mar 05, 2016 at 01:19:58PM -0600, Derald D. Woods wrote: > Select 8-bit BCH ecc-scheme with s/w based error correction > - OMAP_ECC_BCH8_CODE_HW_DETECTION_SW > > Signed-off-by: Derald D. Woods Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH 6/6] ARM: DRA7-evm: Update memory info in banks

2016-03-07 Thread Tom Rini
On Sat, Mar 05, 2016 at 05:35:18PM +0530, Lokesh Vutla wrote: > Updating the memory banks properly so that DT is populated accordingly. > And updating this only after DDR is properly detected by eeprom, so that > git bisect is still maintained. > > Acked-by: Nishanth Menon > Signed-off-by: Lokes

Re: [U-Boot] [PATCH] dm: ti_qspi: Fix conversion of address to a pointer

2016-03-07 Thread Tom Rini
On Sat, Mar 05, 2016 at 04:43:06PM +0530, Lokesh Vutla wrote: > TI QSPI driver directly typecasts fdt_addr_t to a pointer. This is > not strictly correct, as it gives a build warning when fdt_addr_t is u64. > So, use map_physmem for a proper typecasts. > > This is inspired by commit 167efe01bc5a9

Re: [U-Boot] [PATCH] dm: omap_timer: Fix conversion of address to a pointer

2016-03-07 Thread Tom Rini
On Sat, Mar 05, 2016 at 04:40:32PM +0530, Lokesh Vutla wrote: > OMAP timer driver directly typecasts fdt_addr_t to a pointer. This is > not strictly correct, as it gives a build warning when fdt_addr_t is u64. > So, use map_physmem for a proper typecasts. > > This is inspired by commit 167efe01bc

Re: [U-Boot] [PATCH 2/2] OMAP3: am3517_evm: Add NAND MTD partitions with UBI/UBIFS support

2016-03-07 Thread Tom Rini
On Sat, Mar 05, 2016 at 01:19:59PM -0600, Derald D. Woods wrote: > - Add required UBI/UBIFS config definitions > - Add reasonable MTD partition layout > - Remove JFFS2 config definitions > - Drop some CFI verbage and definitions > - Make comment 'one-liners' truly one line > - Improve readability

Re: [U-Boot] [PATCH 1/6] ti: common: dra7: Add standard access for board description EEPROM

2016-03-07 Thread Tom Rini
On Sat, Mar 05, 2016 at 05:35:13PM +0530, Lokesh Vutla wrote: > DRA7 EVM revH and later EVMs have EEPROM populated that can contain board > description information such as name, revision, DDR definition, etc. Adding > support for this EEPROM format. > > Acked-by: Nishanth Menon > Signed-off-by:

Re: [U-Boot] [PATCH 2/6] ARM: DRA7: Enable EEPROM support

2016-03-07 Thread Tom Rini
On Sat, Mar 05, 2016 at 05:35:14PM +0530, Lokesh Vutla wrote: > Enable EEPROM support for DRA74-evm. > > Acked-by: Nishanth Menon > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] [PATCH 0/4] ARM: DRA7: emif: Miscellaneous bug fixes

2016-03-07 Thread Tom Rini
On Sat, Mar 05, 2016 at 05:32:27PM +0530, Lokesh Vutla wrote: > This series fixes miscellaneous bugs for the emif driver. > > Lokesh Vutla (4): > ARM: DRA7: emif: Fix updating of refresh ctrl shadow > ARM: DRA7: emif: Fix DDR init sequence during warm reset > ARM: DRA7: emif: Check for ena

Re: [U-Boot] [PATCH 3/6] ARM: DRA7: Move emif settings to board specific files

2016-03-07 Thread Tom Rini
On Sat, Mar 05, 2016 at 05:35:15PM +0530, Lokesh Vutla wrote: > The newer versions of DRA7 boards has EEPROM populated with DDR > size specified in it. Moving DRA7 specific emif related settings > to board files so that emif settings can be identified based on EEPROM. > > Acked-by: Nishanth Menon

Re: [U-Boot] [PATCH 1/4] ARM: DRA7: emif: Fix updating of refresh ctrl shadow

2016-03-07 Thread Tom Rini
On Sat, Mar 05, 2016 at 05:32:28PM +0530, Lokesh Vutla wrote: > On DRA7, refresh ctrl shadow should be updated with > the final value. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U

Re: [U-Boot] [PATCH] ARM: AM57xx: Update EMIF registers

2016-03-07 Thread Tom Rini
On Sat, Mar 05, 2016 at 05:33:39PM +0530, Lokesh Vutla wrote: > There are certain EMIF timing failures seen on the some x15 boards. Updating > the EMIF settings to get rid of these timing failures. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini But minor nit: > --- > board/ti/am57xx/

Re: [U-Boot] [PATCH 4/4] ARM: DRA7: emif: Enable interleaving for higher address space

2016-03-07 Thread Tom Rini
On Sat, Mar 05, 2016 at 05:32:31PM +0530, Lokesh Vutla wrote: > Given that DRA7/OMAP5 SoCs can support more than 2GB of memory, > enable interleaving for this higher memory to increase performance. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digi

Re: [U-Boot] [PATCH 3/4] ARM: DRA7: emif: Check for enable bits before updating leveling output

2016-03-07 Thread Tom Rini
On Sat, Mar 05, 2016 at 05:32:30PM +0530, Lokesh Vutla wrote: > Read and write leveling can be enabled independently. Check for these > enable bits before updating the read and write leveling output values. > This will allow to use the combination of software and hardware leveling. > > Signed-off

Re: [U-Boot] [PATCH] ARM: OMAP4+: Allow arch specfic code to use early DM

2016-03-07 Thread Tom Rini
On Mon, Mar 07, 2016 at 02:49:54PM +0530, Lokesh Vutla wrote: > Early system initialization is being done before initf_dm is being called > in U-Boot. Then system will fail to boot if any of the DM enabled driver > is being called in this system initialization code. So, rearrange the > code a bit

Re: [U-Boot] [PATCH 2/4] ARM: DRA7: emif: Fix DDR init sequence during warm reset

2016-03-07 Thread Tom Rini
On Sat, Mar 05, 2016 at 05:32:29PM +0530, Lokesh Vutla wrote: > Commit (20fae0a - ARM: DRA7: DDR: Enable SR in Power Management Control) > enables Self refresh mode by default and during warm reset the EMIF > contents are preserved. After warm reset EMIF sees that it is idle and > puts DDR in self

Re: [U-Boot] [PATCH 4/7 v3] pci/layerscape: add support for LUT

2016-03-07 Thread york sun
On 02/26/2016 08:52 AM, Stuart Yoder wrote: > From: Stuart Yoder > > The per-PCI controller LUT (Look-Up-Table) is a 32-entry table > that maps PCI requester IDs (bus/dev/fun) to a stream ID. > > This patch implements infrastructure to enable LUT initialization: > -define registers offsets >

Re: [U-Boot] [PATCH][v3] armv8/ls2080ardb: Enable VID support

2016-03-07 Thread york sun
On 02/12/2016 01:39 AM, Rai Harninder wrote: > This patch enable VID support for ls2080ardb platform. > It uses the common VID driver > > Signed-off-by: Rai Harninder > --- > Changes in v3: > - Call adjust_vdd() so that the voltage gets adjusted > during u-boot boot up itself > > Changes in v2 >

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

2016-03-07 Thread Stephen Warren
On 03/06/2016 07:45 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 a single directory, this can be inconvenient. Add a new 'toolchain-prefix' setting to the settings

Re: [U-Boot] [PATCH] armv8/fsl-lsch2: fix sdhc clock frequency value

2016-03-07 Thread york sun
On 02/15/2016 07:03 PM, Yangbo Lu wrote: > The eSDHC could select to use platform clock or peripheral clock to > generate SD clock. The default selection is platform clock. So, fix > the clock frequency value that's calculated for eSDHC. > > Signed-off-by: Yangbo Lu > --- > arch/arm/cpu/armv8/fs

Re: [U-Boot] GSoC projects for Minnowboard MAX

2016-03-07 Thread Simon Glass
Hi Stefan, On 7 March 2016 at 04:56, Stefan Roese wrote: > Hi Simon, Hi Hans, > > On 17.02.2016 17:35, Simon Glass wrote: >> >> +Bin >> >> Hi Hans, >> >> On 11 February 2016 at 08:44, Hans de Goede wrote: >>> >>> Hi, >>> >>> On 11-02-16 13:16, Simon Glass wrote: Hi, Minn

Re: [U-Boot] [PATCH v2] rockchip: rk3288: correct sdram setting

2016-03-07 Thread Simon Glass
Hi Chris, On 6 March 2016 at 23:51, Chris Zhong wrote: > > The DMC driver in v3.14 kernel[0] get the ddr setting from PMU_SYS_REG2, > and it expects uboot to store the value using a same protocol. But now > the ddr setting value is different with DMC, so if you enable the DMC, > system would cras

Re: [U-Boot] How do I tell buildman to use a /specific/ toolchain?

2016-03-07 Thread Simon Glass
Hi Tom, On 20 October 2015 at 11:23, Simon Glass wrote: > Hi Tom, > > On 20 October 2015 at 09:21, Tom Rini wrote: >> >> On Sun, Oct 04, 2015 at 05:38:41PM +0100, Simon Glass wrote: >> > Hi Stephen, >> > >> > On 3 October 2015 at 20:20, Stephen Warren wrote: >> > > On 10/03/2015 08:30 AM, Simon

Re: [U-Boot] [PATCH 1/8] fdtgrep: Improve error handling with invalid device tree

2016-03-07 Thread Simon Glass
Hi Joe, On 7 March 2016 at 09:42, Joe Hershberger wrote: > On Mon, Mar 7, 2016 at 10:37 AM, Masahiro Yamada > wrote: >> 2016-03-07 12:31 GMT+09:00 Simon Glass : >>> Hi Masahiro, >>> >>> On 6 March 2016 at 20:07, Masahiro Yamada >>> wrote: Hi Simon, 2016-03-07 11:45 GMT+09:0

Re: [U-Boot] [PATCH v2 10/11] board/ls2080qds: add the procedure to deply QSPI image.

2016-03-07 Thread york sun
On 03/06/2016 11:57 PM, Yuan Yao wrote: > From: Yuan Yao > > Signed-off-by: Yuan Yao > --- > board/freescale/ls2080aqds/README | 35 +++ > 1 file changed, 35 insertions(+) > > diff --git a/board/freescale/ls2080aqds/README > b/board/freescale/ls2080aqds/README

Re: [U-Boot] [PATCH v2 03/11] configs: ls2080aqds: disable IFC NOR & QIXIS when QSPI enable

2016-03-07 Thread york sun
On 03/06/2016 11:57 PM, Yuan Yao wrote: > From: Yuan Yao > > When QSPI is enabled, NOR flash and QIXIS can't be accessed through IFC > due to pin mux. > > Signed-off-by: Yuan Yao > --- > include/configs/ls2080aqds.h | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/include/

Re: [U-Boot] [PATCH 09/12] armv8: ls2080aqds: Enable QSPI boot support

2016-03-07 Thread york sun
On 03/06/2016 10:09 PM, Yao Yuan wrote: > On 03/04/2016 12:49 AM, York Sun wrote: >> On 03/02/2016 06:30 PM, Yao Yuan wrote: >>> On 03/03/2016 12:52 AM, York Sun wrote: On 03/02/2016 02:41 AM, Yuan Yao wrote: > From: Yuan Yao > > This patch adds QSPI boot support for LS2080AQDS bo

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

2016-03-07 Thread Joe Hershberger
On Sun, Mar 6, 2016 at 8:45 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 a single directory, this can be inconvenient. > > Add a new 'toolchain-prefix' setting

Re: [U-Boot] [PATCH 7/8] buildman: Allow the toolchain architecture to be specified

2016-03-07 Thread Joe Hershberger
On Sun, Mar 6, 2016 at 8:45 PM, Simon Glass wrote: > At present the architecture is deduced from the toolchain filename. Allow it > to be specified by the caller. > > Signed-off-by: Simon Glass Reviewed-by: Joe Hershberger http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 6/8] buildman: Allow the toolchain priority to be specified

2016-03-07 Thread Joe Hershberger
On Sun, Mar 6, 2016 at 8:45 PM, Simon Glass wrote: > At present the priority of a toolchain is calculated from its filename based > on hard-coded rules. Allow it to be specified by the caller. We will use > this in a later patch. Also display the priority and provide a message when > it is overrid

Re: [U-Boot] [PATCH 5/8] buildman: Allow branch names which conflict with directories

2016-03-07 Thread Joe Hershberger
On Sun, Mar 6, 2016 at 8:45 PM, 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 resolving the ambiguity.

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-03-07 Thread york sun
On 03/03/2016 01:06 PM, york sun wrote: > On 02/29/2016 04:26 AM, Jagan Teki wrote: >> Hi York, >> >> On 27 February 2016 at 02:14, york sun wrote: >>> On 02/22/2016 10:18 AM, Jagan Teki wrote: Can you pls- test the dataflash changes? use u-boot-spi/spi-nor >>> Jagan, >>> >>> I a

Re: [U-Boot] [PATCH 4/8] buildman: Fix up a few code inconsistencies in toolchain.py

2016-03-07 Thread Joe Hershberger
On Sun, Mar 6, 2016 at 8:45 PM, Simon Glass wrote: > Normally we use a single quote for strings unless there is a reason not to > (such as an embedded single quote). Fix a few counter-examples in this file. > Also add a missing function-argument comment. > > Signed-off-by: Simon Glass Reviewed-b

Re: [U-Boot] [PATCH 3/8] buildman: patman: Fix -H when installed as a symlink

2016-03-07 Thread Joe Hershberger
On Sun, Mar 6, 2016 at 8:45 PM, Simon Glass wrote: > It is convenient to install symlinks to buildman and patman in the search > patch, such as /usr/local/bin. But when this is done, the -H option fails to > work because it looks in the directory containing the symlink instead of its > target. Fix

Re: [U-Boot] [PATCH 2/8] patman: Add a missing space in GetMetaDataForList()

2016-03-07 Thread Joe Hershberger
On Sun, Mar 6, 2016 at 8:45 PM, Simon Glass wrote: > Fix this nit to keep the code consistent. > > Signed-off-by: Simon Glass Reviewed-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/8] fdtgrep: Improve error handling with invalid device tree

2016-03-07 Thread Joe Hershberger
On Mon, Mar 7, 2016 at 10:37 AM, Masahiro Yamada wrote: > 2016-03-07 12:31 GMT+09:00 Simon Glass : >> Hi Masahiro, >> >> On 6 March 2016 at 20:07, Masahiro Yamada >> wrote: >>> Hi Simon, >>> >>> >>> 2016-03-07 11:45 GMT+09:00 Simon Glass : This tool requires that the aliases node be the fir

Re: [U-Boot] [PATCH 1/8] fdtgrep: Improve error handling with invalid device tree

2016-03-07 Thread Masahiro Yamada
2016-03-07 12:31 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 6 March 2016 at 20:07, Masahiro Yamada > wrote: >> Hi Simon, >> >> >> 2016-03-07 11:45 GMT+09:00 Simon Glass : >>> This tool requires that the aliases node be the first node in the tree. But >>> when it is not, it does not handle thin

Re: [U-Boot] buildman for sandbox

2016-03-07 Thread Joe Hershberger
Ho Simon On Sun, Mar 6, 2016 at 8:39 PM, Simon Glass wrote: > Hi Joe, > > On 7 May 2015 at 03:17, Joe Hershberger wrote: >> Hi Simon, >> >> Is there a way to make buildman compile sandbox with a non-system tool >> chain? I've tried creating an alias from sandbox to i386 and removing >> the "root

Re: [U-Boot] [PATCH v2 1/4] drivers: musb-new: fix compilation error for MIPS.

2016-03-07 Thread Daniel Schwierzeck
2016-03-07 14:19 GMT+01:00 Purna Chandra Mandal : > MIPS arch implements writes{b,w,l,q}, reads{b,w,l,q} > whereas other archs implement __raw version of them. > So defining macro writes{bwlq}() to __raw_writes{bwlq}() > (and similarly for reads{bwlq}) is not necessary for MIPS. > > Signed-off-by:

Re: [U-Boot] [PATCH v2 2/4] gadget: f_mass_storge: fix compilation error for MIPS.

2016-03-07 Thread Daniel Schwierzeck
2016-03-07 15:33 GMT+01:00 Lukasz Majewski : > Hi Purna, > >> Compiling USB mass storage gadget for MIPS reports redefinition error. >> -- >> drivers/usb/gadget/f_mass_storage.c:286:13: error: redefinition of >> 'set_bit' inline void set_bit(int nr, volatile void *addr) >>

Re: [U-Boot] BeagleBone Black: u-boot 2016.03-rc2 worng fdt detection

2016-03-07 Thread Matwey V. Kornilov
2016-03-07 18:06 GMT+03:00 Matwey V. Kornilov : > 2016-03-07 18:01 GMT+03:00 Robert Nelson : >> On Mon, Mar 7, 2016 at 8:55 AM, Robert Nelson >> wrote: >>> On Mon, Mar 7, 2016 at 4:50 AM, Matwey V. Kornilov >>> wrote: Hello, I am running u-boot 2016.03-rc2 on BeagleBone Black and

Re: [U-Boot] BeagleBone Black: u-boot 2016.03-rc2 worng fdt detection

2016-03-07 Thread Matwey V. Kornilov
2016-03-07 18:01 GMT+03:00 Robert Nelson : > On Mon, Mar 7, 2016 at 8:55 AM, Robert Nelson wrote: >> On Mon, Mar 7, 2016 at 4:50 AM, Matwey V. Kornilov >> wrote: >>> Hello, >>> >>> I am running u-boot 2016.03-rc2 on BeagleBone Black and it is >>> incorrectly detected as BeagleBone Green. >>> >>>

Re: [U-Boot] BeagleBone Black: u-boot 2016.03-rc2 worng fdt detection

2016-03-07 Thread Robert Nelson
On Mon, Mar 7, 2016 at 8:55 AM, Robert Nelson wrote: > On Mon, Mar 7, 2016 at 4:50 AM, Matwey V. Kornilov > wrote: >> Hello, >> >> I am running u-boot 2016.03-rc2 on BeagleBone Black and it is >> incorrectly detected as BeagleBone Green. >> >> fdtfile=am335x-bonegreen.dtb >> >> => print board_nam

Re: [U-Boot] BeagleBone Black: u-boot 2016.03-rc2 worng fdt detection

2016-03-07 Thread Robert Nelson
On Mon, Mar 7, 2016 at 4:50 AM, Matwey V. Kornilov wrote: > Hello, > > I am running u-boot 2016.03-rc2 on BeagleBone Black and it is > incorrectly detected as BeagleBone Green. > > fdtfile=am335x-bonegreen.dtb > > => print board_name > board_name=A335BNLT > => print board_rev > board_rev=t > ue >

Re: [U-Boot] [PATCH v2 2/4] gadget: f_mass_storge: fix compilation error for MIPS.

2016-03-07 Thread Lukasz Majewski
Hi Purna, > Compiling USB mass storage gadget for MIPS reports redefinition error. > -- > drivers/usb/gadget/f_mass_storage.c:286:13: error: redefinition of > 'set_bit' inline void set_bit(int nr, volatile void *addr) > ^ > In file included from include/linux/bitops.h:

Re: [U-Boot] [PATCH] sunxi: fix DCDC2 output in CHIP_defconfig

2016-03-07 Thread Siarhei Siamashka
On Mon, 7 Mar 2016 13:44:11 +0100 Maxime Ripard wrote: > From: Boris Brezillon > > Unlike the datasheet recommendation, the R8 SoC requires a 1.4V supply > for its CPU when operating at 1Ghz. That's interesting. Is this R8 SoC datasheet with the Allwinner recommended cpufreq operating points

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

2016-03-07 Thread Purna Chandra Mandal
This driver adds support of PIC32 MUSB OTG controller as dual role device. It implements platform specific glue to reuse musb core. Signed-off-by: Cristian Birsan Signed-off-by: Purna Chandra Mandal --- Changes in v2: None drivers/usb/musb-new/Kconfig | 7 + drivers/usb/musb-new/Makefil

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

2016-03-07 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 v2: - compilation fix in drivers/usb/musb-new/linux-compat.h seperated - compilation fix in drivers/gadget/f_mass_storage.c seperated arch/mips/dts/pic32mzda.dtsi

[U-Boot] [PATCH v2 2/4] gadget: f_mass_storge: fix compilation error for MIPS.

2016-03-07 Thread Purna Chandra Mandal
Compiling USB mass storage gadget for MIPS reports redefinition error. -- drivers/usb/gadget/f_mass_storage.c:286:13: error: redefinition of 'set_bit' inline void set_bit(int nr, volatile void *addr) ^ In file included from include/linux/bitops.h:123:0,

[U-Boot] [PATCH v2 1/4] drivers: musb-new: fix compilation error for MIPS.

2016-03-07 Thread Purna Chandra Mandal
MIPS arch implements writes{b,w,l,q}, reads{b,w,l,q} whereas other archs implement __raw version of them. So defining macro writes{bwlq}() to __raw_writes{bwlq}() (and similarly for reads{bwlq}) is not necessary for MIPS. Signed-off-by: Purna Chandra Mandal --- Changes in v2: None drivers/usb/

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

2016-03-07 Thread Maxime Ripard
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 Ripard --- configs/CHIP_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs

[U-Boot] [PATCH] sunxi: fix DCDC2 output in CHIP_defconfig

2016-03-07 Thread Maxime Ripard
From: Boris Brezillon Unlike the datasheet recommendation, the R8 SoC requires a 1.4V supply for its CPU when operating at 1Ghz. Rely on the default value specified in the Kconfig entry. Signed-off-by: Boris Brezillon Signed-off-by: Maxime Ripard --- configs/CHIP_defconfig | 1 - 1 file chan

Re: [U-Boot] GSoC projects for Minnowboard MAX

2016-03-07 Thread Stefan Roese
Hi Simon, Hi Hans, On 17.02.2016 17:35, Simon Glass wrote: +Bin Hi Hans, On 11 February 2016 at 08:44, Hans de Goede wrote: Hi, On 11-02-16 13:16, Simon Glass wrote: Hi, Minnowboard is looking for GSoC projects this year. http://wiki.minnowboard.org/GSoC2016 There are a few things list

[U-Boot] [PATCH] ARM: uniphier: allow debug_ll_init() to do nothing for unknown SoCs

2016-03-07 Thread Masahiro Yamada
This function should just return for unknown SoCs rather than writing unexpected values to registers. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/arm32/debug_ll.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-uniphier/arm32/debug_ll.S b/arch/arm/mach-uniphier/

[U-Boot] BeagleBone Black: u-boot 2016.03-rc2 worng fdt detection

2016-03-07 Thread Matwey V. Kornilov
Hello, I am running u-boot 2016.03-rc2 on BeagleBone Black and it is incorrectly detected as BeagleBone Green. fdtfile=am335x-bonegreen.dtb => print board_name board_name=A335BNLT => print board_rev board_rev=t ue Similar issue was here on 2016.01.

Re: [U-Boot] [PATCH] MIPS: fix mips_cache fallback without __builtin_mips_cache

2016-03-07 Thread Matthew Fortune
Matthias Schiffer writes: > > > > I've disabled the builtin code and compared dissaemblies with and > without your patch. Without your patch, gcc adds an additional store > instruction before each cache instruction. > > > > E.g. for flush_dcache_range(): > > > > 18: afa20008sw

[U-Boot] [PATCH] ARM: OMAP4+: Allow arch specfic code to use early DM

2016-03-07 Thread Lokesh Vutla
Early system initialization is being done before initf_dm is being called in U-Boot. Then system will fail to boot if any of the DM enabled driver is being called in this system initialization code. So, rearrange the code a bit so that DM enabled drivers can be called during early system initializa