Re: [U-Boot] [PATCH v4] armv8: caches: Added routine to set non cacheable region

2015-07-07 Thread Siva Durga Prasad Paladugu
Hi Mark, Do you have any more comments on this. If not, can you take up this patch. Regards, DP -Original Message- From: Siva Durga Prasad Paladugu [mailto:siva.durga.palad...@xilinx.com] Sent: Friday, June 26, 2015 6:05 PM To: u-boot@lists.denx.de Cc: mark.rutl...@arm.com; Michal

Re: [U-Boot] [PATCH 03/13] apalis/colibri_t20/t30: integrate recovery mode detection

2015-07-07 Thread Marcel Ziswiler
On 6 July 2015 18:38:21 CEST, Simon Glass s...@chromium.org wrote: Out of interest, is this just a message for the user? Why is it useful? Well, we or customers might do other interesting things on entering rcm like stopping autoboot or automatically start ums. Changes look fine, but

Re: [U-Boot] [PATCH 1/3] dm: serial: Do not panic if no serial ports are found

2015-07-07 Thread Hans de Goede
Hi, On 06-07-15 18:39, Simon Glass wrote: Hi Hans, On 5 July 2015 at 12:56, Hans de Goede hdego...@redhat.com wrote: Some boards simply do not have any serial ports. Also no one will see the panic message as there is no where to print it if no serial port is found (and other stdout options

[U-Boot] [PATCH v2] ahci: Fix compiling warnings under 64bit platforms

2015-07-07 Thread Yuantian.Tang
From: Tang Yuantian yuantian.t...@freescale.com When compling under 64bit platforms, there are lots of warnings, like: drivers/block/ahci.c:114:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] u8 *port_mmio = (u8 *)probe_ent-port[port].port_mmio;

Re: [U-Boot] [PATCH 17/18] x86: Convert minnowmax to use CONFIG_DM_NET

2015-07-07 Thread Bin Meng
On Tue, Jul 7, 2015 at 6:47 AM, Simon Glass s...@chromium.org wrote: Move to driver model for networking on minnowmax. Signed-off-by: Simon Glass s...@chromium.org --- board/intel/minnowmax/minnowmax.c | 6 -- configs/minnowmax_defconfig | 1 + 2 files changed, 1 insertion(+), 6

Re: [U-Boot] [PATCH 13/18] x86: minnowmax: Drop the cache line size hack

2015-07-07 Thread Bin Meng
On Tue, Jul 7, 2015 at 6:47 AM, Simon Glass s...@chromium.org wrote: Now that the RTL8169 driver warning is fixed we can drop this. The incorrect value is causing problems with USB EHCI. Signed-off-by: Simon Glass s...@chromium.org --- include/configs/minnowmax.h | 3 --- 1 file changed,

Re: [U-Boot] [PATCH 05/13] colibri_t20: add LCD display support

2015-07-07 Thread Marcel Ziswiler
Hi Simon On Mon, 2015-07-06 at 10:38 -0600, Simon Glass wrote: I wonder why this code doesn't go in funcmux_select()? It has a parameter to select the variant. Yeah, but I believe Tegra 2 aka T20 with its rather special pin group arrangement has never really been properly converted to using

Re: [U-Boot] [PATCH 2/3] sunxi: Update selects in arch/arm/Kconfig for DM conversions

2015-07-07 Thread Ian Campbell
On Sun, 2015-07-05 at 20:56 +0200, Hans de Goede wrote: From: Tom Rini tr...@konsulko.com With certain features being convert to DM now we want sunxi to default to having DM enabled for ETH/SERIAL and USB in some cases. Cc: Hans de Goede hdego...@redhat.com Cc: Ian Campbell

Re: [U-Boot] [PATCH 04/18] x86: Show the un-relocated IP address in exceptions

2015-07-07 Thread Bin Meng
Hi Simon, On Tue, Jul 7, 2015 at 6:47 AM, Simon Glass s...@chromium.org wrote: When trying to figure out where an exception has occured, the relocated address is not a lot of help. Its value depends on various factors. Show the un-relocated IP as well. This can be looked up in System.map

Re: [U-Boot] [PATCH 07/55] exynos: i2c: Correct bug in pinmux selection

2015-07-07 Thread Przemyslaw Marczak
Hello Simon, On 07/03/2015 02:15 AM, Simon Glass wrote: When driver model is not used the current code does not correctly select the pinmux for the I2C bus. This bug was introduced by this commit: 8dfcbaa dm: i2c: s3c24x0: adjust to dm-i2c api Ah that's right, thanks for fixing!

Re: [U-Boot] [PATCH 18/18] x86: Convert minnowmax to use CONFIG_DM_USB

2015-07-07 Thread Bin Meng
On Tue, Jul 7, 2015 at 6:47 AM, Simon Glass s...@chromium.org wrote: Move to driver model for USB on minnowmax. Signed-off-by: Simon Glass s...@chromium.org --- configs/minnowmax_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/minnowmax_defconfig

Re: [U-Boot] [PATCH v2 4/4] dm: usb: Rename usb_find_child to usb_find_emul_child

