Re: [U-Boot] [PATCH] usb: Move determination of TT hub address/port into seperate function

2015-12-19 Thread Hans de Goede
Hi, On 19-12-15 18:17, Stefan Bruens wrote: On Friday 18 December 2015 11:00:19 Hans de Goede wrote: Hi, On 18-12-15 02:11, 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). The core of the function was

[U-Boot] [PATCH 5/5] Kconfig: create symbolic link on MIPS

2015-12-19 Thread Daniel Schwierzeck
Commit a350c6a60223f7a60228ed563d2e7b02fb7944ab disabled the creation of symbolic links on MIPS. But that feature is used in out-of-tree SoC ports and will be required for the upcoming mainline support of those SoC's. Signed-off-by: Daniel Schwierzeck ---

[U-Boot] [PATCH 1/5] MIPS: fix annotation of _start and relocate_code

2015-12-19 Thread Daniel Schwierzeck
Correctly annotate _start and relocate_code as functions to produce more readable disassembly code generated by objdump. Signed-off-by: Daniel Schwierzeck --- arch/mips/cpu/start.S | 12 +--- arch/mips/include/asm/asm.h | 6 ++ 2 files changed,

[U-Boot] [PATCH 2/5] MIPS: create .text sub-sections for assembler functions

2015-12-19 Thread Daniel Schwierzeck
Put all functions coded in assembly in sub-sections of section .text. This allows the linker to garbage collect unused assembly functions too. Signed-off-by: Daniel Schwierzeck --- arch/mips/include/asm/asm.h | 4 +++- 1 file changed, 3 insertions(+), 1

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

2015-12-19 Thread Vladimir Zapolskiy
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 is removed and well as definitions for non-DM NS16550 driver, its DM version is used instead. Because SPL_DM requires malloc(), enable

Re: [U-Boot] [PATCH v1 10/18] MIPS: add asm/gpio.h to fix compilation error with CONFIG_CMD_GPIO.

2015-12-19 Thread Daniel Schwierzeck
Am 17.12.2015 um 18:31 schrieb Purna Chandra Mandal: > With CONFIG_CMD_GPIO compilation reports error. > common/cmd_gpio.c:13:22: fatal error: asm/gpio.h: No such file or directory > #include > ^ > Signed-off-by: Purna Chandra Mandal > > ---

Re: [U-Boot] [PATCH 0/2] Rockchip: USB: added usb phy control to support fastboot

2015-12-19 Thread Simon Glass
Hi Marek, On 19 December 2015 at 14:23, Marek Vasut wrote: > On Saturday, December 19, 2015 at 09:30:09 PM, Simon Glass wrote: >> Hi Frank, >> >> On 4 December 2015 at 11:28, Marek Vasut wrote: >> > On Friday, December 04, 2015 at 10:36:32 AM, Frank Wang wrote: >>

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

2015-12-19 Thread Simon Glass
Hi Stephen, On 2 December 2015 at 15:18, 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 tests

Re: [U-Boot] [PATCH V2 6/7] test/py: test the shell if command

2015-12-19 Thread Simon Glass
Hi Stephen, On 2 December 2015 at 15:18, Stephen Warren wrote: > From: Stephen Warren > > Migrate all most tests from command_ut.c into the Python test system. > This allows the tests to be run against any U-Boot binary that supports > the if command

Re: [U-Boot] [PATCH V2 5/7] test/py: add test of basic shell functionality

2015-12-19 Thread Simon Glass
On 2 December 2015 at 15:18, Stephen Warren wrote: > From: Stephen Warren > > This tests whether the following features of the U-Boot shell: > - Execution of a directly entered command. > - Compound commands (; delimiter). > - Quoting of arguments

Re: [U-Boot] [PATCH] test: add sandbox timer to test.dts

2015-12-19 Thread Simon Glass
Applied to u-boot-dm/next. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH V2 3/7] test/py: add test of setenv/printenv/echo

2015-12-19 Thread Simon Glass
HI Stephen, On 2 December 2015 at 15:18, Stephen Warren wrote: > This tests basic environment variable functionality. > > Signed-off-by: Stephen Warren > Signed-off-by: Stephen Warren > --- > test/py/test_env.py | 121 >

Re: [U-Boot] [PATCH V2 4/7] test/py: test the md/mw commands

2015-12-19 Thread Simon Glass
Hi Stephen, On 2 December 2015 at 15:18, Stephen Warren wrote: > This tests whether md/mw work, and affect each-other. > > Command repeat is also tested. > > test/cmd_repeat.sh is removed, since the new Python-based test does > everything it used to. > > Signed-off-by:

Re: [U-Boot] [PATCH V2 2/7] test/py: test that sandbox exits when asked

