Re: [U-Boot] [PATCH v2 2/4] regmap: use fdt address translation

2017-03-17 Thread Simon Glass
On 16 February 2017 at 13:43, Simon Glass wrote: > On 14 February 2017 at 03:20, Jean-Jacques Hiblot wrote: >> >> >> On 14/02/2017 06:23, Simon Glass wrote: >>> >>> Hi, >>> >>> On 13 February 2017 at 08:17, Jean-Jacques Hiblot wrote:

Re: [U-Boot] [PATCH v2] dm: core: Fix Handling of global_data moving in SPL

2017-03-17 Thread Simon Glass
On 12 February 2017 at 20:51, Lokesh Vutla wrote: > commit 2f11cd9121658 ("dm: core: Handle global_data moving in SPL") > handles relocation of GD in SPL if spl_init() is called before > board_init_r(). So, uclass_root.next need not be initialized always > and accessing

[U-Boot] [PATCH 20/21] STiH410-B2260: enable CMD_GPT

2017-03-17 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard --- configs/stih410-b2260_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/stih410-b2260_defconfig b/configs/stih410-b2260_defconfig index 90de12a..4c6a0a1 100644 ---

[U-Boot] [PATCH 14/21] STiH410-B2260: enable DWC3 support

2017-03-17 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard --- configs/stih410-b2260_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/stih410-b2260_defconfig b/configs/stih410-b2260_defconfig index fd13ea3..6deca22 100644 ---

[U-Boot] [PATCH 06/21] usb: ehci: Add STi ehci support

2017-03-17 Thread patrice.chotard
From: Patrice Chotard Add support for on-chip ehci controller available on STMicrolectronics SoCs. ehci support will be then available on both type A USB 2.0 connectors. Signed-off-by: Patrice Chotard --- drivers/usb/host/Kconfig| 9 +

[U-Boot] [PATCH 13/21] usb: dwc3: Add dwc3 support for STi

2017-03-17 Thread patrice.chotard
From: Patrice Chotard This patch adds the ST glue logic to manage the DWC3 HC on STiH407 SoC family. It configures the internal glue logic and syscfg registers. Part of this code been extracted from kernel.org driver (drivers/usb/dwc3/dwc3-st.c) Signed-off-by: Patrice

[U-Boot] [PATCH 09/21] STiH410-B2260: enable OHCI related flags

2017-03-17 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard --- configs/stih410-b2260_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/stih410-b2260_defconfig b/configs/stih410-b2260_defconfig index c2c7256..46c20e1 100644 ---

[U-Boot] [PATCH 02/21] mmc: sti_sdhci: Rework sti_mmc_core_config()

2017-03-17 Thread patrice.chotard
From: Patrice Chotard Use struct udevice* as input parameter. Previous parameters are retrieved through plat and priv data. This to prepare to use the reset framework. Signed-off-by: Patrice Chotard --- drivers/mmc/sti_sdhci.c | 33

[U-Boot] [PATCH 04/21] mmc: sti_sdhci: Use reset framework

2017-03-17 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard --- drivers/mmc/sti_sdhci.c | 31 ++- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/drivers/mmc/sti_sdhci.c b/drivers/mmc/sti_sdhci.c index

[U-Boot] [PATCH 00/21] STiH410-B2260: add reset, usb and fastboot support

2017-03-17 Thread patrice.chotard
From: Patrice Chotard This series adds : _ add reset driver _ update existing sdhci driver to use reset framework _ add usb phy driver _ add ehci support _ add ohci support _ add xhci support _ add fastboot support

[U-Boot] [PATCH 10/21] usb: xhci: Add STi xhci support

2017-03-17 Thread patrice.chotard
From: Patrice Chotard Add support for on-chip DWC3 controller available on STMicrolectronics STiH407 family SoCs. On B2260 board, the type AB USB connector is managed by a DWC3 IP. As USB3 signals are not wired, only USB2 is supported. Signed-off-by: Patrice Chotard

[U-Boot] [PATCH 15/21] board: STiH410-B2260: add fastboot support

2017-03-17 Thread patrice.chotard
From: Patrice Chotard Add usb_gadget_handle_interrupts(), board_usb_init(), board_usb_cleanup() and g_dnl_board_usb_cable_connected() callbacks needed for FASTBOOT support Signed-off-by: Patrice Chotard --- board/st/stih410-b2260/board.c | 44

[U-Boot] [PATCH 07/21] STiH410-B2260: enable USB related flags

2017-03-17 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard --- configs/stih410-b2260_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/stih410-b2260_defconfig b/configs/stih410-b2260_defconfig index ade618f..c2c7256 100644 ---

Re: [U-Boot] [PATCH 05/21] phy: Add STi phy usb support

2017-03-17 Thread Marek Vasut
On 03/17/2017 05:25 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This is the generic phy driver for the picoPHY ports > used by USB2 and USB3 Host controllers available on > STiH407 SoC families. > > Signed-off-by: Patrice Chotard