2015-07-07 Thread Simon Glass
On 3 July 2015 at 17:06, Simon Glass s...@chromium.org wrote: On 1 July 2015 at 12:53, Hans de Goede hdego...@redhat.com wrote: Now that we unbind usb devices from usb_stop() usb_find_child() is only necessary to deal with emulated usb devices. Rename it to make this clear and add a #ifdef to

Re: [U-Boot] [PATCH 10/22] dm: usb: Do not assume that first child is always a hub

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:45, Simon Glass s...@chromium.org wrote: On 17 June 2015 at 13:33, Hans de Goede hdego...@redhat.com wrote: On some single port (otg) controllers there is no emulated root hub, so the first child (if any) may be one of: UCLASS_MASS_STORAGE, UCLASS_USB_DEV_GENERIC or

Re: [U-Boot] [PATCH v2 3/4] dm: usb: Use device_unbind_children to clean up usb devs on stop

2015-07-07 Thread Simon Glass
On 3 July 2015 at 17:06, Simon Glass s...@chromium.org wrote: On 1 July 2015 at 12:53, Hans de Goede hdego...@redhat.com wrote: On an usb stop instead of leaving orphan usb devices behind simply remove them. The result of this commit is best seen in the output of dm tree after plugging out

Re: [U-Boot] [PATCH 04/11 v2] drivers/net/vsc9953: Refractor the parser for VSC9953 commands

2015-07-07 Thread Joe Hershberger
Hi Codrin, On Tue, Jul 7, 2015 at 8:08 AM, Codrin Constantin Ciubotariu codrin.ciubota...@freescale.com wrote: Hi Joe, -Original Message- From: Joe Hershberger [mailto:joe.hershber...@gmail.com] Sent: Wednesday, July 01, 2015 1:31 AM To: Ciubotariu Codrin Constantin-B43658 Cc:

Re: [U-Boot] [PATCH 05/22] usb: Add an usb_device parameter to usb_reset_root_port

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:45, Simon Glass s...@chromium.org wrote: On 17 June 2015 at 13:33, Hans de Goede hdego...@redhat.com wrote: Add an usb_device parameter to usb_reset_root_port so that it knows which root-port it is resetting. This is necessary for proper device-model support for

Re: [U-Boot] [PATCH 04/22] usb: Pass device instead of portnr to usb_legacy_port_reset

2015-07-07 Thread Simon Glass
On 30 June 2015 at 08:58, Simon Glass s...@chromium.org wrote: Hi Hans, On 30 June 2015 at 06:31, Hans de Goede hdego...@redhat.com wrote: Hi, On 29-06-15 05:44, Simon Glass wrote: Hi Hans, On 17 June 2015 at 13:33, Hans de Goede hdego...@redhat.com wrote: Pass the usb_device instead

Re: [U-Boot] [PATCH 03/22] usb: usb_setup_device: Drop unneeded portnr function argument

2015-07-07 Thread Simon Glass
On 30 June 2015 at 08:51, Simon Glass s...@chromium.org wrote: Hi Hans, On 30 June 2015 at 06:29, Hans de Goede hdego...@redhat.com wrote: Hi, On 29-06-15 05:44, Simon Glass wrote: Hi Hans. On 17 June 2015 at 13:33, Hans de Goede hdego...@redhat.com wrote: Drop the unneeded portnr

Re: [U-Boot] [PATCH 01/22] usb: Always declare usb function prototypes

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:44, Simon Glass s...@chromium.org wrote: On 17 June 2015 at 13:33, Hans de Goede hdego...@redhat.com wrote: There is no harm in declaring the function prototypes even if nothing implements them, and when CONFIG_DM_USB=y the various usb functions are available regardless

Re: [U-Boot] [PATCH 02/22] usb: Drop device-model specific copy of usb_legacy_port_reset

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:44, Simon Glass s...@chromium.org wrote: On 17 June 2015 at 13:33, Hans de Goede hdego...@redhat.com wrote: The device-model usb_legacy_port_reset function cApplied to u-boot-dm, thanks! alls the device-model usb_port_reset function which is a 1 on 1 copy of the non dm

Re: [U-Boot] [PATCH] imx: imximage: add new CHECK/CLR BIT command

2015-07-07 Thread Nitin Garg
On 06/30/2015 03:02 AM, Peng Fan wrote: Hi Stefano, On Sun, Jun 28, 2015 at 01:00:07PM +0200, Stefano Babic wrote: Hi Peng, On 14/06/2015 11:38, Peng Fan wrote: Since rom code supports the following commands, add new commands support in imximage. It is better to explain here which i.MX

Re: [U-Boot] [PATCH v2 2/4] dm: usb: Document that mixing DM_DEVICE_REMOVE and DM_USB is a bad idea

2015-07-07 Thread Simon Glass
On 3 July 2015 at 17:06, Simon Glass s...@chromium.org wrote: On 1 July 2015 at 12:52, Hans de Goede hdego...@redhat.com wrote: Document that mixing DM_DEVICE_REMOVE and DM_USB is a bad idea, and also why this is a bad idea. Signed-off-by: Hans de Goede hdego...@redhat.com ---

Re: [U-Boot] [PATCH 07/22] dm: usb: Fix usb tree output

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:45, Simon Glass s...@chromium.org wrote: On 17 June 2015 at 13:33, Hans de Goede hdego...@redhat.com wrote: last_child was abused by the old usb code to first store 1 if the usb_device was not the root of the usb tree, and then later on re-used to store whether or not the

