Re: [U-Boot] [PATCH] net/designware: add error message on DMA reset timeout

2015-01-30 Thread Joe Hershberger
On Fri, Jan 30, 2015 at 4:04 AM, Marek Vasut ma...@denx.de wrote: On Friday, January 30, 2015 at 08:10:34 AM, Alexey Brodkin wrote: Hi Marek, Tom, On Fri, 2015-01-16 at 22:16 +0100, Pavel Machek wrote: On Tue 2015-01-13 17:10:24, Alexey Brodkin wrote: If for some reason DMA module

Re: [U-Boot] [PATCH] common: Move dram_init() declaration to common location

2015-01-30 Thread Simon Glass
On 30 January 2015 at 02:58, Michal Simek michal.si...@xilinx.com wrote: Signed-off-by: Michal Simek michal.si...@xilinx.com --- Build tested for Microblaze and x86. Created based on my discussion with Simon. --- arch/arm/include/asm/u-boot-arm.h | 1 -

Re: [U-Boot] [PATCH] pci: tegra: Fix port information parsing

2015-01-30 Thread Simon Glass
Hi Thierry, On 30 January 2015 at 05:24, Thierry Reding tred...@nvidia.com wrote: On Sat, Jan 24, 2015 at 12:19:56PM +0800, Bin Meng wrote: Hi Thierry, On Fri, Jan 23, 2015 at 6:19 PM, Thierry Reding tred...@nvidia.com wrote: On Thu, Jan 22, 2015 at 12:04:06AM +0800, Bin Meng wrote: Hi

Re: [U-Boot] Nokia RX-51: Use generic board

2015-01-30 Thread Tom Rini
On Fri, Jan 30, 2015 at 03:49:08PM +0100, Pali Rohár wrote: On Friday 30 January 2015 15:19:53 Tom Rini wrote: On Thu, Jan 15, 2015 at 10:26:36AM +0100, Pali Rohár wrote: Generic board with #define CONFIG_SYS_GENERIC_BOARD is working fine. There is no visible difference between legacy

Re: [U-Boot] [PATCH] net/designware: add error message on DMA reset timeout

2015-01-30 Thread Joe Hershberger
On Tue, Jan 13, 2015 at 8:10 AM, Alexey Brodkin alexey.brod...@synopsys.com wrote: If for some reason DMA module fails to reset user oserves only this: -- # dhcp Trying dwmac.e0018000 FAIL -- This message makes not much sense. With proposed change error message will be more

Re: [U-Boot] [PATCH v2 2/6] Add MS7206SE ethernet support

2015-01-30 Thread Joe Hershberger
On Thu, Feb 13, 2014 at 8:13 AM, Yoshinori Sato ys...@users.sourceforge.jp wrote: Signed-off-by: Yoshinori Sato ys...@users.sourceforge.jp --- Huge apologies for the delay. Applied, Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] net/designware: add error message on DMA reset timeout

2015-01-30 Thread Joe Hershberger
On Tue, Jan 13, 2015 at 8:10 AM, Alexey Brodkin alexey.brod...@synopsys.com wrote: If for some reason DMA module fails to reset user oserves only this: -- # dhcp Trying dwmac.e0018000 FAIL -- This message makes not much sense. With proposed change error message will be more

[U-Boot] [PATCH 10/10] dt: socfpga: Import and enable Arria V DK DTS

2015-01-30 Thread Marek Vasut
Import DTS for Arria V development kit and enable support for DT. The DT is imported from Linux 3.19-rc1 as of commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672 . Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@opensource.altera.com Cc: Dinh Nguyen dingu...@opensource.altera.com

[U-Boot] [PATCH V2 08/10] arm: socfpga: Add Altera Arria V DK support

2015-01-30 Thread Marek Vasut
Add support for the Altera Arria V development kit. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@opensource.altera.com Cc: Dinh Nguyen dingu...@opensource.altera.com Cc: Pavel Machek pa...@denx.de Cc: Stefan Roese s...@denx.de Cc: Vince Bridgers vbrid...@opensource.altera.com

[U-Boot] [PATCH 07/10] arm: socfpga: Zap board_early_init_f()

2015-01-30 Thread Marek Vasut
Zap this unused empty function, no point in having it. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@opensource.altera.com Acked-by: Dinh Nguyen dingu...@opensource.altera.com Acked-by: Pavel Machek pa...@denx.de Reviewed-by: Stefan Roese s...@denx.de Cc: Vince Bridgers

[U-Boot] [PATCH 05/10] arm: socfpga: Drop cyclone5 suffix from board file name

2015-01-30 Thread Marek Vasut
Drop the _cyclone5 suffix from socfpga_cyclone5.c since this file will contain Arria 5 support as well. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@opensource.altera.com Acked-by: Dinh Nguyen dingu...@opensource.altera.com Acked-by: Pavel Machek pa...@denx.de Reviewed-by:

[U-Boot] [PATCH 04/10] arm: socfpga: Add USB and UDC support for Cyclone V DK

2015-01-30 Thread Marek Vasut
Add support for USB host mode and USB device mode for the Cyclone V development kit and enable support for UMS (to export SD card as USB mass storage). The UMS is activated via 'ums 0 mmc 0' command, the system must be connected to a host PC via HPS USB port and SD card must be installed for this