Re: [U-Boot] [PATCH] ARM: socfpga: Update README with BSP/header generation instructions

2017-03-17 Thread Marek Vasut
On 03/10/2017 09:03 PM, Steve Arnold wrote: > From: Steve Arnold Hi! lots of nitpicks below, but it really is starting to get into a good shape, thanks for the work and sorry for my delayed reply. > This patch adds back the steps to manually (re)build a Quartus FPGA

Re: [U-Boot] [PATCH v5 1/1] usb: gadget: avoid variable name clipping in cb_getvar

2017-03-17 Thread Marek Vasut
On 03/17/2017 10:57 AM, Nicolas le bayon wrote: > From: Nicolas Le Bayon > > Instead of using a fixed-size array to store variable name, preferring a > dynamic allocation treats correctly all variable name lengths. > Variable names are growing through releases and features.

Re: [U-Boot] [PATCH v3] NS2: Add PCI support

2017-03-17 Thread Jon Mason
Please disregard this patch. I meant to send out v3 of the core NS2 support, and not a half-baked PCI driver. Thanks, Jon On Wed, Mar 15, 2017 at 1:38 PM, Jon Mason wrote: > From: Jon Mason > > Write a new driver to add PCI support to iProc devices.

[U-Boot] [PATCH 01/21] reset: Add STi reset support

2017-03-17 Thread patrice.chotard
From: Patrice Chotard This patch adds a reset controller implementation for STMicroelectronics STi family SoCs; it allows a group of related reset like controls found in multiple system configuration registers to be represented by a single controller device. Driver code

[U-Boot] [PATCH 03/21] ARM: dts: stih410-family: Add missing reset_names for mmc1 node

2017-03-17 Thread patrice.chotard
From: Patrice Chotard reset-names property is needed to use the reset API for STi sdhci driver. Signed-off-by: Patrice Chotard --- arch/arm/dts/stih407-family.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH 21/21] STiH410-B2260: enable CMD_PART

2017-03-17 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard --- configs/stih410-b2260_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/stih410-b2260_defconfig b/configs/stih410-b2260_defconfig index 4c6a0a1..c1113fc 100644 ---

[U-Boot] [PATCH 08/21] usb: ohci: Add STi ohci support

2017-03-17 Thread patrice.chotard
From: Patrice Chotard Add support for on-chip ohci controller available on STMicrolectronics SoCs. Ohci support will be then available on both type A USB 2.0 connectors. Signed-off-by: Patrice Chotard --- drivers/usb/host/Kconfig| 9

[U-Boot] [PATCH 16/21] STiH410-B2260: enable USB download gadget related flags

2017-03-17 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard --- configs/stih410-b2260_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/stih410-b2260_defconfig b/configs/stih410-b2260_defconfig index 6deca22..839da4d 100644 ---

Re: [U-Boot] [PATCH 06/21] usb: ehci: Add STi ehci support

2017-03-17 Thread Marek Vasut
On 03/17/2017 05:25 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Add support for on-chip ehci controller available > on STMicrolectronics SoCs. > ehci support will be then available on both type A > USB 2.0 connectors. > > Signed-off-by: Patrice Chotard

[U-Boot] [PATCH 18/21] STiH410-B2260: enable OF_LIBFDT_OVERLAY

2017-03-17 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard --- configs/stih410-b2260_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/stih410-b2260_defconfig b/configs/stih410-b2260_defconfig index f79173c..83a1e3c 100644 ---

[U-Boot] [PATCH 17/21] STiH410-B2260: enable FASTBOOT related flags

2017-03-17 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard --- configs/stih410-b2260_defconfig | 8 1 file changed, 8 insertions(+) diff --git a/configs/stih410-b2260_defconfig b/configs/stih410-b2260_defconfig index 839da4d..f79173c 100644

Re: [U-Boot] [PATCH 21/21] STiH410-B2260: enable CMD_PART

2017-03-17 Thread Marek Vasut
On 03/17/2017 05:25 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard Just squash all the config patches into a single patch please ... > Signed-off-by: Patrice Chotard > --- > configs/stih410-b2260_defconfig | 1 + > 1 file changed, 1

Re: [U-Boot] [PATCH 08/21] usb: ohci: Add STi ohci support

2017-03-17 Thread Marek Vasut
On 03/17/2017 05:25 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Add support for on-chip ohci controller available > on STMicrolectronics SoCs. > Ohci support will be then available on both type A > USB 2.0 connectors. > > Signed-off-by: Patrice Chotard

Re: [U-Boot] [PATCH 13/21] usb: dwc3: Add dwc3 support for STi

2017-03-17 Thread Marek Vasut
On 03/17/2017 05:25 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This patch adds the ST glue logic to manage the DWC3 HC > on STiH407 SoC family. It configures the internal glue > logic and syscfg registers. > > Part of this code been extracted from

Re: [U-Boot] [PATCH v2 00/20] Add Intel Arria 10 SoC support

