Re: [U-Boot] [PATCH v3 04/11] spi: cadence_qspi: Use #define for bits instead of bit shifts

2016-11-29 Thread Phil Edworthy
Hi Jagan, On 30 November 2016 04:59, Jagan Teki wrote: > On Tue, Nov 29, 2016 at 6:28 PM, Phil Edworthy > wrote: > > Most of the code already uses #defines for the bit value, rather > > than the shift required to get the value. This changes the remaining > > code over.

Re: [U-Boot] [PATCH] armv8: QSPI: Add AHB bus 16MB+ size support

2016-11-29 Thread Mike Looijmans
On 14-11-16 18:46, york sun wrote: On 11/07/2016 10:03 PM, Yao Yuan wrote: On 11/08/2016 02:27 AM, York Sun wrote: On 10/25/2016 07:10 PM, Yuan Yao wrote: From: Yuan Yao The default configuration for QSPI AHB bus can't support 16MB+. But some flash on NXP layerscape board

[U-Boot] [PATCH v2] dm: core: Add dev_get_addr_size_index() to retrieve addr and size

2016-11-29 Thread Stefan Roese
The currently available functions accessing the 'reg' property of a device only retrieve the address. Sometimes its also necessary to retrieve the size described by the 'reg' property. This patch adds the new function dev_get_addr_size_index() which retrieves both, the address and the size

Re: [U-Boot] [PATCH] dm: core: Add dev_get_addr_size_index() to retrieve addr and size

2016-11-29 Thread Stefan Roese
Hi Simon, On 30.11.2016 03:35, Simon Glass wrote: On 28 November 2016 at 02:46, Stefan Roese wrote: The currently available functions accessing the 'reg' property of a device only retrieve the address. Sometimes its also necessary to retrieve the size described by the 'reg'

Re: [U-Boot] [PATCH resend v3 6/6] drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model

2016-11-29 Thread Mugunthan V N
On Wednesday 30 November 2016 05:24 AM, Joe Hershberger wrote: > On Thu, Nov 17, 2016 at 11:39 PM, Mugunthan V N wrote: >> Adopt usb ether gadget and rndis driver to adopt driver model >> >> Signed-off-by: Mugunthan V N >> --- >>

Re: [U-Boot] [PATCH v3 1/6] drivers: usb: gadget: ether: adopt to usb driver model

2016-11-29 Thread Mugunthan V N
On Wednesday 30 November 2016 04:43 AM, Joe Hershberger wrote: > On Sun, Nov 27, 2016 at 11:02 AM, Simon Glass wrote: >> Hi Mugunthan, >> >> On 24 November 2016 at 01:11, Mugunthan V N wrote: >>> Hi Simon >>> >>> On Thursday 24 November 2016 07:51 AM,

Re: [U-Boot] [PATCH] fsl/usb: enable the errata-a005697 for ls1012a

2016-11-29 Thread york sun
On 11/29/2016 06:39 PM, Jerry Huang wrote: > Any comment for this patch? > Looks simple enough. York > Best Regards > Jerry Huang > > -Original Message- > From: Changming Huang [mailto:jerry.hu...@nxp.com] > Sent: Thursday, November 24, 2016 3:14 PM > To: york sun ;

Re: [U-Boot] [PATCH v3 04/11] spi: cadence_qspi: Use #define for bits instead of bit shifts

2016-11-29 Thread Jagan Teki
On Tue, Nov 29, 2016 at 6:28 PM, Phil Edworthy wrote: > Most of the code already uses #defines for the bit value, rather > than the shift required to get the value. This changes the remaining > code over. > > Whislt at it, fix the names of the "Rd Data Capture" register

Re: [U-Boot] [PATCH v2] travis: Add efi_loader grub2 test

2016-11-29 Thread Stephen Warren
On 11/21/2016 04:21 PM, Alexander Graf wrote: On 21/11/2016 23:21, Stephen Warren wrote: On 11/18/2016 05:18 AM, Alexander Graf wrote: We have all the building blocks now to run arbitrary efi applications in travis. The most important one out there is grub2, so let's add a simple test to

Re: [U-Boot] [PATCH v2] travis: Add efi_loader grub2 test

2016-11-29 Thread Stephen Warren
On 11/21/2016 04:15 PM, Alexander Graf wrote: On 21/11/2016 23:31, Tom Rini wrote: On Mon, Nov 21, 2016 at 03:21:43PM -0700, Stephen Warren wrote: On 11/18/2016 05:18 AM, Alexander Graf wrote: We have all the building blocks now to run arbitrary efi applications in travis. The most

Re: [U-Boot] [PATCH] fsl/usb: enable the errata-a005697 for ls1012a

2016-11-29 Thread Jerry Huang
Any comment for this patch? Best Regards Jerry Huang -Original Message- From: Changming Huang [mailto:jerry.hu...@nxp.com] Sent: Thursday, November 24, 2016 3:14 PM To: york sun ; u-boot@lists.denx.de Cc: Jerry Huang Subject: [PATCH] fsl/usb:

Re: [U-Boot] [PATCH v5 10/13] tegra: Use a U-Boot-specific .dtsi file

2016-11-29 Thread Stephen Warren
On 11/28/2016 03:09 PM, Simon Glass wrote: Hi Stephen, On 17 November 2016 at 12:45, Stephen Warren wrote: On 11/16/2016 06:13 PM, Simon Glass wrote: With the new device-tree rules it is possible to put device-tree changes needed by U-Boot into their own file. As an

