Re: [U-Boot] [PATCH] spi: sf: add support for throughput mesurement of sf read/write

2015-12-16 Thread Mugunthan V N
On Thursday 17 December 2015 12:43 PM, Jagan Teki wrote: > On 17 December 2015 at 12:33, Mugunthan V N wrote: >> Jagan >> >> On Tuesday 27 October 2015 07:24 PM, Mugunthan V N wrote: >>> This patch adds time measurement and throughput calculation for >>> sf read/write commands. >>> >>> The output

Re: [U-Boot] [PATCH 0/8] spi: Cleanup set

2015-12-16 Thread Bin Meng
Hi Jagan, On Thu, Dec 17, 2015 at 3:15 PM, Jagan Teki wrote: > Hi Bin, > > On 17 December 2015 at 12:44, Jagan Teki wrote: >> On 16 December 2015 at 21:10, Jagan Teki wrote: >>> Cleanup set on spi_slave{} >>> >>> Jagan Teki (8): >>> spi: Remove SPI_OPM_RX_EXTN >>> spi: Remove SPI_OPM_RX_DIO

Re: [U-Boot] [PATCH 0/8] spi: Cleanup set

2015-12-16 Thread Jagan Teki
Hi Bin, On 17 December 2015 at 12:44, Jagan Teki wrote: > On 16 December 2015 at 21:10, Jagan Teki wrote: >> Cleanup set on spi_slave{} >> >> Jagan Teki (8): >> spi: Remove SPI_OPM_RX_EXTN >> spi: Remove SPI_OPM_RX_DIO|QIOF >> spi: Rename SPI_OPM_RX_* to SPI_RX_* >> spi: Rename op_mode_r

Re: [U-Boot] [PATCH 0/8] spi: Cleanup set

2015-12-16 Thread Jagan Teki
On 16 December 2015 at 21:10, Jagan Teki wrote: > Cleanup set on spi_slave{} > > Jagan Teki (8): > spi: Remove SPI_OPM_RX_EXTN > spi: Remove SPI_OPM_RX_DIO|QIOF > spi: Rename SPI_OPM_RX_* to SPI_RX_* > spi: Rename op_mode_rx to mode_rx > spi: Move mode, mode_rx, flags macro's to structur

Re: [U-Boot] [PATCH] spi: sf: add support for throughput mesurement of sf read/write

2015-12-16 Thread Jagan Teki
On 17 December 2015 at 12:33, Mugunthan V N wrote: > Jagan > > On Tuesday 27 October 2015 07:24 PM, Mugunthan V N wrote: >> This patch adds time measurement and throughput calculation for >> sf read/write commands. >> >> The output of sf read changes from >> >> ---8<--- >> SF: 4096 bytes @ 0x0 Rea

Re: [U-Boot] p1020rdb/p2020rdb-pa

2015-12-16 Thread Bin Meng
+York Hi Bryan, On Thu, Dec 17, 2015 at 9:18 AM, Bryan Hundven wrote: > Hello, > > I was digging through my garage and found my freescale p1020rdb-pa > board. > > I noticed in commit: > http://git.denx.de/?p=u-boot.git;a=commit;h=743d48151d2df4215b90310dc422db84d45e8002 > > ...that these boards

Re: [U-Boot] [PATCH] spi: sf: add support for throughput mesurement of sf read/write

2015-12-16 Thread Mugunthan V N
Jagan On Tuesday 27 October 2015 07:24 PM, Mugunthan V N wrote: > This patch adds time measurement and throughput calculation for > sf read/write commands. > > The output of sf read changes from > > ---8<--- > SF: 4096 bytes @ 0x0 Read: OK > --->8--- > > to > > ---8<--- > SF: 4096 bytes @ 0x0

Re: [U-Boot] [PATCH] arm: socfpga: Fixed Phy not found error. Fixed QSPI flash not found error Disabled Hardware watch dog by default. Updated MMC clock.

2015-12-16 Thread Wolfgang Denk
Dear Shengjiang Wu, In message you wrote: > | Subject: Re: [U-Boot] [PATCH] arm: socfpga: Fixed Phy not found error. Fixed QSPI flash not found error Disabled Hardware watch dog by default. Updated MMC clock. Please move this information into the commit message; the Subject should be short -

Re: [U-Boot] [PATCH v4 05/16] spi: Add support for dual and quad mode

2015-12-16 Thread Jagan Teki
On Dec 17, 2015 12:01 PM, "Mugunthan V N" wrote: > > On Tuesday 15 December 2015 01:43 PM, Jagan Teki wrote: > > On 15 December 2015 at 13:22, Mugunthan V N wrote: > >> spi bus can support dual and quad wire data transfers for tx and > >> rx. So defining dual and quad modes for both tx and rx. Al

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

2015-12-16 Thread York Sun
Tom, The following changes since commit 52bc7c7e2b31d6ba8d394f3d22b551abfa365363: eeprom: fix eeprom write procedure (2015-12-16 10:31:31 -0500) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git master for you to fetch changes up to ea1332ceb4698b199387b517e640

Re: [U-Boot] [PATCH v4 05/16] spi: Add support for dual and quad mode

2015-12-16 Thread Mugunthan V N
On Tuesday 15 December 2015 01:43 PM, Jagan Teki wrote: > On 15 December 2015 at 13:22, Mugunthan V N wrote: >> spi bus can support dual and quad wire data transfers for tx and >> rx. So defining dual and quad modes for both tx and rx. Also add >> support to parse bus width used for spi tx and rx

[U-Boot] [PATCH V2 2/4] common: env_mmc: support loading env from different cards