2017-03-17 Thread Marek Vasut
On 03/17/2017 01:25 PM, Ley Foon Tan wrote: > Hi Marek Hi! > On Fri, Mar 17, 2017 at 5:56 AM, Marek Vasut wrote: >> On 03/09/2017 01:26 AM, Ley Foon Tan wrote: >>> This is the 2nd version of patchset to adds support for Intel Arria 10 SoC. >>> This version mainly resolved

[U-Boot] [PATCH 19/21] STiH410-B2260: enable CMD_EXT4_WRITE

2017-03-17 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard --- configs/stih410-b2260_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/stih410-b2260_defconfig b/configs/stih410-b2260_defconfig index 83a1e3c..90de12a 100644 ---

[U-Boot] [PATCH 11/21] STiH410-B2260: enable XHCI related flags

2017-03-17 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard --- configs/stih410-b2260_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/stih410-b2260_defconfig b/configs/stih410-b2260_defconfig index 46c20e1..835f982 100644 ---

[U-Boot] [PATCH 12/21] STiH410-B2260: Enabling USB Host Networking

2017-03-17 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard --- configs/stih410-b2260_defconfig | 2 ++ include/configs/stih410-b2260.h | 12 2 files changed, 14 insertions(+) diff --git a/configs/stih410-b2260_defconfig

[U-Boot] [PATCH 05/21] phy: Add STi phy usb support

2017-03-17 Thread patrice.chotard
From: Patrice Chotard This is the generic phy driver for the picoPHY ports used by USB2 and USB3 Host controllers available on STiH407 SoC families. Signed-off-by: Patrice Chotard --- configs/stih410-b2260_defconfig | 1 + drivers/usb/Kconfig

Re: [U-Boot] [PATCH v3 00/10] stm32f7: add clock and pin control drivers

2017-03-17 Thread Vikas MANOCHA
Hi Tim, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Friday, March 17, 2017 12:41 PM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH v3 00/10] stm32f7: add clock and pin control drivers > > On Fri, Mar 17, 2017 at

Re: [U-Boot] uboot information

2017-03-17 Thread Simon Glass
+Bin Hi Sebastian, On 17 March 2017 at 11:23, Sébastien Basset wrote: > > Hello, > > Sorry for the inconvenience, i have problem for read mmc on my board with > braswell cpu, i would like test on other board, i have nuc intel with > braswell,is there possible when there

Re: [U-Boot] [PATCH] libfdt: use CONFIG_IS_ENABLED for OF_LIBFDT

2017-03-17 Thread Tom Rini
On Fri, Mar 17, 2017 at 12:46:17PM -0600, Simon Glass wrote: > Hi, > > On 13 February 2017 at 01:08, Lokesh Vutla wrote: > > > > > > On Monday 13 February 2017 01:04 PM, Vignesh R wrote: > >> Use CONFIG_IS_ENABLED() macro to check whether OF_LIBFDT is enabled, so > >> that

[U-Boot] [PATCH 3/3] rockchip: config: rk3399: update defconfigs and rk3399_common

2017-03-17 Thread Philipp Tomsich
With everything set up to define CONFIG_BAUDRATE via defconfig and with to have the SPL debug UART either on UART0 or UART2, the configs for the RK3399 EVB and for the RK3399-Q7 can be updated. Signed-off-by: Philipp Tomsich ---

Re: [U-Boot] [PATCH v2 1/2] armv7m: add instruction & data cache support

2017-03-17 Thread Vikas Manocha
Hi Marek, On 03/16/2017 03:06 PM, Marek Vasut wrote: > On 03/16/2017 10:39 PM, vikas wrote: >> Thanks Marek, >> >> On 03/16/2017 02:40 PM, Marek Vasut wrote: >>> On 03/13/2017 10:45 PM, vikas wrote: Thanks Marek, On 03/11/2017 10:02 PM, Marek Vasut wrote: > On 03/12/2017 01:13

[U-Boot] [PATCH 2/2] pinctrl: Kconfig: reorder to keep Rockchip options together

2017-03-17 Thread Philipp Tomsich
Signed-off-by: Philipp Tomsich --- drivers/pinctrl/Kconfig | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 6181ec6..8308686 100644 --- a/drivers/pinctrl/Kconfig +++

Re: [U-Boot] Linker error when using CONFIG_SPL_SYS_MALLOC_SIMPLE=y

2017-03-17 Thread Simon Glass
+ML Hi Dan, On 17 March 2017 at 12:16, Dan Murphy wrote: > Simon > > I wanted to drop you a note to see if you have any advice on how to fix this > issue. > > In the attached .config file we enable > > CONFIG_SPL_SYS_MALLOC_SIMPLE and CONFIG_SPL_DFU_SUPPORT which we need >

Re: [U-Boot] [PATCH 3/3] configs: dra7x/am57x: Enable the SYSCON and REGMAP features