2015-12-19 Thread Simon Glass
On 2 December 2015 at 15:18, Stephen Warren wrote: > Test the sandbox port's implementation of the reset command and SIGHUP > handling. These should both cause the U-Boot process to exit gracefully. > > Signed-off-by: Stephen Warren > Signed-off-by:

Re: [U-Boot] [PATCH V2 7/7] test/py: test the ums command

2015-12-19 Thread Simon Glass
HI Stephen, On 2 December 2015 at 15:18, Stephen Warren wrote: > From: Stephen Warren > > This test invokes the "ums" command in U-Boot, and validates that a USB > storage device is enumerated on the test host system, and can be read > from. > >

Re: [U-Boot] [PATCH] usb: Move determination of TT hub address/port into seperate function

2015-12-19 Thread Stefan Bruens
On Friday 18 December 2015 11:00:19 Hans de Goede wrote: > Hi, > > On 18-12-15 02:11, 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). > > > > The core of the function was duplicated in both

Re: [U-Boot] Problems with USB 3 hubs

2015-12-19 Thread Simon Glass
Hi, On 18 December 2015 at 20:05, Marek Vasut wrote: > On Saturday, December 19, 2015 at 01:55:22 AM, Aaron Williams wrote: >> Hi Marek, > > Hi! > >> On 12/17/2015 07:06 AM, Marek Vasut wrote: >> > On Thursday, December 17, 2015 at 10:12:08 AM, Aaron Williams wrote: >> >> Hi all,

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

2015-12-19 Thread Simon Glass
Hi Mateusz, On 19 December 2015 at 05:24, Mateusz Kulikowski wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Hi Simon, > > On 16.12.2015 23:29, Simon Glass wrote: >> Hi Mateusz, >> >> On 10 December 2015 at 14:41, Mateusz Kulikowski >>

Re: [U-Boot] [PATCH 2/2] m68k: add DM model serial driver

2015-12-19 Thread Simon Glass
Hi Angelo, On 19 December 2015 at 06:43, Angelo Dureghello wrote: > Boards can now use DM serial driver, or still legacy mcf uart > driver version. > Add DM-related changes for AMCORE board, to use as a tested example. > > Signed-off-by: Angelo Dureghello > ---

Re: [U-Boot] [PATCH 00/11] zap: Do not use macros that are equivalent to IS_ENABLED(CONFIG_...)

2015-12-19 Thread Simon Glass
Hi Masahiro, On 19 December 2015 at 01:39, Masahiro Yamada wrote: > Hi Simon, > > > 2015-12-19 3:57 GMT+09:00 Simon Glass : > 6 files changed, 16 insertions(+), 70 deletions(-) >> >> I definitely agree it would be good to drop this. But

Re: [U-Boot] [PATCH 1/2] m68k: add malloc memory for early malloc

2015-12-19 Thread Simon Glass
On 19 December 2015 at 06:43, Angelo Dureghello wrote: > To use serial uclass and DM, CONFIG_SYS_MALLOC_F must be used. > So CONFIG_SYS_GENERIC_GLOBAL_DATA has been undefined and > call to board_init_f_mem() is added for all cpu's. > > Signed-off-by: Angelo Dureghello

Re: [U-Boot] [PATCH] usb: Alloc buffer for USB descriptor dynamically

2015-12-19 Thread Simon Glass
Hi Stafan, On 19 December 2015 at 08:23, Stefan Bruens wrote: > On Friday 18 December 2015 15:41:10 Simon Glass wrote: >> Hi, >> >> On 17 December 2015 at 18:07, Stefan Brüns > wrote: >> > The configuration descriptor includes all

Re: [U-Boot] [PATCH 1/2] arm: lpc32xx: switch serial console to driver model

2015-12-19 Thread Simon Glass
Hi Vladimir, On 12 December 2015 at 17:48, Vladimir Zapolskiy wrote: > On NXP LPC32xx platform for non-SPL builds the change adds > standard (NS16550) and high-speed UARTs to driver model. > Due to specific of DM NS16550 device description UART clock can not be > got in runtime

Re: [U-Boot] [PATCH 0/2] Rockchip: USB: added usb phy control to support fastboot

