Re: [U-Boot] [PATCH] config: peach: Correct memory layout environment settings

2015-03-25 Thread Sjoerd Simons
On Wed, 2015-03-25 at 12:58 -0400, Tom Rini wrote: On Wed, Mar 25, 2015 at 09:32:45AM +0100, Sjoerd Simons wrote: On Wed, 2015-03-25 at 01:11 -0400, Tom Rini wrote: On Mon, Mar 23, 2015 at 03:04:48PM -0600, Simon Glass wrote: Hi Sjoerd, On 12 March 2015 at 15:33, Sjoerd Simons

[U-Boot] [PATCH v2 14/80] dm: usb: Convert 'usb' command to support driver model

2015-03-25 Thread Simon Glass
Adjust this command to work with the new driver model uclass. It needs to iterate through multiple independent controllers to find hubs, and work through their children recursively in a different way. Otherwise the functionality is much the same. Signed-off-by: Simon Glass s...@chromium.org ---

[U-Boot] [PATCH v2 08/80] dm: core: Mark device as active before calling uclass probe() methods

2015-03-25 Thread Simon Glass
The uclass pre-probe functions may end up calling back into the device in some circumstances. This can fail if recursion takes place. Adjust the ordering so that we mark the device as active early, then retract this later if needed. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2:

[U-Boot] [PATCH v2 23/80] dm: usb: Move USB storage definitions to usb_defs.h

2015-03-25 Thread Simon Glass
These are better off in a header file so they can be used by other code (e.g. the sandbox USB storage emulator). Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None common/usb_storage.c | 45 ++--- include/usb_defs.h | 42

[U-Boot] [PATCH v2 09/80] dm: core: Add device children and sibling functions

2015-03-25 Thread Simon Glass
Add some utility functions to check for children and for the last sibling in a device's parent. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/core/device.c | 28 include/dm/device.h | 30 ++ 2 files

[U-Boot] [PATCH v2 34/80] dm: usb: tegra: Drop use of global controller variable

2015-03-25 Thread Simon Glass
We don't need this anymore, so adjust the code to avoid using it. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/usb/host/ehci-tegra.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/drivers/usb/host/ehci-tegra.c

[U-Boot] [PATCH v2 01/80] linker_lists: Add a function to access a linker list entry

2015-03-25 Thread Simon Glass
Once declared, you cannot access a linker_list entry since you do not have a symbol name for it. Add llsym() macro to provide this. This avoids searching for the symbol at run-time based on name. An example usage is to declare a driver with U_BOOT_DRIVER(), then obtain a pointer to that driver

[U-Boot] [PATCH v2 02/80] sandbox: Fix comment for os_open()

2015-03-25 Thread Simon Glass
This has the wrong #define in the function comment. Fix it. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None include/os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/os.h b/include/os.h index e3645e0..a758f09 100644 --- a/include/os.h +++

[U-Boot] [PATCH v2 65/80] dm: usb: Support driver model in XHCI

2015-03-25 Thread Simon Glass
Add driver model support in the XHCI support code so that it can be used by XHCI USB drivers. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/usb/host/xhci-mem.c | 1 + drivers/usb/host/xhci.c | 179 ++--

[U-Boot] [PATCH v2 49/80] dm: usb: sandbox: Add a uclass for USB device emulation

2015-03-25 Thread Simon Glass
With sandbox we want to be able to emulate USB devices so that we can test the USB stack. Add a uclass to support this. It implements the same operations as a normal USB device driver, but in this case passes them on to an emulation driver. Signed-off-by: Simon Glass s...@chromium.org ---

[U-Boot] [PATCH v2 63/80] dm: usb: xhci: Use explicit parameters for xhci_setup_addressable_virt_dev()

2015-03-25 Thread Simon Glass
This function should not be delving into struct usb_device. Pass in the parameters it needs directly. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/usb/host/xhci-mem.c | 19 +++ drivers/usb/host/xhci.c | 29 ++---

[U-Boot] [PATCH v2 11/80] dm: usb: Add a uclass for USB controllers

2015-03-25 Thread Simon Glass
Add a uclass that can represent a USB controller. For now we do not create devices for things attached to the controller. This will be added later. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/usb/Kconfig | 14 ++ drivers/usb/host/Makefile

[U-Boot] [PATCH v2 67/80] dm: usb: exynos: Adjust XHCI driver to support driver model