Re: [U-Boot] [PATCH v2 1/4] dm: Export device_remove_children / device_unbind_children

2015-07-07 Thread Simon Glass
On 3 July 2015 at 17:06, Simon Glass s...@chromium.org wrote: On 1 July 2015 at 12:52, Hans de Goede hdego...@redhat.com wrote: These functions are useful to remove all children from an usb bus before rescanning the bus. Give them a better name and export them. Signed-off-by: Hans de Goede

Re: [U-Boot] [PATCH 09/22] dm: usb: Allow usb host drivers to implement usb_reset_root_port

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:45, Simon Glass s...@chromium.org wrote: On 17 June 2015 at 13:33, Hans de Goede hdego...@redhat.com wrote: Allow usb uclass host drivers to implement usb_reset_root_port, this is used by single port usb hosts which do not emulate a hub, such as otg controllers.

Re: [U-Boot] [PATCH 12/22] musb: Update usb-compat to work with struct usb_device without a parent ptr

2015-07-07 Thread Simon Glass
On 1 July 2015 at 08:57, Hans de Goede hdego...@redhat.com wrote: Hi, On 29-06-15 05:45, Simon Glass wrote: Hi Hans, On 17 June 2015 at 13:33, Hans de Goede hdego...@redhat.com wrote: When building with CONFIG_DM_USB=y struct usb_device does not have a parent pointer. This commit adds

Re: [U-Boot] [PATCH 13/22] musb: Rename and wrap public functions

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:45, Simon Glass s...@chromium.org wrote: On 17 June 2015 at 13:33, Hans de Goede hdego...@redhat.com wrote: Rename and wrap the usb host API public functions, this is a preparation patch for adding device-model support. Signed-off-by: Hans de Goede hdego...@redhat.com

Re: [U-Boot] [PATCH 11/22] musb: Allow musb_platform_enable to return an error code

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:45, Simon Glass s...@chromium.org wrote: On 17 June 2015 at 13:33, Hans de Goede hdego...@redhat.com wrote: Allow musb_platform_enable to return an error code and propagate it up to usb_lowlevel_init(). This allows moving the checks for an external vbus being present to

Re: [U-Boot] [PATCH v2 2/4] usb: s3c-otg: support 8-bit interface

2015-07-07 Thread Steve Rae
On 15-07-07 06:27 AM, Lukasz Majewski wrote: Hi Steve, Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v2: None drivers/usb/gadget/s3c_udc_otg.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/gadget/s3c_udc_otg.c b/drivers/usb/gadget/s3c_udc_otg.c index

[U-Boot] [PATCH v2] x86: baytrail: Configure FSP UPD from device tree

2015-07-07 Thread andrew
From: Andrew Bradford andrew.bradf...@kodakalaris.com Allow for configuration of FSP UPD from the device tree which will override any settings which the FSP was built with itself if the device tree settings exist, otherwise simply trust the FSP's defaults. Modifies the MinnowMax board to

Re: [U-Boot] [PATCH 14/22] musb: Add musb_host_data struct to hold global data

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:45, Simon Glass s...@chromium.org wrote: Hi Hans, On 17 June 2015 at 13:33, Hans de Goede hdego...@redhat.com wrote: Add a musb_host_data struct to hold all the global data host related musb data. This is a preparation patch for adding device-model support.

Re: [U-Boot] [PATCH 15/22] musb: Add device-model support to the musb-host u-boot glue

2015-07-07 Thread Simon Glass
On 28 June 2015 at 21:45, Simon Glass s...@chromium.org wrote: Hi Hans, On 17 June 2015 at 13:33, Hans de Goede hdego...@redhat.com wrote: Add device-model support to the musb-host u-boot glue, note this only adds device-model support to the musb-core glue code, it does not add support for

[U-Boot] [PATCH 1/1] net: lpc32xx: improve download rate in RMII phy mode

2015-07-07 Thread LEMIEUX, SYLVAIN
This is a minor update to LPC32xx MAC driver patch that add support for the RMII phy mode. In the legacy BSP from NXP, in RMII phy mode, an extra 10ms delay was present after the release of the soft reset. In my tests (connected using RMII phy mode to a Micrel KSZ8031RNL), the download rate

Re: [U-Boot] [PATCH v2 3/4] usb: gadget: bcm_udc_otg files

2015-07-07 Thread Steve Rae
Hi, Lukasz On 15-07-07 06:33 AM, Lukasz Majewski wrote: Hi Steve, From: JD (Jiandong) Zheng jdzh...@broadcom.com Add the required files for the Broadcom UDC OTG interface. Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v2: None arch/arm/include/asm/arch-bcm281xx/sysmap.h | 7

Re: [U-Boot] Pull request: u-boot-spi/master

2015-07-07 Thread Jagan Teki
On 4 July 2015 at 17:12, Tom Rini tr...@konsulko.com wrote: On Sat, Jul 04, 2015 at 02:11:35PM +0530, Jagan Teki wrote: Hi Tom, Please pull this PR. thanks! Jagan. The following changes since commit 891b487098ee2169a16b1bbb354aaef28aa90630: Merge branch 'master' of