[U-Boot] [PATCH 03/10] arm: socfpga: Sync Cyclone V DK PLL configuration

2015-01-30 Thread Marek Vasut
Sync SoCFPGA Cyclone V development kit pinmux configuration with Rocketboard U-Boot v2013.01.01-114-g9381569 (ACDS14.1_REL_GSRD_PR). NOTE: This change is useless until we get proper SPL support, at which point this will likely need further rework. Signed-off-by: Marek Vasut ma...@denx.de

[U-Boot] [PATCH 01/10] arm: socfpga: Minor coding style fix

2015-01-30 Thread Marek Vasut
Replace multiple spaces with a single tab. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@opensource.altera.com Acked-by: Dinh Nguyen dingu...@opensource.altera.com Acked-by: Pavel Machek pa...@denx.de Reviewed-by: Stefan Roese s...@denx.de Cc: Vince Bridgers

[U-Boot] [PATCH V2 06/10] arm: socfpga: Zap checkboard()

2015-01-30 Thread Marek Vasut
Since all boards now have a DT, instead of hard-coding the board name into the U-Boot binary, read the board name from DT model property. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@opensource.altera.com Cc: Dinh Nguyen dingu...@opensource.altera.com Cc: Pavel Machek

[U-Boot] [RFC PATCH 0/7] RFC: dm: Add USB support

2015-01-30 Thread Simon Glass
This series adds basic driver model support to USB. The intent is to permit the various subsystems (OHCI, EHCI, XHCI) to co-exist and allow any number of USB ports of different types. So far the absolute limit on the number of USB devices is only slightly relaxed. Only USB controllers have a real

Re: [U-Boot] [PATCH 1/2] net: tsec: Fix NULL access in case init_phy() fails

2015-01-30 Thread Joe Hershberger
On Tue, Dec 10, 2013 at 7:21 AM, Claudiu Manoil claudiu.man...@freescale.com wrote: If the PHY is not recognized don't access phydev (NULL) and return 0 to signal failure. Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com --- Applied, Thanks! -Joe

Re: [U-Boot] [PATCH] net: phy: micrel: add support for KSZ8895 switch in SMI mode

2015-01-30 Thread Joe Hershberger
On Wed, Feb 19, 2014 at 10:21 AM, Philippe De Muyter p...@macqel.be wrote: This patch adds a phy driver for the Micrel KSZ8895 switch. As the SoC MAC is directly connected to the switch MAC the link to the switch is always up. But the KSZ8895 switch can be hardwired in three configuration

[U-Boot] Pull request: u-boot-net.git master

2015-01-30 Thread Joe Hershberger
The following changes since commit 2af13d6b6265a6700c4f65597410b769895024bf: lcd: fix console address is not initialized (2015-01-28 16:58:02 -0500) are available in the git repository at: git://git.denx.de/u-boot-net.git master for you to fetch changes up to

Re: [U-Boot] [PATCH 10/12] dt: socfpga: Import and enable Arria V DK DTS

2015-01-30 Thread Marek Vasut
On Sunday, January 18, 2015 at 07:21:34 AM, Dinh Nguyen wrote: On 12/31/14 1:14 PM, Marek Vasut wrote: [...] diff --git a/arch/arm/dts/socfpga_arria5.dtsi b/arch/arm/dts/socfpga_arria5.dtsi new file mode 100644 index 000..5175f03 --- /dev/null +++

[U-Boot] [PATCH 09/10] dt: socfpga: Import and enable Cyclone V DK DTS

2015-01-30 Thread Marek Vasut
Import DTS for Cyclone V development kit and enable support for DT. The DT is imported from Linux 3.19-rc1 as of commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672 . Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@opensource.altera.com Cc: Dinh Nguyen dingu...@opensource.altera.com

Re: [U-Boot] [PATCH 06/12] arm: socfpga: Add Altera Arria V DK support

2015-01-30 Thread Marek Vasut
On Sunday, January 18, 2015 at 07:19:40 AM, Dinh Nguyen wrote: On 12/31/14 1:14 PM, Marek Vasut wrote: Hi! diff --git a/board/altera/socfpga/socfpga.c b/board/altera/socfpga/socfpga.c index 459d82f..a9c330d 100644 --- a/board/altera/socfpga/socfpga.c +++ b/board/altera/socfpga/socfpga.c

[U-Boot] [PATCH 02/10] arm: socfpga: Sync Cyclone V DK pinmux configuration

2015-01-30 Thread Marek Vasut
Sync SoCFPGA Cyclone V development kit pinmux configuration with Rocketboard U-Boot v2013.01.01-114-g9381569 (ACDS14.1_REL_GSRD_PR). Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@opensource.altera.com Acked-by: Dinh Nguyen dingu...@opensource.altera.com Cc: Pavel Machek

Re: [U-Boot] [RFC PATCH 0/7] RFC: dm: Add USB support

2015-01-30 Thread Simon Glass
Hi Marek, On 30 January 2015 at 15:16, Marek Vasut ma...@denx.de wrote: On Friday, January 30, 2015 at 08:04:50 PM, Simon Glass wrote: This series adds basic driver model support to USB. The intent is to permit the various subsystems (OHCI, EHCI, XHCI) to co-exist and allow any number of

Re: [U-Boot] net: tsec: Pending patches