2015-03-25 Thread Simon Glass
Support driver model in the exynos XHCI driver. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/usb/host/xhci-exynos5.c | 120 +++- 1 file changed, 119 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci-exynos5.c

[U-Boot] [PATCH v2 78/80] dm: usb: tegra: Drop legacy USB code

2015-03-25 Thread Simon Glass
Drop the code that doesn't use driver model for USB. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None board/nvidia/common/board.c | 3 - drivers/usb/host/ehci-tegra.c | 150 -- include/fdtdec.h | 3 - lib/fdtdec.c

[U-Boot] [PATCH v2 64/80] dm: usb: xhci: Factor out common init/uninit

2015-03-25 Thread Simon Glass
Since driver model will want to use most of the same code for XHCI init and uninit, put it in a separate function. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/usb/host/xhci.c | 85 ++--- 1 file changed, 52

[U-Boot] [PATCH v2 77/80] dm: usb: Add tests for the USB uclass

2015-03-25 Thread Simon Glass
This adds a simple test for probing and a functional test using the flash stick emulator, which tests a large chunk of the USB stack. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None test/dm/Makefile | 1 + test/dm/test-dm.sh | 3 +++ test/dm/test.dts | 41

[U-Boot] [PATCH v2 47/80] dm: usb: tegra: Add vbus GPIOs for nyan

2015-03-25 Thread Simon Glass
These are needed to enable the USB bus (although not sufficient since it still does not work). Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None arch/arm/dts/tegra124-nyan-big.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/tegra124-nyan-big.dts

[U-Boot] [PATCH v2 33/80] dm: usb: Pass EHCI controller pointer to ehci_powerup_fixup()

2015-03-25 Thread Simon Glass
Adjust this function so that it is passed an EHCI controller pointer so that implementations can look up their controller. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None board/genesi/mx51_efikamx/efikamx-usb.c | 3 ++- drivers/usb/host/ehci-hcd.c | 5 +++--

[U-Boot] [PATCH v2 44/80] dm: usb: Allow setting up a USB controller as a device/gadget

2015-03-25 Thread Simon Glass
Some controllers support OTG (on-the-go) where they can operate as either host or device. The gadget layer in U-Boot supports this. While this layer does not interact with driver model, we can provide a function which sets up the controller in the correct way. This way the code at least builds

[U-Boot] [PATCH v2 21/80] dm: usb: Split hub detection into its own function

2015-03-25 Thread Simon Glass
Split out the hub detection logic so it can be used by driver model. Also adjust the code to return errors correctly. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None common/usb_hub.c | 57 1 file changed, 41

[U-Boot] [PATCH v2 71/80] dm: usb: tegra: Move to driver model for USB

2015-03-25 Thread Simon Glass
Move Tegra boards over to driver model for USB EHCI. There are a few things that are no-longer needed (e.g. in fdtdec.h) but these will be cleaned up in a later patch to be applied one we are confident this change is fully tested. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2:

[U-Boot] [PATCH v2 70/80] dm: usb: exynos: Enable both EHCI and XHCI on snow

2015-03-25 Thread Simon Glass
Since we can support both controllers now, enable this in the device tree. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None arch/arm/dts/exynos5250-snow.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/exynos5250-snow.dts

[U-Boot] [PATCH v2 80/80] dm: usb: Add a README for driver model

2015-03-25 Thread Simon Glass
Add some documentation describing how USB is implemented with USB. This might make things easier for people to understand. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Rewrite and expand series to support driver model fully doc/driver-model/usb-info.txt | 415

[U-Boot] [PATCH v2 55/80] dm: usb: Add support for USB ethernet devices with driver model

2015-03-25 Thread Simon Glass
Add support for scanning USB etghernet devices with driver model. This mostly involves scanning all buses since device numbering is not unique across buses. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/usb/eth/usb_ether.c | 52

[U-Boot] [PATCH v2 79/80] dm: usb: exynos: Drop legacy USB code

2015-03-25 Thread Simon Glass
Drop the code that doesn't use driver model for USB. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/usb/host/ehci-exynos.c | 117 drivers/usb/host/xhci-exynos5.c | 108 -

[U-Boot] [PATCH v2 57/80] dm: usb: tegra: Remove the port_addr_clear_csc variable