Re: [U-Boot] [PATCH v2] spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible

2016-11-29 Thread Vignesh R
[...] >>> >>> I'd like to have at least Dinh's/Chin's ack on this. >>> >>> btw don't you need BB for READ as well ? >>> >> >> I don't see any issue with READ due to non word size accesses ATM, > > Like user does sf read ... 0x1003 0x100 , you'll likely have a

Re: [U-Boot] [PATCH 1/1] rpi: set serial port clock to 48 MHz

2016-11-29 Thread Stephen Warren
On 11/27/2016 11:05 PM, Mirza Krak wrote: From: Mirza Krak Recently the default UART clock rate has been changed to 48 MHz on all pi`s in the firmware files, which broke UART support in u-boot. Align configuration to boot firmware. diff --git

Re: [U-Boot] [PATCH] armv8: QSPI: Add AHB bus 16MB+ size support

2016-11-29 Thread Yao Yuan
On 11/15/2016 02:27 AM, York Sun wrote: > On 11/07/2016 10:03 PM, Yao Yuan wrote: > > On 11/08/2016 02:27 AM, York Sun wrote: > >> On 10/25/2016 07:10 PM, Yuan Yao wrote: > >>> From: Yuan Yao > >>> > >>> The default configuration for QSPI AHB bus can't support 16MB+. > >>> But

[U-Boot] [PATCH v2] armv8: QSPI: Add AHB bus 16MB+ size support

2016-11-29 Thread Yuan Yao
From: Yuan Yao The default configuration for QSPI AHB bus can't support 16MB+. But some flash on NXP layerscape board are more than 16MB. Signed-off-by: Yuan Yao --- Changed in v2: Remove the CONFIG_QSPI_AHB_INIT into Kconfig. ---

[U-Boot] [PATCH v2] ls1021a: QSPI: update the node for QSPI support

2016-11-29 Thread Yuan Yao
From: Yuan Yao Add the name for register space and memory space. <0x155 0x1 > is the QSPI register space. <0x4000 0x400> is the QSPI memory space. Signed-off-by: Yuan Yao --- Changed in v2: Updated the commit message. ---

Re: [U-Boot] [PATCH 05/14] serial: 16550: Add port type as driver data

2016-11-29 Thread Marek Vasut
On 11/30/2016 04:10 AM, Simon Glass wrote: > Hi Marek, > > On 29 November 2016 at 20:04, Marek Vasut wrote: >> On 11/30/2016 03:26 AM, Simon Glass wrote: >>> Hi Marek, >>> >>> On 29 November 2016 at 18:27, Marek Vasut wrote: On 11/30/2016 01:32 AM, Simon Glass

Re: [U-Boot] [PATCH v2 10/22] spi: Add error checking for invalid bus widths

2016-11-29 Thread Simon Glass
Hi, On 25 November 2016 at 20:28, Jagan Teki wrote: > On Sat, Nov 26, 2016 at 1:08 AM, Simon Glass wrote: >> Hi, >> >> On 25 November 2016 at 09:59, Fabio Estevam wrote: >>> On Fri, Nov 25, 2016 at 2:57 PM, Jagan Teki

Re: [U-Boot] [PATCH 05/14] serial: 16550: Add port type as driver data

2016-11-29 Thread Simon Glass
Hi Marek, On 29 November 2016 at 20:04, Marek Vasut wrote: > On 11/30/2016 03:26 AM, Simon Glass wrote: >> Hi Marek, >> >> On 29 November 2016 at 18:27, Marek Vasut wrote: >>> On 11/30/2016 01:32 AM, Simon Glass wrote: Hi Marek, On 27 November 2016

Re: [U-Boot] [PATCH v3 4/7] arm: omap5: Add TEE loading support

2016-11-29 Thread Tom Rini
On Tue, Nov 29, 2016 at 04:33:23PM -0600, Andrew F. Davis wrote: > From: Harinarayan Bhatta > > secure_tee_install is used to install and initialize a secure TEE OS such as > Linaro OP-TEE into the secure world. This function takes in the address > where the signed TEE image

Re: [U-Boot] [PATCH 05/14] serial: 16550: Add port type as driver data

2016-11-29 Thread Marek Vasut
On 11/30/2016 03:26 AM, Simon Glass wrote: > Hi Marek, > > On 29 November 2016 at 18:27, Marek Vasut wrote: >> On 11/30/2016 01:32 AM, Simon Glass wrote: >>> Hi Marek, >>> >>> On 27 November 2016 at 10:07, Marek Vasut wrote: On 11/27/2016 06:03 PM, Simon Glass

[U-Boot] [PATCH v3] spi: Add error checking for invalid bus widths

2016-11-29 Thread Simon Glass
At present an invalid bus width prints a message but does not return an error. This is the opposite of the correct behaviour. Adjust it to avoid code bloat in the common case, and avoid hard-to-debug failure in the uncommon case. Signed-off-by: Simon Glass --- Changes in v3:

Re: [U-Boot] [PATCH v3 0/9] From Simon:

2016-11-29 Thread Simon Glass
Hi Heiko, On 29 November 2016 at 16:45, Heiko Stübner wrote: > Hi Simon, > > Am Sonntag, 27. November 2016, 10:01:40 schrieb Simon Glass: >> This v3 patch is an update on Sjoerd's original v2 series from Feburary. >> I have dealt with the changes requested at the time, and

Re: [U-Boot] [coreboot] Any one have a experence the coreboot with u-boot?

2016-11-29 Thread Simon Glass
+U-Boot and Bin On 29 November 2016 at 15:25, Julius Werner wrote: > edit: forgot the mailing list > > On Tue, Nov 29, 2016 at 2:24 PM, Julius Werner wrote: >> +Simon who maintains the U-Boot x86 port and might be interested >> >> In general, this

Re: [U-Boot] [PATCH 07/14] mmc: Tinification of the mmc code

2016-11-29 Thread Tom Rini
On Tue, Nov 29, 2016 at 07:26:55PM -0700, Simon Glass wrote: > Hi Marek, > > On 29 November 2016 at 18:28, Marek Vasut wrote: > > On 11/30/2016 01:32 AM, Simon Glass wrote: > >> Hi Marek, > >> > >> On 25 November 2016 at 15:32, Marek Vasut wrote: > >>> Add new

Re: [U-Boot] [PATCH] dm: core: Add dev_get_addr_size_index() to retrieve addr and size

2016-11-29 Thread Simon Glass
Hi Stefan, On 28 November 2016 at 02:46, Stefan Roese wrote: > The currently available functions accessing the 'reg' property of a > device only retrieve the address. Sometimes its also necessary to > retrieve the size described by the 'reg' property. This patch adds > the new

Re: [U-Boot] [PATCH resend v3 0/6] DM conversion of usb ether gadget

2016-11-29 Thread Simon Glass
Hi Lucasz, On 17 November 2016 at 22:19, Mugunthan V N wrote: > The previous series didn't land on the mailing list properly, so > resending the series as *v3 resend*, sorry for spamming. > > This patch series adopts driver model for usb ether gadget > driver. This series is

Re: [U-Boot] [PATCH v6 00/13] binman: A tool for creating firmware images

2016-11-29 Thread Simon Glass
Hi Bin, On 25 November 2016 at 20:15, Simon Glass wrote: > This series introduces binman, a tool designed to create firmware images. > It provides a way to bring together various binaries and place them in an > image, at particular positions and with configurable alignment. >

Re: [U-Boot] [PATCH 07/14] mmc: Tinification of the mmc code

2016-11-29 Thread Simon Glass
Hi Marek, On 29 November 2016 at 18:28, Marek Vasut wrote: > On 11/30/2016 01:32 AM, Simon Glass wrote: >> Hi Marek, >> >> On 25 November 2016 at 15:32, Marek Vasut wrote: >>> Add new configuration option CONFIG_MMC_TINY which strips away all >>> memory allocation

Re: [U-Boot] [PATCH 05/14] serial: 16550: Add port type as driver data

2016-11-29 Thread Simon Glass
Hi Marek, On 29 November 2016 at 18:27, Marek Vasut wrote: > On 11/30/2016 01:32 AM, Simon Glass wrote: >> Hi Marek, >> >> On 27 November 2016 at 10:07, Marek Vasut wrote: >>> On 11/27/2016 06:03 PM, Simon Glass wrote: Hi Marex, On 25 November 2016

Re: [U-Boot] [PATCH v2 1/4] usb: dwc2: add support for external vbus supply

2016-11-29 Thread Marek Vasut
On 11/29/2016 09:46 AM, Kever Yang wrote: > Hi Marek, > > On 11/26/2016 12:46 AM, Marek Vasut wrote: >> On 11/24/2016 08:29 AM, Kever Yang wrote: >>> Some board do not use the dwc2 internal VBUS_DRV signal, but >>> use a gpio pin to enable the 5.0V VBUS power, add interface to >>> enable the

Re: [U-Boot] [PATCH 07/14] mmc: Tinification of the mmc code

2016-11-29 Thread Marek Vasut
On 11/30/2016 01:32 AM, Simon Glass wrote: > Hi Marek, > > On 25 November 2016 at 15:32, Marek Vasut wrote: >> Add new configuration option CONFIG_MMC_TINY which strips away all >> memory allocation within the MMC code and code for handling multiple >> cards. This allows extremely

Re: [U-Boot] [PATCH 05/14] serial: 16550: Add port type as driver data

2016-11-29 Thread Marek Vasut
On 11/30/2016 01:32 AM, Simon Glass wrote: > Hi Marek, > > On 27 November 2016 at 10:07, Marek Vasut wrote: >> On 11/27/2016 06:03 PM, Simon Glass wrote: >>> Hi Marex, >>> >>> On 25 November 2016 at 15:32, Marek Vasut wrote: Add driver data to each compatible

Re: [U-Boot] [PATCH v3 1/9] ARM: DTS: stm32: add stm32f746 device tree pin control files

2016-11-29 Thread Vikas MANOCHA
Hi Michael, > -Original Message- > From: Michael Kurz [mailto:michi.k...@gmail.com] > Sent: Thursday, November 24, 2016 11:11 AM > To: u-boot@lists.denx.de > Cc: Michael Kurz ; Albert Aribaud > ; Vikas MANOCHA >

Re: [U-Boot] [PATCH v2 2/4] board: popmetal: de-assert the host rst pin in board init

2016-11-29 Thread Simon Glass
On 29 November 2016 at 01:49, Kever Yang wrote: > Hi Simon, > > > On 11/26/2016 03:39 AM, Simon Glass wrote: >> >> Hi Kever, >> >> On 24 November 2016 at 00:29, Kever Yang >> wrote: >>> >>> The PopMetal board have a on board FE1.1 usb 2.0 hub

Re: [U-Boot] [PATCH] Add RTC chip pcf2127 support

2016-11-29 Thread Simon Glass
Hi Meng, On 28 November 2016 at 22:32, Meng Yi wrote: > This driver compatible with pcf2127 and pcf2129 > > Signed-off-by: Meng Yi > --- > drivers/rtc/Makefile | 1 + > drivers/rtc/pcf2127.c | 94 > +++ > 2

Re: [U-Boot] [RFC PATCH 3/3] spl: Add support for enabling dcache

2016-11-29 Thread Simon Glass
On 28 November 2016 at 02:34, Lokesh Vutla wrote: > Add support for enabling d-cache in SPL. The sequence in SPL tries to > replicate the sequence done in U-Boot except that MMU entries were added > for SRAM. > > Signed-off-by: Lokesh Vutla > --- >

Re: [U-Boot] [PATCH 3/4] env_sf: re-order error handling in single-buffer env_relocate_spec

2016-11-29 Thread Simon Glass
On 28 November 2016 at 03:01, Andreas Fenkart wrote: > this makes it easier comparable to the double-buffered version > > Signed-off-by: Andreas Fenkart > --- > common/env_sf.c | 20 +++- > 1 file changed, 11

Re: [U-Boot] [RFC PATCH 2/3] spl: reorder the assignment of board info to global data

2016-11-29 Thread Simon Glass
On 28 November 2016 at 02:34, Lokesh Vutla wrote: > Move the assignment of board info to global data a bit early which is safe, > so that ram details can be used to enable caches. > > Signed-off-by: Lokesh Vutla > --- > common/spl/spl.c | 2 +- > 1 file

Re: [U-Boot] [RESEND][PATCH 21/24] sh4: fix start.S by calling board_init_f() after first code relocation

2016-11-29 Thread Simon Glass
On 27 November 2016 at 15:15, Vladimir Zapolskiy wrote: > Like on ARM platform keep the first code relocation from a U-boot > image storage to RAM at CONFIG_SYS_TEXT_BASE, then pass execution to a > generic board_init_f() with empty GD flags. If CONFIG_SYS_TEXT_BASE is > equal to

Re: [U-Boot] [PATCH 1/4] env_sf: factor out prepare_flash_device

2016-11-29 Thread Simon Glass
On 28 November 2016 at 03:01, Andreas Fenkart wrote: > copy code found in single/double buffered code path > > Signed-off-by: Andreas Fenkart > --- > common/env_sf.c | 47 ++- > 1

Re: [U-Boot] [RESEND][PATCH 22/24] sh: share the correct version of start.S among all cpus

2016-11-29 Thread Simon Glass
On 27 November 2016 at 15:15, Vladimir Zapolskiy wrote: > It is easy to note that SH2/SH3/SH4 start.S code is practically > the same with a minor difference for SH2 where a short data header is > present. To avoid unwanted code duplication and to automatically > convert SH2 and

Re: [U-Boot] [RESEND][PATCH 20/24] sh: add shared relocate_code() function and call board_init_r()

2016-11-29 Thread Simon Glass
On 27 November 2016 at 15:15, Vladimir Zapolskiy wrote: > Commits b61e90e6fd83 ("sh: Drop the arch-specific board init") and > f41e6088eb1a ("sh: Fix build errors for generic board") left code and > data relocation done in start.S, however further actual U-boot U-Boot >

Re: [U-Boot] [RESEND][PATCH 17/24] sh: remove undefined DEBUG preprocessor token from board config files

2016-11-29 Thread Simon Glass
On 27 November 2016 at 15:15, Vladimir Zapolskiy wrote: > By default this undef is a noop, moreover at this point when the > platform support is broken is prevents debugging of U-boot by manual U-Boot > insertion of #define DEBUG into common files, so it makes sense to > remove

Re: [U-Boot] [RESEND][PATCH 19/24] sh: add common dram_init() function for all boards

2016-11-29 Thread Simon Glass
On 27 November 2016 at 15:15, Vladimir Zapolskiy wrote: > Generic board support assumes a different method of specifying > DRAM size on board, also it can be shared among all boards, notably > only sh7763rdp board has a custom legacy dram_init(), however > the difference is only

Re: [U-Boot] [RESEND][PATCH 18/24] sh: define CONFIG_DISPLAY_BOARDINFO to print board information

2016-11-29 Thread Simon Glass
On 27 November 2016 at 15:15, Vladimir Zapolskiy wrote: > All SH boards define a checkboard() function which outputs basic board > information on boot, however generic board support requires to define > CONFIG_DISPLAY_BOARDINFO to do that, so define it for the boards. > >

Re: [U-Boot] [RESEND][PATCH 16/24] sh: add MEMORY command to a shared linker script

2016-11-29 Thread Simon Glass
On 27 November 2016 at 15:15, Vladimir Zapolskiy wrote: > At the moment in runtime all defined sections are copied into or > created in RAM, specify this explicitly to assert potential out of RAM > placements of the sections. > > Signed-off-by: Vladimir Zapolskiy

Re: [U-Boot] [RESEND][PATCH 14/24] sh: place board lowlevel_init code in the beginning of .text

2016-11-29 Thread Simon Glass
On 27 November 2016 at 15:15, Vladimir Zapolskiy wrote: > Reference lowlevel_init of all supported SH2A/SH3/SH4/SH4A boards > from a shared linker script, the lowlevel_init function will be called > by a relative address. > > Signed-off-by: Vladimir Zapolskiy >

Re: [U-Boot] [RESEND][PATCH 13/24] sh4: use single u-boot linker script for all boards

2016-11-29 Thread Simon Glass
On 27 November 2016 at 15:15, Vladimir Zapolskiy wrote: > Three supported SH4/SH4A boards with the bootloader image stored on > SPI flash have own flavour of a linker script, in turn they are equal > among each other. The only difference is that the text from > lowlevel_init.o is

Re: [U-Boot] [RESEND][PATCH 15/24] sh: define entry point and reloc_dst inside a linker script

2016-11-29 Thread Simon Glass
On 27 November 2016 at 15:15, Vladimir Zapolskiy wrote: > No functional change, concentrate linker script commands in one > place for convenience. Entry point is set to CONFIG_SYS_TEXT_BASE by > default on build, so this option can be omitted from being added to > the linker

Re: [U-Boot] [RESEND][PATCH 11/24] r2dplus: select rtl8139 driver in defconfig

2016-11-29 Thread Simon Glass
On 27 November 2016 at 15:15, Vladimir Zapolskiy wrote: > CONFIG_RTL8139 was moved to a board defconfig by a commit 86e9dc86b1a2 > ("net: Move CONFIG_RTL8139 to Kconfig"), however it was done > incorrectly due to a missing CONFIG_NETDEVICES selection, thus > virtually it was just

Re: [U-Boot] [RESEND][PATCH 09/24] sh4: remove __io config options from r2dplus and r7780mp boards

2016-11-29 Thread Simon Glass
On 27 November 2016 at 15:15, Vladimir Zapolskiy wrote: > Defined __io is no-op for the SH architecture and it can be removed > from board files without any functional change. > > Signed-off-by: Vladimir Zapolskiy > --- > arch/sh/include/asm/io.h | 10 --

Re: [U-Boot] [RESEND][PATCH 04/24] sh: cache use jump_to_P2() and back_to_P1() from asm/system.h

2016-11-29 Thread Simon Glass
On 27 November 2016 at 15:15, Vladimir Zapolskiy wrote: > Both jump_to_P2() and back_to_P1() functions are found in asm/system.h > header file and functionally they are the same, don't redefine them. > > Signed-off-by: Vladimir Zapolskiy > --- >

Re: [U-Boot] [RESEND][PATCH 06/24] sh4: cache: move exported cache manipulation functions into cache.c

2016-11-29 Thread Simon Glass
On 27 November 2016 at 15:15, Vladimir Zapolskiy wrote: > No functional change, moving cache manipulation functions into cache.c > allows to collect all of them in a single location and as a pleasant > side effect cache_control() function can be unexported now. > > Signed-off-by:

Re: [U-Boot] [RESEND][PATCH 10/24] r2dplus: use P1 area space for text base and PCI system memory

2016-11-29 Thread Simon Glass
On 27 November 2016 at 15:15, Vladimir Zapolskiy wrote: > While both options are acceptable use P1 area physical addresses > instead of external memory space of text base and PCI system memory > for unification purposes, all other supported superh boards have the > same selection.

Re: [U-Boot] [RESEND][PATCH 03/24] sh3: remove unused cache.c file from being built

2016-11-29 Thread Simon Glass
On 27 November 2016 at 15:15, Vladimir Zapolskiy wrote: > The change is similar to commit 994b56616bae ("sh: delete an unused > source file") for SH2, however here the removed cache.c file was > built and included into an image as a dead code. > > If it is needed in future the

Re: [U-Boot] [RESEND][PATCH 02/24] sh4: cache: correct flush_cache() to writeback and invalidate

2016-11-29 Thread Simon Glass
On 27 November 2016 at 15:15, Vladimir Zapolskiy wrote: > In common usecases flush_cache() assumes both cache invalidation and > write-back to memory, instead of doing cache invalidation only with > the wrapped 'ocbi' instruction pin flush_cache() to cache invalidation > with

Re: [U-Boot] [PATCH 05/14] serial: 16550: Add port type as driver data

2016-11-29 Thread Simon Glass
Hi Marek, On 27 November 2016 at 10:07, Marek Vasut wrote: > On 11/27/2016 06:03 PM, Simon Glass wrote: >> Hi Marex, >> >> On 25 November 2016 at 15:32, Marek Vasut wrote: >>> Add driver data to each compatible string to identify the type of >>> the port. Since all

Re: [U-Boot] [PATCH 07/14] mmc: Tinification of the mmc code

2016-11-29 Thread Simon Glass
Hi Marek, On 25 November 2016 at 15:32, Marek Vasut wrote: > Add new configuration option CONFIG_MMC_TINY which strips away all > memory allocation within the MMC code and code for handling multiple > cards. This allows extremely space-constrained SPL code use the MMC > framework.

Re: [U-Boot] [PATCH v2 7/7] block: Move ceva driver to DM

2016-11-29 Thread Simon Glass
Hi Michal, On 25 November 2016 at 08:00, Michal Simek wrote: > This patch also includes ARM64 zynqmp changes: > - Remove platform non DM initialization > - Remove hardcoded sata base address > > Signed-off-by: Michal Simek > --- > > Changes in

Re: [U-Boot] [PATCH v2 6/7] dm: Add support for scsi/sata based devices

2016-11-29 Thread Simon Glass
Hi Michal, On 25 November 2016 at 08:00, Michal Simek wrote: > All sata based drivers are bind and corresponding block > device is created. Based on this find_scsi_device() is able > to get back block device based on scsi_curr_dev pointer. > > intr_scsi() is commented

Re: [U-Boot] [PATCH 05/24] SPL: tiny-printf: add "l" modifier

2016-11-29 Thread Simon Glass
Hi Andre, On 28 November 2016 at 18:13, André Przywara wrote: > On 28/11/16 00:22, André Przywara wrote: >> On 27/11/16 17:02, Simon Glass wrote: >> >> Hi, >> >>> On 23 November 2016 at 20:19, Siarhei Siamashka >>> wrote: On Sun, 20 Nov

Re: [U-Boot] [PATCH resend v3 5/6] drivers: usb: gadget: ether: prepare driver for driver model migration

2016-11-29 Thread Joe Hershberger
On Thu, Nov 17, 2016 at 11:38 PM, Mugunthan V N wrote: > prepare driver for driver model migration > > Signed-off-by: Mugunthan V N Acked-by: Joe Hershberger ___ U-Boot mailing list

Re: [U-Boot] [PATCH resend v3 4/6] drivers: usb: gadget: ether: use net device priv to pass usb ether priv

2016-11-29 Thread Joe Hershberger
On Thu, Nov 17, 2016 at 11:37 PM, Mugunthan V N wrote: > Use net device priv to pass usb ether priv and use it in > net device ops callback. > > Signed-off-by: Mugunthan V N > Reviewed-by: Simon Glass Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH resend v3 3/6] drivers: usb: gadget: ether: consolidate global devices to single struct

2016-11-29 Thread Joe Hershberger
On Thu, Nov 17, 2016 at 11:36 PM, Mugunthan V N wrote: > Consolidate the net device, usb eth device and gadget device > struct to single struct and a single global variable so that the > same can be passed as priv of ethernet driver. > > Signed-off-by: Mugunthan V N

Re: [U-Boot] [PATCH resend v3 1/6] drivers: usb: gadget: ether: adopt to usb driver model

2016-11-29 Thread Joe Hershberger
On Thu, Nov 17, 2016 at 11:19 PM, Mugunthan V N wrote: > Convert usb ether gadget to adopt usb driver model > > Signed-off-by: Mugunthan V N Acked-by: Joe Hershberger ___ U-Boot

Re: [U-Boot] [PATCH resend v3 6/6] drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model

2016-11-29 Thread Joe Hershberger
On Thu, Nov 17, 2016 at 11:39 PM, Mugunthan V N wrote: > Adopt usb ether gadget and rndis driver to adopt driver model > > Signed-off-by: Mugunthan V N > --- > drivers/usb/gadget/Kconfig | 4 ++ > drivers/usb/gadget/ether.c | 153 >

Re: [U-Boot] [PATCH v3 0/9] From Simon:

2016-11-29 Thread Heiko Stübner
Hi Simon, Am Sonntag, 27. November 2016, 10:01:40 schrieb Simon Glass: > This v3 patch is an update on Sjoerd's original v2 series from Feburary. > I have dealt with the changes requested at the time, and adjusted the way > that the speed change is handled. > > Tested on firefly-rk3288, rock2.

[U-Boot] [PATCH 2/2] common/board_f.c: align m68k arch to use CONFIG_DISPLAY_CPUINFO

2016-11-29 Thread Angelo Dureghello
Change all coldfire board files to use CONFIG_DISPLAY_CPUINFO. Signed-off-by: Angelo Dureghello --- configs/M5208EVBE_defconfig | 1 + configs/M52277EVB_defconfig | 1 + configs/M52277EVB_stmicro_defconfig | 1 +

[U-Boot] [PATCH 1/2] common/board_f.c: align m68k arch to use CONFIG_DISPLAY_CPUINFO

2016-11-29 Thread Angelo Dureghello
Change all coldfire arch files to use CONFIG_DISPLAY_CPUINFO. Signed-off-by: Angelo Dureghello --- arch/m68k/cpu/mcf5227x/cpu.c | 4 +++- arch/m68k/cpu/mcf523x/cpu.c| 4 +++- arch/m68k/cpu/mcf52x2/cpu.c| 29 + arch/m68k/cpu/mcf530x/cpu.c

Re: [U-Boot] [PATCH resend v3 2/6] drivers: usb: gadget: ether: access network_started using local variable

2016-11-29 Thread Joe Hershberger
On Thu, Nov 17, 2016 at 11:19 PM, Mugunthan V N wrote: > network_started of struct eth_dev can be accessed using local > variable dev and no reason to access it with the global struct. > > Signed-off-by: Mugunthan V N > Reviewed-by: Simon Glass

Re: [U-Boot] [RFC PATCH] common: miiphyutil: Work and report phy address in hex in mdio cmd

2016-11-29 Thread Joe Hershberger
On Wed, Nov 16, 2016 at 2:24 AM, Michal Simek wrote: > It is confusing that mdio commands work and report phy id as > decimal value when mii is working with hex values. > > For example: > ZynqMP> mdio list > gem: > 21 - TI DP83867 <--> ethernet@ff0e > ZynqMP> mdio

Re: [U-Boot] [PATCH v3 1/6] drivers: usb: gadget: ether: adopt to usb driver model

2016-11-29 Thread Joe Hershberger
On Sun, Nov 27, 2016 at 11:02 AM, Simon Glass wrote: > Hi Mugunthan, > > On 24 November 2016 at 01:11, Mugunthan V N wrote: >> Hi Simon >> >> On Thursday 24 November 2016 07:51 AM, Simon Glass wrote: >>> Hi Mugunthan, >>> >>> On 20 November 2016 at 22:38,

Re: [U-Boot] [PATCH 03/17] net: phy: Support Marvell 88E1680

2016-11-29 Thread Joe Hershberger
On Wed, Nov 23, 2016 at 9:12 AM, Mario Six wrote: > From: Dirk Eibach > > Add support for Marvell 88E1680 Integrated Octal > 10/100/1000 Mbps Energy Efficient Ethernet Transceiver. > > Signed-off-by: Dirk Eibach > --- >

Re: [U-Boot] Rockchip RK3288 u-boot with mainline kernel

2016-11-29 Thread Rick Bronson
Hi Heiko and Simon, Again, thank you both for your help, I really appreciate it! The good news is that I finally got it to boot fully into mainline u-boot. I switched gears and tried miniarm-rk3288_defconfig which doesn't use the CONFIG_SPL_OF_PLATDATA option. So now my build looks like:

[U-Boot] Please pull u-boot-mpc85xx master

2016-11-29 Thread york sun
Tom, The following changes since commit 693d4c9f1dc40fcf24ced459bc4d1b46db33298a: spl: Remove CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS (2016-11-18 21:20:59 -0500) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git for you to fetch changes up to

Re: [U-Boot] [PATCH v3 5/9] ARM: stm32: use clock setup function defined in clock.c

2016-11-29 Thread Joe Hershberger
On Thu, Nov 24, 2016 at 1:10 PM, Michael Kurz wrote: > Use the clock setup function defined in clock.c instead of setting the > clock bits directly in the drivers. > Remove register definitions of RCC in rcc.h as these are already > defined in the struct in stm32.h > >

Re: [U-Boot] [PATCH v3 5/9] net: gmac_rk3288: Add RK3288 GMAC driver

2016-11-29 Thread Joe Hershberger
On Sun, Nov 27, 2016 at 11:01 AM, Simon Glass wrote: > From: Sjoerd Simons > > Add a new driver for the GMAC ethernet interface present in Rockchip > RK3288 SOCs. This driver subclasses the generic design-ware driver to > add the glue needed

[U-Boot] [PATCH v3 4/7] arm: omap5: Add TEE loading support

2016-11-29 Thread Andrew F. Davis
From: Harinarayan Bhatta secure_tee_install is used to install and initialize a secure TEE OS such as Linaro OP-TEE into the secure world. This function takes in the address where the signed TEE image is loaded as an argument. The signed TEE image consists of a header (struct

[U-Boot] [PATCH v3 5/7] arm: omap5: Add OPTEE node to fdt

2016-11-29 Thread Andrew F. Davis
Add an OPTEE node to the FDT when TEE installation has completed successfully. This informs the kernel of the presence of OPTEE. Signed-off-by: Andrew F. Davis --- arch/arm/mach-omap2/omap5/fdt.c | 35 ++- 1 file changed, 34 insertions(+), 1

[U-Boot] [PATCH v3 7/7] board: ti: am57xx: add FIT image TEE processing

2016-11-29 Thread Andrew F. Davis
Populate the corresponding TEE image processing call to be performed during FIT loadable processing. Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini --- board/ti/am57xx/board.c | 7 +++ 1 file changed, 7 insertions(+) diff --git

[U-Boot] [PATCH v3 2/7] image: Add Trusted Execution Environment image type

2016-11-29 Thread Andrew F. Davis
Add a new image type representing Trusted Execution Environment (TEE) image types. For example, an OP-TEE OS binary image. Signed-off-by: Andrew F. Davis Reviewed-by: Simon Glass --- common/image.c | 1 + include/image.h | 1 + 2 files changed, 2 insertions(+)

[U-Boot] [PATCH v3 0/7] Add FIT loadable custom processing

2016-11-29 Thread Andrew F. Davis
Hello all, To see the background on this see here[0]. As Simon suggested we are now using a linker list to keep any and all TEE specific code out of common files as, unlike kernel, dtb, and ramdisk TEE images may not be used by needed by all users. The last 5 patches in this series are an

[U-Boot] [PATCH v3 1/7] image: Add FIT image loadable section custom processing

2016-11-29 Thread Andrew F. Davis
To help automate the loading of custom image types we add the ability to define custom handlers for the loadable section types. When we find a compatible type while loading a "loadable" image from a FIT image we run its associated handlers to perform any additional steps needed for loading this

[U-Boot] [PATCH v3 6/7] board: ti: dra7xx: add FIT image TEE processing

2016-11-29 Thread Andrew F. Davis
Populate the corresponding TEE image processing call to be performed during FIT loadable processing. Signed-off-by: Andrew F. Davis Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- board/ti/dra7xx/evm.c | 7 +++ 1 file changed, 7

[U-Boot] [PATCH v3 3/7] arm: omap5: Add function to make an SMC call on cpu1

2016-11-29 Thread Andrew F. Davis
From: Harinarayan Bhatta On DRA7xx platform, CPU Core 1 is not used in u-boot. However, in some cases it is need to make secure API calls from Core 1. This patch adds an assembly function to make a secure (SMC) call from CPU Core #1. Signed-off-by: Harinarayan Bhatta

Re: [U-Boot] [PATCH v3 4/9] net: designware: Export the operation functions

2016-11-29 Thread Joe Hershberger
On Sun, Nov 27, 2016 at 11:01 AM, Simon Glass wrote: > Export all functions so that drivers can use them, or not, as the need > arises. > > Signed-off-by: Simon Glass With a minor nit below, Acked-by: Joe Hershberger > --- > >

Re: [U-Boot] [PATCH v3 3/9] net: designware: Split the link init into a separate function

2016-11-29 Thread Joe Hershberger
On Sun, Nov 27, 2016 at 11:01 AM, Simon Glass wrote: > With rockchip we need to make adjustments after the link speed is set but > before enabling received/transmit. In preparation for this, split these > two pieces into separate functions. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v3 1/9] net: designware: Export various functions/struct to allow subclassing

2016-11-29 Thread Joe Hershberger
On Sun, Nov 27, 2016 at 11:01 AM, Simon Glass wrote: > From: Sjoerd Simons > > To allow other DM drivers to subclass the designware driver various > functions and structures need to be exported. Export these. > > Signed-off-by: Sjoerd Simons

Re: [U-Boot] [PATCH] sunxi: move CONFIG_SATAPWR to Kconfig option

2016-11-29 Thread Tom Rini
On Tue, Nov 29, 2016 at 10:17:42PM +0100, Maxime Ripard wrote: > Hi Tom, > > On Tue, Nov 29, 2016 at 04:11:38PM -0500, Tom Rini wrote: > > On Tue, Nov 29, 2016 at 09:39:32PM +0100, Maxime Ripard wrote: > > > On Mon, Nov 28, 2016 at 02:20:10PM +0100, Hans de Goede wrote: > > > > HI, > > > > > > >

Re: [U-Boot] [PATCH 01/11] net: dw: Add read_rom_hwaddr net_op hook

2016-11-29 Thread Joe Hershberger
On Tue, Nov 29, 2016 at 3:40 PM, Simon Glass wrote: > Hi Joe, > > On 29 November 2016 at 14:24, Joe Hershberger > wrote: >> >> Hi Simon, >> >> On Thu, Nov 17, 2016 at 7:13 PM, Simon Glass wrote: >> > Hi Oliver, >> > >> > On 8

Re: [U-Boot] [PATCHv2 1/5] fsl: serdes: ensure accessing the initialized maps of serdes protocol

2016-11-29 Thread york sun
On 08/02/2016 04:14 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Up to now, the function is_serdes_configed() doesn't check if the map > of serdes protocol is initialized before accessing it. The function > is_serdes_configed() will get wrong result when it was called

Re: [U-Boot] Rockchip RK3288 u-boot with mainline kernel

2016-11-29 Thread Heiko Stübner
Am Dienstag, 29. November 2016, 14:40:49 schrieb Simon Glass: > Hi Rick, > > On 29 November 2016 at 11:22, Rick Bronson wrote: > > Hi Heiko and Simon, > > > > Thank you both for your help, I really appreciate it. > > > > No, I do not have the Linux mainline running yet as I

Re: [U-Boot] [PATCH v3 2/9] net: designware: Adjust dw_adjust_link() to return an error

2016-11-29 Thread Joe Hershberger
On Sun, Nov 27, 2016 at 11:01 AM, Simon Glass wrote: > This function can fail, so return the error if there is one. > > Signed-off-by: Simon Glass Acked-by: Joe Hershberger ___ U-Boot

Re: [U-Boot] [PATCH v4 0/6] Add ARMv8 PSCI framework

2016-11-29 Thread york sun
On 11/28/2016 06:06 PM, Hongbo Zhang wrote: > Hi York, > This generic PSCI is controlled by CONFIG_ARMV8_PSCI, if enabled, any > platform can implement their own PSCI functions under this framework, > this is all similar with ARMv7's. > > While PPA is controlled by CONFIG_FSL_LS_PPA, and the

Re: [U-Boot] [PATCHv3 09/15] pci: layerscape: add pci driver based on DM

2016-11-29 Thread Simon Glass
Hi, On 27 November 2016 at 22:59, Z.Q. Hou wrote: > Hi Simon, > > Thanks for your comments! > >> -Original Message- >> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass >> Sent: 2016年11月28日 1:02 >> To: Z.Q. Hou >> Cc:

Re: [U-Boot] [PATCH 1/6] net: dw: Add read_rom_hwaddr net_op hook

2016-11-29 Thread Simon Glass
Hi Oliver, On 28 November 2016 at 03:38, Olliver Schinagl wrote: > On 27-11-16 18:02, Simon Glass wrote: >> >> Hi, >> >> On 25 November 2016 at 08:38, Olliver Schinagl wrote: >>> >>> Add the read_rom_hwaddr net_op hook so that it can be called from boards

Re: [U-Boot] Rockchip RK3288 u-boot with mainline kernel

2016-11-29 Thread Simon Glass
Hi Rick, On 29 November 2016 at 11:22, Rick Bronson wrote: > Hi Heiko and Simon, > > Thank you both for your help, I really appreciate it. > > No, I do not have the Linux mainline running yet as I was focusing > on getting the mainline u-boot running since I saw some references

Re: [U-Boot] [PATCH 01/11] net: dw: Add read_rom_hwaddr net_op hook

2016-11-29 Thread Simon Glass
Hi Joe, On 29 November 2016 at 14:24, Joe Hershberger wrote: > > Hi Simon, > > On Thu, Nov 17, 2016 at 7:13 PM, Simon Glass wrote: > > Hi Oliver, > > > > On 8 November 2016 at 08:54, Olliver Schinagl wrote: > >> Add the

  1   2   3   >