Re: [PATCH v4] common: avb_verify: prevent opening incorrect session

2023-02-02 Thread Ivan Khoronzhuk
Any comments to this patch? -- Regards, Ivan Khoronzhuk

[PATCH v4] common: avb_verify: prevent opening incorrect session

2023-01-27 Thread Ivan Khoronzhuk
The arg->session is not valid if arg->ret != NULL, so can't be assigned, correct this. Signed-off-by: Ivan Khoronzhuk --- common/avb_verify.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/common/avb_verify.c b/common/avb_verify.c index 0520a71455.

Re: [PATCH v3] common: avb_verify: prevent opening incorrect session

2023-01-27 Thread Ivan Khoronzhuk
Ignore this version please, will send v4. Skipped previous comment unintentionally. -- Regards, Ivan Khoronzhuk

[PATCH v3] common: avb_verify: prevent opening incorrect session

2023-01-27 Thread Ivan Khoronzhuk
The arg->session is not valid if arg->ret != NULL, so can't be assigned, correct this. Also remove "while" loop as there is no reason for looping till correct session is opened. Signed-off-by: Ivan Khoronzhuk --- common/avb_verify.c | 38 +++--

Re: [PATCH v2] common: avb_verify: prevent opening incorrect session

2023-01-23 Thread Ivan Khoronzhuk
On Mon, Jan 23, 2023 at 04:34:33PM +0100, Jens Wiklander wrote: On Mon, Jan 23, 2023 at 04:51:29PM +0200, Ivan Khoronzhuk wrote: The arg->session is not valid if arg->ret != NULL, so can't be assigned. Leave retry for just "ret" error to save same behaviour. Signed-of

[PATCH v2] common: avb_verify: prevent opening incorrect session

2023-01-23 Thread Ivan Khoronzhuk
The arg->session is not valid if arg->ret != NULL, so can't be assigned. Leave retry for just "ret" error to save same behaviour. Signed-off-by: Ivan Khoronzhuk --- common/avb_verify.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/common/

[PATCH] common: avb_verify: prevent opening incorrect session

2023-01-22 Thread Ivan Khoronzhuk
The arg->session is not valid if arg->ret != NULL, so can't be assigned. Leave retry for just "ret" error to save same behaviour. Signed-off-by: Ivan Khoronzhuk --- common/avb_verify.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/common/

Re: [U-Boot] [PATCH v5] bitops: introduce BIT() definition

2015-09-09 Thread Ivan Khoronzhuk
seems like using BIT where BIT_ULL is needed could be a source of difficult bugs), but sure, we don't want to encourage writing driver code that will break on Linux. Better to keep same approach. -Scott -- Regards, Ivan Khoronzhuk ___ U

Re: [U-Boot] [PATCH v5] bitops: introduce BIT() definition

2015-09-09 Thread Ivan Khoronzhuk
s, ULL would be better. -Scott -- Regards, Ivan Khoronzhuk ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/1] driver: net: keystone_net: fix phy mode configuration

2015-07-23 Thread Ivan Khoronzhuk
On 23.07.15 15:43, Mugunthan V N wrote: On Thursday 23 July 2015 04:46 PM, Ivan Khoronzhuk wrote: Hi, Mugunthan You are right, phy mode is a board property. But just for clarifying, does Ethernet SS, which contains SGMII on board, support another i/f mode except SGMII? Can it work w/o SerDes

Re: [U-Boot] [PATCH 1/1] driver: net: keystone_net: fix phy mode configuration

2015-07-23 Thread Ivan Khoronzhuk
Hi, Mugunthan You are right, phy mode is a board property. But just for clarifying, does Ethernet SS, which contains SGMII on board, support another i/f mode except SGMII? Can it work w/o SerDes? On 23.07.15 12:01, Mugunthan V N wrote: Phy mode is a board property and it can be different betwee

Re: [U-Boot] [PATCH] keystone2: use appropriate HD field for destination port

2015-07-08 Thread Ivan Khoronzhuk
On 08.07.15 22:22, ivan.khoronzhuk wrote: Vitaly, On 08.07.15 21:28, Vitaly Andrianov wrote: On 07/08/2015 01:50 PM, ivan.khoronzhuk wrote: Vitaly, On 08.07.15 20:26, Vitaly Andrianov wrote: On 07/08/2015 01:05 PM, Ivan Khoronzhuk wrote: Vitaly, On 08.07.15 20:05, Vitaly Andrianov

Re: [U-Boot] [PATCH] keystone2: use appropriate HD field for destination port

2015-07-08 Thread Ivan Khoronzhuk
Hi, Vitaly I suppose it's better to decide in upper driver how to use swinfo field. Like in drivers/net/keystone_net.c The keystone navigator supposed to be used as a tool for communicating between different IPs, and each of them decide how to use swinfo fields. It's protocol specific informatio

Re: [U-Boot] [PATCH] keystone2: use appropriate HD field for destination port

2015-07-08 Thread Ivan Khoronzhuk
Vitaly, On 08.07.15 20:05, Vitaly Andrianov wrote: On 07/08/2015 12:38 PM, Ivan Khoronzhuk wrote: Hi, Vitaly I suppose it's better to decide in upper driver how to use swinfo field. Like in drivers/net/keystone_net.c The keystone navigator supposed to be used as a tool for communic

Re: [U-Boot] [PATCH] keystone2: use appropriate HD field for destination port