2015-03-25 Thread Simon Glass
This variable is a bit of a hack. We can obtain the same information from the normal device config. This will fit better with driver model, where global variables are best avoided. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/usb/host/ehci-tegra.c | 6 +- 1

[U-Boot] [PATCH v2 60/80] dm: usb: tegra: Add driver model support to tegra EHCI

2015-03-25 Thread Simon Glass
Update this driver with driver model support for USB. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/usb/host/ehci-tegra.c | 83 +++ 1 file changed, 83 insertions(+) diff --git a/drivers/usb/host/ehci-tegra.c

[U-Boot] [PATCH v2 29/80] dm: usb: Move all the EHCI weak functions together and declare them

2015-03-25 Thread Simon Glass
Put these at the top of the file so they are in one place. Also add function prototypes to the header file to avoid call site mismatches. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/usb/host/ehci-hcd.c | 22 +++--- drivers/usb/host/ehci.h |

[U-Boot] [PATCH v2 45/80] dm: usb: Split out the keyboard probe into its own function

2015-03-25 Thread Simon Glass
Before adding driver model support, split out code from this over-long function. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None common/usb_kbd.c | 89 1 file changed, 51 insertions(+), 38 deletions(-) diff --git

[U-Boot] [PATCH v2 38/80] dm: usb: Refactor EHCI init

2015-03-25 Thread Simon Glass
Move the bulk of the code in usb_lowlevel_init() into a separate function which will also be used by driver model. Keep the CONFIG options out of this function by providing a tweak flag for Faraday. We need to avoid using CONFIG options in driver model code where possible, since it makes it

[U-Boot] [PATCH v2 52/80] dm: usb: sandbox: Add an emulator for USB hub emulation

2015-03-25 Thread Simon Glass
All USB controllers need a root hub. Add a sandbox emulation for this so that we can add USB devices to sandbox. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/usb/emul/Makefile | 1 + drivers/usb/emul/sandbox_hub.c | 303

[U-Boot] [PATCH v2 24/80] dm: usb: Fix type problems in usb_stor_get_info()

2015-03-25 Thread Simon Glass
This function assumes that unsigned long is 32-bits wide, but it is not on 64-bit machines. Use the correct type, and add a few debug() lines also. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None common/usb_storage.c | 18 +++--- 1 file changed, 11

[U-Boot] [PATCH v2 54/80] dm: usb: dts: sandbox: Add some sample USB devices to sandbox

2015-03-25 Thread Simon Glass
These allow basic testing of the USB functionality within sandbox. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None arch/sandbox/dts/sandbox.dts | 40 1 file changed, 40 insertions(+) diff --git a/arch/sandbox/dts/sandbox.dts

[U-Boot] [PATCH v2 12/80] dm: usb: Adjust usb command to prepare for driver model

2015-03-25 Thread Simon Glass
Use 'udev' instead of 'dev' in a few places, reserving 'dev' for driver model's struct udevice. Also adjust the code in a few minor ways to make it easier to plumb in driver model. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None common/cmd_usb.c | 51

[U-Boot] [PATCH v2 17/80] dm: usb: Move descriptor setup code into its own function

2015-03-25 Thread Simon Glass
usb_new_device() is far too long and does far too much. As a first step, move the code that does initial setup and reads a descriptor into its own function called usb_setup_descriptor(). For XHCI the init order is different - we set up the device but don't actually read the descriptor until after

[U-Boot] [PATCH v2 25/80] dm: usb: Simply device finding code in usb_storage

2015-03-25 Thread Simon Glass
The for() loop is not needed since the value is immediately accessible. Use this instead to simplify the code. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None common/usb_storage.c | 30 +++--- 1 file changed, 11 insertions(+), 19 deletions(-) diff

[U-Boot] [PATCH v2 37/80] dm: usb: ehci: Use a function to find the controller from struct udevice

2015-03-25 Thread Simon Glass
With driver model we want to remove the controller pointer in struct udevice and use driver model data structures instead. To prepare for this, move access to this field to a function which can provide a different implementation for driver model. Signed-off-by: Simon Glass s...@chromium.org ---

[U-Boot] [PATCH v2 06/80] dm: core: Convert driver_bind() to use const

2015-03-25 Thread Simon Glass
The driver is not modified by driver model, so update driver_bind() to recognise that. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/core/device-remove.c | 4 ++-- drivers/core/device.c| 7 --- include/dm/device-internal.h | 2 +- include/dm/device.h