Re: [U-Boot] hang: ARM64/Relocating u-boot from u-boot

2015-07-07 Thread Wolfgang Denk
Dear Jagan, In message CAD6G_RQnrBWyPp1CyiDxkZ4vme4PB5fNHDX-f2Sf=9cvrod...@mail.gmail.com you wrote: I'm running u-boot from u-boot prompt, just like a standalone application with CONFIG_SYS_TEXT_BASE address. ... Has any one tried the same before, please let me know for any inputs?

Re: [U-Boot] [PATCH] tools: ifdtool: Write correct offset on 32-bit machine

2015-07-07 Thread Simon Glass
On 6 July 2015 at 10:39, Simon Glass s...@chromium.org wrote: On 6 July 2015 at 01:57, Bin Meng bmeng...@gmail.com wrote: On 32-bit machine strtol() returns LONG_MAX which is 0x7fff, which is wrong for u-boot.rom components like u-boot-x86-16bit.bin. Change to use strtoll() so that it

Re: [U-Boot] [PATCH v3 8/8] x86: Add binary blob checksums for Minnowboard MAX

2015-07-07 Thread Simon Glass
On 5 July 2015 at 21:23, Bin Meng bmeng...@gmail.com wrote: On Sat, Jul 4, 2015 at 8:28 AM, Simon Glass s...@chromium.org wrote: To try to reduce the pain of confusion of binary blobs, add MD5 checksums for the current versions. This may worsen the situation as new versions appear, but it

Re: [U-Boot] Pull request (updated): u-boot-arm/master

2015-07-07 Thread Tom Rini
On Tue, Jul 07, 2015 at 02:26:38PM +0200, Albert ARIBAUD wrote: Hello, The following changes since commit 9c6b05cb724e18d1db3f9e1a75b2272572f06fbd: Prepare v2015.07-rc3 (2015-06-29 17:22:01 -0400) are available in the git repository at: git://git.denx.de/u-boot-arm master for

Re: [U-Boot] [PATCH v2 1/1] ARM: DRA72x: fix io delay calibration for ethernet

2015-07-07 Thread Tom Rini
On Mon, Jun 22, 2015 at 02:43:10PM +0530, Mugunthan V N wrote: we currently use in-development IODelay values for DRA72x which are proposed in the data sheet, however, DRA72x EVM uses DP83865 ethernet Phy over RGMII. The PHY characteristics and routing choices made on the EVM, make the

Re: [U-Boot] [PATCH v2 06/11] x86: queensbay: Change CPU_ADDR_BITS to 32

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng bmeng...@gmail.com wrote: Per CPUID:8008h result, the maximum physical address bits of TunnelCreek processor is 32 instead of default 36. This will fix the incorrect decoding of MTRR range mask. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon

Re: [U-Boot] [PATCH v2 05/11] x86: Setup fixed range MTRRs for legacy regions

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng bmeng...@gmail.com wrote: We should setup fixed range MTRRs for some legacy regions like VGA RAM and PCI ROM areas as uncacheable. Note FSP may setup these to other cache settings, but we can override this in x86_cpu_init_f(). Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH v3 2/8] dm: spi: Correct BIOS protection logic for ICH9

2015-07-07 Thread Simon Glass
On 6 July 2015 at 10:45, Andrew Bradford and...@bradfordembedded.com wrote: On 07/03 18:28, Simon Glass wrote: The logic is incorrect and currently has no effect. Fix it so that we can write to SPI flash, since by default it is write-protected. Signed-off-by: Simon Glass s...@chromium.org

Re: [U-Boot] [PATCH v2 11/11] x86: Configure VESA parameters before loading Linux kernel

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng bmeng...@gmail.com wrote: Store VESA parameters to Linux setup header so that vesafb driver in the kernel could work. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org Tested-by: Jian Luo jian.l...@boschrexroth.de ---

Re: [U-Boot] [PATCH v2 04/11] video: Add 32-bit color depth support for VBE

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng bmeng...@gmail.com wrote: From: Jian Luo jian.l...@boschrexroth.de The TunnelCreek IGD VBE reports 32-bit color depth regardless 24-bit color depth is configured. Since 24-bit mode already uses 4 bytes internally, it should be OK to just add this option in

Re: [U-Boot] [PATCH v2 07/11] x86: cmd_mtrr: Improve MTRR list information

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng bmeng...@gmail.com wrote: Print the meaningful base address and mask of an MTRR range without showing the memory type encoding or valid bit. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes in v2: None

Re: [U-Boot] [PATCH v2 1/1] ARM: DRA72x: fix io delay calibration for ethernet

2015-07-07 Thread Tom Rini
On Tue, Jul 07, 2015 at 08:14:13PM +0530, Mugunthan V N wrote: On Monday 22 June 2015 02:43 PM, Mugunthan V N wrote: we currently use in-development IODelay values for DRA72x which are proposed in the data sheet, however, DRA72x EVM uses DP83865 ethernet Phy over RGMII. The PHY

Re: [U-Boot] [PATCH v3 6/8] dm: x86: minnowmax: Move PCI to use driver model