2015-07-08 Thread Ivan Khoronzhuk
Hi, Vitaly I suppose it's better to decide in upper driver how to use swinfo field. Like in drivers/net/keystone_net.c The keystone navigator supposed to be used as a tool for communicating between different IPs, and each of them decide how to use swinfo fields. It's protocol specific informatio

[U-Boot] [U-boot] [Patch] ks2_evm: board: remove sprintf for simple string

2014-11-04 Thread Ivan Khoronzhuk
There is no reason to sprintf simple string. Signed-off-by: Ivan Khoronzhuk --- board/ti/ks2_evm/board.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c index 4029493..ff7bc4b 100644 --- a/board/ti/ks2_evm/board.c

Re: [U-Boot] [U-boot] [Patch] keystone2: replace printf on puts where it's possible

2014-11-04 Thread Ivan Khoronzhuk
On 11/04/2014 06:46 PM, Tom Rini wrote: On Tue, Nov 04, 2014 at 01:44:53AM +0200, Ivan Khoronzhuk wrote: It is better to use simple puts() function instead of printf() when it's possible. Also remove redundant sprintf(). Signed-off-by: Ivan Khoronzhuk One of the outcomes of the mini-s

[U-Boot] [U-boot] [Patch v2] ks2_evm: config: enable fatload command

2014-11-04 Thread Ivan Khoronzhuk
The keystone2 evm can boot from USB partition with FAT32 FS, so enable generic load command and fatload command usage. Acked-by: Murali Karicheri Signed-off-by: Ivan Khoronzhuk --- v2..v1: - enabled generic load command include/configs/ks2_evm.h | 2 ++ 1 file changed, 2 insertions

[U-Boot] [U-boot] [Patch 1/2] keystone2: config: restructure handling of default env settings

2014-11-04 Thread Ivan Khoronzhuk
ig.h using CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS. Use the common and board specific variables to define CONFIG_EXTRA_ENV_SETTINGS. This way more variables can be added in future for individual boards without affecting the other config.h files. Signed-off-by: Murali Karicheri Signed-off-by: Ivan Khoronzhuk --- inclu

Re: [U-Boot] [U-boot] [Patch] ks2_evm: config: enable fatload command

2014-11-04 Thread Ivan Khoronzhuk
On 11/04/2014 04:54 PM, Tom Rini wrote: On Wed, Oct 29, 2014 at 04:28:56PM +0200, Ivan Khoronzhuk wrote: The keystone2 evm can boot from USB partition with FAT32 FS, so enable fatload command usage. Acked-by: Murali Karicheri Signed-off-by: Ivan Khoronzhuk --- include/configs/ks2_evm.h

[U-Boot] [U-boot] [Patch 2/2] keystone2: config: align names of images with MCSDK

2014-11-04 Thread Ivan Khoronzhuk
The Multicore Software Development Kit (MCSDK) provides foundational software for TI KeyStone II device platforms. It's supposed to be used with uboot, and it's convenient to have the same names for images, so correct environment image names according to the last MCSDK3. Signed-of

[U-Boot] [U-boot] [Patch 0/2] keystone2: config: customize uboot environment

2014-11-04 Thread Ivan Khoronzhuk
Customize default uboot environment in order to simplify it's support and to align with current MCSDK. Based on "[U-boot] [Patch 0/2] keystone2: change default boot mode to ubi" https://www.mail-archive.com/u-boot@lists.denx.de/msg152442.html Ivan Khoronzhuk (1): keystone2: conf

[U-Boot] [U-boot] [Patch] keystone2: replace printf on puts where it's possible

2014-11-03 Thread Ivan Khoronzhuk
It is better to use simple puts() function instead of printf() when it's possible. Also remove redundant sprintf(). Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/ddr3.c | 2 +- arch/arm/cpu/armv7/keystone/keystone.c | 4 ++-- board/ti/ks2_evm/board.c

[U-Boot] [U-boot] [Patch] dma: keystone_nav: remove spurious qm_cfg verification

2014-11-03 Thread Ivan Khoronzhuk
The verification qm_cfg existence is done at ksnav_init(). So, there is no need to verify it after initialization. Signed-off-by: Ivan Khoronzhuk --- drivers/dma/keystone_nav.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers/dma/keystone_nav.c b/drivers/dma

[U-Boot] [U-boot] [Patch 2/2] keystone2: change default boot mode to ubi

2014-11-03 Thread Ivan Khoronzhuk
From: Murali Karicheri To allow out of box demo, change default boot mode to ubi boot now that NAND is functional in latest EVMs. Signed-off-by: Murali Karicheri Signed-off-by: Ivan Khoronzhuk --- include/configs/ks2_evm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[U-Boot] [U-boot] [Patch 1/2] ks2_evm: configs: fix UBI volume name

2014-11-03 Thread Ivan Khoronzhuk
The UBI volume name has to be prefixed with "ubi:". Signed-off-by: Ivan Khoronzhuk --- include/configs/ks2_evm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ks2_evm.h b/include/configs/ks2_evm.h index e5e628f..3c72517 100644 --- a/inclu

[U-Boot] [U-boot] [Patch 0/2] keystone2: change default boot mode to ubi

2014-11-03 Thread Ivan Khoronzhuk
These patches fix ubi boot and enable it by default. Ivan Khoronzhuk (1): ks2_evm: configs: fix UBI volume name Murali Karicheri (1): keystone2: change default boot mode to ubi include/configs/ks2_evm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.9.1