2015-12-19 Thread Simon Glass
Hi Frank, On 4 December 2015 at 11:28, Marek Vasut wrote: > On Friday, December 04, 2015 at 10:36:32 AM, Frank Wang wrote: >> This series adds support for fastboot related to USB. >> >> [PATCH 1/2] fixed max packet size check error for ep_in in high speed >> condition >> >> [PATCH

Re: [U-Boot] U-Boot Rockchip dwc_hcd question for low-speed devices

2015-12-19 Thread Simon Glass
+Marek, Stephen Hi Josh, On 18 December 2015 at 06:26, Josh Sanford wrote: > All, > > I am trying to use USB within U-Boot on a Firefly RK3288 (Rockchip) board, > and I am able to enumerate high-speed devices, but not full-speed or > low-speed devices. I know that the

Re: [U-Boot] [PATCH 1/2] arm: lpc32xx: switch serial console to driver model

2015-12-19 Thread Vladimir Zapolskiy
Hi Simon, On 19.12.2015 22:30, Simon Glass wrote: > Hi Vladimir, > > On 12 December 2015 at 17:48, Vladimir Zapolskiy wrote: >> On NXP LPC32xx platform for non-SPL builds the change adds >> standard (NS16550) and high-speed UARTs to driver model. >> Due to specific of DM NS16550

Re: [U-Boot] [PATCH v1 01/18] MIPS: Prepare device-tree support.

2015-12-19 Thread Daniel Schwierzeck
Am 17.12.2015 um 18:28 schrieb Purna Chandra Mandal: > > Signed-off-by: Purna Chandra Mandal if you send patches from other people, you should not remove their Author or Signed-off-by. I already prepared a cleaned up version of that patch some days ago for

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

2015-12-19 Thread Marcel Ziswiler
On Thu, 2015-12-17 at 09:44 -0700, Stephen Warren wrote: > IIRC, Tegra support in U-Boot was added in the days before DT was a  > thing, or a widespread thing at least. (Oh, happy days!) I imagine > that  > the config option was simply never removed since there was no > specific  > need to do so.

Re: [U-Boot] [PATCH] serial: lpc32xx hsuart: port driver to driver model

2015-12-19 Thread Simon Glass
Hi Vladimir, On 14 December 2015 at 15:13, Simon Glass wrote: > On 12 December 2015 at 10:04, Vladimir Zapolskiy wrote: >> The change ports NXP LPC32xx 14-clock UART device driver to driver >> model. >> >> Signed-off-by: Vladimir Zapolskiy >>

Re: [U-Boot] [PATCH] test: add sandbox timer to test.dts

2015-12-19 Thread Simon Glass
On 11 December 2015 at 01:27, Thomas Chou wrote: > Add missing sandbox timer to test.dts, so that test-dm works. > > Signed-off-by: Thomas Chou > --- > arch/sandbox/dts/test.dts | 5 + > 1 file changed, 5 insertions(+) Acked-by: Simon Glass

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

2015-12-19 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 v3 3/8] dm: pci: Avoid using pci_bus_to_hose() in the uclass

2015-12-19 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 v3: None Changes in v2: None drivers/pci/pci_auto.c |

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

2015-12-19 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-Boot] [PATCH v3 5/8] dm: x86: Add a driver for Intel PCH7

2015-12-19 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 v3: None Changes in v2: - Rename

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

2015-12-19 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 v3: None Changes in v2: - Rename

[U-Boot] [PATCH v3 7/8] spi: ich: Separate out the read/write trace from normal debugging

2015-12-19 Thread Simon Glass
The trace is seldom useful for basic debugging. Allow it to be enabled separately so that it is easier to see the more important init and error debug messages. Signed-off-by: Simon Glass --- Changes in v3: - Add a new patch to separate out the read/write trace from normal

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

2015-12-19 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 v3: None Changes in v2: - Add more detail to the function comment drivers/pci/pci-uclass.c | 16 +---

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

2015-12-19 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 v3: None Changes in v2: - Rename the last parameter to 'addr' - Update the comment to explain usable of this function

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

2015-12-19 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

[U-Boot] [PATCH 1/2 v2] usb: Move determination of TT hub address/port into seperate function

2015-12-19 Thread Stefan Brüns
Start split and complete split tokens need the hub address and the downstream port of the first HS hub (device view). The core of the function was duplicated in both host/ehci_hcd and musb-new/usb-compat.h. Signed-off-by: Stefan Brüns --- v2: - renamed function to

[U-Boot] [PATCH 2/2 v2] usb: musb: Fix hub port number for SPLIT transactions

2015-12-19 Thread Stefan Brüns
The ifdef'ed Linux kernel code uses the 1 based port number, whereas U-Boot puts a 0 based port number into the register. The reason the 0 based port number apparently works can probably be taken from the USB 2.0 spec: 8.4.2.2 Start-Split Transaction Token ... The host must correctly set the port

[U-Boot] [PATCH] lpc32xx: devkit3250: update board configuration file

2015-12-19 Thread Vladimir Zapolskiy
The change updates DevKit3250 board powerd by NXP LPC3250 SoC: * due to increased resulting U-boot image size give more space to store loaded and relocated versions, * add DMA support, which is used by NAND SLC driver, * add NXP OHCI and PHY drivers to the image, * add USB, JFFS and FAT

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