2017-03-17 Thread Simon Glass
Hi, On 10 February 2017 at 09:22, Simon Glass wrote: > On 7 February 2017 at 08:45, Jean-Jacques Hiblot wrote: >> This is required by the ti_qspi driver to get from the DTS the address of >> the ctrl_mod_mmap register. >> >> Signed-off-by: Jean-Jacques Hiblot

Re: [U-Boot] [PATCH v3 00/10] stm32f7: add clock and pin control drivers

2017-03-17 Thread Vikas MANOCHA
Hi, Just a gentle reminder to pick the series whenever you get time. Cheers, Vikas > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Wednesday, March 01, 2017 7:39 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH v3

[U-Boot] [PATCH 1/3] Kconfig: make CONFIG_BAUDRATE a first-class citizen

2017-03-17 Thread Philipp Tomsich
Signed-off-by: Philipp Tomsich --- drivers/serial/Kconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index b11f3ff..d570a2b 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig

[U-Boot] [PATCH 2/3] rockchip: rk3399: spl: add UART0 support for SPL

2017-03-17 Thread Philipp Tomsich
The RK3399-Q7 ("Puma") SoM exposes UART0 as the Qseven UART (i.e. the serial line available via standardised pins on the edge connector and available on a RS232 connector). To support boards (such as the RK3399-Q7) that require UART0 as a debug console, we match CONFIG_DEBUG_UART_BASE and add the

Re: [U-Boot] [PATCH v2] Pass empty CFLAGS on invocation of libfdt/setup.py

2017-03-17 Thread Tom Rini
On Thu, Mar 16, 2017 at 03:23:55PM -0700, Max Filippov wrote: > When building u-boot tools in cross-build environment CFLAGS environment > variable set up for target is taken into an account when building code > for host. Make it empty on invocation of python. > > This fixes the following build

Re: [U-Boot] Linker error when using CONFIG_SPL_SYS_MALLOC_SIMPLE=y

2017-03-17 Thread Dan Murphy
Simon On 03/17/2017 01:24 PM, Simon Glass wrote: > +ML > > Hi Dan, > > On 17 March 2017 at 12:16, Dan Murphy wrote: >> Simon >> >> I wanted to drop you a note to see if you have any advice on how to fix this >> issue. >> >> In the attached .config file we enable >> >>

Re: [U-Boot] [PATCH v2] dtoc: make ScanTree recurse into subnodes

2017-03-17 Thread Simon Glass
On 22 February 2017 at 19:23, Simon Glass wrote: > On 22 February 2017 at 11:06, Philipp Tomsich > wrote: >> >> Previously, dtoc could only process the top-level nodes which led to >> device nodes in hierarchical trees to be ignored. E.g.

Re: [U-Boot] Linker error when using CONFIG_SPL_SYS_MALLOC_SIMPLE=y

2017-03-17 Thread Simon Glass
Hi Dan, On 17 March 2017 at 12:33, Dan Murphy wrote: > Simon > > On 03/17/2017 01:24 PM, Simon Glass wrote: >> +ML >> >> Hi Dan, >> >> On 17 March 2017 at 12:16, Dan Murphy wrote: >>> Simon >>> >>> I wanted to drop you a note to see if you have any advice on how

Re: [U-Boot] Linker error when using CONFIG_SPL_SYS_MALLOC_SIMPLE=y

2017-03-17 Thread Dan Murphy
Simon On 03/17/2017 01:46 PM, Simon Glass wrote: > Hi Dan, > > On 17 March 2017 at 12:33, Dan Murphy wrote: >> Simon >> >> On 03/17/2017 01:24 PM, Simon Glass wrote: >>> +ML >>> >>> Hi Dan, >>> >>> On 17 March 2017 at 12:16, Dan Murphy wrote: Simon

[U-Boot] [PATCH 0/3] rockchip: rk3399: spl: Make baudrate and UART configurable

2017-03-17 Thread Philipp Tomsich
The default configuration for debug output from the RK3399 SPL is UART2 at 1.5MBaud. While this works reasonably well for the EVB, custom boards may want to change these settings. To simplify the enablement (i.e. to use the RS232 connector on our baseboard and to improve the compatibility with

Re: [U-Boot] [PATCH v2 3/4] drivers: ti_qspi: use syscon to get the address ctrl_mod_mmap register

2017-03-17 Thread Simon Glass
On 13 February 2017 at 08:17, Jean-Jacques Hiblot wrote: > We used to get the address of the optionnal ctrl_mod_mmap register as the > third memory range of the "reg" property. the linux driver moved to use a > syscon instead. In order to keep the DTS as close as possible to that

Re: [U-Boot] [PATCH v3 1/2] armv7m: add instruction & data cache support

2017-03-17 Thread Vikas Manocha
Thanks Simon, On 03/16/2017 03:06 PM, Simon Glass wrote: > Hi Vikas, > > On 14 March 2017 at 11:27, Vikas Manocha wrote: >> This patch adds armv7m instruction & data cache support. >> >> Signed-off-by: Vikas Manocha >> cc: Christophe KERELLO

[U-Boot] [PATCH] fdt_support: Fixup 'ethernet' aliases not ending in digits

2017-03-17 Thread Tuomas Tynkkynen
The Raspberry Pi device tree files since Linux v4.9 have a "ethernet" alias pointing to the on-board Ethernet device node. However, U-Boot's fdt_fixup_ethernet() (and the kernel's of_alias_scan()) only looks at ethernet aliases ending in digits. Make it also check the "ethernet" alias. Without