[U-Boot] [U-boot] [Patch v2] net: phy: marvell: add errata w/a for 88E151* chips

2014-10-30 Thread Ivan Khoronzhuk
From: Hao Zhang As per Marvell Release Notes - Alaska 88E1510/88E1518/88E1512/88E1514 Rev A0, Errata Section 3.1 Marvell PHY has an errata which requires that certain registers get written in order to restart autonegotiation. Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- v2..v1

Re: [U-Boot] [U-boot] [Patch] net: phy: marvell: add errata w/a for 88E151* chips

2014-10-30 Thread Ivan Khoronzhuk
On 10/30/2014 08:53 AM, Stefan Roese wrote: On 29.10.2014 19:38, Ivan Khoronzhuk wrote: From: Hao Zhang As per Marvell Release Notes - Alaska 88E1510/88E1518/88E1512/88E1514 Rev A0, Errata Section 3.1 Marvell PHY has an errata which requires that certain registers get written in order to

[U-Boot] [U-boot] [Patch] net: phy: marvell: add errata w/a for 88E151* chips

2014-10-29 Thread Ivan Khoronzhuk
From: Hao Zhang As per Marvell Release Notes - Alaska 88E1510/88E1518/88E1512/88E1514 Rev A0, Errata Section 3.1 Marvell PHY has an errata which requires that certain registers get written in order to restart autonegotiation. Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk

[U-Boot] [U-boot] [Patch] ks2_evm: config: enable fatload command

2014-10-29 Thread Ivan Khoronzhuk
The keystone2 evm can boot from USB partition with FAT32 FS, so enable fatload command usage. Acked-by: Murali Karicheri Signed-off-by: Ivan Khoronzhuk --- include/configs/ks2_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/ks2_evm.h b/include/configs/ks2_evm.h index

[U-Boot] [U-boot] [Patch] ks2_evm: readme: add k2l evm board information

2014-10-29 Thread Ivan Khoronzhuk
From: "Khoronzhuk, Ivan" Currently Keystone2 Lamar evm (K2L) board is added, so update Keystone2 readme file to have such one. Acked-by: Murali Karicheri Signed-off-by: Ivan Khoronzhuk --- Based on "[U-boot] [Patch 0/4] keystone2: add network support for K2L SoC and EVM&qu

[U-Boot] [U-boot] [Patch 2/4] net: keystone_serdes: add keystone K2L SoC support

2014-10-29 Thread Ivan Khoronzhuk
Keystone2 Lamar SoC uses the same keystone SerDes driver. All Keystone2 EVM boards currently use SerDes driver, so move CONFIG_TI_KEYSTONE_SERDES to common configuration file. Acked-by: Murali Karicheri Signed-off-by: Ivan Khoronzhuk --- arch/arm/include/asm/arch-keystone/hardware-k2l.h | 4

[U-Boot] [U-boot] [Patch 3/4] net: keystone_net: add Keystone2 K2L SoC support

2014-10-29 Thread Ivan Khoronzhuk
The Keystone2 Lamar SoC uses the same keystone net driver. This patch adds opportunity to use it by K2L SoCs. Acked-by: Murali Karicheri Signed-off-by: Ivan Khoronzhuk --- arch/arm/include/asm/arch-keystone/hardware-k2l.h | 3 +++ drivers/net/keystone_net.c| 5 - 2

[U-Boot] [U-boot] [Patch 4/4] board: k2l_evm: add network support

2014-10-29 Thread Ivan Khoronzhuk
From: Hao Zhang This patch adds network support code and enables keystone_net driver usage for k2l_evm evaluation board. Acked-by: Murali Karicheri Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- board/ti/ks2_evm/board_k2l.c | 40 +++- include

[U-Boot] [U-boot] [Patch 1/4] ARM: keystone2: keysonte_nav: add support for K2L SoC

2014-10-29 Thread Ivan Khoronzhuk
The Keystone2 Lamar SoC uses the same keystone navigator. Move queue numbers to common hardware file, as all Keystone2 SoCs have the same ones. Acked-by: Murali Karicheri Signed-off-by: Ivan Khoronzhuk --- arch/arm/include/asm/arch-keystone/hardware-k2e.h | 2 -- arch/arm/include/asm/arch

[U-Boot] [U-boot] [Patch 0/4] keystone2: add network support for K2L SoC and EVM

2014-10-29 Thread Ivan Khoronzhuk
These patches add network support for Keystone2 Lamar SoC boards. Based on u-boot-ti/master Hao Zhang (1): board: k2l_evm: add network support Ivan Khoronzhuk (3): ARM: keystone2: keysonte_nav: add support for K2L SoC net: keystone_serdes: add keystone K2L SoC support net: keystone_net

[U-Boot] [U-boot] [Patch v3 1/4] dma: ti-edma3: introduce edma3 driver

2014-10-22 Thread Ivan Khoronzhuk
peripherals that are accessible via the EDMA3 controller Signed-off-by: Ivan Khoronzhuk --- arch/arm/include/asm/ti-common/ti-edma3.h | 121 ++ drivers/dma/Makefile | 1 + drivers/dma/ti-edma3.c| 384 ++ 3 files changed

[U-Boot] [U-boot] [Patch v3 4/4] ARM: keystone: cmd_ddr3: add ddr3 commands to test ddr