2015-01-30 Thread Joe Hershberger
On Fri, Feb 14, 2014 at 3:49 AM, Claudiu Manoil claudiu.man...@freescale.com wrote: Hello, Would you please consider applying these two net tree patches? http://patchwork.ozlabs.org/patch/299620/ (net: Merge asm/fsl_enet.h into fsl_mdio.h) http://patchwork.ozlabs.org/patch/299447/ (net:

Re: [U-Boot] [PATCH 2/4] usb: add 'bcm_udc_otg' support

2015-01-30 Thread Marek Vasut
On Monday, January 26, 2015 at 01:31:39 PM, Lukasz Majewski wrote: Hi Marek, On Monday, January 26, 2015 at 09:38:28 AM, Lukasz Majewski wrote: Hi Marek, Hi! [...] No, unless there's a convincing technical argument that the currently mainline DWC2 gadget driver (the

Re: [U-Boot] [PATCH 2/4] usb: add 'bcm_udc_otg' support

2015-01-30 Thread Marek Vasut
On Wednesday, January 28, 2015 at 08:04:45 PM, Steve Rae wrote: On 15-01-27 03:00 PM, Marek Vasut wrote: On Monday, January 26, 2015 at 06:44:14 PM, Steve Rae wrote: [...] No, unless there's a convincing technical argument that the currently mainline DWC2 gadget driver (the s3c one)

Re: [U-Boot] [RFC PATCH 0/7] RFC: dm: Add USB support

2015-01-30 Thread Marek Vasut
On Friday, January 30, 2015 at 08:04:50 PM, Simon Glass wrote: This series adds basic driver model support to USB. The intent is to permit the various subsystems (OHCI, EHCI, XHCI) to co-exist and allow any number of USB ports of different types. So far the absolute limit on the number of USB

[U-Boot] [PATCH V3] cmd_i2c: Provide option for bulk 'i2c write' in one transaction

2015-01-30 Thread Lubomir Popov
I2C chips do exist that require a write of some multi-byte data to occur in a single bus transaction (aka atomic transfer), otherwise either the write does not come into effect at all, or normal operation of internal circuitry cannot be guaranteed. The current implementation of the 'i2c write'

Re: [U-Boot] [PATCH 2/9] sunxi: Move SPL s_init() code to board_init_f()