Re: [U-Boot] [U-Boot, v3, 05/10] stm32f7: clk: remove usart1 clock enable from board init

2017-03-17 Thread Tom Rini
On Sun, Feb 12, 2017 at 10:25:48AM -0800, Vikas Manocha wrote: > Before clock driver availability it was required to enable usart1 clock > for serial init but now with clock driver is taking care of usart1 clock. > > Signed-off-by: Vikas Manocha Applied to u-boot/master,

Re: [U-Boot] [U-Boot, v3, 03/10] stm32f7: serial: use clock driver to enable clock

2017-03-17 Thread Tom Rini
On Sun, Feb 12, 2017 at 10:25:46AM -0800, Vikas Manocha wrote: > Signed-off-by: Vikas Manocha > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v3, 07/10] ARM: DT: stm32f7: add pin control device node

2017-03-17 Thread Tom Rini
On Sun, Feb 12, 2017 at 10:25:50AM -0800, Vikas Manocha wrote: > Signed-off-by: Vikas Manocha Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, 4/4] configs: move CMD_MD5SUM definition to defconfigs

2017-03-17 Thread Tom Rini
On Wed, Mar 15, 2017 at 01:19:07AM +, Andre Przywara wrote: > Boards with an apparent need for the md5sum command had the connected > config symbol defined in their board header file. > Move this over to the respective defconfig files now that md5sum is > configured via Kconfig. > (This is a

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

2017-03-17 Thread Tom Rini
On Thu, Mar 16, 2017 at 06:37:57PM -0600, Simon Glass wrote: > Hi Tom, > > This is an updated version of the previous pull request, includes > support for rk3188 from Heiko Stübner and and rk3328 from Kever Yang. > Also included is SPL support for rk3399 and a fix for rk3288 to get it > booting

Re: [U-Boot] [U-Boot, v3, 08/10] ARM: DT: stm32f7: add pin control node for serial port pins

2017-03-17 Thread Tom Rini
On Sun, Feb 12, 2017 at 10:25:51AM -0800, Vikas Manocha wrote: > And remove the uart pin configuration from board initialization. > > Signed-off-by: Vikas Manocha Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 3/4] Kconfig: define MD5 dependency for FIT support

2017-03-17 Thread Tom Rini
On Wed, Mar 15, 2017 at 01:19:06AM +, Andre Przywara wrote: > FIT images require MD5 support to verify image checksums. So far this > was expressed by defining a CPP symbol in image.h. Since MD5 is now a > first class Kconfig citizen, express that in Kconfig instead. > > Signed-off-by: Andre

Re: [U-Boot] [U-Boot, 2/4] Kconfig: introduce md5sum command selection

2017-03-17 Thread Tom Rini
On Wed, Mar 15, 2017 at 01:19:05AM +, Andre Przywara wrote: > So far CONFIG_MD5SUM would need to be set by a board's include file. > Since the command is really generic, move it over to Kconfig to allow > it to be defined by either a board's defconfig, menuconfig or some > config snippet

Re: [U-Boot] arm: Update our 'ret' assembler macro slightly

2017-03-17 Thread Tom Rini
On Thu, Mar 02, 2017 at 09:59:30AM -0500, Tom Rini wrote: > We only support cores that do Thumb-1 or later. So we add a comment to > explain this and remove the architecture test. > > Cc: Albert ARIBAUD > Cc: Mans Rullgard > Signed-off-by: Tom Rini

Re: [U-Boot] [U-Boot, v3, 01/10] serial: stm32f7: add device tree support

2017-03-17 Thread Tom Rini
On Sun, Feb 12, 2017 at 10:25:44AM -0800, Vikas Manocha wrote: > This patch adds device tree support for stm32f7 serial driver & removes serial > platform data structure. > > Signed-off-by: Vikas Manocha > Reviewed-by: Simon Glass Applied to

Re: [U-Boot] [U-Boot, v3, 04/10] ARM: DT: stm32f7: add usart1 & clock device tree nodes

2017-03-17 Thread Tom Rini
On Sun, Feb 12, 2017 at 10:25:47AM -0800, Vikas Manocha wrote: > Also created alias for usart1 and specified oscillator clock for stm32f7 > discovery board. > > Signed-off-by: Vikas Manocha Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, v3, 02/10] clk: stm32f7: add clock driver for stm32f7 family

2017-03-17 Thread Tom Rini
On Sun, Feb 12, 2017 at 10:25:45AM -0800, Vikas Manocha wrote: > add basic clock driver support for stm32f7 to enable clocks required by > the peripherals. > > Signed-off-by: Vikas Manocha > Reviewed-by: Simon Glass Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot, v3, 06/10] PINCTRL: stm32f7: add pin control driver