2014-10-22 Thread Ivan Khoronzhuk
-bit data\n from , and write (data ^ bit_err) back to \n Delete CONFIG_MAX_UBOOT_MEM_SIZE, as it was supposed to be used for ddr3 commands and for now it's not needed any more. Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/Makefile | 2 +-

[U-Boot] [U-boot] [Patch v3 3/4] keystone2: ecc: add ddr3 error detection and correction support

2014-10-22 Thread Ivan Khoronzhuk
check the ECC error handling in kernel. Signed-off-by: Hao Zhang Signed-off-by: Vitaly Andrianov Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/ddr3.c | 244 + arch/arm/include/asm/arch-keystone/ddr3.h | 6 + arch/arm/include/asm/arch

[U-Boot] [U-boot] [Patch v3 0/4] keystone2: ecc: add ddr3 error detection and correction support

2014-10-22 Thread Ivan Khoronzhuk
: add ddr3 commands to test ddr corrected due to some applying warnings. v2..v1: nothing changed, just rebase Hao Zhang (1): ARM: keystone: cmd_ddr3: add ddr3 commands to test ddr Ivan Khoronzhuk (1): dma: ti-edma3: introduce edma3 driver Vitaly Andrianov (2): ARM: keys

[U-Boot] [U-boot] [Patch v3 2/4] ARM: keystone: msmc: extend functionality of SES

2014-10-22 Thread Ivan Khoronzhuk
From: Vitaly Andrianov Add functions to set/get SES PMAX values of Pivilege ID pair. Also add msmc module definitions. Acked-by: Murali Karicheri Signed-off-by: Hao Zhang Signed-off-by: Vitaly Andrianov Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/msmc.c| 26

[U-Boot] [U-boot] [Patch v4 1/4] soc: keystone_serdes: create a separate SGMII SerDes driver

2014-10-22 Thread Ivan Khoronzhuk
kernel. It is going to be used by keysotone soc specific drivers. Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/include/asm/ti-common/keystone_serdes.h | 15 +++ drivers/Makefile | 2 + drivers/net/keystone_net.c

[U-Boot] [U-boot] [Patch v4 3/4] soc: keystone_serdes: generalize to be used by other sub systems

2014-10-22 Thread Ivan Khoronzhuk
From: Hao Zhang SerDes driver is used by other sub systems like PCI, sRIO etc. So modify it to be more general. The SerDes driver provides common API's that can also be extended for other peripherals SerDes configurations. Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arc

[U-Boot] [U-boot] [Patch v4 4/4] soc: keystone_serdes: generalize configuration mechanism

2014-10-22 Thread Ivan Khoronzhuk
-by: Ivan Khoronzhuk --- drivers/soc/keystone/keystone_serdes.c | 112 +++-- 1 file changed, 65 insertions(+), 47 deletions(-) diff --git a/drivers/soc/keystone/keystone_serdes.c b/drivers/soc/keystone/keystone_serdes.c index 84ed9ba..dd5eac9 100644 --- a/drivers/soc

[U-Boot] [U-boot] [Patch v4 0/4] keystone2: serdes: add seredes driver

2014-10-22 Thread Ivan Khoronzhuk
be used by other sub systems Ivan Khoronzhuk (2): soc: keystone_serdes: create a separate SGMII SerDes driver soc: keystone_serdes: generalize configuration mechanism arch/arm/include/asm/arch-keystone/hardware-k2hk.h | 3 + arch/arm/include/asm/arch-keystone/hardware.h | 3 + arc

[U-Boot] [U-boot] [Patch v4 2/4] soc: keystone_serdes: enhance to use cmu/comlane/lane specific configurations

2014-10-22 Thread Ivan Khoronzhuk
From: Hao Zhang Enhance the driver to use cmu/comlane/lane specific configurations instead of 1 big array of configuration. Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/include/asm/arch-keystone/hardware-k2hk.h | 3 + arch/arm/include/asm/arch-keystone/hardware.h

Re: [U-Boot] [U-boot] [Patch v4 2/6] keystone2: clock: add K2L clock definitions and commands

2014-10-22 Thread Ivan Khoronzhuk
On 10/20/2014 06:55 PM, Tom Rini wrote: On Mon, Oct 20, 2014 at 06:41:29PM +0300, Ivan Khoronzhuk wrote: On 10/20/2014 06:13 PM, Tom Rini wrote: On Wed, Oct 15, 2014 at 02:55:28AM +0300, Ivan Khoronzhuk wrote: From: Hao Zhang This patch adds clock definitions and commands to support

[U-Boot] [U-boot] [Patch v6 6/6] keystone2: k2l-evm: add board support

2014-10-22 Thread Ivan Khoronzhuk
From: Hao Zhang This patch adds Keystone II Lammar (K2L) EVM board support. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/Kconfig| 3 ++ arch/arm/include/asm/arch-keystone/clock-k2l.h | 6 +++ board/ti

[U-Boot] [U-boot] [Patch v6 1/6] ARM: keystone2: add K2L device hardware definitions

2014-10-22 Thread Ivan Khoronzhuk
From: Hao Zhang This patch adds hardware definitions specific to Keystone II Lamar (K2L) SoC. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/include/asm/arch-keystone/hardware-k2hk.h | 2 - arch/arm/include/asm/arch-keystone/hardware-k2l.h

[U-Boot] [U-boot] [Patch v6 2/6] keystone2: clock: add K2L clock definitions and commands

