[PATCH v2] board: lx2160a: Correct board fixup for PCIe nodes

2020-02-12 Thread Vikas Singh
Update "board_fix_fdt" with correct counter value "i". This will fix the issue while fetching the "reg_names" resource from fdt after fixup. Signed-off-by: Vikas Singh --- Notes: V2 Add correct subject and remove the '.' from it board/f

[PATCH] board: lx2160aqds: Add board fixup for PCIe nodes.

2020-02-09 Thread Vikas Singh
Update "board_fix_fdt" with correct counter value "i". This will fix the issue while fetching the "reg_names" resource from fdt after fixup. Signed-off-by: Vikas Singh --- board/freescale/lx2160a/lx2160a.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/

[PATCH v3] board: lx2160aqds: Add support of new serdes protocols.

2020-01-29 Thread Vikas Singh
Add 8_10_0, 21_2_0 and 10_12_3 seredes protocols. Add the IOSLOT and the mezzanine card mapping against each serdes protocol. Signed-off-by: Vikas Singh --- Notes: V3: - Correct the patch summary/description. - Correct the indentation. - Correct Signed-off-by. --- board/freescale/lx2160a

[PATCH v2] board: lx2160aqds: Add support of new serdes protocols.

2020-01-27 Thread Vikas Singh
Add 8_10_0, 21_2_0 and 10_12_3 seredes protocols. Add the IOSLOT and the mezzanine card mapping against each serdes protocol. Signed-off-by: Vikas Singh --- Notes: V2: - Correct patch summary/description. - Correct indentation. board/freescale/lx2160a/eth_lx2160aqds.c | 82

[PATCH] board: lx2160aqds: Add support of new serdes protocols.

2020-01-26 Thread Vikas Singh
Add 8_10_0, 21_2_0 and 10_12_3 seredes protocols. Add the IOSLOT and the mezzanine card mapping against each serdes protocol. Signed-off-by: Vikas Singh --- board/freescale/lx2160a/eth_lx2160aqds.c | 84 +++- 1 file changed, 83 insertions(+), 1 deletion(-) diff

[PATCH] lx2160a: Add the serdes configurtion details for QDS

2020-01-23 Thread Vikas Singh
Add 8_10_0 and 21_2_0 seredes protocol for QDS Add 10_12_3 seredes protocol for QDS Add the IOSLOT and the mezzanine card mapping against each serdes protocol. Signed-off-by: Vikas Singh --- board/freescale/lx2160a/eth_lx2160aqds.c | 84 +++- 1 file changed, 83

[PATCH] lx2160a: Add the serdes configurtion details for QDS

2020-01-23 Thread Vikas Singh
Add 8_10_0 and 21_2_0 seredes protocol for QDS Add 10_12_3 seredes protocol for QDS Add the IOSLOT and the mezzanine card mapping against each serdes protocol. Signed-off-by: Vikas Singh --- board/freescale/lx2160a/eth_lx2160aqds.c | 84 +++- 1 file changed, 83

Re: [U-Boot] [PATCH] board_f: fix noncached reservation calculation

2019-08-28 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Wednesday, August 28, 2019 12:31 PM > To: Vikas MANOCHA > Cc: Stephen Warren ; twar...@wwwdotorg.org; > u-boot@lists.denx.de; Stephen Warren > Subject: Re: [PATCH] board_f: fix noncached reservation calculatio

Re: [U-Boot] [PATCH] board_f: fix noncached reservation calculation

2019-08-28 Thread Vikas MANOCHA
Hi, > -Original Message- > From: Stephen Warren > Sent: Tuesday, August 27, 2019 7:50 PM > To: Vikas MANOCHA ; Tom Rini > > Cc: twar...@wwwdotorg.org; u-boot@lists.denx.de; Stephen Warren > > Subject: Re: [PATCH] board_f: fix noncached reservation calculation

Re: [U-Boot] [PATCH] board_f: fix noncached reservation calculation

2019-08-27 Thread Vikas MANOCHA
Hi Stephen, > -Original Message- > From: Stephen Warren > Sent: Tuesday, August 27, 2019 3:50 PM > To: Vikas MANOCHA ; Tom Rini > > Cc: twar...@wwwdotorg.org; u-boot@lists.denx.de; Stephen Warren > > Subject: Re: [PATCH] board_f: fix noncached reservation calcu

Re: [U-Boot] [PATCH] board_f: fix noncached reservation calculation

2019-08-27 Thread Vikas MANOCHA
Hi Stephen, > -Original Message- > From: Stephen Warren > Sent: Tuesday, August 27, 2019 10:55 AM > To: Tom Rini > Cc: twar...@wwwdotorg.org; u-boot@lists.denx.de; Stephen Warren > ; Vikas MANOCHA > Subject: [PATCH] board_f: fix noncached reservation calculati

[U-Boot] [PATCH v2] board_f: reserve noncached space below malloc area

2019-08-16 Thread Vikas Manocha
Noncached area at present is being initialized to random space after malloc area. It works in most the cases as it goes to stack area & stack is not overwriting it being far from it. Signed-off-by: Vikas Manocha --- Changes in v2: added blank line before return common/board_f.c

Re: [U-Boot] [PATCH] board_f: reserve noncached space below malloc area

2019-08-09 Thread Vikas MANOCHA
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Friday, August 9, 2019 10:00 AM > To: Vikas MANOCHA > Cc: U-Boot Mailing List ; Bin Meng > ; CITOOLS revi...@lists.codex.cro.st.com>; Mario Six ; Patrick > DELAUNAY > Subject: Re: [PATCH] board_f: re