2015-12-16 Thread Peng Fan
Some boards support booting from different SD card slots. For example, mx6dpsabresd board supports booting from SD2, SD3, EMMC4, using different boot switch. And the index numbers are SD2(0), SD3(1), EMMC4(2). But CONFIG_SYS_MMC_ENV_DEV is hardcoded to 1(for SD3), so when booting from SD2(using 0),

[U-Boot] [PATCH V2 1/4] imx: mx7dsabresd: move mmc_get_env_devno to soc code

2015-12-16 Thread Peng Fan
Move mmc_get_env_devno to soc.c Introduce a weak function board_mmc_get_env_devno. Different boards can implement this according to sdhc controller which is used by the board. Signed-off-by: Peng Fan Cc: Stefano Babic --- Changes V2: new patch. mx7dsabresd implemented mmc_get_env_devno. So nee

[U-Boot] [PATCH V2 4/4] imx: mx6: implement board_mmc_get_env_devno

2015-12-16 Thread Peng Fan
Implement board_mmc_get_env_devno for the boards. Following is examples: SD1/SD2/SD3: return devno; SD2/SD3: return devno - 1; SD2/SD4: if (devno == 2), return dev - 2; return dev - 1; Signed-off-by: Peng Fan Cc: Stefano Babic --- Changes V2: implement board_mmc_get_env_devno in different boa

[U-Boot] [PATCH V2 3/4] imx: mx6: implement mmc_get_env_devno

2015-12-16 Thread Peng Fan
Implement mmc_get_env_devno, devno can be got from smbr1 of SRC. Introduce a weak function board_mmc_get_env_devno, different boards can implement it according to different sdhc controllers that used by the board. Signed-off-by: Peng Fan Cc: Stefano Babic --- Changes V2: move mmc_get_env_devno

[U-Boot] [PATCH] arm: socfpga: Fixed Phy not found error. Fixed QSPI flash not found error Disabled Hardware watch dog by default. Updated MMC clock.

2015-12-16 Thread ShengjiangWu
arm: socfpga: Fixed Phy not found error. Fixed QSPI flash not found error Disabled Hardware watch dog by default. Updated MMC clock. Updated pinmux and clock for EMAC1 and QSPI flash. U-BOOT-2015-10 can run on Cyclone V SoC Developm

[U-Boot] p1020rdb/p2020rdb-pa

2015-12-16 Thread Bryan Hundven
Hello, I was digging through my garage and found my freescale p1020rdb-pa board. I noticed in commit: http://git.denx.de/?p=u-boot.git;a=commit;h=743d48151d2df4215b90310dc422db84d45e8002 ...that these boards were removed because were not generic, and possibly no longer maintained by freescale.

[U-Boot] [PATCH] ARM: dts: uniphier: use stdout-path instead of console

2015-12-16 Thread Masahiro Yamada
Sync device trees with Linux. Linux commit: 06ff6b2d63210922a1b1d0f4997e29ce75b5e0c0 Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-ph1-ld4-ref.dts| 3 +-- arch/arm/dts/uniphier-ph1-ld6b-ref.dts | 3 +-- arch/arm/dts/uniphier-ph1-pro4-ref.dts | 3 +-- arch/arm/dts

Re: [U-Boot] [PATCH V2 1/7] test/py: Implement pytest infrastructure

2015-12-16 Thread Heiko Schocher
Hello Stephen, Am 16.12.2015 um 17:27 schrieb Stephen Warren: On 12/16/2015 08:11 AM, Michal Simek wrote: On 9.12.2015 17:32, Stephen Warren wrote: On 12/02/2015 03:18 PM, Stephen Warren wrote: This tool aims to test U-Boot by executing U-Boot shell commands using the console interface. A sin

Re: [U-Boot] ATAGS for Tegra, Sunxi, etc.

2015-12-16 Thread Masahiro Yamada
+ To: U-Boot ML I forgot to send this to ML. 2015-12-17 13:58 GMT+09:00 Masahiro Yamada : > Hi, > > I noticed some well-maintained new SoC families still > define CONFIG_CMDLINE_TAG. > > > For example, > > include/configs/tegra-common.h > > #define CONFIG_CMDLINE_TAG /* enable p

[U-Boot] [PATCH v2 2/7] dm: pci: Add a function to write a BAR

2015-12-16 Thread Simon Glass
Add a driver-model version of the pci_write_bar32 function so that this is supported in the new API. Signed-off-by: Simon Glass --- Changes in v2: - Rename the last parameter to 'addr' - Update the comment to explain usable of this function drivers/pci/pci-uclass.c | 8 include/pci.h

[U-Boot] [PATCH v2 5/7] dm: x86: Add a driver for Intel PCH7

2015-12-16 Thread Simon Glass
At some point we may need to distinguish between different types of PCHs, but for existing supported platforms we only need to worry about version 7 and version 9 bridges. Add a driver for the PCH7. Signed-off-by: Simon Glass --- Changes in v2: - Rename the PCH functions - Update the get_version

[U-Boot] [PATCH v2 3/7] dm: pci: Avoid using pci_bus_to_hose() in the uclass

2015-12-16 Thread Simon Glass
This function is only available for compatibility with old code. Avoid using it in the uclass. Signed-off-by: Simon Glass Reviewed-by: Bin Meng Tested-by: Bin Meng --- Changes in v2: None drivers/pci/pci_auto.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

[U-Boot] [PATCH v2 4/7] dm: Expand the uclass for Platform Controller Hubs (PCH)

2015-12-16 Thread Simon Glass
A Platform Controller Hub is an Intel concept - it is like the peripherals on an SoC and is often in a separate chip from the CPU. The chip is typically found on the first PCI bus and integrates multiple devices. We have a very simple uclass to support PCHs. Add a few operations, such as setting u