2017-03-17 Thread Tom Rini
On Sun, Feb 12, 2017 at 10:25:49AM -0800, Vikas Manocha wrote: > This driver uses the same pin control binding as that of linux, binding > document of this patch is copied from linux. One addition done is for > GPIO input and output mode configuration which was missing. > > Signed-off-by: Vikas

Re: [U-Boot] [U-Boot, v3, 09/10] ARM: DT: stm32f7: add ethernet pin contol node

2017-03-17 Thread Tom Rini
On Sun, Feb 12, 2017 at 10:25:52AM -0800, Vikas Manocha wrote: > It also removes the ethernet pin configuration done during the board > initialization. > > Signed-off-by: Vikas Manocha Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, v3, 10/10] ARM: DT: stm32f7: add qspi pin contol node

2017-03-17 Thread Tom Rini
On Sun, Feb 12, 2017 at 10:25:53AM -0800, Vikas Manocha wrote: > It also removes the qspi pin configuration done during the > board initialization. > > Signed-off-by: Vikas Manocha Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v1] cmd: itest: correct calculus for long format

2017-03-17 Thread Tom Rini
On Fri, Feb 10, 2017 at 03:59:15PM +0300, Andy Shevchenko wrote: > From: Sebastien Colleur > > itest shell command doesn't work correctly in long format when > doing comparaison due to wrong mask value calculus that overflow > on 32 bits values. > > Signed-off-by:

Re: [U-Boot] [U-Boot, v3] arm: use common instructions applicable to armv7m & other arm archs

2017-03-17 Thread Tom Rini
On Fri, Feb 05, 2016 at 10:43:01AM -0800, Vikas Manocha wrote: > This patch cleans the code by using instructions allowed for armv7m as well as > other Arm archs. > > Signed-off-by: Vikas Manocha > Reviewed-by: Simon Glass > Reviewed-by: Heiko Schocher

Re: [U-Boot] [U-Boot,v1] gpt: Fix uuid string format

2017-03-17 Thread Tom Rini
On Mon, Feb 27, 2017 at 04:11:15PM +0200, Andy Shevchenko wrote: > From: Vincent Tinelli > > Change GPT UUID string format from UUID to GUID per specification. > > Signed-off-by: Vincent Tinelli > Reviewed-by: Simon Glass

Re: [U-Boot] [U-Boot, 1/4] kirkwood: remove get_random_hex() and MD5 dependency

2017-03-17 Thread Tom Rini
On Wed, Mar 15, 2017 at 01:19:04AM +, Andre Przywara wrote: > Commit 19a5944fcd62 ("mvgbe: remove setting of ethaddr within the > driver") removed the usage of get_random_hex() from the mvgbe driver > about six years ago. However the prototype of that function survived > till today in some

Re: [U-Boot] [PATCH] fdt_support: Fixup 'ethernet' aliases not ending in digits

2017-03-17 Thread Tom Rini
On Fri, Mar 17, 2017 at 09:44:59PM +0200, Tuomas Tynkkynen wrote: > The Raspberry Pi device tree files since Linux v4.9 have a "ethernet" > alias pointing to the on-board Ethernet device node. However, > U-Boot's fdt_fixup_ethernet() (and the kernel's of_alias_scan()) only > looks at ethernet

[U-Boot] [PATCH] arch/arm/lib/relocate.S: Remove unreachable code

2017-03-17 Thread Tom Rini
We support neither xscale nor ARMv4 at this point in time, so remove this code. Suggested-by: Vikas MANOCHA Signed-off-by: Tom Rini --- arch/arm/lib/relocate.S | 16 1 file changed, 16 deletions(-) diff --git a/arch/arm/lib/relocate.S

Re: [U-Boot] [PATCH] arch/arm/lib/relocate.S: Remove unreachable code

2017-03-17 Thread Tom Rini
On Fri, Mar 17, 2017 at 09:29:17PM -0400, Tom Rini wrote: > We support neither xscale nor ARMv4 at this point in time, so remove > this code. > > Suggested-by: Vikas MANOCHA > Signed-off-by: Tom Rini > --- > arch/arm/lib/relocate.S | 16

[U-Boot] [PATCH] spl: Kconfig: SPL_MMC_SUPPORT depends on GENERIC_MMC

2017-03-17 Thread Alexandru Gagniuc
spl_mmc.c calls mmc_initialize(). This symbol is provided in drivers/mmc/mmc.c when CONFIG_GENERIC_MMC is enabled. Signed-off-by: Alexandru Gagniuc --- common/spl/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index

Re: [U-Boot] [RFC PATCH] driver: pci: Fix regions for local memory

2017-03-17 Thread york sun
On 03/17/2017 04:43 AM, Simon Glass wrote: > Hi York, > > On 16 March 2017 at 21:29, york sun wrote: >> On 03/16/2017 08:14 PM, Simon Glass wrote: >>> Hi York, >>> >>> On 16 March 2017 at 16:47, Simon Glass wrote: On 9 February 2017 at 11:35, York Sun