[U-Boot] [PATCH] board_f: reserve noncached space below malloc area

2019-08-08 Thread Vikas Manocha
Noncached area at present is being initialized to random space after malloc area. It works in most the cases as it goes to stack area & stack is not overwriting it being far from it. Signed-off-by: Vikas Manocha --- common/board_f.c | 13 + 1 file changed, 13 insertions(+)

[U-Boot] [PATCH] arm: armv7m: clean up armv7m unified code compilation

2018-08-31 Thread Vikas Manocha
unified syntax should be selected by config ARM_ASM_UNIFIED Signed-off-by: Vikas Manocha --- arch/arm/include/asm/armv7m.h | 5 - arch/arm/lib/crt0.S | 4 +--- arch/arm/lib/relocate.S | 1 + arch/arm/lib/vectors_m.S | 2 +- 4 files changed, 3 insertions(+), 9 deletions

[U-Boot] [PATCH] arm: armv7m: remove un-necessary If then instruction

2018-08-31 Thread Vikas Manocha
With gas option -mimplicit-it=always, IT block is inserted by the assembler for thumb2. Signed-off-by: Vikas Manocha --- arch/arm/lib/crt0.S | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S index 0decce2..d7ff9f0 100644 --- a/arch/arm/lib/crt0.S

[U-Boot] [PATCH] arm: stm32: Remove redundant thumb build selection

2018-08-31 Thread Vikas Manocha
All armv7m arch builds are thumb & SYS_THUMB_BUILD is already selected by CPU_ARMV7M. Signed-off-by: Vikas Manocha --- arch/arm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 8a23c76..b711605 100644 --- a/arch/arm/Kconfig +++ b/arch

Re: [U-Boot] [PATCH] stm32f7: board: Fix memory init

2018-08-02 Thread Vikas Manocha
e fdtdec_setup_memory_banksize() to setup memory bank base and size. > > Reported-by: Mark Olsson > Signed-off-by: Patrice Chotard > Cc: Mark Olsson Reviewed-by: Vikas Manocha one minor comment below. > --- > > board/st/stm32f746-disco/stm32f746-disco.c | 31 >

Re: [U-Boot] [PATCH 1/6] stm32mp1: clk: define RCC_PLLNCFGR2_SHIFT macro

2018-07-16 Thread Vikas Manocha
Hi, On 07/16/2018 01:41 AM, Patrick Delaunay wrote: > This patch define RCC_PLLNCFGR2_SHIFT to reuse it in > the pll function for set rate. > > Signed-off-by: Patrick Delaunay Reviewed-by: Vikas Manocha Cheers, Vikas > --- > > drivers/clk/clk_stm32mp1.c | 15

Re: [U-Boot] [PATCH] serial: Remove duplicated line in Makefile

2018-04-16 Thread Vikas Manocha
Hi, On 04/16/2018 01:35 AM, Patrice Chotard wrote: > The line "-obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o" > is found twice in Makefile. > > Fixes: ae74de0dfd45 ("serial: stm32: Rename serial_stm32x7.c to > serial_stm32.c" > > Signed-off-by:

Re: [U-Boot] [PATCH v2 00/10] splash screen on the stm32f769 disco board

2018-03-12 Thread Vikas Manocha
Thanks Patrice, On 03/12/2018 10:09 AM, Patrice CHOTARD wrote: > Hi Vikas > > On 03/06/2018 08:44 PM, Vikas Manocha wrote: >> Hi Patrice/Yannick, >> >> On 03/05/2018 11:50 PM, Patrice CHOTARD wrote: >>>> There seems to be a dependency on patch for >

Re: [U-Boot] [PATCH v2 00/10] splash screen on the stm32f769 disco board

2018-03-06 Thread Vikas Manocha
working, i see one error log: Board 1: stm32_ltdc_probe: decode display timing error -4 & Board 2: stm32_ltdc_probe: decode display timing error -668998023 Cheers, Vikas > > Patrice > ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 00/16] arm: stm32mp1: add initial support for STM32MP157

2018-03-05 Thread Vikas Manocha
support for board evaluation board STM32MP157C-ED1 I see patches for ram driver, armv7 generic, stm32f7 etc. in this patchset. Please split the stuff other than STM32MP1 support in separate patch/patchset. Cheers, Vikas > > > Patrick Delaunay (16): > tools/mkimage: add support for S

Re: [U-Boot] [PATCH] mach-stm32: Use default memory map as background region