[U-Boot] [PATCH v2 6/7] dm: x86: Add a driver for Intel PCH9

2015-12-16 Thread Simon Glass
At some point we may need to distinguish between different types of PCHs, but for existing supported platforms we only need to worry about version 7 and version 9 bridges. Add a driver for the PCH9. Signed-off-by: Simon Glass --- Changes in v2: - Rename the PCH functions - Update the get_version

[U-Boot] [PATCH v2 7/7] dm: x86: spi: Convert ICH SPI driver to driver model PCI API

2015-12-16 Thread Simon Glass
At present this SPI driver works by searching the PCI buses for its peripheral. It also uses the legacy PCI API. In addition the driver has code to determine the type of Intel PCH that is used (version 7 or version 9). Now that we have proper PCH drivers we can use those to obtain the information

[U-Boot] [PATCH v2 0/7] dm: x86: Convert ICH driver fully to driver model PCI API

2015-12-16 Thread Simon Glass
This is a small series to move the ICH driver over to use the driver model PCI API. It involves creating PCH drivers which the ICH driver can use to find out its base address. At present irq-router is the 'PCH' node in most device tree files. This is not really correct since the router is just one

[U-Boot] [PATCH v2 1/7] dm: pci: Move pci_bus_to_hose() to compatibility

2015-12-16 Thread Simon Glass
This function should not be used by driver-model code, so move it to the compatibility portion. Signed-off-by: Simon Glass --- Changes in v2: - Add more detail to the function comment drivers/pci/pci-uclass.c | 16 +--- drivers/pci/pci_compat.c | 15 +++ drivers/pci

Re: [U-Boot] [PATCH 7/7] dm: x86: spi: Convert ICH SPI driver to driver model PCI API

2015-12-16 Thread Simon Glass
Hi Bin, On 8 December 2015 at 06:24, Bin Meng wrote: > Hi Simon, > > On Tue, Dec 1, 2015 at 12:11 PM, Simon Glass wrote: >> At present this SPI driver works by searching the PCI buses for its >> peripheral. It also uses the legacy PCI API. >> >> In addition the driver has code to determine the t

Re: [U-Boot] [PATCH 4/7] dm: Expand the uclass for Peripheral Controller Hubs (PCH)

2015-12-16 Thread Simon Glass
Hi Bin, On 8 December 2015 at 06:23, Bin Meng wrote: > Hi Simon, > > On Tue, Dec 1, 2015 at 12:11 PM, Simon Glass wrote: >> A Peripheral Controller Hub is an Intel concept - it is like the peripherals > > I believe the name is Platform Controller Hub. > >> on an SoC and is often in a separate ch

Re: [U-Boot] [PATCH] axs103: add support of generic OHCI USB 1.1 controller

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 08:54:11 PM, Alexey Brodkin wrote: > Hi Marek, Hi! > On Wed, 2015-12-16 at 17:52 +0100, Marek Vasut wrote: > > On Wednesday, December 16, 2015 at 05:05:15 PM, Alexey Brodkin wrote: > > > This commit adds support of USB 1.1 storage media on AXS103 board. > > > Fo

Re: [U-Boot] [PATCH] arm: socfpga: Fixed Phy not found error. Fixed QSPI flash not found error Disabled Hardware watch dog by default. Updated MMC clock.

2015-12-16 Thread Marek Vasut
On Thursday, December 17, 2015 at 04:25:28 AM, ShengjiangWu wrote: > arm: socfpga: Fixed Phy not found error. > Fixed QSPI flash not found error > Disabled Hardware watch dog by default. > Updated MMC clock. Fix your mailer please. > Updat

Re: [U-Boot] [PATCH 3/6] usb: dwc2: determine TT hub address and port for split transactions

2015-12-16 Thread Stefan Bruens
On Tuesday 15 December 2015 20:17:32 Stephen Warren wrote: > On 12/12/2015 09:17 PM, Stefan Brüns wrote: > > Start split and complete split tokens need the hub address and the > > downstream port of the first HS hub (device view). > > Code copied from host/ehci_hcd.c > > Rather than cut/paste this

Re: [U-Boot] [PATCH 2/6] usb: dwc2: Handle NAK during CONTROL DATA and STATUS stage

2015-12-16 Thread Stefan Bruens
On Tuesday 15 December 2015 20:07:26 Stephen Warren wrote: > On 12/12/2015 09:17 PM, Stefan Brüns wrote: > > A function is allowed to return NAKs during the DATA stage to control > > data flow control. NAKs during the STATUS stage signal the function > > is still processing the request. > > For my

Re: [U-Boot] [PATCH 2/2] arm: lpc32xx: switch SPL builds to driver model

2015-12-16 Thread Vladimir Zapolskiy
Hi Simon, On 15.12.2015 20:57, Simon Glass wrote: > Hi Vladimir, > > On 12 December 2015 at 17:48, Vladimir Zapolskiy wrote: >> For NXP LPC32xx boards the change enables SPL_DM option, this allows >> to use any driver model UART driver in SPL images, hence a restriction >> on HSUART in SPL image

Re: [U-Boot] [PATCH 1/6] usb: dwc2: avoid out of bounds access

