[U-Boot] [PATCH v2 26/29] dm: Add child_pre_probe() and child_post_remove() methods

2014-07-08 Thread Simon Glass
Some devices (particularly bus devices) must track their children, knowing when a new child is added so that it can be set up for communication on the bus. Add a child_pre_probe() method to provide this feature, and a corresponding child_post_remove() method. Signed-off-by: Simon Glass --- Chan

[U-Boot] [PATCH v2 20/29] dm: Avoid accessing uclasses before they are ready

2014-07-08 Thread Simon Glass
Don't allow access to uclasses before they have been initialised. Signed-off-by: Simon Glass --- Changes in v2: None doc/driver-model/README.txt | 3 ++- drivers/core/uclass.c | 2 ++ test/dm/core.c | 14 ++ 3 files changed, 18 insertions(+), 1 deletion(-) dif

[U-Boot] [PATCH v2 06/29] dm: Provide a way to shut down driver model

2014-07-08 Thread Simon Glass
Add a new method which removes and unbinds all drivers. Signed-off-by: Simon Glass Acked-by: Marek Vasut --- Changes in v2: None drivers/core/root.c | 8 include/dm/root.h | 8 2 files changed, 16 insertions(+) diff --git a/drivers/core/root.c b/drivers/core/root.c index

[U-Boot] [PATCH v2 14/29] fdt: Add a function to get the alias sequence of a node

2014-07-08 Thread Simon Glass
Aliases are used to provide U-Boot's numbering of devices, such as: aliases { spi0 = "/spi@1233"; } spi@1233 { ... } This tells us that the SPI controller at 1233 is considered to be the first SPI controller (SPI 0). So we have a numbering for the SPI node. Add a fun

[U-Boot] [PATCH v2 24/29] dm: Add functions to access a device's children

2014-07-08 Thread Simon Glass
Devices can have childen that can be addressed by a simple index, the sequence number or a device tree offset. Add functions to access a child in each of these ways. The index is typically used as a fallback when the sequence number is not available. For example we may use a serial UART with seque

[U-Boot] [PATCH v2 19/29] dm: Allow a device to be found by its FDT offset

2014-07-08 Thread Simon Glass
Each device that was bound from a device tree has an node that caused it to be bound. Add functions that find and return a device based on a device tree offset. Signed-off-by: Simon Glass --- Changes in v2: None doc/driver-model/README.txt | 3 ++- drivers/core/uclass.c | 35 +++

[U-Boot] [PATCH v2 25/29] dm: Introduce per-child data for devices

2014-07-08 Thread Simon Glass
Some device types can have child devices and want to store information about them. For example a USB flash stick attached to a USB host controller would likely use this space. The controller can hold information about the USB state of each of its children. The data is stored attached to the child

[U-Boot] [PATCH v2 23/29] dm: Provide a function to scan child FDT nodes

2014-07-08 Thread Simon Glass
At present only root nodes in the device tree are scanned for devices. But some devices can have children. For example a SPI bus may have several children for each of its chip selects. Add a function which scans subnodes and binds devices for each one. This can be used for the root node scan also,

[U-Boot] [PATCH v2 10/29] stdio: Provide functions to add/remove devices using stdio_dev

2014-07-08 Thread Simon Glass
The current functions for adding and removing devices require a device name. This is not convenient for driver model, which wants to store a pointer to the relevant device. Add new functions which provide this feature and adjust the old ones to call these. Signed-off-by: Simon Glass --- Changes

[U-Boot] [PATCH v2 08/29] dm: Allow drivers to be marked 'before relocation'

2014-07-08 Thread Simon Glass
Driver model currently only operates after relocation is complete. In this state U-Boot typically has a small amount of memory available. In adding support for driver model prior to relocation we must try to use as little memory as possible. In addition, on some machines the memory has not be init

[U-Boot] [PATCH v2 11/29] console: Remove vprintf() optimisation for sandbox

2014-07-08 Thread Simon Glass
If the console is not present, we try to reduce overhead by stopping any output in vprintf(), before it gets to putc(). This is of dubious merit in general, but in the case of sandbox it is incorrect since we have a fallback console which reports errors very early in U-Boot. If this is defeated U-B