[U-Boot] [PATCHv2] da850: Add instructions to copy AIS image to NAND

2017-03-17 Thread Axel Haslam
Add instructions to write an AIS image to NAND by using the u-boot nand tools. Signed-off-by: Axel Haslam --- Changes in V2: - add erase command before write - Add write info when MTD partitions are defined board/davinci/da8xxevm/README.da850 | 41

[U-Boot] [PATCH v3] board: ns2: Add support for Broadcom Northstar 2

2017-03-17 Thread Jon Mason
Add support for the Broadcom Northstar2 SoC and SVK (bcm958712k). The BCM5871X is a series of quad-core 64-bit 2GHz ARMv8 Cortex-A57 processors targeting a broad range of networking applications. Signed-off-by: Jon Mason --- arch/arm/Kconfig | 9

Re: [U-Boot] [PATCH] libfdt: use CONFIG_IS_ENABLED for OF_LIBFDT

2017-03-17 Thread Simon Glass
Hi, On 13 February 2017 at 01:08, Lokesh Vutla wrote: > > > On Monday 13 February 2017 01:04 PM, Vignesh R wrote: >> Use CONFIG_IS_ENABLED() macro to check whether OF_LIBFDT is enabled, so >> that code block is compiled irrespective of SPL or U-Boot build >> depending on

[U-Boot] [PATCH 1/2] rockchip: pinctrl: use per-SoC option names for Kconfig

2017-03-17 Thread Philipp Tomsich
The config options for pinctrl on the RK3188, RK3288, RK3328 and RK3399 previously showed up in menuconfig with the generic string descriptor "Rockchip pin control driver" requiring one to look through the help/full description to identify which chip each menu entry was for. This change renames

Re: [U-Boot] [PATCH v3 00/10] stm32f7: add clock and pin control drivers

2017-03-17 Thread Tom Rini
On Fri, Mar 17, 2017 at 07:14:21PM +, Vikas MANOCHA wrote: > Hi, > > Just a gentle reminder to pick the series whenever you get time. JFYI https://travis-ci.org/trini/u-boot/builds/212223065 (and the compare... link brings you to

[U-Boot] [PATCHv3 1/5] mtd: nand: add initialization flag

2017-03-17 Thread Zhiqiang Hou
From: Hou Zhiqiang Add initialization flag to avoid initializing NAND Flash multiple times, otherwise it will calculate a wrong total size. Signed-off-by: Hou Zhiqiang --- V3: - no change drivers/mtd/nand/nand.c | 10 ++ 1 file changed, 10

Re: [U-Boot] [PATCH 02/17] dm: Simple Watchdog uclass

2017-03-17 Thread Lukasz Majewski
Hi Maxim, > This is a simple uclass for Watchdog Timers. It has four operations: > start, restart, reset, stop. Drivers must implement start, restart and > stop operations, while implementing reset is optional: It's default > implementation expires watchdog timer in one clock tick. > >

Re: [U-Boot] [PATCH] ARM: am43xx: fix SOC revision print outs

2017-03-17 Thread Lukasz Majewski
On Thu, 16 Mar 2017 09:48:54 +0200 Tero Kristo wrote: > Currently, AM43xx just re-uses the version strings from AM33xx which > is wrong; the actual values for AM43xx are different. Fix this by > adding a separate version string array for AM43xx and use this > instead. > >

[U-Boot] [PATCHv3 2/5] mtd: nand: remove nand size print from nand_init function

2017-03-17 Thread Zhiqiang Hou
From: Hou Zhiqiang Add nand_size() function to move the nand size print into initr_nand(). Remove nand size print from nand_init() to allow other function to call nand_init() without printing nand size. Signed-off-by: Hou Zhiqiang --- V3: - no

[U-Boot] [PATCHv3 3/5] fsl PPA: add support PPA image loading from NAND and SD

2017-03-17 Thread Zhiqiang Hou
From: Hou Zhiqiang Signed-off-by: Hou Zhiqiang --- V3: - Added checking for return value of mmc initialization. - Added checking the fdt header before getting the size of PPA image. arch/arm/cpu/armv8/fsl-layerscape/ppa.c | 143

[U-Boot] [PATCHv3 5/5] fsl-layerscape/ls104xardb: enable PPA support for eMMC/SD and NAND boot

2017-03-17 Thread Zhiqiang Hou
From: Hou Zhiqiang Signed-off-by: Hou Zhiqiang --- V3: - no change configs/ls1043ardb_nand_defconfig | 1 + configs/ls1043ardb_sdcard_defconfig | 1 + configs/ls1046ardb_emmc_defconfig | 1 + configs/ls1046ardb_sdcard_defconfig | 1 + 4 files

[U-Boot] [PATCHv3 4/5] Kconfig: fsl-ppa: support load PPA from eMMC/SD and NAND Flash