2015-01-30 Thread Siarhei Siamashka
On Mon, 29 Dec 2014 09:15:36 -0700 Simon Glass s...@chromium.org wrote: Hi Ian, On 28 December 2014 at 02:19, Ian Campbell i...@hellion.org.uk wrote: On Tue, 2014-12-23 at 12:04 -0700, Simon Glass wrote: +void board_init_f(ulong dummy) +{ [...] + /* Clear the BSS. */ +

[U-Boot] [RFC PATCH 2/7] dm: usb: Support driver model in exynos XHCI

2015-01-30 Thread Simon Glass
(This patch will be split for submission) Add driver model support to the XHCI framework, and move exynos over to use it. Signed-off-by: Simon Glass s...@chromium.org --- drivers/usb/host/xhci-exynos5.c | 115 +++- drivers/usb/host/xhci.c | 229

[U-Boot] [RFC PATCH 4/7] dm: usb: WIP sandbox USB implementation

2015-01-30 Thread Simon Glass
This shows the basic approach with a new directory containing sandbox emulations of USB devices for testing. So far hubs are not supported. Signed-off-by: Simon Glass s...@chromium.org --- Makefile | 1 + arch/sandbox/dts/sandbox.dts | 20 +

[U-Boot] [RFC PATCH 1/7] dm: usb: Add a uclass for USB controllers

2015-01-30 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. Signed-off-by: Simon Glass s...@chromium.org --- drivers/usb/host/Makefile | 2 + drivers/usb/host/usb-uclass.c | 227 ++

[U-Boot] [RFC PATCH 6/7] arm: Show relocated PC/LR in the register dump

2015-01-30 Thread Simon Glass
If we don't know the relocation address, the raw values are not very useful. Show the pre-relocation values as well as these can be looked up in System.map, etc. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/lib/interrupts.c | 13 + 1 file changed, 9 insertions(+), 4

[U-Boot] [RFC PATCH 7/7] dm: exynos: Enable driver model for snow XHCI

2015-01-30 Thread Simon Glass
Switch snow over to use driver model for USB. Signed-off-by: Simon Glass s...@chromium.org --- include/configs/snow.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/snow.h b/include/configs/snow.h index ce6676e..00bd646 100644 --- a/include/configs/snow.h +++

[U-Boot] [RFC PATCH 3/7] dm: usb: Adjust users of the USB stack to work with driver model

2015-01-30 Thread Simon Glass
While we currently don't have driver model support for block devices and Ethernet, we can still allow this to work when driver model is used for USB. Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_usb.c| 74 -- common/usb.c| 28

[U-Boot] [RFC PATCH 5/7] dm: core: Add a function to get the uclass data for a device

2015-01-30 Thread Simon Glass
This is a convenience function only so far. Eventually it could have some consistency checking added. Signed-off-by: Simon Glass s...@chromium.org --- drivers/core/device.c | 10 ++ include/dm/device.h | 10 ++ 2 files changed, 20 insertions(+) diff --git

Re: [U-Boot] [PATCH 1/4] sunxi: Make FEL mode usable again

2015-01-30 Thread Siarhei Siamashka
On Fri, 30 Jan 2015 13:58:46 +0200 Siarhei Siamashka siarhei.siamas...@gmail.com wrote: The commit f630974ccb3ce93e9607a3354e9acb266a8b7e95 'sunxi: Move SPL s_init() code to board_init_f()' broke the FEL boot mode. This patch moves the DRAM initialization back to s_init() and introduces an

[U-Boot] [PATCH] video: sunxi: Enable cache for the framebuffer

2015-01-30 Thread Siarhei Siamashka
Because the framebuffer resides in a hidden chopped off part of DRAM, caching is not enabled for this area automatically when the MMU is configured. So it needs to be set explicitly. Additionally, the cfb console has a function to check whether the framebuffer resides in DRAM or not. And the

Re: [U-Boot] [PATCH 02/13] lcd: split configuration_get_cmap

2015-01-30 Thread Simon Glass
Hi Nikita, On 29 January 2015 at 04:21, Nikita Kiryanov nik...@compulab.co.il wrote: configuration_get_cmap() is multiple platform specific functions stuffed into one function. Split it into multiple versions, and move each version to the appropriate driver to reduce the #ifdef complexity.

Re: [U-Boot] [PATCH 10/13] lcd: various cleanups

2015-01-30 Thread Simon Glass
On 29 January 2015 at 04:21, Nikita Kiryanov nik...@compulab.co.il wrote: This cleanup mostly focuses on removing unnecessary whitespace and comments which are superfluous and/or do not conform to the coding style. Signed-off-by: Nikita Kiryanov nik...@compulab.co.il Cc: Simon Glass

Re: [U-Boot] [PATCH 08/13] lcd: introduce lcd_set_cmap

2015-01-30 Thread Simon Glass
On 29 January 2015 at 04:21, Nikita Kiryanov nik...@compulab.co.il wrote: Reduce the lcd_display_bitmap #ifdef complexity by extracting Atmel specific code for setting cmap for bitmap images into a new function lcd_set_cmap(). A default version is implemented with the remainder of the code.

Re: [U-Boot] [PATCH 03/13] lcd: atmel: move atmel specific fb_put_word to atmel_lcdfb

2015-01-30 Thread Simon Glass
On 29 January 2015 at 04:21, Nikita Kiryanov nik...@compulab.co.il wrote: Reduce the amount of platform dependant code in common/lcd.c by moving Atmel specific implementation of fb_put_word() to atmel_lcdfb.c. Since we must also have a default implementation for everybody else, make the

Re: [U-Boot] [PATCH 01/13] lcd: move platform specific structs to their own headers

2015-01-30 Thread Simon Glass
Hi Nikita, On 29 January 2015 at 04:21, Nikita Kiryanov nik...@compulab.co.il wrote: common/lcd code is full of platform specific code and definitions, which ideally should reside with the respective driver code. Take a step towards that goal by moving platform specific structs from lcd.h to

Re: [U-Boot] [PATCH 06/13] lcd: mpc823: move mpc823 specific lcd_logo_set_cmap code to mpc8xx_lcd.c

2015-01-30 Thread Simon Glass
On 29 January 2015 at 04:21, Nikita Kiryanov nik...@compulab.co.il wrote: Reduce the bitmap_plot #ifdef complexity by extracting MPC823 specific code for setting cmap into its own implementation of lcd_logo_set_cmap(), implemented in mpc8xx_lcd.c. In the MPC823 implementation,

Re: [U-Boot] [PATCH 09/13] lcd: remove unused includes

2015-01-30 Thread Simon Glass
On 29 January 2015 at 04:21, Nikita Kiryanov nik...@compulab.co.il wrote: Remove unused includes. Signed-off-by: Nikita Kiryanov nik...@compulab.co.il Cc: Bo Shen voice.s...@atmel.com Cc: Simon Glass s...@chromium.org Cc: Anatolij Gustschin ag...@denx.de --- common/lcd.c | 18

Re: [U-Boot] [PATCH 05/13] lcd: atmel: introduce lcd_logo_set_cmap

2015-01-30 Thread Simon Glass
On 29 January 2015 at 04:21, Nikita Kiryanov nik...@compulab.co.il wrote: Reduce the bitmap_plot #ifdef complexity by extracting Atmel specific code for setting cmap into a new function lcd_logo_set_cmap(), which is implemented in atmel_lcdfb driver and defined as part of common/lcd.c api with

Re: [U-Boot] [PATCH 04/13] lcd: mpc8xx: move mpc823 specific fb_put_byte to mpc8xx_lcd.c

2015-01-30 Thread Simon Glass
On 29 January 2015 at 04:21, Nikita Kiryanov nik...@compulab.co.il wrote: Reduce the amount of platform dependant code in common/lcd.c by moving MPC823 specific implementation of fb_put_byte() to mpc8xx_lcd.c. Since we must also have a default implementation for everybody else, make the

Re: [U-Boot] [PATCH 07/13] lcd: logo: move generic cmap setting to lcd_logo_set_cmap()

2015-01-30 Thread Simon Glass
On 29 January 2015 at 04:21, Nikita Kiryanov nik...@compulab.co.il wrote: Get rid of platform specific #ifdefs in bitmap_plot() by moving the generic case of setting cmap into the weak lcd_logo_set_cmap(). Signed-off-by: Nikita Kiryanov nik...@compulab.co.il Cc: Bo Shen voice.s...@atmel.com

Re: [U-Boot] [PATCH 11/13] lcd: rename bitmap_plot to better represent its functionality

2015-01-30 Thread Simon Glass
On 29 January 2015 at 04:21, Nikita Kiryanov nik...@compulab.co.il wrote: The name bitmap_plot is misleading because it implies that this is a generic function capable of dealing with any bitmap, but its implementation only works with the logo data. Rename the function to better reflect this.

[U-Boot] Please pull u-boot-x86 branch patman

2015-01-30 Thread Simon Glass
Hi Tom, Some old patches I lost, plus a few new ones. Note this is branch 'patman'. The following changes since commit 2af13d6b6265a6700c4f65597410b769895024bf: lcd: fix console address is not initialized (2015-01-28 16:58:02 -0500) are available in the git repository at:

Re: [U-Boot] [PATCH 12/13] lcd: dt: extract simplefb support

2015-01-30 Thread Simon Glass
On 29 January 2015 at 04:21, Nikita Kiryanov nik...@compulab.co.il wrote: We now have api functions that can support compiling simplefb code as its own module. Since this code is not part of the display functionality, extract it to its own file. Raspberry Pi config file is updated to compile

Re: [U-Boot] [PATCH 13/13] lcd: split splash code into its own function

2015-01-30 Thread Simon Glass
Hi Nikita, On 29 January 2015 at 04:21, Nikita Kiryanov nik...@compulab.co.il wrote: lcd_logo() currently performs tasks well beyond just displaying the logo. It has code which displays splash image, it has logic which determines when the different display features are displayed, and it is

[U-Boot] Imx6 u-boot clock frequency and wrong lpj in the kernel

2015-01-30 Thread Andy Ng
Dear colleagues, I faced a problem lately with the udelay function in the Linux kernel. udelay uses loops_per_jiffy constant for its loops. lpj is calculated during the init phase of the kernel, and then the calibrate function is removed. The boot loader uses 792MHz and when the kernel comes up

Re: [U-Boot] [PATCH 17/17] sunxi: Hookup OTG USB controller support

2015-01-30 Thread Siarhei Siamashka
On Sun, 11 Jan 2015 20:34:55 +0100 Hans de Goede hdego...@redhat.com wrote: Hookup OTG USB controller support and enable the otg controller + USB-keyb on various tablets. This allows tablet owners to interact with u-boot without needing to solder a serial console onto their tablet PCB.

[U-Boot] [PATCH RFT v2] gpio: at91: Fix getting address of private data

2015-01-30 Thread Axel Lin
Use dev_get_priv() rather than dev_get_platdata() to get correct address of private data. Signed-off-by: Axel Lin axel@ingics.com --- v2: Fix an obvious typo in subject line (s/addres/address). drivers/gpio/at91_gpio.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff

[U-Boot] [PATCH RFT] gpio: at91: Fix getting addres of private data

2015-01-30 Thread Axel Lin
Use dev_get_priv() rather than dev_get_platdata() to get correct address of private data. Signed-off-by: Axel Lin axel@ingics.com --- Hi Simon, I don't have this h/w, so please test if you think this patch is ok. Thanks, Axel drivers/gpio/at91_gpio.c | 10 +- 1 file changed, 5

[U-Boot] [PATCH 21/21] board/BuR/kwb: Support modify bootcmd through reset-controller

2015-01-30 Thread Hannes Petermaier
For some cases it is necessary to modify temporaly the bootcommand. This can be done by writing into the Scratchregister a specific value: * 0xCC - modify bootcmd run netboot * 0xCD - modify bootcmd run netscript * 0xCE - modify bootcmd run mmcboot the environment in flash is NOT overwritten.

Re: [U-Boot] [U-Boot, v1, 3/6] omap3: add SDRC settings for Samsung K4X51163PG

2015-01-30 Thread Tom Rini
On Fri, Jan 16, 2015 at 09:09:49AM +0100, Albert ARIBAUD (3ADEV) wrote: Signed-off-by: Albert ARIBAUD (3ADEV) albert.arib...@3adev.fr Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

[U-Boot] [PATCH 13/21] board/BuR/common: Enable CONFIG_CMD_TIME

2015-01-30 Thread Hannes Petermaier
time measurement of u-boot commands is needed very often during development. We add this feature until development is completed. Maybe forever :) Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- include/configs/bur_am335x_common.h |1 + 1 file changed, 1 insertion(+) diff --git