2015-12-16 Thread Stefan Bruens
On Wednesday 16 December 2015 11:29:14 Marek Vasut wrote: > > > + if (!in && xfer_len) { > > > > Do zero-length memcpy or flush_dcache_range actually cause an issue? > > I believe they should not, based on how they are implemented. I think that's correct, it is just a minor optimization.

Re: [U-Boot] u-boot 2016.01-rc2 detects BeagleBone Black incorrectly

2015-12-16 Thread Robert Nelson
Hi Matwey On Sat, Dec 12, 2015 at 3:14 AM, Matwey V. Kornilov wrote: > Hello, > > I am running 2016.01-rc on BBB (Embest replica) > > printenv shows the following: > > findfdt=if test $board_name = A335BONE; then setenv fdtfile > am335x-bone.dtb; fi; if test $board_name = A335BNLT; then if test >

Re: [U-Boot] [PATCH v2 1/5] lib: Add wait_for_bit

2015-12-16 Thread Marek Vasut
On Thursday, December 17, 2015 at 12:32:26 AM, Mateusz Kulikowski wrote: > Hi Marek, Hi, > On 16.12.2015 23:11, Marek Vasut wrote: > > On Wednesday, December 16, 2015 at 10:58:38 PM, Mateusz Kulikowski wrote: > [...] > > >> +#include > >> +#include > >> +#include > >> + > >> +int wait_for_bit

Re: [U-Boot] [PATCH v2 1/5] lib: Add wait_for_bit

2015-12-16 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Marek, On 16.12.2015 23:11, Marek Vasut wrote: > On Wednesday, December 16, 2015 at 10:58:38 PM, Mateusz Kulikowski wrote: [...] >> +#include >> +#include >> +#include >> + >> +int wait_for_bit(const char *prefix, const u32 *reg, const u32 mas

Re: [U-Boot] [RFC PATCH 06/11] drivers: Add SPMI bus uclass

2015-12-16 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Simon, On 15.12.2015 19:58, Simon Glass wrote: > Hi Matheusz, > > On 10 December 2015 at 14:41, Mateusz Kulikowski > wrote: [...] >> + >> +/** >> + * struct dm_spmi_ops - SPMI device I/O interface >> + * >> + * Should be implemented by UCLASS_S

Re: [U-Boot] [RFC PATCH 05/11] ehci: Add support for Qualcomm EHCI

2015-12-16 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Marek, On 13.12.2015 16:48, Marek Vasut wrote: > On Sunday, December 13, 2015 at 01:38:41 PM, Mateusz Kulikowski wrote: [...] >> It doesn't matter if I add it as >> select USB_ULPI_VIEWPORT >> in usb KConfig, or forcibly add CONFIG_USB_ULPI_VIEWP

Re: [U-Boot] [RFC PATCH 03/11] mmc: Add support for Qualcomm SDHCI controller

2015-12-16 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Simon, On 15.12.2015 19:58, Simon Glass wrote: > Hi Mateusz, > > On 10 December 2015 at 14:41, Mateusz Kulikowski > wrote: [...] >> +DECLARE_GLOBAL_DATA_PTR; >> + >> +static int msm_sdc_clk_init(struct udevice *dev) >> +{ >> + uint clk_r

Re: [U-Boot] [RFC PATCH 10/11] arm: Add support for Qualcomm Snapdragon family

2015-12-16 Thread Simon Glass
Hi Mateusz, On 10 December 2015 at 14:41, Mateusz Kulikowski wrote: > > First supported chip is APQ8016 (that is compatible with MSM8916). > Drivers in SoC code: > - Reset controller (PSHOLD) > - Clock controller (very simple clock configuration for MMC and UART) > > Signed-off-by: Mateusz Kuliko

Re: [U-Boot] [RFC PATCH 04/11] ehci-hcd: Add init_after_reset

2015-12-16 Thread Tom Rini
On Thu, Dec 10, 2015 at 10:41:40PM +0100, Mateusz Kulikowski wrote: > Some host controllers need addidional initialization after ehci_reset() > In non-dm implementation it is possible to use > CONFIG_EHCI_HCD_INIT_AFTER_RESET. > This patch adds similar option to ehci drivers using dm. > > Signed

Re: [U-Boot] [RFC PATCH 11/11] board: Add Qualcomm Dragonboard 410C support

2015-12-16 Thread Simon Glass
Hi Mateusz, On 10 December 2015 at 14:41, Mateusz Kulikowski wrote: > This commit add support for 96Boards Dragonboard410C. > It is board based on APQ8016 Qualcomm SoC, complying with > 96boards specification. > Features (present out of the box): > - 4x Cortex A53 (ARMv8) > - 2x USB Host port > -

Re: [U-Boot] [RFC PATCH 01/11] serial: Add support for Qualcomm serial port

2015-12-16 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Simon, Thank you for awesome review! I fully agree with most of the suggestions (for this and following patches), so to keep it short will reply only to questions (or where I disagree) On 15.12.2015 19:58, Simon Glass wrote: > Hi Mateusz, >

Re: [U-Boot] [PATCH v2 1/5] lib: Add wait_for_bit

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 10:58:38 PM, Mateusz Kulikowski wrote: > Add function to poll register waiting for specific bit(s). > Similar functions are implemented in few drivers - they are almost > identical and can be generalized. > > Signed-off-by: Mateusz Kulikowski > --- > > include

[U-Boot] [PATCH v2 5/5] net: zynq_gem: Use shared wait_for_bit

2015-12-16 Thread Mateusz Kulikowski
Use existing library function to poll bit(s). Signed-off-by: Mateusz Kulikowski --- drivers/net/zynq_gem.c | 35 ++- 1 file changed, 2 insertions(+), 33 deletions(-) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 0a41281..430c2a4 100644 --- a

[U-Boot] [PATCH v2 4/5] usb: ehci-mx6: Use shared wait_for_bit

2015-12-16 Thread Mateusz Kulikowski
Use existing library function to poll bit(s). Signed-off-by: Mateusz Kulikowski --- drivers/usb/host/ehci-mx6.c | 32 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c index 2666351..e1c67f7

[U-Boot] [PATCH v2 2/5] usb: dwc2: Use shared wait_for_bit

2015-12-16 Thread Mateusz Kulikowski
Use existing library function to poll bit(s). Signed-off-by: Mateusz Kulikowski --- drivers/usb/host/dwc2.c | 41 + 1 file changed, 13 insertions(+), 28 deletions(-) diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c index 541c0f9..42d31e3 10

[U-Boot] [PATCH v2 1/5] lib: Add wait_for_bit

2015-12-16 Thread Mateusz Kulikowski
Add function to poll register waiting for specific bit(s). Similar functions are implemented in few drivers - they are almost identical and can be generalized. Signed-off-by: Mateusz Kulikowski --- include/wait_bit.h | 35 +++ lib/Makefile | 1 + lib/wait_

[U-Boot] [PATCH v2 0/5] Add wait_for_bit()

2015-12-16 Thread Mateusz Kulikowski
Changes in V2: - wait_bit.o is always compiled in - Removed CONFIG_LIB_WAIT_BIT from configs/Kconfigs - Constified arguments to wait_bit - Removed check for CONFIG_... in drivers - Added tested-by to ohci-lp32xx @Sylvain Lemieux: I didn't changed driver logic with v2, so allowed myself to add your

[U-Boot] [PATCH v2 3/5] usb: ohci-lpc32xx: Use shared wait_for_bit

2015-12-16 Thread Mateusz Kulikowski
Use existing library function to poll bit(s). Signed-off-by: Mateusz Kulikowski Tested-by: Sylvain Lemieux --- drivers/usb/host/ohci-lpc32xx.c | 34 +++--- 1 file changed, 7 insertions(+), 27 deletions(-) diff --git a/drivers/usb/host/ohci-lpc32xx.c b/drivers/usb/h

Re: [U-Boot] [PATCH v3] net: macb: Not all the GEM are gigabit capable

2015-12-16 Thread Joe Hershberger
On Wed, Dec 16, 2015 at 7:50 AM, Gregory CLEMENT wrote: > During the initialization of PHY the gigabit bit capable is set if the > controller is a GEM. However, for sama5d2 and sama5d4, the GEM is > configured to support only 10/100. > > Improperly setting the GBE capability leads to an unresponsi

[U-Boot] [PATCH V2 1/2] sunxi: A20-Olimex-SOM-EVB defconfig: enable mmc3

2015-12-16 Thread Karsten Merker
The Olimex A20-SOM-EVB is an evaluation board for the Olimex A20-SOM system-on-module. The baseboard provides a full-size SD socket (connected to mmc3) in addition to the micro-SD socket on the SOM itself (which is connected to mmc0). Enable the mmc3 controller in the board defconfig. Signed-off-

[U-Boot] [PATCH V2 0/2] sunxi: support for a second SD card socket

2015-12-16 Thread Karsten Merker
Hello, this patchset enables the full-size SD card socket on the A20-Olimex-SOM-EVB baseboard in u-boot and adds support for including this kind of secondary socket into the boot environment provided by config_distro_bootcmd.h on sunxi-based systems. The latter is particularly useful on the A20-O

[U-Boot] [PATCH V2 2/2] sunxi: Enable a second mmc socket as boot target in the environment

2015-12-16 Thread Karsten Merker
Some sunxi-based boards (such as the Olimex A20-SOM-EVB) have a second MMC socket. This socket is not bootable hardware-wise, i.e. u-boot itself cannot be loaded from it, but once u-boot has started, the second socket can be used in the boot process provided by config_distro_bootcmd.h. If a second

Re: [U-Boot] [PATCH] video: Typo cleanup in drivers/video/da8xx-fb.c

2015-12-16 Thread Anatolij Gustschin
On Wed, 16 Dec 2015 11:47:39 -0500 (EST) "Robert P. J. Day" wrote: > > Signed-off-by: Robert P. J. Day applied to u-boot-video/master, thanks! -- Anatolij ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] video: Clean up formatting, spelling mistakes in exynos_dp*

2015-12-16 Thread Anatolij Gustschin
On Wed, 16 Dec 2015 11:31:23 -0500 (EST) "Robert P. J. Day" wrote: > > Aesthetic cleanup in drivers/video/exynos_dp*.[ch] files. > > Signed-off-by: Robert P. J. Day applied to u-boot-video/master, thanks! -- Anatolij ___ U-Boot mailing list U-Boot@l

Re: [U-Boot] [PATCH] axs103: add support of generic OHCI USB 1.1 controller

2015-12-16 Thread Alexey Brodkin
Hi Marek, On Wed, 2015-12-16 at 17:52 +0100, Marek Vasut wrote: > On Wednesday, December 16, 2015 at 05:05:15 PM, Alexey Brodkin wrote: > > This commit adds support of USB 1.1 storage media on AXS103 board. > > For some yet unknown reason USB 2.0 doesn't work on AXS103 board issuing > > messages l

[U-Boot] [PATCH] net: lpc32xx: Fix MDIO busy wait

2015-12-16 Thread amessier . tyco
From: Alexandre Messier The MDIO read function waits on the busy flag after issuing the read command, while the MDIO write function waits on the busy flag before issuing the write command. This causes an issue when writing then immediately reading. As the MDIO module is still busy, the read comm

Re: [U-Boot] [RFC] board_f: generalize code for case of no relocation

2015-12-16 Thread Alexey Brodkin
Hi Bin, On Tue, 2015-12-15 at 20:45 +0800, Bin Meng wrote: > On Tue, Dec 15, 2015 at 6:06 PM, Alexey Brodkin > wrote: > > Current implementation of disabled relocation only works for EFI. > > > > In case of GD_FLG_SKIP_RELOC jump_to_copy() will return instead of > > jumping further in board_init

Re: [U-Boot] [PATCH 0/3] dm: add dev_get_reg() for getting device node's reg

2015-12-16 Thread Stephen Warren
On 12/16/2015 11:53 AM, Stephen Warren wrote: On 12/15/2015 09:32 AM, Przemyslaw Marczak wrote: commit: dm: core: Enable optional use of fdt_translate_address() enables device's bus/child address translation method, depending on bus 'ranges' property and including child 'reg' property. This cha

Re: [U-Boot] [PATCH 0/3] dm: add dev_get_reg() for getting device node's reg

2015-12-16 Thread Stephen Warren
On 12/15/2015 09:32 AM, Przemyslaw Marczak wrote: commit: dm: core: Enable optional use of fdt_translate_address() enables device's bus/child address translation method, depending on bus 'ranges' property and including child 'reg' property. This change makes impossible to decode the 'reg' for no

Re: [U-Boot] [PATCH V2 1/7] test/py: Implement pytest infrastructure

2015-12-16 Thread Stephen Warren
On 12/16/2015 11:32 AM, Michal Simek wrote: 2015-12-16 19:09 GMT+01:00 Stephen Warren mailto:swar...@wwwdotorg.org>>: On 12/16/2015 10:43 AM, Michal Simek wrote: Hi Stephen, 2015-12-16 17:27 GMT+01:00 Stephen Warren mailto:swar...@wwwdotorg.org>

Re: [U-Boot] [PATCH V2 1/7] test/py: Implement pytest infrastructure

2015-12-16 Thread Michal Simek
2015-12-16 19:09 GMT+01:00 Stephen Warren : > On 12/16/2015 10:43 AM, Michal Simek wrote: > >> Hi Stephen, >> >> 2015-12-16 17:27 GMT+01:00 Stephen Warren > >: >> >> >> On 12/16/2015 08:11 AM, Michal Simek wrote: >> >> On 9.12.2015 17:32, Stephen Warren wr

Re: [U-Boot] [PATCH V2 1/7] test/py: Implement pytest infrastructure

2015-12-16 Thread Stephen Warren
On 12/16/2015 10:43 AM, Michal Simek wrote: Hi Stephen, 2015-12-16 17:27 GMT+01:00 Stephen Warren mailto:swar...@wwwdotorg.org>>: On 12/16/2015 08:11 AM, Michal Simek wrote: On 9.12.2015 17:32, Stephen Warren wrote: On 12/02/2015 03:18 PM, Stephen Warren wrote:

Re: [U-Boot] [PATCH V2 1/7] test/py: Implement pytest infrastructure

2015-12-16 Thread Michal Simek
Hi Stephen, 2015-12-16 17:27 GMT+01:00 Stephen Warren : > On 12/16/2015 08:11 AM, Michal Simek wrote: > >> On 9.12.2015 17:32, Stephen Warren wrote: >> >>> On 12/02/2015 03:18 PM, Stephen Warren wrote: >>> This tool aims to test U-Boot by executing U-Boot shell commands using the c

[U-Boot] [PATCH] powerpc: Various typo fixes under arch/powerpc/cpu/mpc83xx

2015-12-16 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day --- one more bit of tidying in the area of u-boot i'm actually working in at the moment. diff --git a/arch/powerpc/cpu/mpc83xx/ecc.c b/arch/powerpc/cpu/mpc83xx/ecc.c index 985a024..2a486e4 100644 --- a/arch/powerpc/cpu/mpc83xx/ecc.c +++ b/arch/powerpc/cpu/mpc8

Re: [U-Boot] [PATCH 1/2] arm: imx6: Add DDR3 calibration code for MX6 Q/D/DL

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 06:07:02 PM, Eric Nelson wrote: > Hi Marek, Hi! > On 12/16/2015 09:50 AM, Marek Vasut wrote: > > On Wednesday, December 16, 2015 at 05:28:48 PM, Eric Nelson wrote: > >> On 12/16/2015 08:33 AM, Marek Vasut wrote: > >>> On Wednesday, December 16, 2015 at 04:00:38

Re: [U-Boot] [PATCH 1/2] arm: imx6: Add DDR3 calibration code for MX6 Q/D/DL

2015-12-16 Thread Eric Nelson
Hi Marek, On 12/16/2015 09:50 AM, Marek Vasut wrote: > On Wednesday, December 16, 2015 at 05:28:48 PM, Eric Nelson wrote: >> On 12/16/2015 08:33 AM, Marek Vasut wrote: >>> On Wednesday, December 16, 2015 at 04:00:38 PM, Eric Nelson wrote: ... >>> I don't have SX/SL, so I couldn't test it there. >

Re: [U-Boot] [PATCH 1/2] arm: imx6: Add DDR3 calibration code for MX6 Q/D/DL

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 05:28:48 PM, Eric Nelson wrote: > Hi Marek, Hi! > On 12/16/2015 08:33 AM, Marek Vasut wrote: > > On Wednesday, December 16, 2015 at 04:00:38 PM, Eric Nelson wrote: > >> Hi Marek, > >> > >> On 12/16/2015 07:40 AM, Marek Vasut wrote: > >>> Add DDR3 calibration co

Re: [U-Boot] [PATCH] axs103: add support of generic OHCI USB 1.1 controller

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 05:05:15 PM, Alexey Brodkin wrote: > This commit adds support of USB 1.1 storage media on AXS103 board. > For some yet unknown reason USB 2.0 doesn't work on AXS103 board issuing > messages like this: > >8--- > AXS# usb star

Re: [U-Boot] [PATCH] usb: add support of generic OHCI devices

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 04:45:05 PM, Alexey Brodkin wrote: > Hi Marek, > > On Wed, 2015-12-16 at 16:44 +0100, Marek Vasut wrote: > > On Wednesday, December 16, 2015 at 04:40:25 PM, Alexey Brodkin wrote: > > > Hi Marek, > > > > > > On Wed, 2015-12-16 at 01:44 +0100, Marek Vasut wrote: >

[U-Boot] [PATCH] video: Typo cleanup in drivers/video/da8xx-fb.c

2015-12-16 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day --- more tidying up as i run across it ... diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index e2b2144..468f385d 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c @@ -379,7 +379,7 @@ static void lcd_cfg_ac_bias(int period,

[U-Boot] [PATCH] video: Clean up formatting, spelling mistakes in exynos_dp*

2015-12-16 Thread Robert P. J. Day
Aesthetic cleanup in drivers/video/exynos_dp*.[ch] files. Signed-off-by: Robert P. J. Day --- noticed a couple spelling mistakes in those files so figured i might as well do a thorough cleaning. not compile-tested as everything here is aesthetic. diff --git a/drivers/video/exynos_dp.c b/dri

Re: [U-Boot] [PATCH 1/2] arm: imx6: Add DDR3 calibration code for MX6 Q/D/DL

2015-12-16 Thread Eric Nelson
Hi Marek, On 12/16/2015 08:33 AM, Marek Vasut wrote: > On Wednesday, December 16, 2015 at 04:00:38 PM, Eric Nelson wrote: >> Hi Marek, >> >> On 12/16/2015 07:40 AM, Marek Vasut wrote: >>> Add DDR3 calibration code for i.MX6Q, i.MX6D and i.MX6DL. This code >>> fine-tunes the behavior of the MMDC co

Re: [U-Boot] [PATCH V2 1/7] test/py: Implement pytest infrastructure

2015-12-16 Thread Stephen Warren
On 12/16/2015 08:11 AM, Michal Simek wrote: On 9.12.2015 17:32, Stephen Warren wrote: On 12/02/2015 03:18 PM, Stephen Warren wrote: This tool aims to test U-Boot by executing U-Boot shell commands using the console interface. A single top-level script exists to execute or attach to the U-Boot c

[U-Boot] [PATCH] arc: introduce option to not relocate U-boot

2015-12-16 Thread Alexey Brodkin
Note option is only meant this only for advanced debugging with Synopsys proprietary MetaWare debugger which is capable of accessing much more specific hardware resources compared to gdb. For example it may show contents of L1 and L2 caches, internal states of some hardware blocks etc. But on the

[U-Boot] [PATCH] arc: make global_data.h usable in assembly files

2015-12-16 Thread Alexey Brodkin
Currently on attempt to use global_data.h in an assembly file following will happen: >8- AS arch/arc/lib/start.o ./arch/arc/include/asm/global_data.h: Assembler messages: ./arch/arc/include/asm/global_data.h:11: Error: bad instruction 'struct arch_global_dat

[U-Boot] [PATCH] axs103: add support of generic OHCI USB 1.1 controller

2015-12-16 Thread Alexey Brodkin
This commit adds support of USB 1.1 storage media on AXS103 board. For some yet unknown reason USB 2.0 doesn't work on AXS103 board issuing messages like this: >8--- AXS# usb start starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... EHCI timed

[U-Boot] [PATCH v3] ARM: Add Support for the VInCo platform

2015-12-16 Thread Gregory CLEMENT
The Versatile Industrial Communication platform is a community oriented board from Landis + Gyr. It comes with: - an RS-485 port - 2 Ethernet ports - a wireless M-BUS - a 4G modem - a 4MB SPI flash - a 4GB eMMC Signed-off-by: Gregory CLEMENT Acked-by: Nicolas Ferre --- Hi again, Some of my fixe

Re: [U-Boot] [PATCH] usb: add support of generic OHCI devices

2015-12-16 Thread Alexey Brodkin
Hi Marek, On Wed, 2015-12-16 at 16:44 +0100, Marek Vasut wrote: > On Wednesday, December 16, 2015 at 04:40:25 PM, Alexey Brodkin wrote: > > Hi Marek, > > > > On Wed, 2015-12-16 at 01:44 +0100, Marek Vasut wrote: > > > On Monday, December 14, 2015 at 03:18:50 PM, Alexey Brodkin wrote: > > > > And

Re: [U-Boot] [PATCH] usb: add support of generic OHCI devices

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 04:40:25 PM, Alexey Brodkin wrote: > Hi Marek, > > On Wed, 2015-12-16 at 01:44 +0100, Marek Vasut wrote: > > On Monday, December 14, 2015 at 03:18:50 PM, Alexey Brodkin wrote: > > > This driver is meant to be used with any OHCI-compatible host > > > controller in

[U-Boot] [PATCH 8/8] spi: Minor cleanup

2015-12-16 Thread Jagan Teki
- Add comments on mode_rx - Tab space's Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- include/spi.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/spi.h b/include/spi.h index ca1ea3b..8

[U-Boot] [PATCH 7/8] spi: Use BIT macro

2015-12-16 Thread Jagan Teki
Used BIT macro like 1 << nr as BIT(nr) where nr is 0...n Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- include/spi.h | 38 +++--- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/inclu

[U-Boot] [PATCH 6/8] spi: Fix bit assignment with flags

2015-12-16 Thread Jagan Teki
Fixed bit assignment with flags members on spi_slave{} Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- include/spi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/spi.h b/include/spi.h index 9e1fe3

[U-Boot] [PATCH 4/8] spi: Rename op_mode_rx to mode_rx

2015-12-16 Thread Jagan Teki
Since spi rx mode macro's are renamed to simple and meaninfull in below patch, this patch will rename the respective structure member. "spi: Rename SPI_OPM_RX_* to SPI_RX_*" (sha1: 5e9ffbc5376616449beaaf2bc100f579f12291cf) Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Pala

[U-Boot] [PATCH 2/8] spi: Remove SPI_OPM_RX_DIO|QIOF

2015-12-16 Thread Jagan Teki
SPI_OPM_RX_DIO and SPI_OPM_RX_QIOF are rx IO commands/opmodes for dual and quad. Usually IO operation's are referred to flash protocol rather with spi controller protocol, these are still present in flash side for the usage of spi-nor controllers. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek C

[U-Boot] [PATCH 5/8] spi: Move mode, mode_rx, flags macro's to structure

2015-12-16 Thread Jagan Teki
This patch moves mode, mode_rx, flags macro's to respective member position on spi_slave{}, for better readabilty and finding the respective member macro's easily. This patch fix's the tab space on mode macro's as well. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladu

[U-Boot] [PATCH 3/8] spi: Rename SPI_OPM_RX_* to SPI_RX_*

2015-12-16 Thread Jagan Teki
SPI_OPM_RX_AS - SPI_RX_SLOW SPI_OPM_RX_AF - SPI_RX_FAST SPI_OPM_RX_DOUT - SPI_RX_DUAL SPI_OPM_RX_QOF - SPI_RX_QUAD Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- drivers/spi/ich.c | 2 +- drivers/spi/ti_qspi.c | 2 +- inclu

[U-Boot] [PATCH 0/8] spi: Cleanup set

2015-12-16 Thread Jagan Teki
Cleanup set on spi_slave{} Jagan Teki (8): spi: Remove SPI_OPM_RX_EXTN spi: Remove SPI_OPM_RX_DIO|QIOF spi: Rename SPI_OPM_RX_* to SPI_RX_* spi: Rename op_mode_rx to mode_rx spi: Move mode, mode_rx, flags macro's to structure spi: Fix bit assignment with flags spi: Use BIT macro sp

[U-Boot] [PATCH 1/8] spi: Remove SPI_OPM_RX_EXTN

2015-12-16 Thread Jagan Teki
SPI_OPM_RX_EXTN is a combination of all rx opmode's and spi driver shall use any one of the rx mode at a time not the combination and it is true in case of flash where spi_flash_table mention combination of supported read opmodes so-that the required one will pick based on the rx mode from spi driv

Re: [U-Boot] [PATCH] usb: add support of generic OHCI devices

2015-12-16 Thread Alexey Brodkin
Hi Marek, On Wed, 2015-12-16 at 01:44 +0100, Marek Vasut wrote: > On Monday, December 14, 2015 at 03:18:50 PM, Alexey Brodkin wrote: > > This driver is meant to be used with any OHCI-compatible host > > controller in case if there's no need for platform-specific > > glue such as setup of controlle

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

2015-12-16 Thread Simon Glass
Hi Tom, This fixes the mkimage problem for Rockchip as previously discussed. I've also brought in the tiny printf() additions and patches to move Rockchip to use it. This reduces firefly's image size below the maximum even with the broken gcc. Finally, I've brought in another rk3036 board since it

Re: [U-Boot] [PATCH 1/2] arm: imx6: Add DDR3 calibration code for MX6 Q/D/DL

2015-12-16 Thread Marek Vasut
On Wednesday, December 16, 2015 at 04:00:38 PM, Eric Nelson wrote: > Hi Marek, > > On 12/16/2015 07:40 AM, Marek Vasut wrote: > > Add DDR3 calibration code for i.MX6Q, i.MX6D and i.MX6DL. This code > > fine-tunes the behavior of the MMDC controller in order to improve > > the signal integrity and

Re: [U-Boot] [PATCH] eeprom: fix eeprom write procedure

2015-12-16 Thread Tom Rini
On Mon, Dec 14, 2015 at 06:45:34PM +0300, Alexey Brodkin wrote: > This fixes commit 1a37889b0ad084a740b4f785031d7ae9955d947b: Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.

Re: [U-Boot] [PATCH V2 1/7] test/py: Implement pytest infrastructure

2015-12-16 Thread Michal Simek
On 9.12.2015 17:32, Stephen Warren wrote: > On 12/02/2015 03:18 PM, Stephen Warren wrote: >> This tool aims to test U-Boot by executing U-Boot shell commands using >> the >> console interface. A single top-level script exists to execute or attach >> to the U-Boot console, run the entire script of t

Re: [U-Boot] [PATCH 1/2] arm: imx6: Add DDR3 calibration code for MX6 Q/D/DL

2015-12-16 Thread Eric Nelson
Hi Marek, On 12/16/2015 07:40 AM, Marek Vasut wrote: > Add DDR3 calibration code for i.MX6Q, i.MX6D and i.MX6DL. This code > fine-tunes the behavior of the MMDC controller in order to improve > the signal integrity and memory stability. > I'm glad to see that others are interested in this. I've

Re: [U-Boot] [PATCH 1/5] Make RBTREE selectable by Kconfig

2015-12-16 Thread Lars Poeschel
Am Dienstag, 15. Dezember 2015, 16:54:45 schrieb Joe Hershberger: > Hi Lars, > > On Tue, Dec 15, 2015 at 8:44 AM, Lars Poeschel wrote: > > Am Dienstag, 18. August 2015, 14:32:13 schrieb Joe Hershberger: > >> On Tue, Aug 18, 2015 at 2:27 PM, Tom Rini wrote: > >> > On Tue, Aug 18, 2015 at 01:47:20

  1   2   >