2017-03-17 Thread Zhiqiang Hou
From: Hou Zhiqiang Signed-off-by: Hou Zhiqiang --- V3: - no change arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig

[U-Boot] [PATCH v5 1/1] usb: gadget: avoid variable name clipping in cb_getvar

2017-03-17 Thread Nicolas le bayon
From: Nicolas Le Bayon Instead of using a fixed-size array to store variable name, preferring a dynamic allocation treats correctly all variable name lengths. Variable names are growing through releases and features. By this way, name clipping is prevented. Signed-off-by:

Re: [U-Boot] [GIT PULL] Xilinx changes for v2017.05

2017-03-17 Thread Tom Rini
On Thu, Mar 16, 2017 at 10:24:42AM +0100, Michal Simek wrote: > Hi Tom, > > please pull these changes to your tree. > > Thanks, > Michal > > The following changes since commit 85d0bea153c76f4a3912b5683222885bfd37c769: > > Prepare v2017.03-rc2 (2017-02-13 11:47:45 -0500) > > are available

Re: [U-Boot] [PATCH v4 1/2] spl: Add spl_early_init()

2017-03-17 Thread Tom Rini
On Wed, Mar 15, 2017 at 08:43:28AM -0600, Simon Glass wrote: > From: Eddie Cai > > At present malloc_base/_limit/_ptr are not initialised in spl_init() when > we call spl_init() in board_init_f(). This is due to a recent change aimed > at avoiding overwriting the

Re: [U-Boot] [PATCH v2 00/20] Add Intel Arria 10 SoC support

2017-03-17 Thread Ley Foon Tan
Hi Marek On Fri, Mar 17, 2017 at 5:56 AM, Marek Vasut wrote: > On 03/09/2017 01:26 AM, Ley Foon Tan wrote: >> This is the 2nd version of patchset to adds support for Intel Arria 10 SoC. >> This version mainly resolved comments from Marek in [v1]. >> >> This is initial patchset

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

2017-03-17 Thread Tom Rini
On Thu, Mar 16, 2017 at 08:31:43PM +, york sun wrote: > Tom, > > The following changes since commit 8537ddd769f460d7fb7a62a3dcc9669049702e51: > >Prepare v2017.03 (2017-03-13 13:54:16 -0400) > > are available in the git repository at: > >git://git.denx.de/u-boot-fsl-qoriq.git > >

Re: [U-Boot] [PATCH 1/4] kirkwood: remove get_random_hex() and MD5 dependency

2017-03-17 Thread Stefan Roese
On 15.03.2017 02:19, Andre Przywara wrote: Commit 19a5944fcd62 ("mvgbe: remove setting of ethaddr within the driver") removed the usage of get_random_hex() from the mvgbe driver about six years ago. However the prototype of that function survived till today in some kirkwood header file. Remove

Re: [U-Boot] [PATCH 10/14] drivers: net: add MV88E6xx to Kconfig

2017-03-17 Thread Tim Harvey
On Fri, Mar 17, 2017 at 3:59 AM, Stefano Babic wrote: > On 13/03/2017 16:51, Tim Harvey wrote: >> Signed-off-by: Tim Harvey >> --- >> drivers/net/Kconfig | 18 ++ >> 1 file changed, 18 insertions(+) >> >> diff --git a/drivers/net/Kconfig

Re: [U-Boot] [PATCH 10/14] drivers: net: add MV88E6xx to Kconfig

2017-03-17 Thread Stefano Babic
On 17/03/2017 14:13, Tim Harvey wrote: > On Fri, Mar 17, 2017 at 3:59 AM, Stefano Babic wrote: >> On 13/03/2017 16:51, Tim Harvey wrote: >>> Signed-off-by: Tim Harvey >>> --- >>> drivers/net/Kconfig | 18 ++ >>> 1 file changed, 18

Re: [U-Boot] [PATCH] da850: Add instructions to copy AIS image to NAND

2017-03-17 Thread Sekhar Nori
On Friday 17 March 2017 03:50 PM, Sekhar Nori wrote: > No need to find the erase size or doing manual of filesize to next erase > block boundary. Should have read as: No need to find nand erase size or doing manual adjustment of downloaded file size to next erase block boundary. Thanks, Sekhar

Re: [U-Boot] [PATCH 02/14] imx: ventana: config: add gzwrite support

2017-03-17 Thread Stefano Babic
On 13/03/2017 16:51, Tim Harvey wrote: > Signed-off-by: Tim Harvey > --- > include/configs/gw_ventana.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h > index 24e3150..31b3010 100644 > ---

Re: [U-Boot] [PATCH 05/14] imx: ventana: change name of rs232_en to indicate polarity

2017-03-17 Thread Stefano Babic
On 13/03/2017 16:51, Tim Harvey wrote: > Signed-off-by: Tim Harvey > --- > board/gateworks/gw_ventana/common.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/board/gateworks/gw_ventana/common.c > b/board/gateworks/gw_ventana/common.c > index

  1   2   >