[U-Boot] [PATCH v2 07/80] dm: core: Rename driver data function to dev_get_driver_data()

2015-03-25 Thread Simon Glass
The existing get_get_of_data() function provides access to both the driver's compatible string and its driver data. However only the latter is actually useful. Update the interface to reflect this and fix up existing users. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None

[U-Boot] [PATCH v2 62/80] dm: usb: xhci: Use explicit parameters for xhci_alloc_virt_device()

2015-03-25 Thread Simon Glass
This function should not be delving into struct usb_device. Pass in the parameters it needs directly. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/usb/host/xhci-mem.c | 4 +--- drivers/usb/host/xhci.c | 2 +- drivers/usb/host/xhci.h | 2 +- 3 files

[U-Boot] [PATCH v2 42/80] dm: usb: Allow USB drivers to be declared and auto-probed

2015-03-25 Thread Simon Glass
USB devices in U-Boot are currently probed only after all devices have been enumerated. Each type of device is probed by custom code, e.g.: - USB storage - Keyboard - Ethernet With driver model this approach doesn't work very well. We could build a picture of the bus and then go back and add the

[U-Boot] [PATCH v2 36/80] dm: usb: Pass EHCI controller pointer to ehci_get_portsc_register()

2015-03-25 Thread Simon Glass
Adjust this function so that it is passed an EHCI controller pointer so that implementations can look up their controller. This makes the weak functions use a consistent API. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/usb/host/ehci-faraday.c | 4 ++--

[U-Boot] [PATCH v2 32/80] dm: usb: tegra: Store the controller type explicitly

2015-03-25 Thread Simon Glass
At present the tegra driver uses a separate pointer to know which controller type is in use. This works because only one controller type is used at a time. With driver model we want to make the controller state hermetic in the sense that it is not necessary to look elsewhere to know the

[U-Boot] [PATCH v2 61/80] dm: usb: xhci: Use a function to get xhci_ctrl

2015-03-25 Thread Simon Glass
Rather than getting this directly from struct usb_device, call a function to obtain it. This will make it possible for driver model to provide it another way. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/usb/host/xhci-ring.c | 8

[U-Boot] [PATCH v2 56/80] dm: usb: exynos: Add driver model support to exynos EHCI

2015-03-25 Thread Simon Glass
Update this driver with driver model support for USB. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/usb/host/ehci-exynos.c | 112 - 1 file changed, 111 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v2 59/80] dm: usb: tegra: Move most of init/uninit into a function

2015-03-25 Thread Simon Glass
We want to use mostly the same init and uninit code for driver model, so move the common part into two functions. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/usb/host/ehci-tegra.c | 143 -- 1 file changed, 81

[U-Boot] [PATCH v2 28/80] dm: usb: Convert usb_storage to driver model

2015-03-25 Thread Simon Glass
Add support for scanning USB storage devices with driver model. This mostly involves adding a USB device ID for storage devices. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None common/usb_storage.c | 51 +-- 1 file changed,

[U-Boot] [PATCH v2 39/80] dm: usb: Drop the EHCI weak functions

2015-03-25 Thread Simon Glass
These are a pain with driver model because we might have different EHCI drivers which want to implement them differently. Now that they use consistent function signatures, we can in good conscience move them to a struct. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None

Re: [U-Boot] [PATCH v3] arm: mx5: Add support for USB armory board

2015-03-25 Thread Andrej Rosano
Hi Stefano, On Wed, Mar 25, 2015 at 09:48:36AM +0100, Stefano Babic wrote: Hi Andrej, On 24/03/2015 14:26, and...@inversepath.com wrote: From: Andrej Rosano and...@inversepath.com Add support for Inverse Path USB armory board, an open source flash-drive sized computer based on

Re: [U-Boot] [PATCH 2/5 v2] dm: ls1021a: Bring in ls1021a dts files from linux kernel

2015-03-25 Thread Simon Glass
On 25 March 2015 at 06:23, Haikun Wang haikun.w...@freescale.com wrote: From: haikun haikun.w...@freescale.com Bring in required device tree files for ls1021a from Linux. These are initially unchanged and have a number of pieces not needed by U-Boot. Signed-off-by: Haikun Wang

Re: [U-Boot] [PATCH 0/13] ARM: UniPhier: enable CONFIG_SPL_DM with some clean-ups

