[U-Boot] [PATCH] dm: i2c: Add compatibility functions for dm_i2c_reg_read/write()

2015-05-16 Thread Simon Glass
Add the legacy i2c_reg_read/write() functions to the compatibility layer so that they can be used when CONFIG_DM_I2C_COMPAT is defined. Signed-off-by: Simon Glass s...@chromium.org --- drivers/i2c/i2c-uclass-compat.c | 21 + include/i2c.h | 6 ++ 2

[U-Boot] [PATCHv2] tools: use pkg-config when available to get SSL flags

2015-05-16 Thread Thomas Petazzoni
Instead of hardcoding -lssl -lcrypto as the flags needed to build mkimage with FIT signature enabled, use pkg-config when available. This allows to properly support cases where static linking is used, which requires linking with -lz, since OpenSSL uses zlib internally. We gracefully fallback on

[U-Boot] [PATCH 2/2] sunxi: Cache line size definition

2015-05-16 Thread Paul Kocialkowski
Sunxi platforms use ARM Cortex A8, A7 and A15 (unsupported yet) CPU cores, which all have 64 bytes cache line size. This is required to e.g. enable USB gadget. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- include/configs/sunxi-common.h | 3 +++ 1 file changed, 3 insertions(+) diff

[U-Boot] [PATCH 3/4] usb: board_usb_init and board_usb_cleanup calls in the fastboot command

2015-05-16 Thread Paul Kocialkowski
Each USB download function command calls board_usb_init before registering the USB gadget and board_usb_cleanup after de-registering it. On devices currently using fasboot, musb-new is usually initialized earlier, but some other boards might need the board_usb_init call to properly initialize

[U-Boot] [PATCH 1/4] usb: USB download gadget and functions config options coherent naming

2015-05-16 Thread Paul Kocialkowski
This introduces a coherent scheme for naming USB download gadget and functions config options. The download USB gadget config option is moved to CONFIG_USB_GADGET_DOWNLOAD for better consistency with other gadgets and each function's config option is moved to a CONFIG_USB_FUNCTION_ prefix.

[U-Boot] [PATCH 2/4] usb: Fastboot function config for better consistency with other functions

2015-05-16 Thread Paul Kocialkowski
USB download gadget functions such as thor and dfu have a separate config option for the USB gadget part of the code, independent from the command part. This switches the fastboot USB gadget to the same scheme, for better consistency. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- README

[U-Boot] [PATCH 1/2] sunxi: VBUS detection function fixup in g_dnl_board_usb_cable_connected

2015-05-16 Thread Paul Kocialkowski
sunxi_usbc_vbus_detect was renamed to sunxi_usb_phy_vbus_detect but g_dnl_board_usb_cable_connected was still using the old name, breaking the build when USB gadget is enabled. Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- board/sunxi/board.c | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH 4/4] usb: gadget: Weak board_usb_init/cleanup definitions in USB download gadget code

2015-05-16 Thread Paul Kocialkowski
Weak versions of board_usb_init and board_usb_cleanup are defined in common USB host code, but it is also used for USB device gadgets, so we also need a weak definition of it when there is no USB host enabled. Both weak definitions do not conflict. Signed-off-by: Paul Kocialkowski

[U-Boot] fsl_elbc_nand bug

2015-05-16 Thread Andrei Yakimov
Hi, I just found, if NAND ONFI parameter page first copy is bad, u-boot will never read extra copes: fsl_elbc_nand.c: 342 out_be32(lbc-fbcr, 256); 343 ctrl-read_bytes = 256; this code cause read beyond buffer error message: nand_base.c:

Re: [U-Boot] [PULL] Please pull u-boot-imx

2015-05-16 Thread Tom Rini
On Fri, May 15, 2015 at 05:18:26PM +0200, Stefano Babic wrote: Hi Tom, please pull from u-boot-imx, thanks ! The following changes since commit ace97d26176a3ebc9ec07738450de93eea35975c: Merge branch 'zynq' of git://www.denx.de/git/u-boot-microblaze (2015-04-29 06:46:33 -0400) are

Re: [U-Boot] Please pull u-boot-dm.git

2015-05-16 Thread Tom Rini
On Fri, May 15, 2015 at 08:07:00AM -0600, Simon Glass wrote: Hi Tom, This includes Przemyslaw's PMIC framework for driver model and the rest of Han's OHCI work which was requested to come through the driver model tree instead of USB, The MXC GPIO_PORTx patch (and its friend) were sent

Re: [U-Boot] [PATCH] MAINTAINERS, git-mailrc: Update Jagan's name and e-mail

2015-05-16 Thread Tom Rini
On Sat, May 16, 2015 at 12:57:02AM +0530, Jagan Teki wrote: Signed-off-by: Jagan Teki jt...@openedev.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de