2015-07-07 Thread Simon Glass
On 3 July 2015 at 18:28, Simon Glass s...@chromium.org wrote: Adjust minnowmax to use driver model for PCI. This requires adding a device tree node to specify the ranges, removing the board-specific PCI code and ensuring that the host bridge is configured. Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH v3 7/8] dm: x86: baytrail: Correct PCI region 3 when driver model is used

2015-07-07 Thread Simon Glass
On 5 July 2015 at 21:22, Bin Meng bmeng...@gmail.com wrote: On Sat, Jul 4, 2015 at 8:28 AM, Simon Glass s...@chromium.org wrote: Commit afbbd413a fixed this for non-driver-model. Make sure that the driver model code handles this also. Signed-off-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] [PATCH v2 10/11] x86: crownbay: Enable graphics support

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng bmeng...@gmail.com wrote: Enable graphics support on Intel Crown Bay board With the help of vgabios for Intel TunnelCreek IGD. Tested with an external LVDS panel connected to X4 connector and SDVO adapter connected to X9 connector on the board.

Re: [U-Boot] [PATCH v3 1/8] dm: spi: Correct status register access width

2015-07-07 Thread Simon Glass
On 3 July 2015 at 18:28, Simon Glass s...@chromium.org wrote: The status register on ICH9 is a single byte, so use byte access when writing to it, to avoid updating the control register also. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Bin Meng bmeng...@gmail.com Reviewed-by:

Re: [U-Boot] [PATCH v2 09/11] x86: Remove MARK_GRAPHICS_MEM_WRCOMB

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng bmeng...@gmail.com wrote: MARK_GRAPHICS_MEM_WRCOMB is not referenced anywhere in the code, hence remove it. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes in v2: None arch/x86/Kconfig

Re: [U-Boot] [PATCH v3 4/8] x86: Add ROM image description for minnowmax

2015-07-07 Thread Simon Glass
On 3 July 2015 at 18:28, Simon Glass s...@chromium.org wrote: The layout of the ROM is a bit hard to discover by reading the code. Add a table to make it easier. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Bin Meng bmeng...@gmail.com --- Changes in v3: None Changes in v2: -

Re: [U-Boot] [PATCH v3 5/8] x86: pci: Tidy up the generic x86 PCI driver

2015-07-07 Thread Simon Glass
On 5 July 2015 at 21:20, Bin Meng bmeng...@gmail.com wrote: On Sat, Jul 4, 2015 at 8:28 AM, Simon Glass s...@chromium.org wrote: This driver should use the x86 PCI configuration functions. Also adjust its compatible string to something generic (i.e. without a vendor name). Signed-off-by:

Re: [U-Boot] [PATCH v3 3/8] dm: spi: Enable environment for minnowmax

2015-07-07 Thread Simon Glass
On 3 July 2015 at 18:28, Simon Glass s...@chromium.org wrote: Enable a SPI environment and store it in a suitable place. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Bin Meng bmeng...@gmail.com Reviewed-by: Jagan Teki jt...@openedev.com --- Changes in v3: None Changes in v2:

[U-Boot] hang: ARM64/Relocating u-boot from u-boot

2015-07-07 Thread Jagan Teki
Hi All, I'm running u-boot from u-boot prompt, just like a standalone application with CONFIG_SYS_TEXT_BASE address. Cache were turned off #define CONFIG_SYS_DCACHE_OFF #define CONFIG_SYS_ICACHE_OFF Log: u-boot# tftp 0x0 u-boot.bin u-boot# go 0x0 ## Starting application at 0x ...

Re: [U-Boot] [PATCH v2 08/11] x86: Move VGA option rom macros to Kconfig

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng bmeng...@gmail.com wrote: Move X86_OPTION_ROM_FILE X86_OPTION_ROM_ADDR to arch/x86/Kconfig and rename them to VGA_BIOS_FILE VGA_BIOS_ADDR which depend on HAVE_VGA_BIOS. The new names are consistent with other x86 binary blob options like

Re: [U-Boot] [PATCH v2 01/11] video: vesa_fb: Look up VGA device by class instead of id

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng bmeng...@gmail.com wrote: Per PCI spec, VGA device reports its class as standard 03h in its configuration space, so we can use it to determine if we need run option rom instead of testing the supported vendor/device ids. Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH 1/3] arm: baltos: enable CMD_NET and FIT support in defconfig

2015-07-07 Thread Simon Glass
On 6 July 2015 at 09:28, Yegor Yefremov yegorsli...@googlemail.com wrote: Signed-off-by: Yegor Yefremov yegorsli...@googlemail.com --- configs/am335x_baltos_defconfig | 4 ++-- include/configs/baltos.h| 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v2 03/11] x86: bios: Allow pci config read/write to host bridge in int1a_handler

2015-07-07 Thread Simon Glass
On 6 July 2015 at 02:31, Bin Meng bmeng...@gmail.com wrote: From: Jian Luo jian.l...@boschrexroth.de We should allow pci config read/write to host bridge (b.d.f = 0.0.0) in the int1a_handler() which is a valid pci device. Signed-off-by: Jian Luo jian.l...@boschrexroth.de Signed-off-by: Bin

Re: [U-Boot] [PATCH] fastboot: Dynamic controller index for usb_gadget_handle_interrupts