2015-03-25 Thread Simon Glass
Hi Masahiro, On 24 March 2015 at 22:08, Masahiro Yamada yamada.masah...@socionext.com wrote: Hi Simon, 2015-03-24 7:47 GMT+09:00 Simon Glass s...@chromium.org: Hi Masahiro, On 23 March 2015 at 09:19, Masahiro Yamada yamada.masah...@socionext.com wrote: 2015-03-23 0:07 GMT+09:00 Masahiro

Re: [U-Boot] [PATCH v2 1/3] part: Add support for list filtering on bootable partitions

2015-03-25 Thread Tom Rini
On Wed, Feb 25, 2015 at 11:23:50PM +0100, Sjoerd Simons wrote: Add an optional -bootable parameter to the part list commands to only put the list of bootable partitions in the environment variable Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk Applied to u-boot/master, thanks!

Re: [U-Boot] [PATCH v2 2/3] config_cmd_default.h: Add 'env exists' command

2015-03-25 Thread Tom Rini
On Wed, Feb 25, 2015 at 11:23:51PM +0100, Sjoerd Simons wrote: env exists allows scripts to query whether an environment variable exists. Enable by default as it adds only a trivial amount of code and can be useful in scripts. Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk

Re: [U-Boot] [PATCH v2 3/3] config_distro_bootcmd.h: Prefer booting from bootable paritions

2015-03-25 Thread Tom Rini
On Wed, Feb 25, 2015 at 11:23:52PM +0100, Sjoerd Simons wrote: List bootable partitions and only scan those for bootable files, falling back to partition 1 if there are no bootable partitions Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk Reviewed-by: Hans de Goede

Re: [U-Boot] [PATCH v3] arm: mx5: Add support for USB armory board

2015-03-25 Thread Vagrant Cascadian
On 2015-03-25, Stefano Babic wrote: diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index b9ebee1..a490084 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -462,6 +462,10 @@ config TARGET_MX53SMD bool Support mx53smd select CPU_V7 +config TARGET_USBARMORY +bool

Re: [U-Boot] [PATCH] config: peach: Correct memory layout environment settings

2015-03-25 Thread Tom Rini
On Wed, Mar 25, 2015 at 08:54:16PM +0100, Sjoerd Simons wrote: On Wed, 2015-03-25 at 12:58 -0400, Tom Rini wrote: On Wed, Mar 25, 2015 at 09:32:45AM +0100, Sjoerd Simons wrote: On Wed, 2015-03-25 at 01:11 -0400, Tom Rini wrote: On Mon, Mar 23, 2015 at 03:04:48PM -0600, Simon Glass wrote:

Re: [U-Boot] [PATCH 14/28] drivers/fsl-mc: Changed MC firmware loading for new boot architecture

2015-03-25 Thread Kim Phillips
On Tue, 24 Mar 2015 21:32:56 -0500 Stuart Yoder b08...@gmail.com wrote: Kim, why is this being taken off-list? Adding it back. Also, please don't top-post. I think it is premature to start focusing on saving single digit milliseconds in u-boot. The 35 second boot time you are seeing on

Re: [U-Boot] [PATCH v2 04/40] fdt: Add functions to retrieve strings

2015-03-25 Thread Simon Glass
Hi Thierry, On 8 September 2014 at 09:02, Simon Glass s...@chromium.org wrote: Applied to u-boot-fdt/next, thanks! Did you submit these patches to dtc upstream? I don't see them applied. Regards, SImon ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] Exynos: Clock: Fix exynos5_get_periph_rate for I2C.

2015-03-25 Thread Simon Glass
Hi Minkyu, On 24 March 2015 at 01:45, Minkyu Kang proms...@gmail.com wrote: hi, On 20 March 2015 at 02:06, Guillaume Gardet guillaume.gar...@free.fr javascript:_e(%7B%7D,'cvml','guillaume.gar...@free.fr'); wrote: Ping. Guillaume Le 11/03/2015 10:34, Guillaume GARDET a écrit : Commit

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

2015-03-25 Thread Simon Glass
Hi Tom, The following changes since commit b81bdf62e0cf9b5c64d30284d01658a851f142f7: bav335x: Update defconfigs and fix typo in EEPROM config format (2015-03-24 10:56:35 -0400) are available in the git repository at: http://git.denx.de/u-boot-dm.git for you to fetch changes up to