2014-10-22 Thread Ivan Khoronzhuk
From: Hao Zhang This patch adds clock definitions and commands to support Keystone II K2L SOC. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/Makefile | 1 + arch/arm/cpu/armv7/keystone/clock-k2l.c| 138

[U-Boot] [U-boot] [Patch v6 3/6] keystone2: msmc: add MSMC cache coherency support for K2L SOC

2014-10-22 Thread Ivan Khoronzhuk
From: Hao Zhang This patch adds Keystone II Lamar (K2L) SoC specific definitions to support MSMC cache coherency. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/init.c| 12 ++-- arch/arm/include/asm

[U-Boot] [U-boot] [Patch v6 4/6] ARM: keystone2: spl: move board specific code

2014-10-22 Thread Ivan Khoronzhuk
From: Hao Zhang The initialization of PLLs is a part of board specific code, so move it appropriate places. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/Makefile | 1 - arch/arm/cpu/armv7/keystone/spl.c| 53

[U-Boot] [U-boot] [Patch v6 0/6] keystone2: add k2l SoC and k2l_evm board support

2014-10-22 Thread Ivan Khoronzhuk
This patch series adds Keystone II Lamar (K2L) SoC and k2l_evm board support. Based on "[U-Boot,U-boot] ARM: cmd_clock: generalize command usage description" http://patchwork.ozlabs.org/patch/402102/ v6..v5 - keystone2: clock: add K2L clock definitions and commands update according to cha

[U-Boot] [U-boot] [Patch v6 5/6] keystone2: enable OSR clock domain for K2L SoC

2014-10-22 Thread Ivan Khoronzhuk
From: Hao Zhang This patches enables the On-chip Shared Ram clock domain for K2L SoC. Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/init.c| 51 +++ arch/arm/include/asm/arch-keystone/hardware-k2l.h | 24

[U-Boot] [U-boot] [Patch] ARM: cmd_clock: generalize command usage description

2014-10-22 Thread Ivan Khoronzhuk
The usage description of commands refers to headers of sources, that is not correct. This patch is intended to fix it. Also generalize code in order to reduce SoC dependent #ifdefs. Signed-off-by: Ivan Khoronzhuk --- Based on "[U-boot] [Patch v2] keystone: usb: add support of usb xhci&q

Re: [U-Boot] [U-boot] [Patch v4 2/6] keystone2: clock: add K2L clock definitions and commands

2014-10-20 Thread Ivan Khoronzhuk
On 10/20/2014 06:13 PM, Tom Rini wrote: On Wed, Oct 15, 2014 at 02:55:28AM +0300, Ivan Khoronzhuk wrote: From: Hao Zhang This patch adds clock definitions and commands to support Keystone II K2L SOC. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk

Re: [U-Boot] [U-boot] [Patch v4 3/6] keystone2: msmc: add MSMC cache coherency support for K2L SOC

2014-10-20 Thread Ivan Khoronzhuk
On 10/20/2014 06:13 PM, Tom Rini wrote: On Wed, Oct 15, 2014 at 02:55:29AM +0300, Ivan Khoronzhuk wrote: From: Hao Zhang This patch adds Keystone II Lamar (K2L) SoC specific definitions to support MSMC cache coherency. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan

Re: [U-Boot] [U-boot] [Patch v2 0/4] keystone2: ecc: add ddr3 error detection and correction support

2014-10-17 Thread Ivan Khoronzhuk
On 10/17/2014 01:52 AM, Ivan Khoronzhuk wrote: This series adds the DDR3 ECC support to enable ECC in the DDR3 EMIF controller for Keystone II devices. Based on "[U-boot] [Patch 0/5] keystone2: add network support for K2E SoC and EVM" https://www.mail-archive.com/u-boot@lists.denx.de

Re: [U-Boot] [U-boot] [Patch v2 0/6] keystone2: add network support for K2E SoC and EVM

2014-10-17 Thread Ivan Khoronzhuk
On 10/17/2014 09:01 PM, Ivan Khoronzhuk wrote: These patches add network support for Keystne2 Edison SoC boards. Based on "[U-boot] [Patch v2 0/5] keystone_net: use MDIO bus and eth PHY frameworks" http://patchwork.ozlabs.org/patch/322289/ link update https://www.mail-archive.

Re: [U-Boot] [U-boot] [Patch v2 0/5] keystone_net: use MDIO bus and eth PHY frameworks

2014-10-17 Thread Ivan Khoronzhuk
On 10/17/2014 08:44 PM, Ivan Khoronzhuk wrote: This patch series optimize keystone_net driver to use MDIO bus and eht PHY frameworks. Based on "[U-boot] [Patch v3 0/5] keystone2: serdes: add seredes driver" https://www.mail-archive.com/u-boot@lists.denx.de/msg148694.html link up

Re: [U-Boot] [U-boot] [Patch v3 0/5] keystone2: serdes: add seredes driver

2014-10-17 Thread Ivan Khoronzhuk
On 10/17/2014 10:00 PM, Ivan Khoronzhuk wrote: On 10/17/2014 08:38 PM, Ivan Khoronzhuk wrote: This patch series adds serdes driver, taking out it from keystone_net driver. v3..v1: - just rebase. is based on "[U-boot] [Patch v2 0/5] keystone2: generalize keystone_net driver usage&qu

Re: [U-Boot] [U-boot] [Patch v3 0/5] keystone2: serdes: add seredes driver