2018-03-01 Thread Vikas Manocha
good idea to configure MPU here instead of depending on default config, here code is making the picture clear. Cheers, Vikas > > On Cortex M processors, MPU allows to use a default memory map. > (see B3.5.4 MPU Control Register, MPU_CTRL in > https://developer.arm.com/products/arc

Re: [U-Boot] [PATCH] ARM: dts: Add support for stm32f746-evaluation board support

2018-02-20 Thread Vikas MANOCHA
Hi, <-Original Message- ; u-boot@lists.denx.de; albert.u.b...@aribaud.net; s...@chromium.org ; Christophe KERELLO ; Christophe PRIOUZEAU < Hi, <> <> <-Original Message- <> s...@chromium.org; Vikas MANOCHA <> ; Patrick DELAUNAY <>

Re: [U-Boot] [PATCH] ARM: dts: Add support for stm32f746-evaluation board support

2018-02-16 Thread Vikas MANOCHA
Hi, <-Original Message- ; Patrick DELAUNAY ; Christophe KERELLO <; Christophe PRIOUZEAU < http://www.st.com/en/evaluation-tools/stm32746g-eval.html < Acked-by: Vikas Manocha Cheers, Vikas <--- < arch/arm/dts/Makefile | 3 +- < arch/arm/dts/stm

Re: [U-Boot] [PATCH v2 0/5] STM32: Clean unused and factorize .h files in arch-stm32

2018-02-12 Thread Vikas Manocha
Great ! On 02/09/2018 04:09 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard For the series, Reviewed-by: Vikas Manocha Cheers, Vikas > > Removes unused .h files in arch/arm/include/asm/arch-stm32xx > Factorize and clean some .h files to avoid to duplicate defines in

Re: [U-Boot] [PATCH 2/5] arch-stm32: Move gpio.h for STM32 SoCs in include/asm/

2018-02-08 Thread Vikas Manocha
Hi Patrice, On 02/08/2018 05:35 AM, Patrice CHOTARD wrote: > Hi Vikas > > On 02/07/2018 08:28 PM, Vikas Manocha wrote: >> Hi Patrice, >> >> On 02/07/2018 07:50 AM, patrice.chot...@st.com wrote: >>> From: Patrice Chotard >>> >>> Instead to h

Re: [U-Boot] [PATCH 3/5] arch-stm32: Factorize stm32.h for STM32F4 and F7

2018-02-07 Thread Vikas Manocha
[0 ... 3] = 32 * 1024, > @@ -55,8 +16,4 @@ static const u32 sect_sz_kb[CONFIG_SYS_MAX_FLASH_SECT] = { > [5 ... 7] = 256 * 1024 > }; > > -#define STM32_BUS_MASK GENMASK(31, 16) > - > -void stm32_flash_latency_cfg(int latency); > - &

Re: [U-Boot] [PATCH 2/5] arch-stm32: Move gpio.h for STM32 SoCs in include/asm/

2018-02-07 Thread Vikas Manocha
/ 16; > -} > - > -static inline unsigned stm32_gpio_to_pin(unsigned gpio) > -{ > - return gpio % 16; > -} > +#include Hmm.. this header seems like dummy header(in all architectures f4/f7/h7) only to include gpio header here. Also arch/arm/include/asm/ does not seems like

Re: [U-Boot] [PATCH v2 1/3] mach-stm32: Add set_env_soc_name support

2018-02-06 Thread Vikas Manocha
On 02/06/2018 12:52 AM, Patrick DELAUNAY wrote: > Hi Patrice, > >> From: Patrice CHOTARD >> >> Sure, i will send a v3 >> >> Thanks >> >> Patrice >> > > You can also activate CONFIG_ENV_VARS_UBOOT_CONFIG Great ! Thanks Patrick. Che

Re: [U-Boot] [PATCH] configs: stm32: Enable CONFIG_ENV_VARS_UBOOT_CONFIG

2018-02-06 Thread Vikas Manocha
gt; Signed-off-by: Patrice Chotard Reviewed-by: Vikas Manocha Cheers, Vikas > --- > include/configs/stm32f429-discovery.h | 1 + > include/configs/stm32f429-evaluation.h | 1 + > include/configs/stm32f469-discovery.h | 1 + > include/configs/stm32f746-disco.h |

Re: [U-Boot] [PATCH v2 1/3] mach-stm32: Add set_env_soc_name support

2018-02-05 Thread Vikas Manocha
by: Patrice Chotard For the series, Reviewed-by: Vikas Manocha One point below, [...] > + > #endif /* _ASM_ARCH_HARDWARE_H */ > diff --git a/arch/arm/mach-stm32/soc.c b/arch/arm/mach-stm32/soc.c > index df20d547c500..06ca61b270cf 100644 > --- a/arch/arm/mach-stm32/soc.c > +++ b/a

Re: [U-Boot] [PATCH 0/8] Add get_cpu_id for STM32 SoCs

2018-02-02 Thread Vikas Manocha
Hi Patrice, On 02/02/2018 12:22 AM, Patrice CHOTARD wrote: > +Christophe Priouzeau who is the requester/developper of this feature > > > On 01/31/2018 07:22 PM, Vikas Manocha wrote: >> Hi Patrice, >> >> On 01/31/2018 08:08 AM, patrice.chot...@st.com wr

Re: [U-Boot] [PATCH 6/8] board: stm32f469-discovery: Add set_env_soc_name() in board_late_init()

2018-01-31 Thread Vikas Manocha
ne more patch. Can we club these board patches in one. Cheers, Vikas > index 8da70281f976..0ad03ce96d33 100644 > --- a/board/st/stm32f746-disco/stm32f746-disco.c > +++ b/board/st/stm32f746-disco/stm32f746-disco.c > @@ -115,6 +115,8 @@ int board_late_init(void) > struct gpi

Re: [U-Boot] [PATCH 0/8] Add get_cpu_id for STM32 SoCs

2018-01-31 Thread Vikas Manocha
e development environment to retrieve files > correspondig to SoC family. can you provide some example ? We have the device tree compatible string to distinguish board & soc. Cheers, Vikas > > Patrice Chotard (8): > mach-stm32: Add get_cpu_id support > mach-stm32: Move BOARD

Re: [U-Boot] [PATCH 1/8] mach-stm32: Add get_cpu_id support

2018-01-31 Thread Vikas Manocha
t;stm32f7" }, > + { 0x450, "stm32h7" }, > + { 0x452, "stm32f7" }, > + { 0 }, > +}; > + > int arch_cpu_init(void) > { > int i; > @@ -54,3 +78,25 @@ int arch_cpu_init(void) > > return 0; > } > + > +int get_cpu_id(void) &