Re: [U-Boot] [PATCH 4/4] x86: crownbay: Enable Intel Topcliff GMAC support

2015-03-25 Thread Simon Glass
On 20 March 2015 at 13:18, Joe Hershberger joe.hershber...@gmail.com wrote: On Fri, Mar 20, 2015 at 4:12 AM, Bin Meng bmeng...@gmail.com wrote: Intel Crown Bay board has one ethernet port connected from Intel Topcliff PCH. Enable it in the board configuration. Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH 2/2] x86: galileo: Enable saving environment in SPI flash

2015-03-25 Thread Simon Glass
On 12 March 2015 at 19:40, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Fri, Mar 13, 2015 at 6:15 AM, Simon Glass s...@chromium.org wrote: On 11 March 2015 at 02:22, Bin Meng bmeng...@gmail.com wrote: Saving U-Boot's environment in SPI flash on Intel Galileo board. Signed-off-by: Bin

Re: [U-Boot] serial atag tag in devicetree ?

2015-03-25 Thread Paul Kocialkowski
Le mardi 24 mars 2015 à 09:01 +0100, Hans de Goede a écrit : Hi, On 24-03-15 00:12, Rob Herring wrote: On Mon, Mar 23, 2015 at 6:30 AM, Hans de Goede hdego...@redhat.com wrote: Hi, On 22-03-15 22:01, Rob Herring wrote: snip There is already serial-number (a string) which

Re: [U-Boot] [PATCH 1/4] net: Add ethernet FCS length macro in net.h

2015-03-25 Thread Simon Glass
On 20 March 2015 at 13:18, Joe Hershberger joe.hershber...@gmail.com wrote: On Fri, Mar 20, 2015 at 4:12 AM, Bin Meng bmeng...@gmail.com wrote: Some ethernet drivers use their own version of ethernet FCS length macro which is really common. We define ETH_FCS_LEN in net.h and replace those

Re: [U-Boot] [PATCH] x86: quark: Enable on-chip ethernet controllers

2015-03-25 Thread Simon Glass
On 12 March 2015 at 16:13, Simon Glass s...@chromium.org wrote: Hi Bin, On 10 March 2015 at 20:25, Bin Meng bmeng...@gmail.com wrote: Intel Quark SoC integrates two 10/100 ethernet controllers which can be connected to an external RMII PHY. The MAC IP is from Designware. Enable this support

Re: [U-Boot] [PATCH 2/4] net: Update README.drivers.eth to mention latest APIs

2015-03-25 Thread Simon Glass
On 20 March 2015 at 13:18, Joe Hershberger joe.hershber...@gmail.com wrote: On Fri, Mar 20, 2015 at 4:12 AM, Bin Meng bmeng...@gmail.com wrote: README.drivers.eth still refers to the deprecated miiphy_register(). Update the doc to mention new APIs mdio_alloc() and mdio_register().

Re: [U-Boot] [PATCH] fdtdec: Improve fdtdec_get_pci_bdf() documentation

2015-03-25 Thread Simon Glass
On 5 March 2015 at 12:48, Simon Glass s...@chromium.org wrote: On 4 March 2015 at 00:08, Bin Meng bmeng...@gmail.com wrote: Add the description that how the compatible property is involved in the fdtdec_get_pci_bdf() documentation. Signed-off-by: Bin Meng bmeng...@gmail.com ---

Re: [U-Boot] [PATCH 1/2] x86: crownbay: Enable saving environment in SPI flash

2015-03-25 Thread Simon Glass
On 12 March 2015 at 16:15, Simon Glass s...@chromium.org wrote: On 11 March 2015 at 02:22, Bin Meng bmeng...@gmail.com wrote: Saving U-Boot's environment in SPI flash on Intel CrownBay board. Signed-off-by: Bin Meng bmeng...@gmail.com --- include/configs/crownbay.h | 8 1 file

Re: [U-Boot] [PATCH 3/4] net: Add Intel Topcliff GMAC driver

2015-03-25 Thread Simon Glass
On 23 March 2015 at 22:54, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Tue, Mar 24, 2015 at 12:18 PM, Simon Glass s...@chromium.org wrote: Hi Bin, On Mar 23, 2015 7:24 PM, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Tue, Mar 24, 2015 at 5:57 AM, Simon Glass s...@chromium.org