[U-Boot] [PATCH v2 27/29] dm: Improve errors and warnings in lists_bind_fdt()

2014-07-08 Thread Simon Glass
Add a debug message for when a device tree node has no driver. Also reword the warning when a device fails to bind, which was misleading. Signed-off-by: Simon Glass --- Changes in v2: None drivers/core/lists.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH v2 29/29] dm: Give the demo uclass a name

2014-07-08 Thread Simon Glass
Uclasses should be named, so add a name for the demo uclass. Signed-off-by: Simon Glass --- Changes in v2: - Expand series to include all driver-model-required changes drivers/demo/demo-uclass.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/demo/demo-uclass.c b/drivers/demo/demo-

[U-Boot] [PATCH v2 18/29] dm: Display the sequence number for each device

2014-07-08 Thread Simon Glass
Add this information to 'dm tree' and 'dm uclass' commands. Signed-off-by: Simon Glass --- Changes in v2: None test/dm/cmd_dm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/dm/cmd_dm.c b/test/dm/cmd_dm.c index 93e5255..26980d2 100644 --- a/test/dm/cmd_dm.c +++ b/test/dm/cmd_dm.c

[U-Boot] [PATCH v2 12/29] Add a flag indicating when the serial console is ready

2014-07-08 Thread Simon Glass
For sandbox we have a fallback console which is used very early in U-Boot, before serial drivers are available. Rather than try to guess when to switch to the real console, add a flag so we can be sure. This makes sure that sandbox can always output a panic() message, for example, and avoids silent

[U-Boot] [PATCH v2 04/29] stdio: Pass device pointer to stdio methods

2014-07-08 Thread Simon Glass
At present stdio device functions do not get any clue as to which stdio device is being acted on. Some implementations go to great lengths to work around this, such as defining a whole separate set of functions for each possible device. For driver model we need to associate a stdio_dev with a devi

[U-Boot] [PATCH v2 09/29] dm: Support driver model prior to relocation

2014-07-08 Thread Simon Glass
Initialise devices marked 'pre-reloc' and make them available prior to relocation. Note that this requires pre-reloc malloc() to be available. Signed-off-by: Simon Glass --- Changes in v2: - Minor reword to comment for dm_init_and_scan() common/board_f.c | 16

[U-Boot] [PATCH v2 13/29] dm: Move uclass error checking/probing into a function

2014-07-08 Thread Simon Glass
Several functions will use this same pattern, so bring it into a function. Signed-off-by: Simon Glass --- Changes in v2: None drivers/core/uclass.c | 28 ++-- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/drivers/core/uclass.c b/drivers/core/uclass.c in

[U-Boot] [PATCH v2 16/29] dm: Avoid activating devices in 'dm uclass' command

2014-07-08 Thread Simon Glass
This command currently activates devices as it lists them. This is not desirable since it changes the system state. Fix it and avoid printing a newline if there are no devices in a uclass. Signed-off-by: Simon Glass --- Changes in v2: None test/dm/cmd_dm.c | 6 +++--- 1 file changed, 3 inserti

[U-Boot] [PATCH v2 15/29] dm: Move device display into its own function

2014-07-08 Thread Simon Glass
The device display for 'dm tree' and 'dm uclass' is mostly the same, so move it into a common function. Signed-off-by: Simon Glass --- Changes in v2: None test/dm/cmd_dm.c | 27 +++ 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/test/dm/cmd_dm.c b/test/d

[U-Boot] [PATCH v2 03/29] stdio: Remove redundant code around stdio_register() calls

2014-07-08 Thread Simon Glass
There is no point in setting a structure's memory to NULL when it has already been zeroed with memset(). Also, there is no need to create a stub function for stdio to call - if the function is NULL it will not be called. This is a clean-up, with no change in functionality. Signed-off-by: Simon G

[U-Boot] [PATCH v2 02/29] dm: Use an explicit expect value in core tests

2014-07-08 Thread Simon Glass
Rather than reusing the 'reg' property, use an explicit property for the expected ping value used in testing. Signed-off-by: Simon Glass --- Changes in v2: None test/dm/test-fdt.c | 13 - test/dm/test.dts | 5 - 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a

