Re: [U-Boot] Dragonboard410c and Dragonboard820c patchset

2017-12-28 Thread Peter Robinson
The following version fixes some nasty compiler warnings present in the previous version. Sorry about it. >>> just to follow up on the db820c and db410c patchset that I posted a >>> couple >>> of weeks ago (v1 and v2) >>> any feedback will be greatly appreciated! >> >> Can you also r

Re: [U-Boot] [PATCH 09/13] board: ti: am574x-idk: Add ddr data support

2017-12-28 Thread Lokesh Vutla
Hi Lukas, Sorry for the delayed response. On Tuesday 19 December 2017 03:04 PM, Lukasz Majewski wrote: > Hi Lokesh, > >> Hi Lukas, >> >> On Monday 18 December 2017 04:46 PM, Lukasz Majewski wrote: >>> Hi Lokesh, >>> AM574x-idk has the following DDR parts attached: EMIF1: MT41K256M16

[U-Boot] [PATCH v2 04/13] arm: keystone: Move cmd_ddr3 to a common place

2017-12-28 Thread Lokesh Vutla
Move cmd_ddr3 to cmd/ti in order to make it build for non-keystone TI platforms. Signed-off-by: Lokesh Vutla --- arch/arm/mach-keystone/Kconfig| 4 arch/arm/mach-keystone/Makefile | 1 - cmd/Kconfig | 2 ++ cmd/Makefile

[U-Boot] [PATCH v2 02/13] arm: emif-common: Add ecc specific emif registers

2017-12-28 Thread Lokesh Vutla
This is a slight difference in emif_ddr_phy_status register offsets for DRA7xx EMIF and older versions. And ecc registers are available only in DRA7xx EMIC. Add support for this difference and ecc registers. Signed-off-by: Lokesh Vutla --- arch/arm/include/asm/emif.h | 17 -

[U-Boot] [PATCH v2 07/13] board: ti: am574x-idk: Add epprom support

2017-12-28 Thread Lokesh Vutla
am574x-idk is a board based on TI's am574 processor Add eeprom support. Signed-off-by: Lokesh Vutla --- board/ti/am57xx/board.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c index f79aefd400..082346d2b1 100644 --- a/board/ti/am57xx/boa

[U-Boot] [PATCH v2 03/13] arm: emif-common: Add suppport for enabling ECC

2017-12-28 Thread Lokesh Vutla
For data integrity, the EMIF1 supports ECC on the data written or read from the SDRAM. Add support for enabling ECC support in EMIF1. Signed-off-by: Lokesh Vutla Signed-off-by: Krunal Bhargav --- arch/arm/include/asm/emif.h | 31 ++ arch/arm/mach-omap2/emif-common.c | 89 +

[U-Boot] [PATCH v2 00/13] arm: am57xx: Add support for am574-idk

2017-12-28 Thread Lokesh Vutla
am574x-idk board is similar to am572x-idk with am574x SoC. This series adds support for this board. Changes since v1: - Moved cmd_ddr3 to cmd/ti/ Lokesh Vutla (12): arm: emif-common: Add ecc specific emif registers arm: emif-common: Add suppport for enabling ECC arm: keystone: Move cmd_ddr3

[U-Boot] [PATCH v2 06/13] arm: dra762: Add support for device package identification

2017-12-28 Thread Lokesh Vutla
DRA762 comes in two packages: - ABZ: Pin compatible package with DRA742 with DDR@1333MHz - ACD: High performance(OPP_PLUS) package with new IPs Both the above packages uses the same IDCODE hence needs to differentiate using package information in DIE_ID_2. Add support for the same. Also update clo

[U-Boot] [PATCH v2 12/13] ARM: dts: am574x-idk: Add initial support

2017-12-28 Thread Lokesh Vutla
Add initial dts support for am574x-idk Signed-off-by: Lokesh Vutla --- arch/arm/dts/Makefile | 1 + arch/arm/dts/am572x-idk-common.dtsi | 100 ++ arch/arm/dts/am572x-idk.dts | 93 +-- arch/arm/dts/am57

[U-Boot] [PATCH v2 11/13] board: ti: am57xx: Enable CMD_DDR3

2017-12-28 Thread Lokesh Vutla
Enable CMD_DDR3 on all am57xx based platforms. Signed-off-by: Lokesh Vutla --- arch/arm/mach-omap2/omap5/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/omap5/Kconfig b/arch/arm/mach-omap2/omap5/Kconfig index 8c1730a6be..deb9873cc5 100644 --- a/arch/arm/mach-omap

[U-Boot] [PATCH v2 10/13] board: ti: am574x-idk: Update pinmux using latest PMT

2017-12-28 Thread Lokesh Vutla
Update the board pinmux for AM574x-IDK board using latest PMT[1] and the board files named am574x_idk_v1p3b_sr2p0 that were auto generated on 13th October, 2017 by "Ahmad Rashed ". Signed-off-by: Lokesh Vutla --- board/ti/am57xx/board.c| 7 +- board/ti/am57xx/mux_data.h | 299 +

[U-Boot] [PATCH v2 01/13] drivers: dma: ti-edma3: add support for memory fill

2017-12-28 Thread Lokesh Vutla
From: Tero Kristo Add support for simple memory fill operation. With large data sizes it is much faster to use EDMA for memory fill rather than CPU. Signed-off-by: Tero Kristo --- arch/arm/include/asm/ti-common/ti-edma3.h | 2 ++ drivers/dma/ti-edma3.c| 55

[U-Boot] [PATCH v2 08/13] board: ti: am574x-idk: Add hw data support

2017-12-28 Thread Lokesh Vutla
Update prcm, voltages and pinmux support for am574x-idk. Signed-off-by: Lokesh Vutla --- arch/arm/include/asm/omap_common.h | 1 + board/ti/am57xx/board.c| 9 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/inclu

[U-Boot] [PATCH v2 09/13] board: ti: am574x-idk: Add ddr data support

2017-12-28 Thread Lokesh Vutla
AM574x-idk has the following DDR parts attached: EMIF1: MT41K256M16HA (1GB with ECC) EMIF2: MT41K256M16HA (1GB without ECC) Enabling 2GB DDR without interleaving between EMIFs. And enabling ECC on EMIF1. Signed-off-by: Lokesh Vutla Signed-off-by: Krunal Bhargav --- board/ti/am57xx/board.c | 47

[U-Boot] [PATCH v2 13/13] env: ti: Select dtb name for dra76x and am574

2017-12-28 Thread Lokesh Vutla
Select dtb name for am574x-idk and dra76x evm with acd package. Signed-off-by: Lokesh Vutla --- include/environment/ti/boot.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h index 799d9840aa..0a2342061c 100644 -

[U-Boot] [PATCH v2 05/13] cmd: ti: Generalize cmd_ddr3 command

2017-12-28 Thread Lokesh Vutla
Keystone and DRA7 based TI platforms uses same EMIF memory controller. cmd_ddr3 command is customized for keystone platforms, make it generic so that it can be re used for DRA7 platforms. Signed-off-by: Lokesh Vutla --- arch/arm/include/asm/emif.h| 2 + arch/arm/mach-keyst

[U-Boot] [PATCH] i2c: mxc_i2c: Use or operation

2017-12-28 Thread Peng Fan
The operation should be OR, not BIT OR. Signed-off-by: Peng Fan Cc: Heiko Schocher Cc: Stefano Babic --- drivers/i2c/mxc_i2c.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 205274e..79228c2 100644 --- a/drivers/i2c

<    1   2