Re: [U-Boot] [PATCH] arch/x86/cpu/quark/mrc.c: Switch to U_BOOT_DATE / U_BOOT_TIME

2015-03-25 Thread Simon Glass
On 19 February 2015 at 11:26, Simon Glass s...@chromium.org wrote: On 19 February 2015 at 04:58, Tom Rini tr...@ti.com wrote: Using __DATE__ and __TIME__ results in an error due to -Werror=date-time with gcc-4.9 (__DATE__ / __TIME__ might prevent reproducible builds) so switch these over to

Re: [U-Boot] [PATCH] dm: serial: remove bogus include ns16550.h

2015-03-25 Thread Simon Glass
On 20 March 2015 at 17:52, Simon Glass s...@chromium.org wrote: On 20 March 2015 at 09:24, Tom Rini tr...@konsulko.com wrote: On Fri, Mar 20, 2015 at 01:24:45PM +0900, Masahiro Yamada wrote: Serial-uclass should be generically implemented without depending a particular hardware. Fortunately,

[U-Boot] [PATCH v2] ARM: tegra: fix colibri_t20 machine type

2015-03-25 Thread Marcel Ziswiler
A while ago I got Russell to change the machine type of our Colibri T20 from COLIBRI_TEGRA2 to COLIBRI_T20 which at least in parts is also reflected in his machine registry: http://www.arm.linux.org.uk/developer/machines/list.php?id=3323 For us it is really very beneficial to actually still be

[U-Boot] [PATCH v2] ARM: tegra: update colibri_t20 configuration

2015-03-25 Thread Marcel Ziswiler
Bring the Colibri T20 configuration in-line with Apalis/Colibri T30. Signed-off-by: Marcel Ziswiler mar...@ziswiler.com --- Changes in v2: - added my previously missing signed-off-by include/configs/colibri_t20.h | 31 +++ 1 file changed, 27 insertions(+), 4

[U-Boot] [PATCH v2] ARM: tegra: fix colibri_t20 asix reset

2015-03-25 Thread Marcel Ziswiler
Fix ASIX USB to Ethernet chip reset. Signed-off-by: Marcel Ziswiler mar...@ziswiler.com --- Changes in v2: - added my previously missing signed-off-by board/toradex/colibri_t20/colibri_t20.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH V2] Exynos: Clock: Fix exynos5_get_periph_rate for I2C.

2015-03-25 Thread Simon Glass
On 19 March 2015 at 11:06, Guillaume Gardet guillaume.gar...@free.fr wrote: Ping. Guillaume Le 11/03/2015 10:34, Guillaume GARDET a écrit : Commit 2e82e9252695a612ab0cbf40fa0c7368515f6506 'Exynos: Clock: Cleanup soc_get_periph_rate' introduced a bug in I2C config. This patch makes

Re: [U-Boot] [PATCH 1/2 v1] sf: probe: Add support Atmel AT45DB series devices special commands

2015-03-25 Thread haikun.w...@freescale.com
On 3/25/2015 10:10 PM, Fan Peng-B51431 wrote: Hi Haikun, On 3/25/2015 8:35 PM, Haikun Wang wrote: From: Haikun Wang haikun.w...@freescale.com Atmel AT45DB series devices commands is different from common spi flash commands. This patch add support for AT45DB special commands. Add a flag

Re: [U-Boot] [PATCH] ARM: tegra: fix colibri_t20 machine type

2015-03-25 Thread Marcel Ziswiler
On Mon, 2015-03-23 at 13:37 -0600, Stephen Warren wrote: Only half of the references there seem to be updated; there are still some mentions of e.g. CONFIG_MACH_COLIBRI_TEGRA2, MACH_TYPE_COLIBRI_TEGRA2. Perhaps it's still in flux? Ah, yes. Now I remember. Some stuff can't easily be changed

Re: [U-Boot] [PATCH 2/2 v1] sf: Update AT45DB021D flash chip parameters

2015-03-25 Thread haikun.w...@freescale.com
On 3/25/2015 10:11 PM, Fan Peng-B51431 wrote: Hi Haikun, On 3/25/2015 8:36 PM, Haikun Wang wrote: From: Haikun Wang haikun.w...@freescale.com AT45DB021D flash size is 1024*page_size, page_size is 256bytes or 264bytes. In current params_table its size is 64*1024*8, recorrect it. Add