2014-10-17 Thread Ivan Khoronzhuk
On 10/17/2014 08:38 PM, Ivan Khoronzhuk wrote: This patch series adds serdes driver, taking out it from keystone_net driver. v3..v1: - just rebase. is based on "[U-boot] [Patch v2 0/5] keystone2: generalize keystone_net driver usage" https://www.mail-archive.com/u-boot@lis

[U-Boot] [U-boot] [Patch v2 2/6] net: keystone_serdes: add keystone K2E SoC support

2014-10-17 Thread Ivan Khoronzhuk
Keystone2 Edison SoC uses the same keystone SerDes driver. This patch adds support for K2E SoCs. Acked-by: Vitaly Andrianov Acked-by: Murali Karicheri Signed-off-by: Ivan Khoronzhuk --- arch/arm/include/asm/arch-keystone/hardware-k2e.h | 4 drivers/net/keystone_net.c

[U-Boot] [U-boot] [Patch v2 6/6] board: k2e_evm: add network support

2014-10-17 Thread Ivan Khoronzhuk
From: Hao Zhang This patch adds network support code and enables keystone_net driver usage for k2e_evm evaluation board. Acked-by: Vitaly Andrianov Acked-by: Murali Karicheri Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- board/ti/ks2_evm/board_k2e.c | 68

[U-Boot] [U-boot] [Patch v2 5/6] ARM: keystone: clock: add support for K2E SoCs

2014-10-17 Thread Ivan Khoronzhuk
For K2E and K2L SoCs clock output from PASS PLL has to be enabled after NETCP domain and PA module are enabled. So create new function for that and call it after PA module is enabled. Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/clock.c| 17 + arch/arm

[U-Boot] [U-boot] [Patch v2 3/6] net: keystone_net: add Keystone2 K2E SoC support

2014-10-17 Thread Ivan Khoronzhuk
The Keystone2 Edison SoC uses the same keystone net driver. This patch adds opportunity to use it by K2E SoCs. Acked-by: Vitaly Andrianov Acked-by: Murali Karicheri Signed-off-by: Ivan Khoronzhuk --- arch/arm/include/asm/arch-keystone/hardware-k2e.h | 3 +++ drivers/net/keystone_net.c

[U-Boot] [U-boot] [Patch v2 4/6] net: keystone_net: increase PHY auto negotiate time

2014-10-17 Thread Ivan Khoronzhuk
The new Marvel PHY (88E1514) used on K2L/K2E EVM requires longer time to auto negotiate with SoC's SGMII port. It can take about 3 sec to up the PHY after reset, so add code to expose sgmii auto negotiation waiting process. Acked-by: Vitaly Andrianov Signed-off-by: Ivan Khoronzhuk --- dr

[U-Boot] [U-boot] [Patch v2 1/6] ARM: keystone2: keysonte_nav: add support for K2E SoC

2014-10-17 Thread Ivan Khoronzhuk
Keystone2 Edison SoC uses the same keystone navigator, but uses different NETCP PktDMA definitions. This patch adds required definitions. Acked-by: Vitaly Andrianov Acked-by: Murali Karicheri Signed-off-by: Ivan Khoronzhuk --- arch/arm/include/asm/arch-keystone/hardware-k2e.h | 13

[U-Boot] [U-boot] [Patch v2 0/6] keystone2: add network support for K2E SoC and EVM

2014-10-17 Thread Ivan Khoronzhuk
): board: k2e_evm: add network support Ivan Khoronzhuk (5): ARM: keystone2: keysonte_nav: add support for K2E SoC net: keystone_serdes: add keystone K2E SoC support net: keystone_net: add Keystone2 K2E SoC support net: keystone_net: increase PHY auto negotiate time ARM: keystone:

[U-Boot] [U-boot] [Patch v2 3/5] net: keystone_net: register MDIO bus

2014-10-17 Thread Ivan Khoronzhuk
nctions in the driver. Acked-by: Vitaly Andrianov Signed-off-by: Ivan Khoronzhuk --- drivers/net/keystone_net.c | 93 +++--- 1 file changed, 55 insertions(+), 38 deletions(-) diff --git a/drivers/net/keystone_net.c b/drivers/net/keystone_net.c index 3f9650

[U-Boot] [U-boot] [Patch v2 5/5] net: keystone_net: use general get link function

2014-10-17 Thread Ivan Khoronzhuk
The phy framework has function to get link, so use it instead of own implementation. There is no reason to check SGMII link while sending each packet, phy link is enough. Check SGMII link only while ethernet open. Acked-by: Vitaly Andrianov Signed-off-by: Ivan Khoronzhuk --- drivers/net

[U-Boot] [U-boot] [Patch v2 4/5] net: keystone_net: register eth PHYs on MDIO bus

2014-10-17 Thread Ivan Khoronzhuk
checked before. For K2HK evm PHY configuration at init was absent, so don't enable phy config at init for k2hk evm. Acked-by: Vitaly Andrianov Signed-off-by: Ivan Khoronzhuk --- arch/arm/include/asm/ti-common/keystone_net.h | 1 + drivers/net/keystone_net.c

[U-Boot] [U-boot] [Patch v2 1/5] net: phy: print a number of phy that is not found

2014-10-17 Thread Ivan Khoronzhuk
In case when several Ethernet ports are supported it's convenient to see the number of phy that is not found. Acked-by: Vitaly Andrianov Signed-off-by: Ivan Khoronzhuk --- drivers/net/phy/phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/phy.c b/dr