Re: [U-Boot] [PATCH 1/2] fastboot: add fastboot oem command support

2015-01-30 Thread Rob Herring
On Thu, Jan 29, 2015 at 2:30 AM, Lukasz Majewski l.majew...@samsung.com wrote: Hi Rob, From: Michael Scott michael.sc...@linaro.org Add code stub to handle fastboot oem __ command. As unlock is a common fastboot command, distinguish that it is not implemented. Signed-off-by: Michael Scott

Re: [U-Boot] [U-Boot, v1, 5/6] omap3: add some MUX definitions for upcoming cairo

2015-01-30 Thread Tom Rini
On Fri, Jan 16, 2015 at 09:09:51AM +0100, Albert ARIBAUD (3ADEV) wrote: Signed-off-by: Albert ARIBAUD (3ADEV) albert.arib...@3adev.fr Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, v1, 2/6] omap3: make SDRC SHARING setting configurable

2015-01-30 Thread Tom Rini
On Fri, Jan 16, 2015 at 09:09:48AM +0100, Albert ARIBAUD (3ADEV) wrote: Signed-off-by: Albert ARIBAUD (3ADEV) albert.arib...@3adev.fr Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

[U-Boot] Please pull u-boot-ti/master

2015-01-30 Thread Tom Rini
Ahoy! The following changes since commit 2af13d6b6265a6700c4f65597410b769895024bf: lcd: fix console address is not initialized (2015-01-28 16:58:02 -0500) are available in the git repository at: git://git.denx.de/u-boot-ti master for you to fetch changes up to