[U-Boot] [PATCH v2 1/2] ARM: tegra: get rid of colibri_t20-common

2015-03-25 Thread Marcel Ziswiler
As a preparatory step to renaming the board folder as well first get rid of the colibri_t20-common after having integrated it into colibri_t20_iris for now. While at it also migrate to using NVIDIA's common.mk magic. Signed-off-by: Marcel Ziswiler mar...@ziswiler.com ---

[U-Boot] [PATCH v2 2/2] ARM: tegra: rename colibri_t20 board/configuration/device-tree

2015-03-25 Thread Marcel Ziswiler
In accordance with our other modules supported by U-Boot and as agreed upon for Apalis/Colibri T30 get rid of the carrier board in the board/ configuration/device-tree naming. While at it also bring the prompt more in line with our other products. Signed-off-by: Marcel Ziswiler

[U-Boot] [PATCH v2 0/2] rename colibri_t20

2015-03-25 Thread Marcel Ziswiler
In accordance with our other modules supported by U-Boot and as agreed upon for Apalis/Colibri T30 [1] get rid of the carrier board post fix in the board/configuration/device-tree naming. [1] http://article.gmane.org/gmane.comp.boot-loaders.u-boot/192041 Changes in v2: - squashed it all together

Re: [U-Boot] [PATCH v3 4/4] common/lcd_console: introduce display/framebuffer rotation

2015-03-25 Thread Hannes Petermaier
On 2015-03-25 17:24, Nikita Kiryanov wrote: Hi Hannes, Hi Nikita, This is almost an Acked-By from me, just a few final comments: Perfect, i think with v4 we can finish the thing :-) On 03/19/2015 10:37 AM, Hannes Petermaier wrote: diff --git a/README b/README index b0124d6..c649de1

[U-Boot] Please pull u-boot-x86.git

2015-03-25 Thread Simon Glass
Hi Tom, These are improvements to a new board and some code clean-ups that I requested, so I think it is probably reasonable to take these now. The following changes since commit b81bdf62e0cf9b5c64d30284d01658a851f142f7: bav335x: Update defconfigs and fix typo in EEPROM config format

Re: [U-Boot] [PATCH] powerpc/t2080rdb: update ddr to support 1866MT/s

2015-03-25 Thread Prabhakar Kushwaha
Shengzhou Liu Shengzhou.Liu at freescale.com writes: Tested with SODIMM D3XP12081XL10AA 1866MT/s on T2080RDB. Enable CONFIG_CMD_MEMTEST as well. Please avoid test status in patch description -prabhakar ___ U-Boot mailing list

Re: [U-Boot] u-boot: OpenRD Ultimate fails to build

2015-03-25 Thread drEagle
Hi Vagrant, Le 21/03/2015 15:53, Vagrant Cascadian a écrit : It seems that OpenRD Ultimate with u-boot 2015.04-rc3 and newer no longer builds from source, both in Debian and with mainline git. It appears to have overgrown the size limits set for it: Looks like the NAND partition map had to be

[U-Boot] Driver model Ethernet issue

2015-03-25 Thread Simon Glass
Hi Joe, I think moving the packet processing into the uclass was a good idea, but I did not think it through. If you look at the designware driver, when it receives a packet it processes it and then retires that buffer for later reuse. The few others I have looked at are similar. We can't

Re: [U-Boot] [PATCH v2 57/80] dm: usb: tegra: Remove the port_addr_clear_csc variable

2015-03-25 Thread Jim Lin
-Original Message- From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Simon Glass Sent: Thursday, March 26, 2015 2:23 AM To: U-Boot Mailing List Cc: Marek Vasut; Stephen Warren; Vivek Gautam; Tom Warren Subject: [U-Boot] [PATCH v2 57/80] dm: usb: tegra: Remove the

Re: [U-Boot] [PATCH 1/2 v1] sf: probe: Add support Atmel AT45DB series devices special commands

2015-03-25 Thread Peng Fan
Hi Haikun, On 3/26/2015 10:39 AM, Wang Haikun-B53464 wrote: On 3/25/2015 10:10 PM, Fan Peng-B51431 wrote: Hi Haikun, On 3/25/2015 8:35 PM, Haikun Wang wrote: From: Haikun Wang haikun.w...@freescale.com Atmel AT45DB series devices commands is different from common spi flash commands. This

<    1   2