[U-Boot] [PATCH 1/3] ARM: DRA7: Add detection of ES2.0

2015-08-13 Thread Nishanth Menon
Add support for detection of ES2.0 version of DRA7 family of processors. ES2.0 is an incremental revision with various fixes including the following: - reset logic fixes - few assymetric aging logic fixes - MMC clock rate fixes - Ethernet speed fixes - edma fixes for mcasp [ravib...@ti.com: posted

[U-Boot] [PATCH 0/3] ARM: DRA74x: Add support for ES2.0

2015-08-13 Thread Nishanth Menon
Hi, This series add detection and basic support for DRA74x/DRA75x support, and adds support for dra74x-evm platform. Nishanth Menon (3): ARM: DRA7: Add detection of ES2.0 ARM: DRA74-evm: Add iodelay values for SR2.0 ARM: DRA74-evm: Use SMA_1 spare register to workaround DP83865 phy on S

[U-Boot] [PATCH 3/3] ARM: DRA74-evm: Use SMA_1 spare register to workaround DP83865 phy on SR2.0

2015-08-13 Thread Nishanth Menon
DP83865 ethernet phy used on DRA74x-evm is quirky and the datasheet provided IODELAY values for standard RGMII phys do not work. Silicon Revision(SR) 2.0 provides an alternative bit configuration that allows us to do a "gross adjustment" to launch the data off a different internal clock edge. Manu

[U-Boot] [PATCH 2/3] ARM: DRA74-evm: Add iodelay values for SR2.0

2015-08-13 Thread Nishanth Menon
Silicon revision 2.0 has new signal routing hence has an updated set of iodelay parameters to be used. Update the configuration for the same. Padmux remains the same. Based on data from VayuES2_EVM_Base_Config-20150807. NOTE: With respect to the RGMII values, the Manual IODelay values are used fo

Re: [U-Boot] efi: Error building as EFI payload (both 32bit and 64 bit)

2015-08-13 Thread Stoppa, Igor
Hi Bin, On 13 August 2015 at 15:46, Stoppa, Igor wrote: for EFI application. > Thanks a lot. Now it built. It built, but I didn't get much further :-( I'm running qemu 2.1.3 on OpenSUSE and it doesn't seem to start in EFI mode other than with a build of the Open Virtual Machine Firmware that

[U-Boot] [PATCH] ARM: OMAP5+: configs: Fix default boot command

2015-08-13 Thread Lokesh Vutla
The default boot command searches for dofastboot varaiable and does a fastboot if it is set to 1. But the condition "if test ${dofastboot} -eq 1" always returns true if dofastboot is not defined and breaking mmc boot. So make dofastboot as 0 by default and let the runtime environment set it if fast

Re: [U-Boot] [PATCH v6 5/5] usb: lpc32xx: add host USB driver

2015-08-13 Thread Vladimir Zapolskiy
On 13.08.2015 14:55, LEMIEUX, SYLVAIN wrote: > >> -Original Message- >> From: Vladimir Zapolskiy [mailto:v...@mleia.com] >> Sent: 12-Aug-15 8:05 PM >> >> Hi Sylvain, >> >> On 12.08.2015 23:00, LEMIEUX, SYLVAIN wrote: >>> Hi Vladimir and Marek, >>> -Original Message- From:

Re: [U-Boot] [RFC PATCH 27/28] powerpc: remove MPC8610HPCD support

2015-08-13 Thread York Sun
On 08/13/2015 03:15 AM, Masahiro Yamada wrote: > This has not been converted to Generic Board, so should be removed. > (See doc/README.generic-board for details.) > > Signed-off-by: Masahiro Yamada > --- Please give me a day or two to confirm with internal teams to see if there is any need to

Re: [U-Boot] [patch] break build if it would produce broken binary

2015-08-13 Thread Pavel Machek
On Tue 2015-06-02 11:11:35, Simon Glass wrote: > Hi, > > > > > index 43cc494..ae4c21b 100644 > > > > --- a/arch/arm/include/asm/u-boot.h > > > > +++ b/arch/arm/include/asm/u-boot.h > > > > @@ -49,4 +49,8 @@ typedef struct bd_info { > > > > #define IH_ARCH_DEFAULT IH_ARCH_ARM64 > > > > #endif > >

Re: [U-Boot] [PATCH] ARM: OMAP5+: configs: Fix default boot command

2015-08-13 Thread Nishanth Menon
On 08/13/2015 09:56 AM, Lokesh Vutla wrote: > The default boot command searches for dofastboot varaiable > and does a fastboot if it is set to 1. > But the condition "if test ${dofastboot} -eq 1" always > returns true if dofastboot is not defined and breaking mmc boot. > So make dofastboot as 0 by

[U-Boot] [PATCH v3 2/7] armv8: Add SMC calls infrastructure

2015-08-13 Thread Sergey Temerkhanov
This commit adds functions issuing calls to firmware. This allows to use services such as PSCI provided by firmware, e.g. ATF The SMC call can destroy all registers declared temporary by the calling conventions. The clobber list is "x0..x17" because of this Signed-off-by: Sergey Temerkhanov Sign

[U-Boot] [PATCH v3 4/7] arm: serial: Add ability to use pre-initialized UARTs

2015-08-13 Thread Sergey Temerkhanov
On some systems, UART initialization is performed before running U-Boot. This commit allows to skip UART re-initializaion on those systems Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: - Added __used keyword Changes in v2: None drivers/serial/s

[U-Boot] [PATCH v3 5/7] armv8: cavium: Add ThunderX 88xx board definition

2015-08-13 Thread Sergey Temerkhanov
This commit adds basic Cavium ThunderX 88xx board definitions and support. Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: - Fixed formatting - Added MAINTAINERS Changes in v2: None arch/arm/Kconfig | 4 + board/cavium/thunderx

Re: [U-Boot] [RFC PATCH 27/28] powerpc: remove MPC8610HPCD support

2015-08-13 Thread Tom Rini
On Thu, Aug 13, 2015 at 08:04:18AM -0700, York Sun wrote: > > > On 08/13/2015 03:15 AM, Masahiro Yamada wrote: > > This has not been converted to Generic Board, so should be removed. > > (See doc/README.generic-board for details.) > > > > Signed-off-by: Masahiro Yamada > > Please give me a day

[U-Boot] [PATCH v3 3/7] armv8: Add psci.h from the Linux kernel

2015-08-13 Thread Sergey Temerkhanov
This commit adds the psci.h header file from Linux kernel which contains definitions related to the PSCI interface provided by firmware Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: None Changes in v2: None include/linux/psci.h | 90 +

[U-Boot] [PATCH v3 6/7] armv8: cavium: Add an implementation of ATF calling functions

2015-08-13 Thread Sergey Temerkhanov
This commit adds functions issuing calls to the product-specific ATF services Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: None Changes in v2: None board/cavium/thunderx/Makefile | 2 +- board/cavium/thunderx/atf.c | 312 +

[U-Boot] [PATCH v3 7/7] armv8: cavium: Get DRAM size from ATF

2015-08-13 Thread Sergey Temerkhanov
Change the dram_init() function on ThunderX to query ATF services for the real installed DRAM size Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: None Changes in v2: None board/cavium/thunderx/Makefile | 2 +- board/cavium/thunderx/dram.c |

Re: [U-Boot] [RFC PATCH 00/28] Janitorial: powerpc: remove PowerPC non-generic boards

2015-08-13 Thread Tom Rini
On Thu, Aug 13, 2015 at 07:15:18PM +0900, Masahiro Yamada wrote: > PowerPC supports generic board framework, so all the PowerPC boards > should be converted(, otherwise removed). > > This is docmented in doc/README.generic-board, was announced in the ML > again and again, and warning messages hav

Re: [U-Boot] [RFC PATCH 00/28] Janitorial: powerpc: remove PowerPC non-generic boards

2015-08-13 Thread Simon Glass
Hi Masahiro, On 13 August 2015 at 09:12, Tom Rini wrote: > On Thu, Aug 13, 2015 at 07:15:18PM +0900, Masahiro Yamada wrote: > >> PowerPC supports generic board framework, so all the PowerPC boards >> should be converted(, otherwise removed). >> >> This is docmented in doc/README.generic-board, wa

Re: [U-Boot] [PATCH] ARM: OMAP5+: configs: Fix default boot command

2015-08-13 Thread Tom Rini
On Thu, Aug 13, 2015 at 08:26:38PM +0530, Lokesh Vutla wrote: > The default boot command searches for dofastboot varaiable > and does a fastboot if it is set to 1. > But the condition "if test ${dofastboot} -eq 1" always > returns true if dofastboot is not defined and breaking mmc boot. > So make

Re: [U-Boot] [PATCH] ARM: OMAP5+: configs: Fix default boot command

2015-08-13 Thread Tom Rini
On Thu, Aug 13, 2015 at 10:06:08AM -0500, Nishanth Menon wrote: > On 08/13/2015 09:56 AM, Lokesh Vutla wrote: > > The default boot command searches for dofastboot varaiable > > and does a fastboot if it is set to 1. > > But the condition "if test ${dofastboot} -eq 1" always > > returns true if dofa

[U-Boot] [PATCH 3/4] arm: at91: pmc: replace the constant with a define in at91_pmc.h

2015-08-13 Thread Erik van Luijk
To enable the clocks on the at91 boards a constant (0x4) is used. This is replaced with a define in at91_pmc.h (1 << 2). Signed-off-by: Erik van Luijk --- arch/arm/mach-at91/include/mach/at91_pmc.h | 1 + board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 2 +- board/atmel/at91sam9n12ek/at9

Re: [U-Boot] [PATCH v2 0/6] net: Move e1000 driver to driver model and Kconfig

2015-08-13 Thread Marcel Ziswiler
On Tue, 2015-08-11 at 07:39 -0600, Simon Glass wrote: > This little series updates the e1000 Ethernet driver to support > driver > model. It also moves the configuration to Kconfig and adjusts all > boards > using Masahiro's excellent moveconfig tool. > > To avoid a large patch which mixes irrel

Re: [U-Boot] [PATCH] dfu:tests: Modify dfu_gadget_test.sh to accept USB device major:minor number

2015-08-13 Thread Tormod Volden
On Wed, Aug 12, 2015 at 11:44 PM, Lukasz Majewski wrote: > In the dfu-util it is possible to set major:minor number by unsing -d flag > (-d 0451:d022). > Such option is very handy when many DFU devices are connected to a single > host PC. This commit allows testing when above situation emerges. >

[U-Boot] [PATCH 2/4] arm: at91: at91sam9m10g45ek/corvus remove useless chip select 1 init

2015-08-13 Thread Erik van Luijk
On these boards the DDR is connected to a dedicated controller and not to chip select 1 of the EBI. Signed-off-by: Erik van Luijk --- board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 8 board/siemens/corvus/board.c| 8 2 files changed, 16 deletions(-) diff

[U-Boot] [PATCH 4/4] arm: at91: add support for mini-box picosam9g45 board

2015-08-13 Thread Erik van Luijk
Signed-off-by: Erik van Luijk --- arch/arm/include/asm/mach-types.h| 1 + arch/arm/mach-at91/Kconfig | 6 + board/mini-box/picosam9g45/Kconfig | 12 ++ board/mini-box/picosam9g45/MAINTAINERS | 6 + board/mini-box/picosam9g45/Makefile | 19 ++ board/mini-

[U-Boot] [PATCH 0/4] arm: at91: change mpddr and support picosam9g45

2015-08-13 Thread Erik van Luijk
This patchset adds support for the mini-box picosam9g45. As this board uses both DDR controllers. The mpddr had to be patched to be able to call ddr2_init() with a BASE register address parameter. Erik van Luijk (4): arm: at91: mpddr: allow multiple DDR controllers arm: at91: at91sam9m10g45ek/

[U-Boot] [PATCH 1/4] arm: at91: mpddr: allow multiple DDR controllers

2015-08-13 Thread Erik van Luijk
The mpddr.c depends on ATMEL_BASE_MPDDRC for the base address to configure the controller. This cannot be used when there is more than one controller (i.e. AT91SAM9G45, AT91SAM9M10). Signed-off-by: Erik van Luijk --- arch/arm/mach-at91/include/mach/atmel_mpddrc.h | 6 ++-- arch/arm/mach-at91

[U-Boot] [PATCH v3 1/7] armv8: New MMU setup code allowing to use 48+ bits PA/VA

2015-08-13 Thread Sergey Temerkhanov
This patch adds code which sets up 2-level page tables on ARM64 thus extending available VA space. CPUs implementing 64k translation granule are able to use direct PA-VA mapping of the whole 48 bit address space. It also adds the ability to reset the SCTRL register at the very beginning of executio

[U-Boot] [PATCH v3 0/7] This patch series adds support for Cavium ThunderX 88xx SoC family

2015-08-13 Thread Sergey Temerkhanov
(http://cavium.com/ThunderX_ARM_Processors.html) Changes in v3: - Reduced code duplication - Renamed CONFIG_SYS_PTL1_BITS to CONFIG_SYS_PTL2_BITS - Moved 'reset_sctrl' call to the 'reset' label - Rebased to the actual upstream tree - Documented newly added config options - Fixed clobber lists (tha

Re: [U-Boot] [PATCH] ARM: OMAP5+: configs: Fix default boot command

2015-08-13 Thread Nishanth Menon
On Thu, Aug 13, 2015 at 10:25 AM, Tom Rini wrote: > On Thu, Aug 13, 2015 at 10:06:08AM -0500, Nishanth Menon wrote: >> On 08/13/2015 09:56 AM, Lokesh Vutla wrote: >> > The default boot command searches for dofastboot varaiable >> > and does a fastboot if it is set to 1. >> > But the condition "if

Re: [U-Boot] [PATCH] ARM: OMAP5+: configs: Fix default boot command

2015-08-13 Thread Tom Rini
On Thu, Aug 13, 2015 at 10:28:55AM -0500, Nishanth Menon wrote: > On Thu, Aug 13, 2015 at 10:25 AM, Tom Rini wrote: > > On Thu, Aug 13, 2015 at 10:06:08AM -0500, Nishanth Menon wrote: > >> On 08/13/2015 09:56 AM, Lokesh Vutla wrote: > >> > The default boot command searches for dofastboot varaiable

Re: [U-Boot] [PATCH v3 11/16] net/eth.c: Add function to validate a MAC address

2015-08-13 Thread Codrin Constantin Ciubotariu
Hi Joe, York, > -Original Message- > From: Sun York-R58495 > Sent: Wednesday, August 12, 2015 10:59 PM > To: Ciubotariu Codrin Constantin-B43658 > Cc: Joe Hershberger; u-boot@lists.denx.de; joe.hershber...@ni.com > Subject: Re: [U-Boot] [PATCH v3 11/16] net/eth.c: Add function to validate

Re: [U-Boot] [PATCH] ARM: OMAP5+: configs: Fix default boot command

2015-08-13 Thread Nishanth Menon
On Thu, Aug 13, 2015 at 10:39 AM, Tom Rini wrote: > On Thu, Aug 13, 2015 at 10:28:55AM -0500, Nishanth Menon wrote: >> On Thu, Aug 13, 2015 at 10:25 AM, Tom Rini wrote: >> > On Thu, Aug 13, 2015 at 10:06:08AM -0500, Nishanth Menon wrote: >> >> On 08/13/2015 09:56 AM, Lokesh Vutla wrote: >> >> > T

Re: [U-Boot] [PATCH v3 1/7] armv8: New MMU setup code allowing to use 48+ bits PA/VA

2015-08-13 Thread York Sun
On 08/13/2015 08:14 AM, Sergey Temerkhanov wrote: > This patch adds code which sets up 2-level page tables on ARM64 thus > extending available VA space. CPUs implementing 64k translation > granule are able to use direct PA-VA mapping of the whole 48 bit > address space. > It also adds the ability

[U-Boot] [PATCH v3 0/6] net: Move e1000 driver to driver model and Kconfig

2015-08-13 Thread Simon Glass
This little series updates the e1000 Ethernet driver to support driver model. It also moves the configuration to Kconfig and adjusts all boards using Masahiro's excellent moveconfig tool. To avoid a large patch which mixes irrelevant changes this series includes a patch to reorder the defconfig fi

[U-Boot] [PATCH v3 4/6] net: e1000: Add Kconfig options

2015-08-13 Thread Simon Glass
Add Kconfig options in preparation for moving boards to use Kconfig. Signed-off-by: Simon Glass --- Changes in v3: - Drop CONFIG_E1000_FALLBACK_MAC option Changes in v2: - Move the Kconfig additions to a new patch drivers/net/Kconfig | 32 drivers/net/e1000.c

[U-Boot] [PATCH v3 2/6] net: e1000: Prepare for driver model conversion

2015-08-13 Thread Simon Glass
Since struct eth_device does not exist with CONFIG_DM_ETH defined, avoid using it in the driver unless necessary. Most of the time it is better to pass the private driver pointer anyway. Also refactor the code so that code that the driver model implementation will share are available in functions

[U-Boot] [PATCH v3 1/6] net: e1000: Move #include of common.h to the C files

2015-08-13 Thread Simon Glass
We cannot currently include any header files in the C files since common.h needs to be included first, and it is in the header file. Move it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng Acked-by: Joe Hershberger Tested-by: Marcel Ziswiler Tested-on: Apalis T30 2GB on Apalis Evaluation Boa

[U-Boot] [PATCH v3 3/6] net: e1000: Convert to driver model

2015-08-13 Thread Simon Glass
Update this driver to support driver model. Signed-off-by: Simon Glass Acked-by: Joe Hershberger Tested-by: Marcel Ziswiler Tested-on: Apalis T30 2GB on Apalis Evaluation Board --- Changes in v3: - Add a comment as to why netdev.h cannot be included - Fix 'nove' typo and nCONFIG_DM_ETH #ifdef

[U-Boot] [PATCH v3 5/6] Tidy up some defconfig files

2015-08-13 Thread Simon Glass
Several files are out of order. This means that when the moveconfig tool moves CONFIG options to Kconfig it generates a large diff. To avoid this, reorder the files first. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Add new patch to tidy up some defconfig files - Drop cha

Re: [U-Boot] [PATCH v3 11/16] net/eth.c: Add function to validate a MAC address

2015-08-13 Thread York Sun
On 08/13/2015 08:42 AM, Ciubotariu Codrin Constantin-B43658 wrote: > Hi Joe, York, > >> -Original Message- >> From: Sun York-R58495 >> Sent: Wednesday, August 12, 2015 10:59 PM >> To: Ciubotariu Codrin Constantin-B43658 >> Cc: Joe Hershberger; u-boot@lists.denx.de; joe.hershber...@ni.com

Re: [U-Boot] [PATCH 1/3] tpm: Move tpm_tis_i2c to tpm_i2c_infineon

2015-08-13 Thread Simon Glass
On 9 August 2015 at 07:19, Christophe Ricard wrote: > As there is no TCG specification or recommendation for i2c TPM 1.2, move > tpm_tis_i2c driver to tpm_i2c_infineon. Other tpm vendors like atmel or > stmicroelectronics may have a different transport protocol for i2c. > > Signed-off-by: Christop

Re: [U-Boot] [PATCH v2 3/6] net: e1000: Convert to driver model

2015-08-13 Thread Simon Glass
Hi Joe, On 11 August 2015 at 11:33, Joe Hershberger wrote: > Hi Simon, > > On Tue, Aug 11, 2015 at 12:17 PM, Simon Glass wrote: >> Hi Joe, >> >> On 11 August 2015 at 09:53, Joe Hershberger >> wrote: >>> Hi Simon, >>> >>> On Tue, Aug 11, 2015 at 8:39 AM, Simon Glass wrote: Update this dri

Re: [U-Boot] [PATCH 2/3] tpm: Initial work to introduce TPM driver model

2015-08-13 Thread Simon Glass
Hi Christophe, On 9 August 2015 at 07:19, Christophe Ricard wrote: > drivers/tpm/tpm.c is a TPM core driver port from Linux. > So far in u-boot only infineon i2c driver is using it but it could fit > for others... > > Introduce a new tpm uclass so that every TPM driver can register against it >

Re: [U-Boot] [PATCH 3/3] tpm: Add st33zp24 tpm with i2c and spi phy

2015-08-13 Thread Simon Glass
Hi Christophe, On 9 August 2015 at 07:19, Christophe Ricard wrote: > Add TPM st33zp24 tpm with i2c and spi phy. This is a port from Linux. > This driver relies on tpm uclass. > > Signed-off-by: Christophe Ricard > --- > > README | 11 + > drivers/tpm/Makefile

Re: [U-Boot] [v2 1/6] spi: cadence_qspi: move trigger base configuration in init

2015-08-13 Thread vikasm
Hi Marek, On 08/12/2015 07:07 PM, Marek Vasut wrote: > On Thursday, July 16, 2015 at 04:27:29 AM, Vikas Manocha wrote: > > Commit message is missing. Actually subject of the mail was sufficient, this patch just moves the register configuration in init. > >> Signed-off-by: Vikas Manocha >> --

[U-Boot] [PATCH v3 6/6] net: Move CONFIG_E1000 options to Kconfig

2015-08-13 Thread Simon Glass
Move config for the E1000 Ethernet driver to Kconfig and tidy up affected boards. Signed-off-by: Simon Glass Acked-by: Joe Hershberger --- Changes in v3: - Add CONFIG_NETDEVICES where needed - Add required changes to the defconfig files Changes in v2: None configs/B4420QDS_NAND_defconfig

Re: [U-Boot] [PATCH v3 01/11] dm: serial: Update binding for PL01x serial UART

2015-08-13 Thread Simon Glass
Hi Linus, On 11 August 2015 at 07:00, Linus Walleij wrote: > On Fri, Aug 7, 2015 at 3:42 PM, Simon Glass wrote: > >> This binding differs from that of Linux. Update it and change existing >> users. >> >> Signed-off-by: Simon Glass > (...) >> doc/device-tree-bindings/serial/pl01x.txt | 55 >> +

Re: [U-Boot] [PATCH v2 5/6] Tidy up some defconfig files

2015-08-13 Thread Simon Glass
Hi Joe, On 11 August 2015 at 09:53, Joe Hershberger wrote: > Hi Simon, > > On Tue, Aug 11, 2015 at 8:39 AM, Simon Glass wrote: >> Several files are out of order. This means that when the moveconfig tool >> moves CONFIG options to Kconfig it generates a large diff. To avoid this, >> reorder the f

Re: [U-Boot] [PATCH v3 01/11] dm: serial: Update binding for PL01x serial UART

2015-08-13 Thread Stephen Warren
On 08/13/2015 09:59 AM, Simon Glass wrote: Hi Linus, On 11 August 2015 at 07:00, Linus Walleij wrote: On Fri, Aug 7, 2015 at 3:42 PM, Simon Glass wrote: This binding differs from that of Linux. Update it and change existing users. Signed-off-by: Simon Glass (...) doc/device-tree-bindi

Re: [U-Boot] [PATCH v3 0/7] This patch series adds support for Cavium ThunderX 88xx SoC family

2015-08-13 Thread Sergei Temerkhanov
Please disregard, this patch series is incomplete Regards, Sergey On Thu, Aug 13, 2015 at 6:14 PM, Sergey Temerkhanov wrote: > (http://cavium.com/ThunderX_ARM_Processors.html) > > Changes in v3: > - Reduced code duplication > - Renamed CONFIG_SYS_PTL1_BITS to CONFIG_SYS_PTL2_BITS > - Moved 'res

Re: [U-Boot] [v2 2/6] spi: cadence_qspi: remove sram polling from flash read

2015-08-13 Thread vikasm
Hi Marek, On 08/12/2015 07:09 PM, Marek Vasut wrote: > On Thursday, July 16, 2015 at 04:27:30 AM, Vikas Manocha wrote: >> There is no need to check for sram fill level. If sram is empty, cpu will >> go in the wait state till the time data is available from flash. > > > Consider the following sce

[U-Boot] [PATCH v4 1/2] x86: minnowmax: Define and enable interrupt setup

2015-08-13 Thread Simon Glass
Set up interrupts correctly so that Linux can use all devices. Use savedefconfig to regenerate the defconfig file. Signed-off-by: Simon Glass --- Changes in v4: - Use the same interrupt routing as bayleybay Changes in v3: - Drop unnecessary blank lines - Add PCIe root ports from bayleybay Chan

[U-Boot] [PATCH v4 2/2] x86: Add a simple interrupt script to the README

2015-08-13 Thread Simon Glass
It is a bit tedious to figure out the interrupt configuration for a new x86 platform. Add a script which can do this, based on the output of 'pci long'. This may be helpful in some cases. Signed-off-by: Simon Glass --- Changes in v4: - Adjust the PCI device output to decimal instead of hex Chan

Re: [U-Boot] [v2 3/6] spi: cadence_qspi: remove sram polling from flash write

2015-08-13 Thread vikasm
Hi Marek, On 08/12/2015 07:11 PM, Marek Vasut wrote: > On Thursday, July 16, 2015 at 04:27:31 AM, Vikas Manocha wrote: >> There is no need to poll sram level before writing to flash, data going to >> SRAM till sram is full, after that backpressure will take over. > > Please see the question I pos

[U-Boot] [RESUBMIT PATCH v3 1/8] armv8: Add read_mpidr() function

2015-08-13 Thread Sergey Temerkhanov
This patch adds the read_mpidr() function which returns the MPIDR_EL1 register value Signed-off-by: Sergey Temerkhanov --- Changes in v3: None Changes in v2: None arch/arm/include/asm/system.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/include/asm/system.h b/arch

[U-Boot] [RESUBMIT PATCH v3 4/8] armv8: Add psci.h from the Linux kernel

2015-08-13 Thread Sergey Temerkhanov
This commit adds the psci.h header file from Linux kernel which contains definitions related to the PSCI interface provided by firmware Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: None Changes in v2: None include/linux/psci.h | 90 +

[U-Boot] [RESUBMIT PATCH v3 3/8] armv8: Add SMC calls infrastructure

2015-08-13 Thread Sergey Temerkhanov
This commit adds functions issuing calls to firmware. This allows to use services such as PSCI provided by firmware, e.g. ATF The SMC call can destroy all registers declared temporary by the calling conventions. The clobber list is "x0..x17" because of this Signed-off-by: Sergey Temerkhanov Sign

[U-Boot] [RESUBMIT PATCH v3 6/8] armv8: cavium: Add ThunderX 88xx board definition

2015-08-13 Thread Sergey Temerkhanov
This commit adds basic Cavium ThunderX 88xx board definitions and support. Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: - Fixed formatting - Added MAINTAINERS - Moved command definitions to defconfig Changes in v2: None arch/arm/Kconfig

[U-Boot] [RESUBMIT PATCH v3 7/8] armv8: cavium: Add an implementation of ATF calling functions

2015-08-13 Thread Sergey Temerkhanov
This commit adds functions issuing calls to the product-specific ATF services Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: None Changes in v2: None board/cavium/thunderx/Makefile | 2 +- board/cavium/thunderx/atf.c | 312 +

[U-Boot] [RESUBMIT PATCH v3 5/8] arm: serial: Add ability to use pre-initialized UARTs

2015-08-13 Thread Sergey Temerkhanov
On some systems, UART initialization is performed before running U-Boot. This commit allows to skip UART re-initializaion on those systems Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: - Added __used keyword Changes in v2: None drivers/serial/s

[U-Boot] [RESUBMIT PATCH v3 8/8] armv8: cavium: Get DRAM size from ATF

2015-08-13 Thread Sergey Temerkhanov
Change the dram_init() function on ThunderX to query ATF services for the real installed DRAM size Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- Changes in v3: None Changes in v2: None board/cavium/thunderx/Makefile | 2 +- board/cavium/thunderx/dram.c |

Re: [U-Boot] [v2 5/6] spi: cadence_qspi: fix base trigger address & transfer start address

2015-08-13 Thread vikasm
Hi Marek, On 08/12/2015 07:15 PM, Marek Vasut wrote: > On Thursday, July 16, 2015 at 04:27:33 AM, Vikas Manocha wrote: >> This patch is to separate the base trigger from the read/write transfer >> start addresses. > > This patch breaks the QSPI support on SoCFPGA. ok, can you please try to debug

Re: [U-Boot] kconfiglib: update to the latest version

2015-08-13 Thread Tom Rini
On Thu, Aug 13, 2015 at 06:30:31PM +0200, Ulf Magnusson wrote: > On Thu, Aug 13, 2015 at 2:13 PM, Tom Rini wrote: > > On Fri, Jun 12, 2015 at 06:56:19PM +0200, Ulf Magnusson wrote: > > > >> Corresponds to 2f319b8 in https://github.com/ulfalizer/Kconfiglib. > >> > >> Fixes: > >> > >> - Unset user

[U-Boot] [PATCH v2 0/2] Rename DDR4 target names

2015-08-13 Thread York Sun
Freescale T1 series supports both DDR3 and DDR4. We have boards for each type of memory. To make the naming consistence and easy to understand, use _DDR4 instead of _D4 for the names. The same applies to Layerscape LS1 series, which already has _ddr4 in the name. LS2 series doesn't support DDR3, so

[U-Boot] [PATCH v2 1/2] armv8/ls2085a_emu: Drop DDR3 emulation target

2015-08-13 Thread York Sun
The emulator with DDR3 model was used during model bringup. DDR4 controllers are used with ls2085a. Drop the DDR4 target defconfig and enable DDR4 in ls2085a_emu_defconfig. Signed-off-by: York Sun --- Changes in v2: None board/freescale/ls2085a/MAINTAINERS |1 - configs/ls2085a_emu_D4_defc

[U-Boot] [PATCH v2 2/2] powerpc/defconfig: Rename defconfig file for T1040QDS/T1024QDS DDR4 targets

2015-08-13 Thread York Sun
Previously the DDR4 targets were named with _D4. Rename them with _DDR4 for easy identification. Signed-off-by: York Sun --- Changes in v2: Drop changes for RDB boards because DDR4 version is actually different board from DDR3 version. board/freescale/t102xqds/MAINTAINERS |

Re: [U-Boot] [U-Boot PATCH v2 01/10] sf: allocate cache aligned buffers to copy from flash

2015-08-13 Thread Jagan Teki
Hi Simon, On 30 July 2015 at 11:04, Vignesh R wrote: > From: Ravi Babu > > Use memalign() with ARCH_DMA_MINALIGN to allocate read buffers. > This is required because, flash drivers may use DMA for read operations > and may have to invalidate the buffer before read. > > Signed-off-by: Ravi Babu

Re: [U-Boot] [RESEND PATCH 1/1] armv8: Add framework for CCN-504 interconnect configuration

2015-08-13 Thread York Sun
On 06/30/2015 09:28 PM, Bhupesh Sharma wrote: > This patch adds a minimal framework for Dickens CCN-504 > interconnect configuration - mainly related to adding Clusters/cores > to snoop/DVM domain and setting QoS of the RN-I ports. > > LS2085A platform makes use of these configurations to support

Re: [U-Boot] [U-Boot PATCH v2 08/10] dma: ti-edma3: Add helper function to support edma3 transfer

2015-08-13 Thread Jagan Teki
On 30 July 2015 at 11:04, Vignesh R wrote: > Signed-off-by: Vignesh R Reviewed-by: Jagan Teki > --- > arch/arm/include/asm/ti-common/ti-edma3.h | 2 + > drivers/dma/ti-edma3.c| 78 > +++ > 2 files changed, 80 insertions(+) > > diff --git a/arc

Re: [U-Boot] [U-Boot PATCH v2 01/10] sf: allocate cache aligned buffers to copy from flash

2015-08-13 Thread Tom Rini
On Thu, Aug 13, 2015 at 11:09:03PM +0530, Jagan Teki wrote: > Hi Simon, > > On 30 July 2015 at 11:04, Vignesh R wrote: > > From: Ravi Babu > > > > Use memalign() with ARCH_DMA_MINALIGN to allocate read buffers. > > This is required because, flash drivers may use DMA for read operations > > and m

Re: [U-Boot] [U-Boot PATCH v2 01/10] sf: allocate cache aligned buffers to copy from flash

2015-08-13 Thread Simon Glass
HI Jagan, On 13 August 2015 at 11:39, Jagan Teki wrote: > > Hi Simon, > > On 30 July 2015 at 11:04, Vignesh R wrote: > > From: Ravi Babu > > > > Use memalign() with ARCH_DMA_MINALIGN to allocate read buffers. > > This is required because, flash drivers may use DMA for read operations > > and ma

Re: [U-Boot] [U-Boot PATCH v2 09/10] spi: ti_qspi: Use DMA to read from qspi flash

2015-08-13 Thread Jagan Teki
On 30 July 2015 at 11:04, Vignesh R wrote: > ti_qspi uses memory map mode for faster read. Enabling DMA will increase > read speed by 3x @48MHz on DRA74 EVM. > > Signed-off-by: Vignesh R Reviewed-by: Jagan Teki > --- > drivers/spi/ti_qspi.c | 23 +++ > 1 file changed, 23

Re: [U-Boot] [U-Boot PATCH v2 07/10] sf: ops: Add spi_flash_copy_mmap function

2015-08-13 Thread Jagan Teki
On 30 July 2015 at 11:04, Vignesh R wrote: > From: Tom Rini > > When doing a memory mapped copy we may have DMA available and thus need > to have this copy abstracted so that the driver can do it, rather than a > simple memcpy. > > Signed-off-by: Tom Rini > Signed-off-by: Vignesh R > --- Revie

Re: [U-Boot] [U-Boot PATCH v2 01/10] sf: allocate cache aligned buffers to copy from flash

2015-08-13 Thread Jagan Teki
On 13 August 2015 at 23:23, Simon Glass wrote: > HI Jagan, > > On 13 August 2015 at 11:39, Jagan Teki wrote: >> >> Hi Simon, >> >> On 30 July 2015 at 11:04, Vignesh R wrote: >> > From: Ravi Babu >> > >> > Use memalign() with ARCH_DMA_MINALIGN to allocate read buffers. >> > This is required beca

[U-Boot] [RESUBMIT PATCH v3 0/8] This patch series adds support for Cavium ThunderX 88xx SoC family

2015-08-13 Thread Sergey Temerkhanov
(http://cavium.com/ThunderX_ARM_Processors.html) Changes in v3: - Reduced code duplication - Renamed CONFIG_SYS_PTL1_BITS to CONFIG_SYS_PTL2_BITS - Moved 'reset_sctrl' call to the 'reset' label - Rebased to the actual upstream tree - Documented newly added config options - Fixed clobber lists (tha

Re: [U-Boot] kconfiglib: update to the latest version

2015-08-13 Thread Ulf Magnusson
On Thu, Aug 13, 2015 at 2:13 PM, Tom Rini wrote: > On Fri, Jun 12, 2015 at 06:56:19PM +0200, Ulf Magnusson wrote: > >> Corresponds to 2f319b8 in https://github.com/ulfalizer/Kconfiglib. >> >> Fixes: >> >> - Unset user values when loading a zero-byte .config. (5e54e2c) >> - Ignore indented .con

[U-Boot] [PATCH v2] kconfiglib: update to the latest version

2015-08-13 Thread Ulf Magnusson
Changes to v1: - Based on a newer Kconfiglib version. Fixes a problem with line numbers and continuation lines. - The patch should hopefully apply now. :P Ulf Magnusson (1): kconfiglib: update to the latest version tools/buildman/kconfiglib.py | 4226 +

Re: [U-Boot] [U-Boot PATCH v2 10/10] ARM: dra7xx_evm: Enable EDMA3 in SPL to support DMA on qspi

2015-08-13 Thread Jagan Teki
On 30 July 2015 at 11:04, Vignesh R wrote: > Enable TI_EDMA3 and SPL_DMA support, so as to reduce boot time. With > DMA enabled there is almost 3x improvement in read performance. This > helps in reducing boot time in qspiboot mode > > Also add EDMA3 base address for DRA7XX and AM57XX. > > Signed-

[U-Boot] [PATCH] ti: qspi: set flash quad bit based on quad support flag

2015-08-13 Thread vishalm
From: Vishal Mahaveer Update op_mode_rx flag based on CONFIG_QSPI_QUAD_SUPPORT flag, instead of platform. Signed-off-by: Vishal Mahaveer CC: Tom Rini --- drivers/spi/ti_qspi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/spi/ti_qspi.c b/drivers/spi/ti_qspi

Re: [U-Boot] [U-Boot PATCH v2 01/10] sf: allocate cache aligned buffers to copy from flash

2015-08-13 Thread Jagan Teki
On 13 August 2015 at 23:24, Tom Rini wrote: > On Thu, Aug 13, 2015 at 11:09:03PM +0530, Jagan Teki wrote: >> Hi Simon, >> >> On 30 July 2015 at 11:04, Vignesh R wrote: >> > From: Ravi Babu >> > >> > Use memalign() with ARCH_DMA_MINALIGN to allocate read buffers. >> > This is required because, fl

[U-Boot] [RESUBMIT PATCH v3 2/8] armv8: New MMU setup code allowing to use 48+ bits PA/VA

2015-08-13 Thread Sergey Temerkhanov
This patch adds code which sets up 2-level page tables on ARM64 thus extending available VA space. CPUs implementing 64k translation granule are able to use direct PA-VA mapping of the whole 48 bit address space. It also adds the ability to reset the SCTRL register at the very beginning of executio

Re: [U-Boot] [PATCH v3 01/11] dm: serial: Update binding for PL01x serial UART

2015-08-13 Thread Tom Rini
On Thu, Aug 13, 2015 at 10:02:58AM -0600, Stephen Warren wrote: > On 08/13/2015 09:59 AM, Simon Glass wrote: > >Hi Linus, > > > >On 11 August 2015 at 07:00, Linus Walleij wrote: > >>On Fri, Aug 7, 2015 at 3:42 PM, Simon Glass wrote: > >> > >>>This binding differs from that of Linux. Update it and

Re: [U-Boot] [PATCH] ti: qspi: set flash quad bit based on quad support flag

2015-08-13 Thread Jagan Teki
On 13 August 2015 at 23:26, wrote: > From: Vishal Mahaveer > > Update op_mode_rx flag based on CONFIG_QSPI_QUAD_SUPPORT flag, > instead of platform. > > Signed-off-by: Vishal Mahaveer > CC: Tom Rini Reviewed-by: Jagan Teki > --- > drivers/spi/ti_qspi.c |2 +- > 1 files changed, 1 inser

Re: [U-Boot] [U-Boot PATCH v2 01/10] sf: allocate cache aligned buffers to copy from flash

2015-08-13 Thread Tom Rini
On Thu, Aug 13, 2015 at 11:38:00PM +0530, Jagan Teki wrote: > On 13 August 2015 at 23:24, Tom Rini wrote: > > On Thu, Aug 13, 2015 at 11:09:03PM +0530, Jagan Teki wrote: > >> Hi Simon, > >> > >> On 30 July 2015 at 11:04, Vignesh R wrote: > >> > From: Ravi Babu > >> > > >> > Use memalign() with A

Re: [U-Boot] [U-Boot PATCH v2 02/10] env: use cache line aligned memory for flash read

2015-08-13 Thread Tom Rini
On Thu, Jul 30, 2015 at 11:04:35AM +0530, Vignesh R wrote: > From: Ravi Babu > > Use memalign() with ARCH_DMA_MINALIGN to allocate read buffers. > This is required because, flash drivers may use DMA for read operations > and may have to invalidate the buffer before read. > > Signed-off-by: Ravi

Re: [U-Boot] [U-Boot PATCH v2 05/10] ARM: OMAP5: Add functions to enable and disable EDMA3 clocks

2015-08-13 Thread Tom Rini
On Thu, Jul 30, 2015 at 11:04:38AM +0530, Vignesh R wrote: > Adds functions to enable and disable edma3 clocks which can be invoked > by drivers using edma3 to control the clocks. > > Signed-off-by: Vignesh R [snip] > diff --git a/arch/arm/include/asm/omap_common.h > b/arch/arm/include/asm/omap

Re: [U-Boot] [U-Boot PATCH v2 06/10] ARM: AM43XX: Add functions to enable and disable EDMA3 clocks

2015-08-13 Thread Tom Rini
On Thu, Jul 30, 2015 at 11:04:39AM +0530, Vignesh R wrote: > Adds functions to enable and disable edma3 clocks which can be invoked > by drivers using edma3 to control the clocks. > > Signed-off-by: Vignesh R Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH v2] kconfiglib: update to the latest version

2015-08-13 Thread Ulf Magnusson
Signed-off-by: Ulf Magnusson ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 06/19] spi: Fix zynq SPI binding

2015-08-13 Thread Jagan Teki
On 22 July 2015 at 21:08, Michal Simek wrote: > Zynq is using Cadence IP where binding is documented in the Linux kernel > and there is no reason to use different binding. > Synchronize it. > > Signed-off-by: Michal Simek Reviewed-by: Jagan Teki Updated patchwork, just take along with the seri

Re: [U-Boot] [PATCH] spi: zynq_spi: Simplify debug macro

2015-08-13 Thread Jagan Teki
On 22 July 2015 at 12:05, Michal Simek wrote: > Trivial fix. > > Signed-off-by: Michal Simek > --- Reviewed-by: Jagan Teki > > drivers/spi/zynq_spi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/spi/zynq_spi.c b/drivers/spi/zynq_spi.c > index c5c3e1044fda..

Re: [U-Boot] efi: Error building as EFI payload (both 32bit and 64 bit)

2015-08-13 Thread Stoppa, Igor
+Simon Hello Bin, Simon, On 13 August 2015 at 17:52, Stoppa, Igor wrote: > I'm running qemu 2.1.3 on OpenSUSE and it doesn't seem to start in EFI > mode other than with a build of the Open Virtual Machine Firmware that > I found googling [1]. With this I can reach an EFI shell. Almost the same

Re: [U-Boot] [U-Boot PATCH v2 01/10] sf: allocate cache aligned buffers to copy from flash

2015-08-13 Thread Simon Glass
Hi, On 13 August 2015 at 12:23, Tom Rini wrote: > On Thu, Aug 13, 2015 at 11:38:00PM +0530, Jagan Teki wrote: >> On 13 August 2015 at 23:24, Tom Rini wrote: >> > On Thu, Aug 13, 2015 at 11:09:03PM +0530, Jagan Teki wrote: >> >> Hi Simon, >> >> >> >> On 30 July 2015 at 11:04, Vignesh R wrote: >>

Re: [U-Boot] [U-Boot PATCH v2 01/10] sf: allocate cache aligned buffers to copy from flash

2015-08-13 Thread Jagan Teki
On 14 August 2015 at 00:08, Simon Glass wrote: > Hi, > > On 13 August 2015 at 12:23, Tom Rini wrote: >> On Thu, Aug 13, 2015 at 11:38:00PM +0530, Jagan Teki wrote: >>> On 13 August 2015 at 23:24, Tom Rini wrote: >>> > On Thu, Aug 13, 2015 at 11:09:03PM +0530, Jagan Teki wrote: >>> >> Hi Simon, >

[U-Boot] [PATCH] usb_storage: USB storage transfer size increase for xHCI

2015-08-13 Thread Sergey Temerkhanov
Increase xHCI transfer size for USB storage devices. This helps to achieve 10-20x speedup for large transfers Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- common/usb_storage.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/usb_sto

Re: [U-Boot] [U-Boot PATCH v2 04/10] ARM: OMAP5: Add support for disabling clocks in uboot

2015-08-13 Thread Jagan Teki
On 30 July 2015 at 11:04, Vignesh R wrote: > From: Kishon Vijay Abraham I > > Add do_disable_clocks() to disable clock domains and module clocks. > These clocks are enabled using do_enable_clocks(). > > Signed-off-by: Kishon Vijay Abraham I > Signed-off-by: Vignesh R > --- Reviewed-by: Jagan T

Re: [U-Boot] [U-Boot PATCH v2 03/10] ARM: AM43xx: Add support for disabling clocks in uboot

2015-08-13 Thread Jagan Teki
On 30 July 2015 at 11:04, Vignesh R wrote: > From: Kishon Vijay Abraham I > > Add do_disable_clocks() to disable clock domains and module clocks. > These clocks are enabled using do_enable_clocks(). > > Signed-off-by: Kishon Vijay Abraham I > Signed-off-by: Vignesh R > --- Reviewed-by: Jagan T

Re: [U-Boot] [PATCH 3/3] ARM: at91: sama5: update the spi flash mapping

2015-08-13 Thread Jagan Teki
On 7 July 2015 at 16:38, Josh Wu wrote: > Also move the spi flash configurations to the at91-sama5_common.h. > > Current at91 zImage size is about 3.3M, the old mapping is not > suitable. So update the spi flash map as following: > 0x0 ~ 0x004000: at91bootstrap(16k) > 0x04000

Re: [U-Boot] [PATCH v2 08/15] cgtqmx6eval: Add SPI NOR flash support

2015-08-13 Thread Jagan Teki
On 14 July 2015 at 00:31, Otavio Salvador wrote: > Add SPI NOR support: > > => sf probe > SF: Detected SST25VF032B with page size 256 Bytes, erase size 4 KiB, total 4 > MiB > > Signed-off-by: Otavio Salvador > --- Reviewed-by: Jagan Teki > > Changes in v2: None > > board/congatec/cgtqmx6eval

<    1   2   3   4   5   >