Re: [U-Boot] [U-Boot,v1,1/6] omap3: enable GP9 timer and UART2

2015-01-30 Thread Tom Rini
On Fri, Jan 16, 2015 at 09:09:47AM +0100, Albert ARIBAUD (3ADEV) wrote: These are needed for the upcoming Cairo board support. Signed-off-by: Albert ARIBAUD (3ADEV) albert.arib...@3adev.fr Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v1, 4/6] omap3: mmc: add 1.8v bias setting for MMC1

2015-01-30 Thread Tom Rini
On Fri, Jan 16, 2015 at 09:09:50AM +0100, Albert ARIBAUD (3ADEV) wrote: Signed-off-by: Albert ARIBAUD (3ADEV) albert.arib...@3adev.fr Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] OMAP3: igep00x0: Fix boot hang and add support for status LED.

2015-01-30 Thread Tom Rini
On Wed, Jan 28, 2015 at 03:01:32PM +0100, Enric Balletbò i Serra wrote: From: Enric Balletbo i Serra enric.balle...@collabora.com Use the STATUS_LED APIs for indicating a boot progress instead of show_boot_progress. This patch also fixes a problem introduced with commit b3f4ca1135 (dm:

Re: [U-Boot] [PATCH v1 1/1] fastboot: oem format command implementation

2015-01-30 Thread Lukasz Majewski
Hi Dileep, This is the Modified version of http://patchwork.ozlabs.org/patch/388084/ - As flash support is already in mainline, it is removed - 'oem' command support is present - 'oem format' command is implemented - Handled review comments of the original patch Signed-off-by: Dileep

Re: [U-Boot] [PATCH] fastboot: Add USB cable detect check

2015-01-30 Thread Rob Herring
On Thu, Jan 29, 2015 at 4:49 PM, Steve Rae s...@broadcom.com wrote: On 15-01-26 01:14 PM, Rob Herring wrote: Add a check for USB cable attached and only enter fastboot when a cable is attached. Signed-off-by: Rob Herring r...@kernel.org --- common/cmd_fastboot.c | 6 ++ 1 file

[U-Boot] [PATCH 16/21] board/BuR/tseries: cosmetic changes

2015-01-30 Thread Hannes Petermaier
remove unnary '#define ETHLED_ORANGE (96+16) /* GPIO3_16 */' Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- board/BuR/tseries/board.c |2 -- 1 file changed, 2 deletions(-) diff --git a/board/BuR/tseries/board.c b/board/BuR/tseries/board.c index a1c6887..9402aa4 100644 ---

[U-Boot] [PATCH 20/21] board/BuR/kwb: Form a bootline for vxWorks

2015-01-30 Thread Hannes Petermaier
vxWorks needs several parameters which are set by the bootloader und his environment. So we form a vxWorks bootline and pass the result to vxWorks on a predefined address. Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- board/BuR/kwb/board.c | 30 ++ 1 file

[U-Boot] [PATCH 19/21] board/BuR/kwb: Redesign default-environment

2015-01-30 Thread Hannes Petermaier
Due to several changes in the boot-process we do a complete redesign of the default environment. Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- include/configs/kwb.h | 81 +++-- 1 file changed, 45 insertions(+), 36 deletions(-) diff --git

Re: [U-Boot] am335x_evm: Enable CONFIG_NAND_OMAP_GPMC_PREFETCH

2015-01-30 Thread Tom Rini
On Tue, Jan 13, 2015 at 04:42:53PM -0500, Tom Rini wrote: Signed-off-by: Tom Rini tr...@ti.com Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] Nokia RX-51: Use generic board

2015-01-30 Thread Tom Rini
On Thu, Jan 15, 2015 at 10:26:36AM +0100, Pali Rohár wrote: Generic board with #define CONFIG_SYS_GENERIC_BOARD is working fine. There is no visible difference between legacy and generic board code. Signed-off-by: Pali Rohár pali.ro...@gmail.com Acked-by: Pavel Machek pa...@ucw.cz Applied

Re: [U-Boot] ARM: OMAP5: DRA7xx: Add support for power rail grouping

2015-01-30 Thread Tom Rini
On Fri, Dec 19, 2014 at 05:34:31PM +0200, Lubomir Popov wrote: On the DRA72x (J6Eco) EVM one PMIC SMPS is powering three SoC core rails. This concept of using one SMPS to supply multiple core domains (in various, although limited combinations, per primary device use case) has now become