2015-07-07 Thread Paul Kocialkowski
Le lundi 25 mai 2015 à 16:50 +0200, Lukasz Majewski a écrit : Hi Paul, Since we're now using a dynamic controller index for fastboot too, usb_gadget_handle_interrupts should be using it instead of 0 (despite the fact that it's currently not being used at all in the musb-new

[U-Boot] [PATCH 1/2] pci: Add function to find an extended capability

2015-07-07 Thread Minghuan Lian
PCIe extends device's configuration space to 4k and provides extended capability. The patch adds function to find them. The code is ported from Linux PCIe driver. Signed-off-by: Minghuan Lian minghuan.l...@freescale.com --- drivers/pci/pci.c | 45 +

[U-Boot] Pull request (updated): u-boot-arm/master

2015-07-07 Thread Albert ARIBAUD
Hello, The following changes since commit 9c6b05cb724e18d1db3f9e1a75b2272572f06fbd: Prepare v2015.07-rc3 (2015-06-29 17:22:01 -0400) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes up to abe8f9a9348d5b3bba55e88039041bc545ded877:

[U-Boot] [PATCH] dm: change dm_warn() message into debug() in uclass_add()

2015-07-07 Thread Masahiro Yamada
The command dm uclass tries to display all the UClasses, but some of them might be disabled by Kconfig. The function do_dm_dump_uclass() iterates over all the UClass IDs and calls uclass_get() for each of them. Then, it displays annoying message Cannot find uclass for id ... every time it fails

Re: [U-Boot] Pull request: u-boot-arm/master

2015-07-07 Thread Albert ARIBAUD
Hello Tom, On Mon, 6 Jul 2015 19:59:20 -0400, Tom Rini tr...@konsulko.com wrote: On Tue, Jul 07, 2015 at 12:09:49AM +0200, Albert ARIBAUD wrote: With ELDK-5.5: ELDK 5.5.3, default target of armv7a-hf? Amicalement, -- Albert. ___ U-Boot mailing

[U-Boot] [PATCH] usb: CONFIG_USB_FASTBOOT prefix replacement for consistency

2015-07-07 Thread Paul Kocialkowski
FASTBOOT is defined both by CONFIG_USB_FUNCTION_FASTBOOT AND CONFIG_CMD_FASTBOOT, so it doesn't make much sense to have a CONFIG_USB_FASTBOOT prefix for fastboot-specific options, especially given that other config options for fastboot use the CONFIG_FASTBOOT prefix. This replaces the

Re: [U-Boot] [PATCH v2] ahci: Fix compiling warnings under 64bit platforms

2015-07-07 Thread Albert ARIBAUD
Hello yuantian.t...@freescale.com, On Tue, 7 Jul 2015 15:48:26 +0800, yuantian.t...@freescale.com yuantian.t...@freescale.com wrote: From: Tang Yuantian yuantian.t...@freescale.com When compling under 64bit platforms, there are lots of warnings, like: drivers/block/ahci.c:114:18: warning:

[U-Boot] [PATCH] README.distro: fix typos

2015-07-07 Thread Masahiro Yamada
The word partition is doubled. Keep decent forms for the following lines. Also, fix some other typos while we are here. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- doc/README.distro | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

Re: [U-Boot] [PATCH] mtd: fix false positive Offset exceeds device limit error