2015-12-19 Thread Robert Nelson
>> ah, it's tripping on the "." = "0a" character.. >> >> Do you happen to remember where you purchased it and what it was >> called.. (for git commit) >> >> This patch should work: >> >> https://gist.github.com/RobertCNelson/21f44591c78daed7c637 >> > > The patch works good. > But could you please

Re: [U-Boot] [PATCH] arm: socfpga: Actually enable L2 cache

2015-12-19 Thread Marek Vasut
On Saturday, December 19, 2015 at 11:03:45 AM, Stefan Roese wrote: > On 19.12.2015 06:58, Marek Vasut wrote: > > The L2 cache was never enabled in the v7_outer_cache_enable(), fix > > this and enable the L2 cache. > > > > Signed-off-by: Marek Vasut > > Cc: Dinh Nguyen

Re: [U-Boot] [PATCH] arm: socfpga: Actually enable L2 cache

2015-12-19 Thread Marek Vasut
On Saturday, December 19, 2015 at 11:39:34 AM, Stefan Roese wrote: > On 19.12.2015 11:03, Stefan Roese wrote: > > On 19.12.2015 06:58, Marek Vasut wrote: > >> The L2 cache was never enabled in the v7_outer_cache_enable(), fix > >> this and enable the L2 cache. > >> > >> Signed-off-by: Marek Vasut

[U-Boot] [PATCH 4/5] MIPS: add initial infrastructure for device-tree files

2015-12-19 Thread Daniel Schwierzeck
Prepare sub-folder for device-tree files. Make support for device-tree on MIPS available in Kbuild/Kconfig. Signed-off-by: Daniel Schwierzeck --- arch/Kconfig| 1 + arch/mips/dts/.gitignore| 1 + arch/mips/dts/Makefile | 16

[U-Boot] [PATCH 3/5] MIPS: do not build position-independent executables for SPL

2015-12-19 Thread Daniel Schwierzeck
SPL binaries are usually linked to a fixed address in SRAM. Furthermore SPL binaries do not need to relocate itself. Thus do not build them as position-independent binaries which helps to largely reduce the size of SPL binaries. Signed-off-by: Daniel Schwierzeck ---

[U-Boot] [PATCH 0/5] MIPS updates

2015-12-19 Thread Daniel Schwierzeck
Daniel Schwierzeck (5): MIPS: fix annotation of _start and relocate_code MIPS: create .text sub-sections for assembler functions MIPS: do not build position-independent executables for SPL MIPS: add initial infrastructure for device-tree files Kconfig: create symbolic link on MIPS

Re: [U-Boot] [PATCH] serial: lpc32xx hsuart: port driver to driver model

2015-12-19 Thread Vladimir Zapolskiy
Hi Simon, On 19.12.2015 22:30, Simon Glass wrote: > Hi Vladimir, > > On 14 December 2015 at 15:13, Simon Glass wrote: >> On 12 December 2015 at 10:04, Vladimir Zapolskiy wrote: >>> The change ports NXP LPC32xx 14-clock UART device driver to driver >>> model.

[U-Boot] [PATCH v2 2/3] arm: lpc32xx: switch serial console to driver model

2015-12-19 Thread Vladimir Zapolskiy
On NXP LPC32xx platform for non-SPL builds the change adds standard (NS16550) and high-speed UARTs to driver model. Due to specific of DM NS16550 device description UART clock can not be got in runtime and by default it is set to 13MHz, if board PERIPH_CLK is different, this should be specified in

[U-Boot] [PATCH v2 1/3] serial: lpc32xx hsuart: port driver to driver model

2015-12-19 Thread Vladimir Zapolskiy
The change ports NXP LPC32xx 14-clock UART device driver to driver model. Signed-off-by: Vladimir Zapolskiy Reviewed-by: Simon Glass --- Changes from v1 to v2: * moved dm/platform_data/lpc32xx_hsuart.h include down drivers/serial/lpc32xx_hsuart.c |

[U-Boot] [PATCH v2 0/3] arm: lpc32xx: use driver model serial console drivers

2015-12-19 Thread Vladimir Zapolskiy
The changeset switches 14-clock UART driver to DM and enables DM versions of NXP LPC32xx standard (NS16550) and 14-clock UART drivers for both ordinary and SPL U-boot images. The change increases sizes of SPL images from about 10KB to 15KB. Changes from v1 to v2: * included 14-clock UART driver

Re: [U-Boot] [PATCH] mips: add base support for atheros ar71xx based SOCs