[U-Boot] [PATCH v2 05/29] dm: Make sure that the root device is probed

2014-07-08 Thread Simon Glass
The root device should be probed just like any other device. The effect of this is to mark the device as activated, so that it can be removed (along with its children) if required. Signed-off-by: Simon Glass Acked-by: Marek Vasut --- Changes in v2: None drivers/core/root.c | 3 +++ test/dm/co

[U-Boot] [PATCH v2 07/29] sandbox: Remove all drivers before exit

2014-07-08 Thread Simon Glass
Drivers are supposed to be able to close down cleanly. To set a good example, make sandbox shut down its driver model drivers and remove them before exit. It may be desirable to do the same more generally once driver model is more widely-used. This could be done during bootm, before U-Boot jumps t

[U-Boot] [PATCH v2 28/29] dm: Add dm_scan_other() to locate board-specific devices

2014-07-08 Thread Simon Glass
Some boards will have devices which are not in the device tree and do not have platform data. They may be programnatically created, for example. Add a hook which boards can use to bind those devices early in boot. Signed-off-by: Simon Glass --- Changes in v2: None drivers/core/root.c | 8

[U-Boot] [PATCH v2 17/29] dm: Introduce device sequence numbering

2014-07-08 Thread Simon Glass
In U-Boot it is pretty common to number devices from 0 and access them on the command line using this numbering. While it may come to pass that we will move away from this numbering, the possibility seems remote at present. Given that devices within a uclass will have an implied numbering, it make

[U-Boot] [PATCH v2 21/29] fdt: Add a function to get the node offset of an alias

2014-07-08 Thread Simon Glass
This simple function returns the node offset of a named alias. Signed-off-by: Simon Glass --- Changes in v2: None include/fdtdec.h | 11 +++ lib/fdtdec.c | 15 +++ 2 files changed, 26 insertions(+) diff --git a/include/fdtdec.h b/include/fdtdec.h index f454f7e..856e6cf

[U-Boot] [PATCH v2 01/29] dm: gpio: Don't use the driver model uclass for SPL

2014-07-08 Thread Simon Glass
Driver model does not support SPL yet, so we should not use the GPIO uclass for SPL. Signed-off-by: Simon Glass --- Changes in v2: None drivers/gpio/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile index 4e001e1..fb8dcd9 100644 --- a/

[U-Boot] [PATCH v2 22/29] dm: Tidy up some header file comments

2014-07-08 Thread Simon Glass
Fix up the style of a few comments and add/clarify a few others. Signed-off-by: Simon Glass --- Changes in v2: None include/dm/device.h| 2 +- include/dm/platdata.h | 10 -- include/dm/root.h | 3 ++- include/dm/uclass-id.h | 2 +- include/dm/uclass.h| 2 +- 5 files c

[U-Boot] [PATCH v2 0/29] Add additional core driver model features

2014-07-08 Thread Simon Glass
This series includes a number of base driver model enhancements, mostly targeted at pre-relocation and to enable buses to be easily implemented. With the device tree, child nodes for buses can now be scanned to create child devices, and bus-related information about each child can be stored. Child

Re: [U-Boot] [PATCH] build: define CPU only when arch/${ARCH}/cpu/${CPU} exists