2015-07-07 Thread Masahiro Yamada
Tom, Could you directly apply this into your u-boot/master ? Thanks, Masahiro 2015-07-07 6:30 GMT+09:00 Scott Wood scottw...@freescale.com: On Wed, 2015-07-01 at 21:35 +0900, Masahiro Yamada wrote: Since commit 09c3280754f8 (mtd, nand: Move common functions from cmd_nand.c to common

Re: [U-Boot] [PATCH v4] armv8: caches: Added routine to set non cacheable region

2015-07-07 Thread Albert ARIBAUD
Hello Siva, On Tue, 7 Jul 2015 06:04:16 +, Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com wrote: Hi Mark, Do you have any more comments on this. If not, can you take up this patch. Actually, I would be the one who would take up this patch. Seeing as it did not attract new

[U-Boot] [PATCH 2/3] ARM: at91: sama5: move the nandflash env config to at91-sama5_common.h

2015-07-07 Thread Josh Wu
As all sama5 nandflash env configurations are same, so move them to at91-sama5_common.h. Signed-off-by: Josh Wu josh...@atmel.com --- include/configs/at91-sama5_common.h | 12 include/configs/sama5d3_xplained.h | 9 + include/configs/sama5d3xek.h| 9 +

[U-Boot] [PATCH 1/3] ARM: at91: sama5: move the sd/mmc env config to at91-sama5_common.h

2015-07-07 Thread Josh Wu
As almost all sama5 sd/mmc env configurations are same, so move them to at91-sama5_common.h. Also we define a KERNEL_DTB_FILE_NAME as dtb file name for different board. Signed-off-by: Josh Wu josh...@atmel.com --- Hi, Those patches depends on the patch:

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

2015-07-07 Thread Josh Wu
Also move the spi flash configurations to the at91-sama5_common.h. Current at91 zImage size is about 3.3M, the old mapping is not suitable. So update the spi flash map as following: 0x0 ~ 0x004000: at91bootstrap(16k) 0x04000 ~ 0x008000: u-boot env(16k) 0x08000 ~

[U-Boot] [PATCH] drivers/fsl-mc: flib changes for mc 8.0.0

2015-07-07 Thread Prabhakar Kushwaha
MC firware version 8.0.0 contains new command flags. This patch contains modifications in FLIB files to support the new command flags. Signed-off-by: Itai Katz itai.k...@freescale.com Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- git://git.denx.de/u-boot-fsl-qoriq.git branch next

Re: [U-Boot] [PATCH 07/55] exynos: i2c: Correct bug in pinmux selection

2015-07-07 Thread Simon Glass
Hi Minkyu, On 6 July 2015 at 19:36, Minkyu Kang mk7.k...@samsung.com wrote: Dear Simon, On 07/07/15 00:27, Simon Glass wrote: Hi Minkyu, Przemyslaw, On 5 July 2015 at 00:15, Heiko Schocher h...@denx.de wrote: Hello Simon, Am 03.07.2015 um 02:15 schrieb Simon Glass: When driver model is

Re: [U-Boot] [PATCH v2 3/6] drivers: block: Remove the ata_piix driver

2015-07-07 Thread Bin Meng
Hi Simon, On Tue, May 19, 2015 at 5:39 AM, Simon Glass s...@chromium.org wrote: On 15 May 2015 at 19:33, Bin Meng bmeng...@gmail.com wrote: This driver was originally added to support the native IDE mode for Intel chipset, however it has some bugs like not supporting ATAPI devices, endianness

Re: [U-Boot] [PATCH v2] x86: baytrail: Configure FSP UPD from device tree

2015-07-07 Thread Bin Meng
Hi Andrew, On Wed, Jul 8, 2015 at 3:16 AM, and...@bradfordembedded.com wrote: From: Andrew Bradford andrew.bradf...@kodakalaris.com Allow for configuration of FSP UPD from the device tree which will override any settings which the FSP was built with itself if the device tree settings exist,

[U-Boot] Hardware hashing on unsigned fitImage nodes.

2015-07-07 Thread Andre Wolokita
Hi Simon, Hopefully you're the right person to be contacting about this; if not, please point me in the right direction. We've recently had a contractor write a hash driver for our crypto accelerator, intended to accelerate fitImage verification. They noticed that the hardware hashing API

[U-Boot] [PATCH 01/20] dm: net: Support usbethaddr environment variable

2015-07-07 Thread Simon Glass
For USB Ethernet devices we need to use the usbethaddr environment variable (instead of ethaddr) the Ethernet hardware address. Add this to the uclass so that it happens automatically. Signed-off-by: Simon Glass s...@chromium.org --- net/eth.c | 7 ++- 1 file changed, 6 insertions(+), 1

[U-Boot] [PATCH 10/20] net: smsc95xx: Add driver-model support

2015-07-07 Thread Simon Glass
Add support for driver model, so that CONFIG_DM_ETH can be defined and used with this driver. Signed-off-by: Simon Glass s...@chromium.org --- drivers/usb/eth/smsc95xx.c | 142 + 1 file changed, 142 insertions(+) diff --git

[U-Boot] [PATCH 03/20] dm: usb: Add an errno.h header to usb_ether.c

2015-07-07 Thread Simon Glass
This is required on some platforms, so add it. Signed-off-by: Simon Glass s...@chromium.org --- drivers/usb/eth/usb_ether.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/eth/usb_ether.c b/drivers/usb/eth/usb_ether.c index 137eac7..110808d 100644 ---

[U-Boot] [PATCH 02/20] dm: usb: Allow USB Ethernet whenever CONFIG_DM_ETH is not defined

2015-07-07 Thread Simon Glass
We can support USB Ethernet regardless of the setting of CONFIG_DM_USB. Update the code to reflect this. Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_usb.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/common/cmd_usb.c b/common/cmd_usb.c index

Re: [U-Boot] [PATCH v2] ahci: Fix compiling warnings under 64bit platforms

2015-07-07 Thread Yuantian Tang
-Original Message- From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] Sent: Tuesday, July 07, 2015 7:20 PM To: Tang Yuantian-B29983 Cc: tr...@konsulko.com; Xie Shaohui-B21989; u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH v2] ahci: Fix compiling warnings under 64bit

[U-Boot] [PATCH 19/20] arm: rpi: Move to driver model for USB

2015-07-07 Thread Simon Glass
Start using driver model for USB on the Raspberry Pi. The dwc2 supports this now so this is just a config change. Signed-off-by: Simon Glass s...@chromium.org --- configs/rpi_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/rpi_defconfig b/configs/rpi_defconfig index

[U-Boot] [PATCH 07/20] net: smsc95xx: Rename AX_RX_URB_SIZE to RX_URB_SIZE

2015-07-07 Thread Simon Glass
The AX_ prefix comes from the Asix driver. Since this is not that, we should avoid this confusing prefix. Signed-off-by: Simon Glass s...@chromium.org --- drivers/usb/eth/smsc95xx.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/usb/eth/smsc95xx.c

[U-Boot] [PATCH 09/20] net: smsc95xx: Prepare for conversion to driver model

2015-07-07 Thread Simon Glass
At present struct eth_device is passed around all over the place. This does not exist with driver model. Add explicit arguments instead, so that with driver model we can pass the correct things. Signed-off-by: Simon Glass s...@chromium.org --- drivers/usb/eth/smsc95xx.c | 270