2015-12-19 Thread Daniel Schwierzeck
Am 18.12.2015 um 08:34 schrieb Wills Wang: > This patch enable work for ar933x SOC, tested on ar9331 > > Signed-off-by: Wills Wang > --- > > arch/mips/Makefile |1 + > arch/mips/include/asm/ar71xx.h | 1144 >

Re: [U-Boot] [PATCH v3] dm: core: Add option to configure an offset for the address translation

2015-12-19 Thread Simon Glass
On 14 December 2015 at 08:18, Stefan Roese wrote: > Some platforms need to ability to configure an offset to the standard > addresses extracted from the device-tree. This patch allows this by > adding a function to DM to configure this offset (if needed). > > Signed-off-by: Stefan

Re: [U-Boot] [PATCH 2/3] sandbox: eth-raw-os.c: Ensure that our interface name is not too long

2015-12-19 Thread Simon Glass
Applied to u-boot-dm/next. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/3] dm: serial: Allow the UART driver to be dropped from the image

2015-12-19 Thread Simon Glass
On 13 December 2015 at 21:36, Simon Glass wrote: > In very very space-constrained devices even the full UART driver is too > large. In this case the debug UART can still be used in some cases. > > Add options to enable the UART driver in SPL and U-Boot proper. Enable both >

Re: [U-Boot] [PATCH 2/3] dm: ns16550: Allow the driver to be omitted if requested

2015-12-19 Thread Simon Glass
Applied to u-boot-dm/next. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/3] rockchip: Use the debug UART on rk3036

2015-12-19 Thread Simon Glass
Applied to u-boot-dm/next. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] usb: Alloc buffer for USB descriptor dynamically

2015-12-19 Thread Stefan Bruens
On Saturday 19 December 2015 13:29:38 Simon Glass wrote: > Hi Stafan, > > On 19 December 2015 at 08:23, Stefan Bruens > > wrote: > > On Friday 18 December 2015 15:41:10 Simon Glass wrote: > >> Hi, > >> > >> On 17 December 2015 at 18:07, Stefan Brüns

Re: [U-Boot] [PATCH 0/2] Rockchip: USB: added usb phy control to support fastboot

2015-12-19 Thread Marek Vasut
On Saturday, December 19, 2015 at 09:30:09 PM, Simon Glass wrote: > Hi Frank, > > On 4 December 2015 at 11:28, Marek Vasut wrote: > > On Friday, December 04, 2015 at 10:36:32 AM, Frank Wang wrote: > >> This series adds support for fastboot related to USB. > >> > >> [PATCH 1/2]

Re: [U-Boot] [PATCH 2/2] m68k: add DM model serial driver

2015-12-19 Thread Angelo Dureghello
Hi Simon, On 19/12/2015 21:29, Simon Glass wrote: Hi Angelo, On 19 December 2015 at 06:43, Angelo Dureghello wrote: Boards can now use DM serial driver, or still legacy mcf uart driver version. Add DM-related changes for AMCORE board, to use as a tested example.

Re: [U-Boot] [PATCH V2 00/12] Series to move headers to a consistent include location

2015-12-19 Thread Simon Glass
Hi Nishanth, On 12 November 2015 at 22:43, Nishanth Menon wrote: > Hi, > This series is hopefully to setup the stage for consolidation of > board/vendor/common > include header organization in u-boot. > > Discussion thread: > https://patchwork.ozlabs.org/patch/540280/ >

Re: [U-Boot] [PATCH 2/2] m68k: add DM model serial driver

2015-12-19 Thread Simon Glass
Hi Angelo, On 19 December 2015 at 15:32, Angelo Dureghello wrote: > Hi Simon, > > On 19/12/2015 21:29, Simon Glass wrote: >> >> Hi Angelo, >> >> On 19 December 2015 at 06:43, Angelo Dureghello wrote: >>> >>> Boards can now use DM serial driver, or still legacy

Re: [U-Boot] Driver model test breakages

2015-12-19 Thread Simon Glass
Hi Thomas, On 10 December 2015 at 22:31, Thomas Chou wrote: > Hi Simon, > > > On 2015年12月11日 10:05, Simon Glass wrote: >> >> Hi, >> >> The following three commits causes breakages in the driver model tests: >> >> 4efad20a sf: Update status reg check in

Re: [U-Boot] [PATCH v3] dm: Add timeline and guide for porting serial drivers

2015-12-19 Thread Simon Glass
Hi Marek, On 13 December 2015 at 12:55, Marek Vasut wrote: > On Friday, November 20, 2015 at 06:48:47 PM, Simon Glass wrote: >> Add a README with a brief guide to porting serial drivers over to use >> driver model. >> >> Add a timeline also. All serial drivers should be converted