2014-07-08 Thread Masahiro Yamada
Hi Simon, On Mon, 7 Jul 2014 16:44:36 -0600 Simon Glass wrote: > > But see question below. > > diff --git a/mkconfig b/mkconfig > > index 2bf5897..401f262 100755 > > --- a/mkconfig > > +++ b/mkconfig > > @@ -55,6 +55,11 @@ CONFIG_NAME="${7%_config}" > > arch="$2" > > cpu=`echo $3 | awk 'BEGI

Re: [U-Boot] [U-Boot, v1, 3/3] ARM: omap: merge GPMC initialization code for all platform

2014-07-08 Thread Ash Charles
Hi Pekon, On Mon, Jul 7, 2014 at 11:19 PM, Gupta, Pekon wrote: > Sorry seeing this bit late. Were you able to root cause the issue ? Did you see http://patchwork.ozlabs.org/patch/356984/ ? This resolves the issue for me but I'd welcome any feedback you have on this fix. ... > Also, the change in

Re: [U-Boot] [PATCH] am335x_evm / gumstix pepper: Correct DDR settings

2014-07-08 Thread Ash Charles
Works for me on the Pepper board. Thanks for the fix! Tested-By: Ash Charles On Mon, Jul 7, 2014 at 6:40 PM, Tom Rini wrote: > As noted by clang, we have been shifting certain values out of 32bit > range when setting some DDR registers. Upon further inspection these > had been touching reserv

[U-Boot] Programming PHY firmware over MDIO

2014-07-08 Thread Danny Gale
We are working with the Broadcom BCM84834 PHY (4-port 10G-BASE-T) being controlled by a Freescale T4240. The 84834 needs firmware in order to operate. The device can either load its firmware from MDIO or from a SPI EEPROM. Once loaded via MDIO, the PHY can write its new firmware to EEPROM for f

[U-Boot] [PATCH 1/2] spi: ST33ZP24 SPI TPM driver

2014-07-08 Thread Jean-Luc BLANC
This driver add support for STMicroelectronics ST33ZP24 SPI TPM. Driver support 2 SPI TPMs. Driver support also hash in Locality 4 feature (the only way to update PCR17). --- README | 29 ++ common/cmd_tpm.c | 63 +++- drivers/tpm/Makefile |1

Re: [U-Boot] Please pull u-boot-sunxi.git/next

2014-07-08 Thread Jeroen Hofstee
On 08-07-14 21:20, Ian Campbell wrote: Hi Tom Sending to you for #next in Albert's absence. The following changes since commit 23f23f23d509e8e873797884456070c8a47d72b2: socfpga: Relocate arch common functions away from board (2014-07-05 10:14:46 +0200) are available in the git repository

[U-Boot] [PATCH 2/5] sunxi: add USB EHCI driver

2014-07-08 Thread Roman Byshko
Signed-off-by: Roman Byshko --- drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-sunxi.c | 236 ++ 2 files changed, 237 insertions(+) create mode 100644 drivers/usb/host/ehci-sunxi.c diff --git a/drivers/usb/host/Makefile b/drivers/usb/host/Ma

[U-Boot] [PATCH 4/5] sun7i: add USB EHCI configuration

2014-07-08 Thread Roman Byshko
Signed-off-by: Roman Byshko --- include/configs/sun7i.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs/sun7i.h b/include/configs/sun7i.h index 9b693f7..0a1d83e 100644 --- a/include/configs/sun7i.h +++ b/include/configs/sun7i.h @@ -16,6 +16,14 @@ #define CONFIG_SYS_

[U-Boot] [PATCH 5/5] sun7i: cubietruck: enable USB EHCI

2014-07-08 Thread Roman Byshko
Signed-off-by: Roman Byshko --- boards.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards.cfg b/boards.cfg index f16a0e6..e039d4c 100644 --- a/boards.cfg +++ b/boards.cfg @@ -377,7 +377,7 @@ Active arm armv7 rmobile renesas lager Active

[U-Boot] [PATCH 1/5] sunxi: add defines to control USB Host clocks/resets

2014-07-08 Thread Roman Byshko
Signed-off-by: Roman Byshko --- arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun4i.h b/arch/arm/include/asm/arch-sunxi/clock_sun4i.h index 928f3f2..fe7348a 100644 --- a/arch/arm/include/asm/arch-sunxi/

[U-Boot] [PATCH 0/5] ARM: Allwinner sun7i (A20) USB Host EHCI support

2014-07-08 Thread Roman Byshko
This patch series adds USB Host EHCI support to the sun7i SoC. It was tested on Cubietruck. Now you could boot from a USB stick or use a compatible Ethernet dongle to add a second Ethernet port in U-Boot. ehci-sunxi.c contains some code for poking GPIOs. This code will go away once some other patc

[U-Boot] [PATCH 3/5] sunxi: add USB options to configs

2014-07-08 Thread Roman Byshko
Signed-off-by: Roman Byshko --- include/configs/sunxi-common.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 5d72d62..c7746bb 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -181,

Re: [U-Boot] [PATCH v2 2/9] arm: Set up global data before board_init_f()

2014-07-08 Thread Jeroen Hofstee
Hello Simon, On 08-07-14 20:41, Simon Glass wrote: Hi Jeroen, On 8 July 2014 11:13, Jeroen Hofstee wrote: diff --git a/arch/arm/include/asm/config.h b/arch/arm/include/asm/config.h index 2a20a77..abf79e5 100644 --- a/arch/arm/include/asm/config.h +++ b/arch/arm/include/asm/config.h @@ -7,8 +7

[U-Boot] Please pull u-boot-sunxi.git/next

2014-07-08 Thread Ian Campbell
Hi Tom Sending to you for #next in Albert's absence. The following changes since commit 23f23f23d509e8e873797884456070c8a47d72b2: socfpga: Relocate arch common functions away from board (2014-07-05 10:14:46 +0200) are available in the git repository at: git://git.denx.de/u-boot-sunxi.git

Re: [U-Boot] [PATCH v2 2/9] arm: Set up global data before board_init_f()

2014-07-08 Thread Simon Glass
Hi Jeroen, On 8 July 2014 11:13, Jeroen Hofstee wrote: > Hello Simon, > > > On 08-07-14 01:19, Simon Glass wrote: >> >> At present arm defines CONFIG_SYS_GENERIC_GLOBAL_DATA, meaning that >> the global_data pointer is set up in board_init_f(). However it is >> actually set up before this, it just

Re: [U-Boot] [PATCH] common: main.c: make show_boot_progress __weak

2014-07-08 Thread Simon Glass
On 26 June 2014 12:18, Jeroen Hofstee wrote: > This not only looks a bit better it also prevents a > warning with W=1 (no previous prototype). > > Signed-off-by: Jeroen Hofstee Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://

Re: [U-Boot] [PATCH] common: board_f: cosmetic use __weak for leds

2014-07-08 Thread Simon Glass
On 23 June 2014 15:20, Jeroen Hofstee wrote: > First of all this looks a lot better, but it also > prevents a gcc warning (W=1), that the weak function > has no previous prototype. > > cc: Simon Glass > Signed-off-by: Jeroen Hofstee Build tested for sandbox and a few ARM boards. Acked-by: Simo

[U-Boot] uboot-env.bin

2014-07-08 Thread Naitik Amin
Hi there, I am trying to use the uboot-env.bin that I created using my uboot env settings. My question is how do I point uboot to use this newly generated settings file while loading up the environment ? Thanks, ___ U-Boot mailing list U-Boot@lists.d

Re: [U-Boot] [Patch v1 2/4] armv8/fsl-lsch3: Release secondary cores from boot hold off with Boot Page

2014-07-08 Thread York Sun
On 07/04/2014 05:31 AM, Mark Rutland wrote: > Hi York, > > I spotted a couple of generic issues below. Most of these are issues > with the existing code that you happen to be moving around, rather than > with the new code this patch introduces. > > There are a couple of gotchas around secondary s

Re: [U-Boot] [PATCH v2 2/9] arm: Set up global data before board_init_f()

2014-07-08 Thread Jeroen Hofstee
Hello Simon, On 08-07-14 01:19, Simon Glass wrote: At present arm defines CONFIG_SYS_GENERIC_GLOBAL_DATA, meaning that the global_data pointer is set up in board_init_f(). However it is actually set up before this, it just isn't zeroed. If we zero the global data before calling board_init_f() t

Re: [U-Boot] [PATCH v5 1/4] mx6: Add support for the mx6solox variant

2014-07-08 Thread Fabio Estevam
On Tue, Jul 8, 2014 at 6:08 AM, Stefano Babic wrote: > On 24/06/2014 22:40, Fabio Estevam wrote: >> From: Fabio Estevam >> >> mx6solox is the newest member of the mx6 family. >> >> Some of the new features on this variants are: >> - Cortex M4 microcontroller (besides the CortexA9) >> - Dual Gigab

Re: [U-Boot] [PATCH v3 00/10] sunxi: Bug fixes, sun4i and sun5i support and network improvements

2014-07-08 Thread Tom Rini
On Tue, Jul 08, 2014 at 08:23:11AM +0100, Ian Campbell wrote: > On Mon, 2014-07-07 at 16:45 -0400, Tom Rini wrote: > > On Mon, Jul 07, 2014 at 09:23:13PM +0100, Ian Campbell wrote: > > > On Mon, 2014-07-07 at 12:47 -0400, Tom Rini wrote: > > > > That's not how we like things to look however when we

Re: [U-Boot] SPL broken on i.mx31 platforms

2014-07-08 Thread Helmut Raiger
On 07/08/2014 02:32 PM, Helmut Raiger wrote: On 07/08/2014 10:05 AM, Helmut Raiger wrote: I meant, that the SPL is now doing the RAM init and copying of the SPL code correctly. RAM is working, the SPL code is at 0x87dc after that (CRCed it via JTAG). I could not track it further (I have v

Re: [U-Boot] SPL broken on i.mx31 platforms

2014-07-08 Thread Helmut Raiger
On 07/08/2014 10:05 AM, Helmut Raiger wrote: I meant, that the SPL is now doing the RAM init and copying of the SPL code correctly. RAM is working, the SPL code is at 0x87dc after that (CRCed it via JTAG). I could not track it further (I have very limited development time right now ... re

[U-Boot] CONFIG_SYS_GENERIC_BOARD status

2014-07-08 Thread Simon Glass
Hi, According to my calculations, as of commit 80a7cac we now have more than 238 boards converted to generic board, out of 1171. That is a little over 20%, which is a big improvement from last release. I am unable to include MIPS or ARM64 so it is an under-estimate. ./tools/buildman/buildman -b

Re: [U-Boot] [PATCH v2] mx6: add support of multi-processor command

2014-07-08 Thread Pavel Machek
On Sun 2014-06-22 17:09:28, Nikolay Dimitrov wrote: > Hi Gabriel, > > >This allows u-boot to load different OS or Bare Metal application on the > >different cores of the i.MX6DQ. > >For example: we can run Android on cpu0 and a RT OS like QNX/FreeRTOS on > >cpu1. > > I think this explanation is

Re: [U-Boot] [RFC] Extend 'bootm' to support Linux kernel generated images

2014-07-08 Thread Pavel Machek
> > If someone really wants such a trial and error approach, he can still > > do this without adding code that affects everybody with just a little > > scripting - like "bootm $addr || bootz $addr || ...". > > That's not the usecase really. The usecase is roughly "I just want to > boot what the

Re: [U-Boot] [PATCH v4] mx6: add support of multi-processor command

2014-07-08 Thread Stefano Babic
Hi Gabriel, On 25/06/2014 04:32, Gabriel Huau wrote: > This allows u-boot to load different OS or Bare Metal application on the > different cores of the i.MX6DQ. > For example: we can run Android on cpu0 and a RT OS like QNX/FreeRTOS on cpu1. > > Signed-off-by: Gabriel Huau > --- > Changes for v

Re: [U-Boot] [PATCH v5 3/4] mx6: clock: Do not enable sata and ipu clocks

2014-07-08 Thread Stefano Babic
On 24/06/2014 22:41, Fabio Estevam wrote: > From: Fabio Estevam > > mx6sx does not have sata nor ipu blocks, so do not handle such clocks. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, -next branch, thanks ! Best regards, Stefano Babic -- ==

Re: [U-Boot] [PATCH v5 4/4] mx6sx: Add initial support for mx6sxsabresd board

2014-07-08 Thread Stefano Babic
On 24/06/2014 22:41, Fabio Estevam wrote: > From: Fabio Estevam > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, -next branch, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: W

Re: [U-Boot] [PATCH v5 1/4] mx6: Add support for the mx6solox variant

2014-07-08 Thread Stefano Babic
On 24/06/2014 22:40, Fabio Estevam wrote: > From: Fabio Estevam > > mx6solox is the newest member of the mx6 family. > > Some of the new features on this variants are: > - Cortex M4 microcontroller (besides the CortexA9) > - Dual Gigabit Ethernet > > Add the initial support for it. > > Signed-

Re: [U-Boot] [PATCH v5 2/4] mx6sx: Add pin definitions

2014-07-08 Thread Stefano Babic
On 24/06/2014 22:40, Fabio Estevam wrote: > From: Fabio Estevam > > Add the pin definitions for mx6sx. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, -next branch, thanks ! Best regards, Stefano Babic -- = D

Re: [U-Boot] [PATCH v5 1/4] mx6: Add support for the mx6solox variant

2014-07-08 Thread Stefano Babic
Hi Fabio, On 07/07/2014 16:18, Fabio Estevam wrote: > Hi Stefano, > > On Thu, Jul 3, 2014 at 3:22 PM, Fabio Estevam wrote: >> Hi Stefano, >> >> On Thu, Jul 3, 2014 at 4:15 AM, Stefano Babic wrote: >> >>> I have only taken a short look because the series should flow after >>> 2014.07. Anyway, I

Re: [U-Boot] SPL broken on i.mx31 platforms

2014-07-08 Thread Helmut Raiger
On 07/03/2014 10:58 PM, Benoît Thébaudeau wrote: Hi, On Thu, Jul 3, 2014 at 10:19 AM, Helmut Raiger wrote: On 07/03/2014 01:20 AM, Benoît Thébaudeau wrote: )Dear Helmut Raiger, On Wed, Jul 2, 2014 at 9:04 AM, Helmut Raiger wrote: the commit 41623c91 breaks the SPL on i.mx31 platform

Re: [U-Boot] [PATCH 3/3] dfu: fix readback buffer overflow test

2014-07-08 Thread Lukasz Majewski
Hi Stephen, > From: Stephen Warren > > The buffer is too small if it's < size to read, not if it's <= the > size. This fixes the 1MB test case on Tegra, which has a 1MB buffer. > > Signed-off-by: Stephen Warren > --- > drivers/dfu/dfu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [U-Boot] [PATCH 2/3] test: dfu: add some more test cases

2014-07-08 Thread Lukasz Majewski
Hi Stephen, > From: Stephen Warren > > On Tegra, the DFU buffer size is 1M. Consequently, the 8M test always > fails. Add tests for the 1M size, and one byte less as a corner case, > so that some large tests are executed and expected to pass. > > Signed-off-by: Stephen Warren > --- > test/dfu

Re: [U-Boot] [PATCH 1/3] test: dfu: cleanup before execution

2014-07-08 Thread Lukasz Majewski
Hi Stephen, > From: Stephen Warren > > Call cleanup() before running tests too. If a previous test was > CTRL-C'd some stale files may have been left around. dfu-util refuses > to receive a file to a filename that already exists, which results in > false test failures if the files aren't cleaned

Re: [U-Boot] [PATCH v3 00/10] sunxi: Bug fixes, sun4i and sun5i support and network improvements

2014-07-08 Thread Hans de Goede
Hi, On 07/07/2014 10:23 PM, Ian Campbell wrote: > On Mon, 2014-07-07 at 12:47 -0400, Tom Rini wrote: >> That's not how we like things to look however when we can help it. Just >> toss a __maybe_unused in front of the declaration (and make sure we have >> included. > > OK. How about the followin

Re: [U-Boot] [PATCH v3 00/10] sunxi: Bug fixes, sun4i and sun5i support and network improvements

2014-07-08 Thread Hans de Goede
Hi, On 07/07/2014 05:13 PM, Ian Campbell wrote: > On Mon, 2014-07-07 at 14:53 +0200, Hans de Goede wrote: >> Hi, >> >> On 07/06/2014 09:26 PM, Ian Campbell wrote: >>> On Mon, 2014-06-09 at 11:36 +0200, Hans de Goede wrote: adds sun4i and sun5i support >>> >>> Does this series omit FEL mode su

Re: [U-Boot] [PATCH v3 00/10] sunxi: Bug fixes, sun4i and sun5i support and network improvements

2014-07-08 Thread Ian Campbell
On Mon, 2014-07-07 at 16:45 -0400, Tom Rini wrote: > On Mon, Jul 07, 2014 at 09:23:13PM +0100, Ian Campbell wrote: > > On Mon, 2014-07-07 at 12:47 -0400, Tom Rini wrote: > > > That's not how we like things to look however when we can help it. Just > > > toss a __maybe_unused in front of the declar