Re: [U-Boot] [U-Boot,v2] davinci: Do not duplicate setting of gd

2015-01-30 Thread Tom Rini
On Thu, Jan 22, 2015 at 09:38:10AM -0500, Tom Rini wrote: In f0c3a6c we stopped setting gd in board_init_f, but later had to revert to due problems on certain platforms. As davinci does not look to have these problems, we can drop the setting here and rely upon crt0.S to do it. Cc: Peter

Re: [U-Boot] [PATCH 1/2] fastboot: add fastboot oem command support

2015-01-30 Thread Lukasz Majewski
Hi Rob, On Thu, Jan 29, 2015 at 2:30 AM, Lukasz Majewski l.majew...@samsung.com wrote: Hi Rob, From: Michael Scott michael.sc...@linaro.org Add code stub to handle fastboot oem __ command. As unlock is a common fastboot command, distinguish that it is not implemented.

[U-Boot] [GIT PULL] u-boot-mips/master

2015-01-30 Thread Daniel Schwierzeck
The following changes since commit ab92da9f47d51d363c7de42e2a7bd807e2c1bd54: Merge branch 'master' of git://git.denx.de/u-boot-x86 (2015-01-26 17:44:49 -0500) are available in the git repository at: git://git.denx.de/u-boot-mips.git master for you to fetch changes up to

Re: [U-Boot] Nokia RX-51: Use generic board

2015-01-30 Thread Pali Rohár
On Friday 30 January 2015 15:19:53 Tom Rini wrote: On Thu, Jan 15, 2015 at 10:26:36AM +0100, Pali Rohár wrote: Generic board with #define CONFIG_SYS_GENERIC_BOARD is working fine. There is no visible difference between legacy and generic board code. Signed-off-by: Pali Rohár

Re: [U-Boot] [PATCH 2/2] fastboot: add support for oem format command

2015-01-30 Thread Lukasz Majewski
Hi Rob, Add oem format command to write partition table. This relies on the env variable partitions to contain the list of partitions as required by the gpt command. Note that this does not erase any data other than the partition table. Signed-off-by: Rob Herring r...@kernel.org ---

Re: [U-Boot] [PATCH 1/2] fastboot: add fastboot oem command support

2015-01-30 Thread Lukasz Majewski
Hi Rob, From: Michael Scott michael.sc...@linaro.org Add code stub to handle fastboot oem __ command. As unlock is a common fastboot command, distinguish that it is not implemented. Signed-off-by: Michael Scott michael.sc...@linaro.org Signed-off-by: Rob Herring r...@kernel.org ---

[U-Boot] mips

2015-01-30 Thread 赵建辉
It is so few to support the MIPS architecture,why? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] common: Move dram_init() declaration to common location

2015-01-30 Thread Michal Simek
Signed-off-by: Michal Simek michal.si...@xilinx.com --- Build tested for Microblaze and x86. Created based on my discussion with Simon. --- arch/arm/include/asm/u-boot-arm.h | 1 - arch/nds32/include/asm/u-boot-nds32.h | 1 - arch/sandbox/include/asm/u-boot-sandbox.h | 1 -

Re: [U-Boot] [PATCH] net/designware: add error message on DMA reset timeout

2015-01-30 Thread Marek Vasut
On Friday, January 30, 2015 at 08:10:34 AM, Alexey Brodkin wrote: Hi Marek, Tom, On Fri, 2015-01-16 at 22:16 +0100, Pavel Machek wrote: On Tue 2015-01-13 17:10:24, Alexey Brodkin wrote: If for some reason DMA module fails to reset user oserves only this: -- # dhcp Trying

Re: [U-Boot] [PATCH 12/14] microblaze: Move architecture to use generic board init

2015-01-30 Thread Michal Simek
Hi Simon, On 01/29/2015 04:45 PM, Simon Glass wrote: Hi Michal, On 29 January 2015 at 07:20, Michal Simek michal.si...@xilinx.com wrote: Hi Simon, On 01/29/2015 03:15 AM, Simon Glass wrote: Hi Michal, On 27 January 2015 at 08:20, Michal Simek michal.si...@xilinx.com wrote: Compile

Re: [U-Boot] Possible OMAP3 regression with current mainline

2015-01-30 Thread Enric Balletbo Serra
Hi Simon, 2015-01-30 2:24 GMT+01:00 Simon Glass s...@chromium.org: Hi Enric, On 26 January 2015 at 10:55, Enric Balletbo Serra eballe...@gmail.com wrote: I just tried boot with my OMAP3 based board (IGEPv2) and I found that is broken in current mainline and v2015.01. The boot process stops

[U-Boot] [PATCH] powerpc: 85xx: Modify CONFIG_USB_MAX_CONTROLLER_COUNT for P1022DS

2015-01-30 Thread ying.zhang
From: Ying Zhang b40...@freescale.com Modify CONFIG_USB_MAX_CONTROLLER_COUNT value to 1 on P1022DS. As ETSEC2 and USB2 are muxed; thus if ETSEC2 is enabled, the system bus hangs on USB2 if ETSEC2 is enabled but usb start command is issued. Hence making default controller count to 1 to avoid

[U-Boot] [PATCH 0/4] sunxi: FEL mode fixes