[U-Boot] [PATCH 12/20] dm: Support address translation for simple-bus

2015-07-07 Thread Simon Glass
The 'ranges' property can be used to specify a translation from the system address to the bus address. Add support for this using the dev_get_addr() function, which devices should use to find their address. Signed-off-by: Simon Glass s...@chromium.org --- drivers/core/device.c| 17

[U-Boot] [PATCH 14/20] arm: rpi: Bring in kernel device tree files

2015-07-07 Thread Simon Glass
Bring in the device tree files from Linux v4.1. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/dts/Makefile | 2 + arch/arm/dts/bcm2835-rpi-b.dts| 23 arch/arm/dts/bcm2835-rpi.dtsi | 51 + arch/arm/dts/bcm2835.dtsi | 192

[U-Boot] [PATCH 17/20] arm: rpi: Drop the UART console platform data

2015-07-07 Thread Simon Glass
We can rely on the device tree to provide the UART information. Signed-off-by: Simon Glass s...@chromium.org --- board/raspberrypi/rpi/rpi.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index 96fe870..7de1921

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

2015-07-07 Thread Simon Glass
This binding differs from that of Linux. Update it and change existing users. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/dts/stv0991.dts | 2 +- doc/device-tree-bindings/serial/pl011.txt | 53 +++

[U-Boot] [PATCH 20/20] arm: rpi: Use driver model for Ethernet

2015-07-07 Thread Simon Glass
Enable CONFIG_DM_ETH so that driver model is used for the USB Ethernet device. Signed-off-by: Simon Glass s...@chromium.org --- configs/rpi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/rpi_defconfig b/configs/rpi_defconfig index f2e8ab1..df2dcee 100644 ---

[U-Boot] [PATCH 18/20] arm: rpi: Drop the GPIO platform data

2015-07-07 Thread Simon Glass
We can rely on the device tree to provide the GPIO information. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/mach-bcm283x/include/mach/gpio.h | 2 -- board/raspberrypi/rpi/rpi.c | 9 - drivers/gpio/bcm2835_gpio.c | 20

[U-Boot] [PATCH 04/20] dm: usb: Prepare dwc2 driver for driver-model conversion

2015-07-07 Thread Simon Glass
Put all global data in a structure and move (what will be) common code into common functions. This will make the driver-model conversion much easier. Signed-off-by: Simon Glass s...@chromium.org --- drivers/usb/host/dwc2.c | 150 1 file changed,

[U-Boot] [PATCH 06/20] net: smsc95xx: Sort the include files

2015-07-07 Thread Simon Glass
Tidy up the include file order before adding more. Signed-off-by: Simon Glass s...@chromium.org --- drivers/usb/eth/smsc95xx.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/eth/smsc95xx.c b/drivers/usb/eth/smsc95xx.c index a7e50d6..8ebe4d6 100644 ---

[U-Boot] [PATCH 16/20] arm: rpi: Enable device tree control for Rasberry Pi

2015-07-07 Thread Simon Glass
Enable device tree control so that we can use driver model fully and avoid using platform data. Signed-off-by: Simon Glass s...@chromium.org --- configs/rpi_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/rpi_defconfig b/configs/rpi_defconfig index fc1aef3..94e298b

[U-Boot] [PATCH 08/20] net: smsc95xx: Correct the error numbers

2015-07-07 Thread Simon Glass
Instead of returning -1 on error, we should use a proper error number. Fix the code to conform to this. Signed-off-by: Simon Glass s...@chromium.org --- drivers/usb/eth/smsc95xx.c | 48 +- 1 file changed, 26 insertions(+), 22 deletions(-) diff --git

[U-Boot] [PATCH 15/20] arm: rpi: Device tree modifications for U-Boot

2015-07-07 Thread Simon Glass
This updates the device tree from the kernel version to something suitable for U-Boot: - Add stdout-path alias for console - Mark the /soc node to be available pre-relocation so that the early serial console works (we need the 'ranges' property to be available) Signed-off-by: Simon Glass

[U-Boot] [PATCH 13/20] arm: rpi: Define CONFIG_TFTP_TSIZE to show tftp size info

2015-07-07 Thread Simon Glass
This shows a proper progress display and the total amount of data transferred. Enable it for Raspberry Pi. Signed-off-by: Simon Glass s...@chromium.org --- include/configs/rpi-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/rpi-common.h

[U-Boot] PCIe related i.MX6QP patches

2015-07-07 Thread ELSOFT AG
Hello Do you have some PCIe related i.MX6QP patches which you could make public? I have a i.MX6QP based custom board which seems to work quite well expect for PCIe. The first access done by U-Boot to the PCIe host controller registers causes a hang. I assume a not correctly enabled clock to be

Re: [U-Boot] PCIe related i.MX6QP patches

2015-07-07 Thread Fabio Estevam
On Tue, Jul 7, 2015 at 10:51 AM, David Müller (ELSOFT AG) d.muel...@elsoft.ch wrote: Hello Do you have some PCIe related i.MX6QP patches which you could make public? I have a i.MX6QP based custom board which seems to work quite well expect for PCIe. The first access done by U-Boot to the

  1   2   >