[U-Boot] [PULL] u-boot-socfpga/master

2015-12-19 Thread Marek Vasut
The following changes since commit 4832e17787acb29734d895751bc7a594908aecc6: Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze (2015-12-18 07:28:24 -0500) are available in the git repository at: git://git.denx.de/u-boot-socfpga.git master for you to fetch changes up to

[U-Boot] [PATCH 6/6] arm: socfpga: Add support for Denali NAND controller

2015-12-19 Thread Marek Vasut
Add common configuration bits for the Denali NAND controller and also support for using it as a boot device in SPL. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See --- include/configs/socfpga_common.h | 23

[U-Boot] [PATCH 1/6] arm: socfpga: Define NAND reset bit

2015-12-19 Thread Marek Vasut
Define the NAND reset bit and fix the ordering of the macros. Signed-off-by: Marek Vasut Cc: Dinh Nguyen --- arch/arm/mach-socfpga/include/mach/reset_manager.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 5/6] arm: socfpga: Enable DFU MMC support only if DM_MMC is enabled

2015-12-19 Thread Marek Vasut
It is not possible to compile DFU MMC support if the MMC support is not compiled into U-Boot. Secure the code with an ifdef to prevent compiler splat. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See ---

[U-Boot] [PATCH 4/6] arm: socfpga: Enable SPL MMC/SPI support only if DM_MMC/SPI is enabled

2015-12-19 Thread Marek Vasut
It is not possible to compile MMC/SPI SPL if the respective DM_MMC/DM_SPI bits are not enabled. Secure the code with an ifdef to prevent compiler splat. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See ---

[U-Boot] [PATCH 3/6] arm: socfpga: Unreset NAND in U-Boot

2015-12-19 Thread Marek Vasut
Make sure the NAND reset is not asserted in full U-Boot. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See --- arch/arm/mach-socfpga/misc.c | 4 1 file changed, 4 insertions(+) diff --git

[U-Boot] [PATCH 2/6] arm: socfpga: Unreset NAND in SPL

2015-12-19 Thread Marek Vasut
If the system boots from NAND, make sure to de-assert the NAND IP reset, otherwise the system will get stuck. Signed-off-by: Marek Vasut Cc: Dinh Nguyen --- arch/arm/mach-socfpga/spl.c | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH] net: designware: Zap CONFIG_DW_AUTONEG

2015-12-19 Thread Marek Vasut
This symbol is not used anywhere, so remove it. For spear600, remove it from the board file, since the symbol is not defined for spear600 either. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Joe Hershberger ---

[U-Boot] [PATCH V2] arm: socfpga: Actually enable L2 cache

2015-12-19 Thread Marek Vasut
The L2 cache was never enabled in the v7_outer_cache_enable(), fix this and enable the L2 cache. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See --- arch/arm/mach-socfpga/misc.c | 13 +++-- 1 file changed,

[U-Boot] [PATCH 1/2 v3] usb: Move determination of TT hub address/port into seperate function

2015-12-19 Thread Stefan Brüns
Start split and complete split tokens need the hub address and the downstream port of the first HS hub (device view). The core of the function was duplicated in both host/ehci_hcd and musb-new/usb-compat.h. Signed-off-by: Stefan Brüns --- v2: - renamed function to

[U-Boot] [PATCH v2 4/5] MIPS: add initial infrastructure for device-tree files

2015-12-19 Thread Daniel Schwierzeck
Prepare sub-folder for device-tree files. Make support for device-tree on MIPS available in Kbuild/Kconfig. Signed-off-by: Daniel Schwierzeck Signed-off-by: Purna Chandra Mandal --- Changes in v2: - add arch/mips/dts to clean list in

[U-Boot] [PATCH] x86: Remove Graeme Russ from the git alias file

2015-12-19 Thread Simon Glass
As requested, remove Graeme's email address. Signed-off-by: Simon Glass --- doc/git-mailrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/git-mailrc b/doc/git-mailrc index 85bac75..ced7085 100644 --- a/doc/git-mailrc +++ b/doc/git-mailrc @@ -20,7

Re: [U-Boot] [PATCH v1 02/18] MIPS: initial infrastructure for Microchip PIC32 architecture.

2015-12-19 Thread Daniel Schwierzeck
Am 17.12.2015 um 18:28 schrieb Purna Chandra Mandal: > > Signed-off-by: Purna Chandra Mandal > --- > > arch/mips/Kconfig| 5 ++ > arch/mips/Makefile | 1 + > arch/mips/include/asm/arch-pic32/clock.h | 31 +++ >

Re: [U-Boot] [PATCH v3] dm: Add timeline and guide for porting serial drivers