[U-Boot] [U-boot] [Patch v2 2/5] net: keystone_net: use mdio_reset function

2014-10-17 Thread Ivan Khoronzhuk
Don't use mdio_enable twice while eth open. Also rename it to keystone2_mdio_reset as more appropriate name. Acked-by: Vitaly Andrianov Signed-off-by: Ivan Khoronzhuk --- drivers/net/keystone_net.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/dr

[U-Boot] [U-boot] [Patch v2 0/5] keystone_net: use MDIO bus and eth PHY frameworks

2014-10-17 Thread Ivan Khoronzhuk
- add ability for choosing to configure phy at init or not Ivan Khoronzhuk (5): net: phy: print a number of phy that is not found net: keystone_net: use mdio_reset function net: keystone_net: register MDIO bus net: keystone_net: register eth PHYs on MDIO bus net: keystone_net: use g

[U-Boot] [U-boot] [Patch v3 5/5] soc: keystone_serdes: generalize configuration mechanism

2014-10-17 Thread Ivan Khoronzhuk
-by: Ivan Khoronzhuk --- drivers/soc/keystone/keystone_serdes.c | 112 +++-- 1 file changed, 65 insertions(+), 47 deletions(-) diff --git a/drivers/soc/keystone/keystone_serdes.c b/drivers/soc/keystone/keystone_serdes.c index 84ed9ba..dd5eac9 100644 --- a/drivers/soc

[U-Boot] [U-boot] [Patch v3 4/5] soc: keystone_serdes: generalize to be used by other sub systems

2014-10-17 Thread Ivan Khoronzhuk
From: Hao Zhang SerDes driver is used by other sub systems like PCI, sRIO etc. So modify it to be more general. The SerDes driver provides common API's that can also be extended for other peripherals SerDes configurations. Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arc

[U-Boot] [U-boot] [Patch v3 0/5] keystone2: serdes: add seredes driver