2015-01-30 Thread Siarhei Siamashka
The recent u-boot changes broke FEL mode support on sunxi hardware. This patch series fixes the regression and also introduces some other cleanups. Siarhei Siamashka (4): sunxi: Make FEL mode usable again sunxi: Use Thumb2 for the FEL mode SPL sunxi: Get rid of u-boot-spl-fel.lds sunxi:

[U-Boot] [PATCH 1/4] sunxi: Make FEL mode usable again

2015-01-30 Thread Siarhei Siamashka
The commit f630974ccb3ce93e9607a3354e9acb266a8b7e95 'sunxi: Move SPL s_init() code to board_init_f()' broke the FEL boot mode. This patch moves the DRAM initialization back to s_init() and introduces an assembly entry point for FEL in order to provide guaranteed initialization of the gdata

[U-Boot] [PATCH 3/4] sunxi: Get rid of u-boot-spl-fel.lds

2015-01-30 Thread Siarhei Siamashka
The existing u-boot-spl-fel.lds linker script is rather messy. Instead of fixing it, just use u-boot-spl.lds for both normal SPL and FEL SPL. Signed-off-by: Siarhei Siamashka siarhei.siamas...@gmail.com --- arch/arm/cpu/armv7/sunxi/u-boot-spl-fel.lds | 83 -

Re: [U-Boot] [PATCH v2 05/11] avr32: convert to dram_init()

2015-01-30 Thread Simon Glass
On 29 January 2015 at 16:07, Andreas Bießmann andreas.de...@googlemail.com wrote: Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com --- Changes in v2: - new since v1 Changes in v1: None arch/avr32/include/asm/u-boot.h |1 + arch/avr32/lib/Makefile

Re: [U-Boot] [PATCH v2 02/11] avr32: rename cpu_init() - arch_cpu_init()

2015-01-30 Thread Simon Glass
On 29 January 2015 at 16:07, Andreas Bießmann andreas.de...@googlemail.com wrote: Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com --- Changes in v2: None Changes in v1: None arch/avr32/cpu/cpu.c|2 +- arch/avr32/include/asm/u-boot.h |2 ++

Re: [U-Boot] [PATCH 0/25] tegra: Add eDP support for nyan-big

2015-01-30 Thread Simon Glass
Hi Tom / Jimmy, On 20 January 2015 at 09:35, Tom Warren twar...@nvidia.com wrote: I'm no display expert, so I'd like to have Jimmy take a look - he did the Nyan display support, and is going to be doing HDMI on another SoC, IIRC. Added him to CC. Any news on this please? - Simon

[U-Boot] [PATCH 09/21] board/BuR/tseries: Change pinmux for GPIO2_28 from GPIO to PWM-Timeroutput

2015-01-30 Thread Hannes Petermaier
From now we use this pin for the Brightness regulation from LED-Backlight. Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- board/BuR/tseries/mux.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/BuR/tseries/mux.c b/board/BuR/tseries/mux.c index

[U-Boot] [PATCH 17/21] board/BuR/kwb: switch to board HW-Rev3

2015-01-30 Thread Hannes Petermaier
The board has been redesigned, therefore we need from now other I/O Pins to mux and handle. Older boards aren't supported from now anymore. Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- board/BuR/kwb/board.c | 92 ++--- board/BuR/kwb/mux.c

[U-Boot] [PATCH 14/21] board/BuR/common: Add support for displaying BMP on LCD

2015-01-30 Thread Hannes Petermaier
Customer wants to display some logo very quickly after power on, so we support from now loading a compressed bmp.gz to the screen. Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- include/configs/bur_am335x_common.h |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 07/21] board/BuR/tseries: Enable U-Boot BOOTCOUNT feature

2015-01-30 Thread Hannes Petermaier
Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- include/configs/tseries.h |4 1 file changed, 4 insertions(+) diff --git a/include/configs/tseries.h b/include/configs/tseries.h index 368f588..7fd0a00 100644 --- a/include/configs/tseries.h +++ b/include/configs/tseries.h @@ -23,6

[U-Boot] [PATCH 12/21] board/BuR/common: Introduce Network Console and common environment for it

2015-01-30 Thread Hannes Petermaier
It is often necessary to break in into boards bootloader commandline if something fails or even for development purposes some parameters have to be changed. So we enable u-boot's CONFIG_NETCONSOLE feature. We also modify Networksettings to apply with this new use-case. Signed-off-by: Hannes

[U-Boot] [PATCH 03/21] common/lcd: Add command for writing to lcd-display

2015-01-30 Thread Hannes Petermaier
We need this function if we want to make some outputs out of u-boot scripts. Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- common/lcd.c | 17 + 1 file changed, 17 insertions(+) diff --git a/common/lcd.c b/common/lcd.c index f418da9..755388f 100644 --- a/common/lcd.c +++

[U-Boot] [PATCH 11/21] board/BuR/tseries: Chg Pinmux - enable UART1 pins

2015-01-30 Thread Hannes Petermaier
Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- board/BuR/tseries/mux.c |8 1 file changed, 8 insertions(+) diff --git a/board/BuR/tseries/mux.c b/board/BuR/tseries/mux.c index 330429a..2c87a63 100644 --- a/board/BuR/tseries/mux.c +++ b/board/BuR/tseries/mux.c @@ -25,6 +25,13

  1   2   >