2015-12-19 Thread Marek Vasut
On Sunday, December 20, 2015 at 03:40:41 AM, Simon Glass wrote: > Hi Marek, > > On 19 December 2015 at 16:56, Marek Vasut wrote: > > On Sunday, December 20, 2015 at 12:07:22 AM, Simon Glass wrote: > >> Hi Marek, > >> > >> On 13 December 2015 at 12:55, Marek Vasut

Re: [U-Boot] [PATCH] arm: socfpga: Actually enable L2 cache

2015-12-19 Thread Marek Vasut
On Sunday, December 20, 2015 at 03:38:54 AM, Stefan Roese wrote: > On 19.12.2015 17:31, Marek Vasut wrote: > > On Saturday, December 19, 2015 at 11:03:45 AM, Stefan Roese wrote: > >> On 19.12.2015 06:58, Marek Vasut wrote: > >>> The L2 cache was never enabled in the v7_outer_cache_enable(), fix >

[U-Boot] [PATCH] mtd: nand: denali: Nuke unbounded loop

2015-12-19 Thread Marek Vasut
This particular unbounded loop in the Denali NAND reset routine can lead to a system hang in case neither of the Timeout and Completed bits get set. Refactor the code a bit so it's readable and implement timer so the loop is bounded instead. This way the complete hang can be prevented even if the

[U-Boot] [PATCH] mtd: nand: denali_spl: Program spare area skip bytes

2015-12-19 Thread Marek Vasut
This register is not configured on Altera SoCFPGA incarnation of the Denali NAND flash block. Unless this register is initialized, the IP will return corrupted data upon any read attempt from the NAND. Initialize the register to the same value is the one used in full U-Boot to fix this issue.

[U-Boot] [PATCH] net: designware: Zap trailing backslash

2015-12-19 Thread Marek Vasut
Trailing backslashes are necessary only in macros, not in the actual code, so remove them. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Joe Hershberger --- drivers/net/designware.c | 14 +++--- 1 file changed, 7

Re: [U-Boot] [PATCH 0/2] Rockchip: USB: added usb phy control to support fastboot

2015-12-19 Thread Marek Vasut
On Saturday, December 19, 2015 at 11:25:12 PM, Simon Glass wrote: > Hi Marek, > > On 19 December 2015 at 14:23, Marek Vasut wrote: > > On Saturday, December 19, 2015 at 09:30:09 PM, Simon Glass wrote: > >> Hi Frank, > >> > >> On 4 December 2015 at 11:28, Marek Vasut

Re: [U-Boot] [PATCH v1 06/18] MIPS: Add support for Microchip PIC32MZ[DA] SoC family.

2015-12-19 Thread Daniel Schwierzeck
Am 17.12.2015 um 18:30 schrieb Purna Chandra Mandal: > > Signed-off-by: Purna Chandra Mandal > --- > > arch/mips/dts/pic32mzda.dtsi | 59 +++ > arch/mips/include/asm/arch-pic32/pic32.h | 3 + > arch/mips/mach-pic32/Kconfig |

Re: [U-Boot] [PATCH v3] dm: Add timeline and guide for porting serial drivers

2015-12-19 Thread Marek Vasut
On Sunday, December 20, 2015 at 12:07:22 AM, Simon Glass wrote: > Hi Marek, > > On 13 December 2015 at 12:55, Marek Vasut wrote: > > On Friday, November 20, 2015 at 06:48:47 PM, Simon Glass wrote: > >> Add a README with a brief guide to porting serial drivers over to use > >>

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

2015-12-19 Thread Mugunthan V N
On Thursday 17 December 2015 10:10 PM, Jagan Teki wrote: > On 17 December 2015 at 12:19, Jagan Teki wrote: >> >> 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

Re: [U-Boot] Driver model test breakages

2015-12-19 Thread Simon Glass
+Thomas Hi, On 10 December 2015 at 19:05, Simon Glass wrote: > Hi, > I've pushed a few patches to u-boot-dm/next. > The following three commits causes breakages in the driver model tests: > > 4efad20a sf: Update status reg check in spi_flash_cmd_wait_ready Jagan this

Re: [U-Boot] [PATCH 5/6] usb: dwc2: add support for SPLIT transactions

2015-12-19 Thread Stefan Bruens
On Tuesday 15 December 2015 20:36:02 Stephen Warren wrote: > On 12/12/2015 09:17 PM, Stefan Brüns wrote: > > In contrast to non-SPLIT transfers each transaction has to be submitted > > as an individual chunk. Handling of ACK/NAk/NYET handshakes depends on > > transaction (non-SPLIT/SSPLIT/CSPLIT),