Re: [U-Boot] [PATCH 2/3] clk: clk_stm32f: Remove STMMAC clock setup

2018-01-17 Thread Vikas Manocha
Hi, On 01/17/2018 12:46 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Thanks to 'commit ba1f96672522 ("net: designware: add clock support")' > we don't need anymore to setup the STMMAC clock in board. > > Signed-off-by: Patrice Ch

Re: [U-Boot] [PATCH 3/3] clk: clk_stm32f: Move SYSCFG clock setup into configure_clocks()

2018-01-17 Thread Vikas Manocha
FG, > }; > > @@ -227,6 +225,9 @@ static int configure_clocks(struct udevice *dev) > /* gate the SAI clock, needed for MMC 1&2 clocks */ > setbits_le32(®s->apb2enr, RCC_APB2ENR_SAI1EN); > > + /* gate the SYSCFG clock, needed to set RMII ethernet inter

Re: [U-Boot] [PATCH 1/3] ARM: dts: stm32: Add STMMAC clocks for stm32f746

2018-01-17 Thread Vikas Manocha
Hi, On 01/17/2018 12:46 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Add ETHMAC, ETHMACRX and ETHMACTX clocks for STMMAC. > > Signed-off-by: Patrice Chotard Reviewed-by: Vikas Manocha Cheers, Vikas > --- > arch/arm/dts/stm32f746.dtsi | 3 +++

Re: [U-Boot] [PATCH 2/2] configs: stm32: move config flag from defconfig to Kconfig

2018-01-12 Thread Vikas Manocha
Hi, On 01/12/2018 12:23 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Move system flags from defconfig to mach-stm32/Kconfig > > Signed-off-by: Patrice Chotard Reviewed-by: Vikas Manocha One comment below > --- > arch/arm/mach-stm32/K

Re: [U-Boot] [PATCH 1/2] serial: stm32: Rename serial_stm32x7.c to serial_stm32.c

2018-01-12 Thread Vikas Manocha
Hi, On 01/12/2018 12:23 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Now this driver is used across stm32f4, stm32f7 and stm32h7 > SoCs family, give it a generic name. > > Signed-off-by: Patrice Chotard Reviewed-by: Vikas Manocha Cheers, Vikas > --- &

Re: [U-Boot] [PATCH] mach-stm32: Factorize MPU's region config for STM32 SoCs

2017-11-16 Thread Vikas Manocha
e device area > located at 0xA000 . > > For STM32F4, configure_clocks() need to be moved from arch_cpu_init() > to board_early_init_f(). > > Signed-off-by: Patrice Chotard Reviewed-by: Vikas Manocha Cheers, Vikas > --- > arch/arm/mach-stm32/Makefile

Re: [U-Boot] [PATCH 00/11] Extend clk_stm32f7 driver

2017-11-15 Thread Vikas Manocha
LGTM. Cheers, Vikas On 11/15/2017 04:14 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > It's the second step to prepare STM32F4 conversion to driver model and > device tree support. STM32F4 and STM32F7 RCC IPs are similar, differences > between these 2 SoCs

Re: [U-Boot] [PATCH] mach-stm32: Fix mpu region's attribute for STM32H7

2017-11-14 Thread Vikas MANOCHA
Hi Patrice, Cheers, Vikas > -Original Message- > From: Patrice CHOTARD > Sent: Tuesday, November 14, 2017 12:41 AM > To: Vikas MANOCHA ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; s...@chromium.org > Cc: Patrick DELAUNAY ; Christophe KERELLO > > Subject

Re: [U-Boot] [PATCH] mach-stm32: Fix mpu region's attribute for STM32H7

2017-11-13 Thread Vikas MANOCHA
Hi Patrice, > -Original Message- > From: Patrice CHOTARD > Sent: Monday, November 13, 2017 8:26 AM > To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; s...@chromium.org; Vikas > MANOCHA > Cc: Patrice CHOTARD ; Patrick DELAUNAY > ; Christophe KERELLO > >

Re: [U-Boot] [PATCH 2/2] dm: clk: fix PWR_CR3 register's bit 2 name

2017-10-09 Thread Vikas MANOCHA
Hi, > -Original Message- > From: Patrice CHOTARD > Sent: Monday, October 09, 2017 2:41 AM > To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; s...@chromium.org; Vikas > MANOCHA > Cc: Patrice CHOTARD ; Patrick DELAUNAY > ; Christophe KERELLO > > Subjec

Re: [U-Boot] [PATCH 1/2] dm: clk: remove CLK() macro for clk_stm32h7

2017-10-09 Thread Vikas MANOCHA
Hi, > -Original Message- > From: Patrice CHOTARD > Sent: Monday, October 09, 2017 2:41 AM > To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; s...@chromium.org; Vikas > MANOCHA > Cc: Patrice CHOTARD ; Patrick DELAUNAY > ; Christophe KERELLO > > Subject:

Re: [U-Boot] [PATCH] ARM: stm32f7: fix prescaler calculation of timer

2017-10-03 Thread Vikas MANOCHA
> -Original Message- > From: Bo Shen [mailto:voice.s...@gmail.com] > Sent: Monday, October 02, 2017 10:48 PM > To: albert.u.b...@aribaud.net; Vikas MANOCHA > Cc: u-boot@lists.denx.de; Bo Shen > Subject: [PATCH] ARM: stm32f7: fix prescaler calculation of timer > &

Re: [U-Boot] [PATCH v1 0/6] Update stm32x7 serial driver

2017-09-29 Thread Vikas MANOCHA
Hi, > -Original Message- > From: Patrice CHOTARD > Sent: Wednesday, September 27, 2017 6:45 AM > To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; s...@chromium.org; Vikas > MANOCHA > Cc: Patrice CHOTARD ; Patrick DELAUNAY > ; Christophe KERELLO > > Sub

Re: [U-Boot] [PATCH v2 3/9] dm: clk: add clk driver support for stm32h7 SoCs

2017-09-26 Thread Vikas MANOCHA
Thanks Patrice, > -Original Message- > From: Patrice CHOTARD > Sent: Tuesday, September 26, 2017 5:27 AM > To: Vikas MANOCHA ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; s...@chromium.org > Cc: Patrick DELAUNAY ; Christophe KERELLO > > Subject: Re: [PA

Re: [U-Boot] [PATCH v2 3/9] dm: clk: add clk driver support for stm32h7 SoCs

2017-09-19 Thread Vikas Manocha
IDER; > + sysclk = sysclk / prescaler_table[idx]; > + } > + > + gate_offset = clk_map[clk->id].gate_offset; > + > + debug("%s clk->id=%ld gate_offset=0x%x sysclk=%ld\n", > + __func__, clk->id, gate_offset, sysclk); &

Re: [U-Boot] [PATCH v2 2/9] serial: stm32x7: add STM32H7 support

2017-09-18 Thread Vikas Manocha
int stm32_serial_probe(struct udevice *dev) > static const struct udevice_id stm32_serial_id[] = { > {.compatible = "st,stm32f7-usart"}, > {.compatible = "st,stm32f7-uart"}, > + {.compatible = "st,stm32h7-usart"}, > + {.compatible

Re: [U-Boot] [PATCH v2 1/9] pinctrl: stm32: add stm32h743-pinctrl compatible

2017-09-18 Thread Vikas Manocha
On 09/13/2017 09:00 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > STM32H7 SoCs uses the same pinctrl block as found into > STM32F7 SoCs > > Signed-off-by: Patrice Chotard > --- > drivers/pinctrl/pinctrl_stm32.c | 1 + > 1 file changed, 1 insertio

Re: [U-Boot] [PATCH] spl: fix usage of $(SPL_TPL_) for some files

2017-08-21 Thread Vikas MANOCHA
Hi, > -Original Message- > From: Dr. Philipp Tomsich [mailto:philipp.toms...@theobroma-systems.com] > Sent: Monday, August 21, 2017 3:17 AM > To: Vikas MANOCHA > Cc: U-Boot Mailing List ; Alexandru Gagniuc > ; Kever Yang ; > Simon Glass ; Stefan Agner > Subje

[U-Boot] [PATCH] spl: stm32: make falcon mode activation configurable

2017-08-20 Thread Vikas Manocha
With this change, it will be possible to de-select falcon mode & spl will only boot U-Boot. Signed-off-by: Vikas Manocha Suggested-by: Bo Shen --- arch/arm/mach-stm32/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-s

[U-Boot] [PATCH] spl: fix usage of $(SPL_TPL_) for some files

2017-08-20 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- common/spl/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/spl/Makefile b/common/spl/Makefile index 112b3e6..fde0d09 100644 --- a/common/spl/Makefile +++ b/common/spl/Makefile @@ -12,9 +12,9 @@ ifdef CONFIG_SPL_BUILD obj

Re: [U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-08-18 Thread Vikas MANOCHA
Hi, > On Aug 18, 2017, at 6:31 PM, Robert Nelson wrote: > >> On Fri, Aug 18, 2017 at 4:28 PM, Vikas MANOCHA wrote: >> Hi Bo, >> >>> -Original Message- >>> From: Bo Shen [mailto:voice.s...@gmail.com] >>> Sent: Thursday, August 17,

Re: [U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-08-18 Thread Vikas MANOCHA
Hi Bo, > -Original Message- > From: Bo Shen [mailto:voice.s...@gmail.com] > Sent: Thursday, August 17, 2017 10:07 PM > To: Robert Nelson ; Vikas MANOCHA > > Cc: U-Boot-Denx ; Christophe PRIOUZEAU > ; Alexandre TORGUE > > Subject: Re: [U-Boot] [PATCH v2 3

Re: [U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-08-10 Thread Vikas Manocha
One other point, On 08/10/2017 11:07 AM, Vikas Manocha wrote: > Hi Robert, > > On 08/10/2017 11:03 AM, Robert Nelson wrote: >> Hi Vikas, >> >> On Sun, May 28, 2017 at 2:55 PM, Vikas Manocha wrote: >>> This commit supports booting from stm32 internal nor f

Re: [U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-08-10 Thread Vikas Manocha
Hi Robert, On 08/10/2017 11:03 AM, Robert Nelson wrote: > Hi Vikas, > > On Sun, May 28, 2017 at 2:55 PM, Vikas Manocha wrote: >> This commit supports booting from stm32 internal nor flash. spl U-Boot >> initializes the sdram memory, copies next image (e.g. standard U-Boo

Re: [U-Boot] [PATCH 09/15] ARM: DTS: stm32: add gpio compatible and aliases for stm32h743

2017-08-08 Thread Vikas MANOCHA
Hi Patrice, > -Original Message- > From: Patrice CHOTARD > Sent: Friday, August 04, 2017 6:19 AM > To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; s...@chromium.org; Vikas > MANOCHA > Cc: Patrice CHOTARD ; Patrick DELAUNAY > ; Christophe KERELLO > >

Re: [U-Boot] [PATCH 08/15] ARM: DTS: stm32: update usart compatible string for stm32h743

2017-08-08 Thread Vikas MANOCHA
Hi Patrice, > -Original Message- > From: Patrice CHOTARD > Sent: Friday, August 04, 2017 6:19 AM > To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; s...@chromium.org; Vikas > MANOCHA > Cc: Patrice CHOTARD ; Patrick DELAUNAY > ; Christophe KERELLO > >

Re: [U-Boot] [PATCH 1/1] armv7m: mpu_config add missing break

2017-07-31 Thread Vikas Manocha
Hi, On 07/30/2017 11:34 AM, Heinrich Schuchardt wrote: > For DEVICE_NON_SHARED the newly assigned value of attr > is overwritten due to a missing break. > > The problem was indicated by cppcheck. > > Signed-off-by: Heinrich Schuchardt reviewed-by : Vikas Manocha Cheers, Vi

Re: [U-Boot] [PATCH v2 1/1] stmf32f4: soc: fix buildman compilation error

2017-07-28 Thread Vikas MANOCHA
Hi, > -Original Message- > From: Patrice CHOTARD > Sent: Friday, July 28, 2017 2:54 AM > To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; s...@chromium.org; Vikas > MANOCHA > Cc: Patrice CHOTARD ; Patrick DELAUNAY > ; Christophe KERELLO > > Subject: [

Re: [U-Boot] STM32F746 Discovery - No serial output?

2017-07-26 Thread Vikas MANOCHA
pins2 { pinmux = ; bias-disable; }; }; Cheers, Vikas >It is unlikely to be a > hardware issue as output is coming out normally this way when using the > U-Boot repository from Emcraft. > > I do not know w

Re: [U-Boot] [PATCH 1/1] serial: stm32x7: Convert CONFIG_STM32X7_SERIAL to Kconfig

2017-07-26 Thread Vikas Manocha
LGTM, On 07/26/2017 06:48 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Add CONFIG_STM32X7_SERIAL as a Kconfig option. > > Signed-off-by: Patrice Chotard Reviewed-by: Vikas Manocha Cheers, Vikas > --- > configs/stm32f746-disco_defconfig | 1 + >

Re: [U-Boot] [PATCH] stm32: Correct positioning of declaration

2017-07-10 Thread Vikas MANOCHA
Thanks Simon, > -Original Message- > From: Simon Glass [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Saturday, July 01, 2017 10:06 AM > To: U-Boot Mailing List > Cc: Simon Glass ; Albert Aribaud > ; Toshifumi NISHINAGA > ; Vikas MANOCHA > Subject

Re: [U-Boot] [U-Boot,v2,3/7] stm32: stm32f7: add spl build support

2017-06-12 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Saturday, June 10, 2017 6:46 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de; Christophe KERELLO ; > Alexandre TORGUE ; > Christophe PRIOUZEAU > Subject: Re: [U-Boot,v2,3/7]

Re: [U-Boot] [PATCH 1/2] arm: Add Kconfig symbols used for Linux asm compatibility

2017-06-08 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Thursday, June 08, 2017 5:12 PM > To: Vikas MANOCHA > Cc: Phil Edworthy ; Albert Aribaud > ; Kamil Lulko > ; u-boot@lists.denx.de > Subject: Re: [PATCH 1/2] arm: Add Kconfig sy

Re: [U-Boot] [PATCH 1/2] arm: Add Kconfig symbols used for Linux asm compatibility

2017-06-08 Thread Vikas MANOCHA
Hi Albert/Tom, > -Original Message- > From: Phil Edworthy [mailto:phil.edwor...@renesas.com] > Sent: Wednesday, May 31, 2017 11:33 PM > To: Albert Aribaud > Cc: Tom Rini ; Vikas MANOCHA ; > Kamil Lulko ; u- > b...@lists.denx.de; Phil Edworthy > Subject: [PAT

Re: [U-Boot] [PATCH v2 0/7] spl: add xip booting support

2017-06-08 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Vikas MANOCHA > Sent: Sunday, May 28, 2017 12:55 PM > To: u-boot@lists.denx.de > Cc: Vikas MANOCHA ; Patrick DELAUNAY > ; Patrice CHOTARD > ; Christophe KERELLO ; > Christophe PRIOUZEAU > ; Alexandre TORGUE > Subjec

Re: [U-Boot] [PATCH v2] armv7m: Fix larger builds

2017-05-31 Thread Vikas MANOCHA
> On May 31, 2017, at 12:27 AM, Phil Edworthy wrote: > > The branch instruction only has an 11-bit relative target address, which > is sometimes not enough. > > Signed-off-by: Phil Edworthy Reviewed-by: Vikas Manocha Cheers, Vikas > --- > v2: > - Use W(b) ins

[U-Boot] [PATCH v2 5/7] serial: stm32f7: disable overrun

2017-05-28 Thread Vikas Manocha
With overrun enabled, serial port console freezes & stops receiving data with overun error if we keep sending data. Signed-off-by: Vikas Manocha --- Changed in v2: None drivers/serial/serial_stm32x7.c | 3 +++ drivers/serial/serial_stm32x7.h | 2 ++ 2 files changed, 5 insertions(+)

[U-Boot] [PATCH v2 7/7] spl: stm32f7: configure for xip booting

2017-05-28 Thread Vikas Manocha
S_BOOT option disabled. By default, spl is configured to boot linux xipImage. Signed-off-by: Vikas Manocha --- Changed in v2: None arch/arm/mach-stm32/stm32f7/Kconfig| 1 + board/st/stm32f746-disco/stm32f746-disco.c | 2 +- include/configs/stm32f746-disco.h | 12 +--- 3

[U-Boot] [PATCH v2 6/7] spl: stm32f7: add kernel boot support

2017-05-28 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- Changed in v2: None arch/arm/mach-stm32/stm32f7/Kconfig| 1 + board/st/stm32f746-disco/stm32f746-disco.c | 9 + include/configs/stm32f746-disco.h | 7 +++ 3 files changed, 17 insertions(+) diff --git a/arch/arm/mach-stm32/stm32f7

[U-Boot] [PATCH v2 4/7] SPL: Add XIP booting support

2017-05-28 Thread Vikas Manocha
Enable support for XIP (execute in place) of U-Boot or kernel image. There is no need to copy image from flash to ram if flash supports execute in place. Signed-off-by: Vikas Manocha --- Changed in v2: - removed v7m thumb mode for entry point, added separate patch. - removed extra blank line

[U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-05-28 Thread Vikas Manocha
800_ - standard U-Boot : 0x0800_8000 To compile u-boot without spl: Remove SUPPORT_SPL configuration (arch/arm/mach-stm32/Kconfig) Signed-off-by: Vikas Manocha --- Changed in v2: None arch/arm/mach-stm32/Kconfig| 1 + arch/arm/mach-stm32/stm32f7/Kconfig

[U-Boot] [PATCH v2 1/7] spl: armv7m: to keep ARM v7M in thumb mode before booting next image

2017-05-28 Thread Vikas Manocha
for any image like raw or image with header like zImage or standard U-Boot. Signed-off-by: Vikas Manocha --- Changed in v2: Added this patch in v2 common/spl/spl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/spl/spl.c b/common/spl/spl.c index df984b8..1bdae3e

[U-Boot] [PATCH v2 2/7] stm32f7: remove duplicate configs

2017-05-28 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- Changed in v2: None configs/stm32f746-disco_defconfig | 4 1 file changed, 4 deletions(-) diff --git a/configs/stm32f746-disco_defconfig b/configs/stm32f746-disco_defconfig index 4322aad..a334d50 100644 --- a/configs/stm32f746-disco_defconfig +++ b

[U-Boot] [PATCH v2 0/7] spl: add xip booting support

2017-05-28 Thread Vikas Manocha
This patchset adds support for XIP (execute in place) of U-Boot or kernel image and enables it for stm32f7. Changed in v2: - added patch to move v7m thumb mode just before next image boot - removed extra blank line. Vikas Manocha (7): spl: armv7m: to keep ARM v7M in thumb mode before booting

Re: [U-Boot] [PATCH] armv7m: Fix larger builds

2017-05-26 Thread Vikas MANOCHA
Hi Phil, > -Original Message- > From: Phil Edworthy [mailto:phil.edwor...@renesas.com] > Sent: Friday, May 26, 2017 1:27 AM > To: Vikas MANOCHA > Cc: Tom Rini ; Kamil Lulko ; > u-boot@lists.denx.de; Albert Aribaud > > Subject: RE: [PATCH] armv7m: Fix lar

Re: [U-Boot] [PATCH] armv7m: Fix larger builds

2017-05-25 Thread Vikas MANOCHA
Hi Phil, > -Original Message- > From: Phil Edworthy [mailto:phil.edwor...@renesas.com] > Sent: Thursday, May 25, 2017 6:58 AM > To: Vikas MANOCHA ; Albert Aribaud > > Cc: Tom Rini ; Kamil Lulko ; > u-boot@lists.denx.de > Subject: RE: [PATCH] armv7m: Fix lar

Re: [U-Boot] [PATCH] armv7m: Fix larger builds

2017-05-24 Thread Vikas MANOCHA
Hi Phil, > -Original Message- > From: Phil Edworthy [mailto:phil.edwor...@renesas.com] > Sent: Wednesday, May 24, 2017 7:34 AM > To: Albert Aribaud > Cc: Tom Rini ; Vikas MANOCHA ; > Kamil Lulko ; u- > b...@lists.denx.de; Phil Edworthy > Subject: [PATCH] a

Re: [U-Boot] [PATCH 3/6] SPL: Add XIP booting support

2017-05-22 Thread Vikas MANOCHA
Hi Alex, > -Original Message- > From: Alexandru Gagniuc [mailto:ale...@adaptrum.com] > Sent: Monday, May 22, 2017 10:37 AM > To: Vikas MANOCHA ; u-boot@lists.denx.de > Cc: Patrick DELAUNAY ; Patrice CHOTARD > ; Christophe KERELLO > ; Christophe PRIOUZEAU > ; Ale

Re: [U-Boot] [PATCH 3/6] SPL: Add XIP booting support

2017-05-22 Thread Vikas MANOCHA
Hi Alex, > -Original Message- > From: Alexandru Gagniuc [mailto:ale...@adaptrum.com] > Sent: Thursday, May 18, 2017 12:51 PM > To: Vikas MANOCHA ; u-boot@lists.denx.de > Cc: Patrick DELAUNAY ; Patrice CHOTARD > ; Christophe KERELLO > ; Christophe PRIOUZEAU

[U-Boot] [PATCH 4/6] serial: stm32f7: disable overrun

2017-05-18 Thread Vikas Manocha
With overrun enabled, serial port console freezes & stops receiving data with overun error if we keep sending data. Signed-off-by: Vikas Manocha --- drivers/serial/serial_stm32x7.c | 3 +++ drivers/serial/serial_stm32x7.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/drivers/se

[U-Boot] [PATCH 5/6] spl: stm32f7: add kernel boot support

2017-05-18 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- arch/arm/mach-stm32/stm32f7/Kconfig| 1 + board/st/stm32f746-disco/stm32f746-disco.c | 8 include/configs/stm32f746-disco.h | 7 +++ 3 files changed, 16 insertions(+) diff --git a/arch/arm/mach-stm32/stm32f7/Kconfig b/arch/arm/mach

[U-Boot] [PATCH 3/6] SPL: Add XIP booting support

2017-05-18 Thread Vikas Manocha
Enable support for XIP (execute in place) of U-Boot or kernel image. There is no need to copy image from flash to ram if flash supports execute in place. Signed-off-by: Vikas Manocha --- arch/arm/include/asm/spl.h | 1 + board/st/stm32f746-disco/stm32f746-disco.c | 1 + common

[U-Boot] [PATCH 6/6] spl: stm32f7: configure for xip booting

2017-05-18 Thread Vikas Manocha
S_BOOT option disabled. By default, spl is configured to boot linux xipImage. Signed-off-by: Vikas Manocha --- arch/arm/mach-stm32/stm32f7/Kconfig| 1 + board/st/stm32f746-disco/stm32f746-disco.c | 2 +- include/configs/stm32f746-disco.h | 12 +--- 3 files changed, 7 ins

[U-Boot] [PATCH 2/6] stm32: stm32f7: add spl build support

2017-05-18 Thread Vikas Manocha
800_ - standard U-Boot : 0x0800_8000 To compile u-boot without spl: Remove SUPPORT_SPL configuration (arch/arm/mach-stm32/Kconfig) Signed-off-by: Vikas Manocha --- arch/arm/mach-stm32/Kconfig| 1 + arch/arm/mach-stm32/stm32f7/Kconfig

[U-Boot] [PATCH 1/6] stm32f7: remove duplicate configs

2017-05-18 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- configs/stm32f746-disco_defconfig | 4 1 file changed, 4 deletions(-) diff --git a/configs/stm32f746-disco_defconfig b/configs/stm32f746-disco_defconfig index 4322aad..a334d50 100644 --- a/configs/stm32f746-disco_defconfig +++ b/configs/stm32f746

[U-Boot] [PATCH 0/6] spl: add xip booting support

2017-05-18 Thread Vikas Manocha
This patchset adds support for XIP (execute in place) of U-Boot or kernel image and enables it for stm32f7. Vikas Manocha (6): stm32f7: remove duplicate configs stm32: stm32f7: add spl build support SPL: Add XIP booting support serial: stm32f7: disable overrun spl: stm32f7: add kernel

Re: [U-Boot] [U-Boot, 1/2] armv7m: cache: add flush & invalidate all dcache

2017-05-12 Thread Vikas MANOCHA
Hi, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Friday, May 12, 2017 10:18 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot,1/2] armv7m: cache: add flush & invalidate all dcache > > On Wed, May 03, 201

[U-Boot] [PATCH 2/4] armv7m: add MPU configuration support

2017-05-03 Thread Vikas Manocha
like execute never, cache policies like write-back or write-through. Signed-off-by: Vikas Manocha --- arch/arm/cpu/armv7m/Makefile | 2 +- arch/arm/cpu/armv7m/mpu.c | 82 +++ arch/arm/include/asm/armv7m.h | 20 -- arch/arm/include/asm

[U-Boot] [PATCH 4/4] stm32f7: configure mpu valid for f7 family

2017-05-03 Thread Vikas Manocha
n-executable. - Region3 : 512MB : peripherals : device memory & non-executable. - Region4 : 512MB : cortexM area: strongly ordered & non-executable. Higher region number overrides the lower region configuration. Signed-off-by: Vikas Manocha --- arch/arm/mach-stm3

[U-Boot] [PATCH 3/4] stm32: use armv7m MPU configuration support

2017-05-03 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- arch/arm/mach-stm32/stm32f4/soc.c | 16 +- arch/arm/mach-stm32/stm32f7/soc.c | 64 --- 2 files changed, 22 insertions(+), 58 deletions(-) diff --git a/arch/arm/mach-stm32/stm32f4/soc.c b/arch/arm/mach-stm32/stm32f4

[U-Boot] [PATCH 1/4] armv7m: correct mpu region size define for 8MB size

2017-05-03 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- arch/arm/include/asm/armv7m.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/armv7m.h b/arch/arm/include/asm/armv7m.h index ebf0f17..9a6224f 100644 --- a/arch/arm/include/asm/armv7m.h +++ b/arch/arm/include/asm/armv7m.h

[U-Boot] [PATCH 0/4] armv7m: add memory protection unit support

2017-05-03 Thread Vikas Manocha
This patchset adds memory protection unit support(MPU) support & configures it for stm32f4 & stm32f7. Vikas Manocha (4): armv7m: correct mpu region size define for 8MB size armv7m: add MPU configuration support stm32: use armv7m MPU configuration support stm32f7: configure mpu v

[U-Boot] [PATCH 0/2] armv7m: cache: cleanup before linux booting

2017-05-03 Thread Vikas Manocha
This patchset: - add all data cache flushing & invalidation functions as declared in the common header file. - adds cleanup before linux booting. Vikas Manocha (2): armv7m: cache: add flush & invalidate all dcache arvm7m: add cleanup before linux booting arch

  1   2   3   4   5   6   >