2014-10-17 Thread Ivan Khoronzhuk
This patch series adds serdes driver, taking out it from keystone_net driver. v3..v1: - just rebase. Hao Zhang (2): soc: keystone_serdes: enhance to use cmu/comlane/lane specific configurations soc: keystone_serdes: generalize to be used by other sub systems Ivan Khoronzhuk (3

[U-Boot] [U-boot] [Patch v3 3/5] soc: keystone_serdes: enhance to use cmu/comlane/lane specific configurations

2014-10-17 Thread Ivan Khoronzhuk
From: Hao Zhang Enhance the driver to use cmu/comlane/lane specific configurations instead of 1 big array of configuration. Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/include/asm/arch-keystone/hardware-k2hk.h | 3 + arch/arm/include/asm/arch-keystone/hardware.h

[U-Boot] [U-boot] [Patch v3 2/5] soc: keystone_serdes: create a separate SGMII SerDes driver

2014-10-17 Thread Ivan Khoronzhuk
This patch split the Keystone II SGMII SerDes related code from Ethernet driver and create a separate SGMII SerDes driver. The SerDes driver can be used by others keystone subsystems like PCI, sRIO, so move it to driver/soc/keystone directory. Signed-off-by: Hao Zhang Signed-off-by: Ivan

[U-Boot] [U-boot] [Patch v3 1/5] soc: add soc specific drivers directory

2014-10-17 Thread Ivan Khoronzhuk
Add soc specific drivers directory like in the Linux kernel. It is going to be used by keysotone soc specific drivers. Signed-off-by: Ivan Khoronzhuk --- drivers/Makefile | 2 ++ drivers/soc/Makefile | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 drivers/soc/Makefile diff

[U-Boot] [U-boot] [Patch v2 2/4] ARM: keystone: msmc: extend functionality of SES

2014-10-16 Thread Ivan Khoronzhuk
From: Vitaly Andrianov Add functions to set/get SES PMAX values of Pivilege ID pair. Also add msmc module definitions. Acked-by: Murali Karicheri Signed-off-by: Hao Zhang Signed-off-by: Vitaly Andrianov Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/msmc.c| 26

[U-Boot] [U-boot] [Patch v2 4/4] ARM: keystone: cmd_ddr3: add ddr3 commands to test ddr

2014-10-16 Thread Ivan Khoronzhuk
-bit data\n from , and write (data ^ bit_err) back to \n Delete CONFIG_MAX_UBOOT_MEM_SIZE, as it was supposed to be used for ddr3 commands and for now it's not needed any more. Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/Makefile | 2 +-

[U-Boot] [U-boot] [Patch v2 0/4] keystone2: ecc: add ddr3 error detection and correction support

2014-10-16 Thread Ivan Khoronzhuk
anged just rebased Hao Zhang (1): ARM: keystone: cmd_ddr3: add ddr3 commands to test ddr Ivan Khoronzhuk (1): dma: ti-edma3: introduce edma3 driver Vitaly Andrianov (2): ARM: keystone: msmc: extend functionality of SES keystone2: ecc: add ddr3 error detection and correction support arch/arm

[U-Boot] [U-boot] [Patch v2 3/4] keystone2: ecc: add ddr3 error detection and correction support

2014-10-16 Thread Ivan Khoronzhuk
check the ECC error handling in kernel. Signed-off-by: Hao Zhang Signed-off-by: Vitaly Andrianov Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/ddr3.c | 244 + arch/arm/include/asm/arch-keystone/ddr3.h | 6 + arch/arm/include/asm/arch

[U-Boot] [U-boot] [Patch v2 1/4] dma: ti-edma3: introduce edma3 driver

2014-10-16 Thread Ivan Khoronzhuk
peripherals that are accessible via the EDMA3 controller Signed-off-by: Ivan Khoronzhuk --- arch/arm/include/asm/ti-common/ti-edma3.h | 121 ++ drivers/dma/Makefile | 1 + drivers/dma/ti-edma3.c| 384 ++ 3 files changed

[U-Boot] [U-boot] [Patch v5 2/6] keystone2: clock: add K2L clock definitions and commands

2014-10-15 Thread Ivan Khoronzhuk
From: Hao Zhang This patch adds clock definitions and commands to support Keystone II K2L SOC. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/Makefile | 1 + arch/arm/cpu/armv7/keystone/clock-k2l.c| 138

[U-Boot] [U-boot] [Patch v5 5/6] keystone2: enable OSR clock domain for K2L SoC

2014-10-15 Thread Ivan Khoronzhuk
From: Hao Zhang This patches enables the On-chip Shared Ram clock domain for K2L SoC. Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/init.c| 49 +++ arch/arm/include/asm/arch-keystone/hardware-k2l.h | 25

[U-Boot] [U-boot] [Patch v5 4/6] ARM: keystone2: spl: move board specific code

2014-10-15 Thread Ivan Khoronzhuk
From: Hao Zhang The initialization of PLLs is a part of board specific code, so move it appropriate places. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/Makefile | 1 - arch/arm/cpu/armv7/keystone/spl.c| 53

[U-Boot] [U-boot] [Patch v5 6/6] keystone2: k2l-evm: add board support

2014-10-15 Thread Ivan Khoronzhuk
From: Hao Zhang This patch adds Keystone II Lammar (K2L) EVM board support. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/Kconfig| 3 ++ arch/arm/include/asm/arch-keystone/clock-k2l.h | 6 +++ board/ti

[U-Boot] [U-boot] [Patch v5 3/6] keystone2: msmc: add MSMC cache coherency support for K2L SOC

2014-10-15 Thread Ivan Khoronzhuk
From: Hao Zhang This patch adds Keystone II Lamar (K2L) SoC specific definitions to support MSMC cache coherency. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/init.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a

[U-Boot] [U-boot] [Patch v5 0/6] keystone2: add k2l SoC and k2l_evm board support

2014-10-15 Thread Ivan Khoronzhuk
This patch series adds Keystone II Lamar (K2L) SoC and k2l_evm board support. Based on "[U-boot] [Patch v2] keystone: usb: add support of usb xhci" https://patchwork.ozlabs.org/patch/386506/ v5..v4 - ARM: keystone2: spl: move board specific code this patch replace "ARM: keystone2: spl: ad

[U-Boot] [U-boot] [Patch v5 1/6] ARM: keystone2: add K2L device hardware definitions

2014-10-15 Thread Ivan Khoronzhuk
From: Hao Zhang This patch adds hardware definitions specific to Keystone II Lamar (K2L) SoC. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/include/asm/arch-keystone/hardware-k2hk.h | 2 - arch/arm/include/asm/arch-keystone/hardware-k2l.h

[U-Boot] [U-boot] [Patch v4 6/6] keystone2: k2l-evm: add board support

2014-10-14 Thread Ivan Khoronzhuk
From: Hao Zhang This patch adds Keystone II Lammar (K2L) EVM board support. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/Kconfig| 3 ++ arch/arm/include/asm/arch-keystone/clock-k2l.h | 6 +++ board/ti

[U-Boot] [U-boot] [Patch v4 2/6] keystone2: clock: add K2L clock definitions and commands

2014-10-14 Thread Ivan Khoronzhuk
From: Hao Zhang This patch adds clock definitions and commands to support Keystone II K2L SOC. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/Makefile | 1 + arch/arm/cpu/armv7/keystone/clock-k2l.c| 138

[U-Boot] [U-boot] [Patch v4 4/6] ARM: keystone2: spl: add K2L SoC support

2014-10-14 Thread Ivan Khoronzhuk
From: Hao Zhang Add Keystone II Lamar (K2L) SoC support. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/spl.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/cpu/armv7/keystone/spl.c b/arch/arm/cpu

[U-Boot] [U-boot] [Patch v4 5/6] keystone2: enable OSR clock domain for K2L SoC

2014-10-14 Thread Ivan Khoronzhuk
From: Hao Zhang This patches enables the On-chip Shared Ram clock domain for K2L SoC. Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/init.c| 49 +++ arch/arm/include/asm/arch-keystone/hardware-k2l.h | 25

[U-Boot] [U-boot] [Patch v4 3/6] keystone2: msmc: add MSMC cache coherency support for K2L SOC

2014-10-14 Thread Ivan Khoronzhuk
From: Hao Zhang This patch adds Keystone II Lamar (K2L) SoC specific definitions to support MSMC cache coherency. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/init.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a

[U-Boot] [U-boot] [Patch v4 1/6] ARM: keystone2: add K2L device hardware definitions

2014-10-14 Thread Ivan Khoronzhuk
From: Hao Zhang This patch adds hardware definitions specific to Keystone II Lamar (K2L) SoC. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/include/asm/arch-keystone/hardware-k2hk.h | 2 - arch/arm/include/asm/arch-keystone/hardware-k2l.h

  1   2   3   >