Re: [U-Boot] [PATCH 5/6] usb: dwc2: add support for SPLIT transactions

2015-12-19 Thread Marek Vasut
On Sunday, December 20, 2015 at 01:17:05 AM, Stefan Bruens wrote: > On Tuesday 15 December 2015 20:36:02 Stephen Warren wrote: > > On 12/12/2015 09:17 PM, Stefan Brüns wrote: > > > In contrast to non-SPLIT transfers each transaction has to be submitted > > > as an individual chunk. Handling of

Re: [U-Boot] [PATCH] arm: socfpga: Actually enable L2 cache

2015-12-19 Thread Stefan Roese
On 19.12.2015 17:31, Marek Vasut wrote: On Saturday, December 19, 2015 at 11:03:45 AM, Stefan Roese wrote: On 19.12.2015 06:58, Marek Vasut wrote: The L2 cache was never enabled in the v7_outer_cache_enable(), fix this and enable the L2 cache. Signed-off-by: Marek Vasut Cc:

[U-Boot] [PATCH 1/2] dm: core: Provide uclass_find_device_by_phandle() only when needed

2015-12-19 Thread Simon Glass
This function cannot be used unless support is enabled for device tree control. Adjust the code to reflect that. Signed-off-by: Simon Glass --- drivers/core/uclass.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/core/uclass.c b/drivers/core/uclass.c index

Re: [U-Boot] [PATCH v3] dm: Add timeline and guide for porting serial drivers

2015-12-19 Thread Simon Glass
Hi Marek, On 19 December 2015 at 16:56, Marek Vasut wrote: > On Sunday, December 20, 2015 at 12:07:22 AM, Simon Glass wrote: >> Hi Marek, >> >> On 13 December 2015 at 12:55, Marek Vasut wrote: >> > On Friday, November 20, 2015 at 06:48:47 PM, Simon Glass wrote: >>

Re: [U-Boot] [PATCH] arm: socfpga: Actually enable L2 cache

2015-12-19 Thread Stefan Roese
On 19.12.2015 17:32, Marek Vasut wrote: On Saturday, December 19, 2015 at 11:39:34 AM, Stefan Roese wrote: On 19.12.2015 11:03, Stefan Roese wrote: On 19.12.2015 06:58, Marek Vasut wrote: The L2 cache was never enabled in the v7_outer_cache_enable(), fix this and enable the L2 cache.

[U-Boot] [PATCH 2/2] dm: Enable driver model by default for all boards

2015-12-19 Thread Simon Glass
This enables driver model for all boards in U-Boot. This is required to support driver-model serial. I'm not sure when is a good time to apply this patch. We can sit on it until it makes sense. Signed-off-by: Simon Glass --- drivers/core/Kconfig | 1 + 1 file changed, 1

Re: [U-Boot] [PATCH V2 00/12] Series to move headers to a consistent include location

2015-12-19 Thread Nishanth Menon
Hi Simon, On Sat, Dec 19, 2015 at 5:07 PM, Simon Glass wrote: [...] > > Are you going to do a new version of this series? It seems like a good > idea to me and I'd like to see it applied. As per: https://patchwork.ozlabs.org/patch/544032/ I think we agreed to just drop the

Re: [U-Boot] [PATCH v2] net: eth_designware: select PHYLIB in Kconfig

2015-12-19 Thread Thomas Chou
Hi Marek, On 2015年12月19日 13:47, Marek Vasut wrote: On Saturday, December 19, 2015 at 04:56:38 AM, Thomas Chou wrote: Hi Marek, On 2015年12月07日 20:53, Thomas Chou wrote: Select PHYLIB in drivers/net/Kconfig. And remove CONFIG_PHYLIB from legacy board header files. This fixed the warnings when

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

2015-12-19 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Simon, On 16.12.2015 23:29, Simon Glass wrote: > Hi Mateusz, > > On 10 December 2015 at 14:41, Mateusz Kulikowski > wrote: [...] >> diff --git a/arch/arm/mach-snapdragon/clock-apq8016.c >>

[U-Boot] [PATCH] doc: Tidy up first part of top-level README file

2015-12-19 Thread Robert P. J. Day
First (small) pass at tidying up the README file, including: * remove references to obsolete CREDITS file * remove (some) references to obsolete boards.cfg file * remove at least one reference to a "scrapped" board * cut down unnecessarily detailed directory hierarchy * bunch of grammar and

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

2015-12-19 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Simon, On 16.12.2015 23:29, Simon Glass wrote: > Hi Mateusz, > > On 10 December 2015 at 14:41, Mateusz Kulikowski > wrote: [...] > >> + >> +int board_prepare_usb(enum usb_init_type type) >> +{ >> + int ret

  1   2   >