Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-08-06 Thread Michal Suchanek
Hello, On 6 August 2015 at 01:45, Simon Glass wrote: > Hi Stephen, > > On 5 August 2015 at 12:22, Stephen Warren wrote: >> On 08/04/2015 10:08 PM, Simon Glass wrote: >>> >>> Hi Stephen, >>> >>> On 3 August 2015 at 12:20, Stephen Warren wrote: On 08/03/2015 09:52 AM, Simon Glass wrote:

Re: [U-Boot] [PATCH 1/5] x86: Remove init_gd() function

2015-08-06 Thread Bin Meng
On Mon, Aug 3, 2015 at 8:10 AM, Simon Glass wrote: > This is declared but no-longer exists. Drop it. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/u-boot-x86.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/x86/include/asm/u-boot-x86.h > b/arch/x86/include/asm/u-bo

Re: [U-Boot] [PATCH 4/5] x86: Move the GDT into global_data

2015-08-06 Thread Bin Meng
On Mon, Aug 3, 2015 at 8:10 AM, Simon Glass wrote: > Rather than keeping track of the Global Descriptor Table in its own memory > we may as well put it in global_data with everything else. As a first step, > stop using the separately allocated GDT. > > Signed-off-by: Simon Glass > --- > > arch/x

Re: [U-Boot] [PATCH 2/5] Align global_data to a 16-byte boundary

2015-08-06 Thread Bin Meng
Hi Simon, On Mon, Aug 3, 2015 at 8:10 AM, Simon Glass wrote: > Some archs like to have larger alignment for their global data. Use 16 bytes > which suits all current archs. > > Signed-off-by: Simon Glass > --- > > common/board_f.c | 2 +- > include/asm-generic/global_data.h | 2

Re: [U-Boot] [PATCH 3/5] Allow arch-specific setting of global_data in board_init_f_mem()

2015-08-06 Thread Bin Meng
Hi Simon, On Mon, Aug 3, 2015 at 8:10 AM, Simon Glass wrote: > At present we have a simple assignment to gd. With some archs this is > implemented as a register or through some other means; a simple assignment > does not suit in all cases. > > Change this to a function and add documentation to de

Re: [U-Boot] [PATCH 5/5] x86: Switch to using generic global_data setup

2015-08-06 Thread Bin Meng
Hi Simon, On Mon, Aug 3, 2015 at 8:10 AM, Simon Glass wrote: > There is quite a bit of assembler code that can be removed if we use the > generic global_data setup. Less arch-specific code makes it easier to add > new features and maintain the start-up code. > > Drop the unneeded code and adjust

Re: [U-Boot] [PATCH 2/4] net: fec: do not access reserved register for i.MX6UL

2015-08-06 Thread Nikolay Dimitrov
Hi Peng, On 08/06/2015 07:41 AM, Peng Fan wrote: Hi Nikolay, On Wed, Aug 05, 2015 at 05:31:27PM +0300, Nikolay Dimitrov wrote: Hi Peng, On 08/03/2015 01:06 PM, Peng Fan wrote: The MIB RAM and FIFO receive start register does not exist on i.MX6UL. Accessing these register will cause enet not w

Re: [U-Boot] [PATCH 0/2] ARM: tegra: enable GPU DT node

2015-08-06 Thread Alexandre Courbot
On 08/05/2015 08:24 AM, Tom Warren wrote: Alex/Andreas, -Original Message- From: Tom Warren Sent: Tuesday, August 04, 2015 8:41 AM To: 'Andreas Färber'; u-boot@lists.denx.de Cc: Alex Courbot; linux-te...@vger.kernel.org; gnu...@gmail.com; Stephen Warren; Guillaume Gardet Subject: RE: [U

[U-Boot] [PATCH v2 1/3] common: Display >=4GiB memory bank size

2015-08-06 Thread Bin Meng
bd->bi_dram[] has both start address and size defined as 32-bit, which is not the case on some platforms where >=4GiB memory bank is used. Change them to support such memory banks. Signed-off-by: Bin Meng --- Changes in v2: - Drop patches which are already applied - Change start to phys_addr_t

Re: [U-Boot] [PATCH 01/13][v4] power: pmic: add pfuze3000 support

2015-08-06 Thread Przemyslaw Marczak
Hello Adrian, On 07/31/2015 12:35 AM, Adrian Alonso wrote: * Add pmic pfuze3000 support, implement power_pfuze3000_init to be used in power_init_board callback function. Signed-off-by: Adrian Alonso Signed-off-by: Peng Fan --- Changes for V2: - Correct pfuze device name to pfuze3000; Frees

[U-Boot] [PATCH] arm: mvebu/armada100: dram.c: Remove CONFIG_SYS_BOARD_DRAM_INIT

2015-08-06 Thread Stefan Roese
CONFIG_SYS_BOARD_DRAM_INIT is not defined anywhere. So lets get rid of all references here. Signed-off-by: Stefan Roese Cc: Luka Perkov --- arch/arm/cpu/arm926ejs/armada100/dram.c | 2 -- arch/arm/mach-mvebu/dram.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/arch/arm/cpu/

[U-Boot] [PATCH v3] common: Display >=4GiB memory bank size

2015-08-06 Thread Bin Meng
bd->bi_dram[] has both start address and size defined as 32-bit, which is not the case on some platforms where >=4GiB memory bank is used. Change them to support such memory banks. Signed-off-by: Bin Meng --- Changes in v3: - Use %llx to print the dram start address Changes in v2: - Drop patch

Re: [U-Boot] [PATCH v2 1/3] common: Display >=4GiB memory bank size

2015-08-06 Thread Bin Meng
On Thu, Aug 6, 2015 at 4:23 PM, Bin Meng wrote: > bd->bi_dram[] has both start address and size defined as 32-bit, > which is not the case on some platforms where >=4GiB memory bank > is used. Change them to support such memory banks. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - Dro

Re: [U-Boot] [PATCH] board: Xilinx: zynqmp: Define checkboard() function

2015-08-06 Thread Michal Simek
On 08/04/2015 09:31 AM, Siva Durga Prasad Paladugu wrote: > Define checkboard() function for zynqMP > > Signed-off-by: Siva Durga Prasad Paladugu > --- > board/xilinx/zynqmp/zynqmp.c |7 +++ > 1 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/board/xilinx/zynqmp/zynqmp.c

Re: [U-Boot] [PATCH 01/13][v4] power: pmic: add pfuze3000 support

2015-08-06 Thread Peng Fan
Hello Przemyslaw, On Thu, Aug 06, 2015 at 10:22:11AM +0200, Przemyslaw Marczak wrote: >Hello Adrian, > >On 07/31/2015 12:35 AM, Adrian Alonso wrote: >>* Add pmic pfuze3000 support, implement power_pfuze3000_init to be >> used in power_init_board callback function. >> >>Signed-off-by: Adrian Alons

Re: [U-Boot] [PATCH] imx: mx6ul_14x14_evk discard redefined CONFIG_MX6

2015-08-06 Thread Stefano Babic
Hi Peng, On 06/08/2015 07:42, Peng Fan wrote: > Discard CONFIG_MX6 in mx6ul_14x14_evk.h, since it is already defined > in mx6_common.h. > > Tested on mx6ul_14x14_evk board. > > Signed-off-by: Peng Fan > Cc: Fabio Estevam > Cc: Stefano Babic > --- > include/configs/mx6ul_14x14_evk.h | 1 - >

Re: [U-Boot] [PATCH] imx: mx6 move TARGET_xx Kconfig option to mx6 specific Kconfig file

2015-08-06 Thread Stefano Babic
Hi Peng, On 06/08/2015 07:43, Peng Fan wrote: > Move TARGET_xx Kconfig option based on mx6 to arch/arm/cpu/armv7/mx6/Kconfig. > Add enable "CONFIG_ARCH_MX6" for boards based on mx6. > Then we can choose target boards using "make ARCH=arm menuconfig" > with ARCH_MX6 defined. > > If using original

Re: [U-Boot] GCC 5.2 issue on imx28

2015-08-06 Thread Jörg Krause
On Mi, 2015-08-05 at 20:23 +0100, Måns Rullgård wrote: > Jörg Krause writes: > > > Dear Måns Rullgård, Otavio Salvador, > > > > On Di, 2015-07-28 at 14:39 +0100, Måns Rullgård wrote: > > > Otavio Salvador writes: > > > > [snip] > > > > > There are two errors reports: > > > > > > 1. An undefi

[U-Boot] [PATCH] x86: baytrail: Add all IDE/SATA PCI device IDs

2015-08-06 Thread Bin Meng
The BayTrail SoC has 4 different PCI devices IDs regarding to IDE and AHCI. Add these IDs in pci_ids.h and also add the other SATA ID in the Bayley Bay and MinnowMax board configuration header. Signed-off-by: Bin Meng --- include/configs/bayleybay.h | 3 ++- include/configs/minnowmax.h | 6

Re: [U-Boot] [PATCH] imx: mx6 move TARGET_xx Kconfig option to mx6 specific Kconfig file

2015-08-06 Thread Soeren Moch
On 08/06/15 07:43, Peng Fan wrote: Move TARGET_xx Kconfig option based on mx6 to arch/arm/cpu/armv7/mx6/Kconfig. Add enable "CONFIG_ARCH_MX6" for boards based on mx6. Then we can choose target boards using "make ARCH=arm menuconfig" with ARCH_MX6 defined. If using original way, we have no chance

[U-Boot] [PATCH] arm: armv8 correct value passed to __asm_dcache_all

2015-08-06 Thread Peng Fan
>From source code comments: "x0: 0 flush & invalidate, 1 invalidate only" Current value 0x can make invalidate work, since we only judge whether input value is 0 or not, see following code: " tbz w1, #0, 1f dc isw, x9 b 2f 1: dc cisw, x9 /* clean & invalid

Re: [U-Boot] [PATCH 01/13][v4] power: pmic: add pfuze3000 support

2015-08-06 Thread Przemyslaw Marczak
Hello Peng, On 08/06/2015 09:47 AM, Peng Fan wrote: Hello Przemyslaw, On Thu, Aug 06, 2015 at 10:22:11AM +0200, Przemyslaw Marczak wrote: Hello Adrian, On 07/31/2015 12:35 AM, Adrian Alonso wrote: * Add pmic pfuze3000 support, implement power_pfuze3000_init to be used in power_init_board c

Re: [U-Boot] [PATCH 01/13][v4] power: pmic: add pfuze3000 support

2015-08-06 Thread Przemyslaw Marczak
Hello Adrian, On 07/31/2015 12:35 AM, Adrian Alonso wrote: * Add pmic pfuze3000 support, implement power_pfuze3000_init to be used in power_init_board callback function. Signed-off-by: Adrian Alonso Signed-off-by: Peng Fan --- Changes for V2: - Correct pfuze device name to pfuze3000; Frees

[U-Boot] [PATCH] sunxi: display: Fix composite video out on sun5i

2015-08-06 Thread Hans de Goede
The tv-encoder on sun5i is slightly different compared to the one on sun4i/sun7i. Signed-off-by: Hans de Goede --- arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 5 + arch/arm/include/asm/arch-sunxi/display.h | 12 +++- drivers/video/sunxi_display.c | 11 +++

[U-Boot] [PATCH 1/2] sunxi: dts: Sync with kernel

2015-08-06 Thread Hans de Goede
Sync the sunxi dts files with the changes queued up for kernel-4.3 in mripard's sunxi/dt-for-4.3 branch. Signed-off-by: Hans de Goede --- arch/arm/dts/Makefile | 1 + arch/arm/dts/{sun8i-a23.dtsi => axp152.dtsi} | 29 +- arch/arm/dts/axp209.dtsi

[U-Boot] [PATCH 2/2] sunxi: Add support for the Auxtek-T003 HDMI stick

2015-08-06 Thread Hans de Goede
The Auxtek-T003 HDMI stick is an A10s based HDMI stick with USB wifi, and composite video out support. Signed-off-by: Hans de Goede --- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun5i-a10s-auxtek-t003.dts | 145 configs/Auxtek-T003_defconfig

Re: [U-Boot] GCC 5.2 issue on imx28

2015-08-06 Thread Måns Rullgård
Jörg Krause writes: > On Mi, 2015-08-05 at 20:23 +0100, Måns Rullgård wrote: >> Jörg Krause writes: >> >> > Dear Måns Rullgård, Otavio Salvador, >> > >> > On Di, 2015-07-28 at 14:39 +0100, Måns Rullgård wrote: >> > > Otavio Salvador writes: >> > >> > [snip] >> > >> > > There are two errors

[U-Boot] [PATCH 1/2] sunxi: display: Enable composite video support on more boards

2015-08-06 Thread Hans de Goede
Enable composite video support on all boards which have a composite video out connector (either cinch or jack). Signed-off-by: Hans de Goede --- configs/Bananapi_defconfig | 1 + configs/Bananapro_defconfig | 1 + configs/Mele_A1000_defconfig| 1 + configs/Mele_M5_defconfig |

[U-Boot] [PATCH 2/2] sunxi: display: Disable HDMI support on A13 based tablets

2015-08-06 Thread Hans de Goede
The sun5i die has a hdmi encoder onboard, but the A13 package does not route this to the outside, disable hdmi support on A13 based boards. Signed-off-by: Hans de Goede --- configs/Ampe_A76_defconfig | 1 + configs/TZX-Q8-713B7_defconfig | 1 + configs/UTOO_P66_defconfig | 1 + configs/f

[U-Boot] [PATCH v1] arm: omap5: Add AMP boot support for OMAP5

2015-08-06 Thread Bharat Gohil
This command uses AMP boot mode to boot the omap5 device. it is used to run two different software on each dedicated core without using hypervisor. A typical example is: Core0 uses Linux or Android and Core1 uses QNX or baremetal app. It is also used for benchmarking the hypervisor performance wher

[U-Boot] [PATCH v1] arm: omap5: Add AMP boot support for OMAP5

2015-08-06 Thread Bharat Gohil
This command uses AMP boot mode to boot the omap5 device. it is used to run two different software on each dedicated core without using hypervisor. A typical example is: Core0 uses Linux or Android and Core1 uses QNX or baremetal app. It is also used for benchmarking the hypervisor performance wher

Re: [U-Boot] [PATCH V3] kconfig: add config option for shell prompt

2015-08-06 Thread Nikita Kiryanov
Cc Masahiro Yamada with correct email ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Fabio Estevam
Hi, I am trying to use spi_flash_probe() inside SPL on a custom mx6 board. The idea is to read some parameters from the SPI NOR flash and configure the DDR accordingly. This is similar to what gw_ventana_spl.c does, but it reads from i2c eeprom instead of SPI NOR. Here are the changes just to i

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 03:25:22 PM, Fabio Estevam wrote: > Hi, > > I am trying to use spi_flash_probe() inside SPL on a custom mx6 board. > > The idea is to read some parameters from the SPI NOR flash and configure > the DDR accordingly. > > This is similar to what gw_ventana_spl.c does

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Stefano Babic
Hi Fabio, On 06/08/2015 15:25, Fabio Estevam wrote: > Hi, > > I am trying to use spi_flash_probe() inside SPL on a custom mx6 board. > > The idea is to read some parameters from the SPI NOR flash and configure > the DDR accordingly. > > This is similar to what gw_ventana_spl.c does, but it read

Re: [U-Boot] [PATCH v5 1/5] dma: lpc32xx: add DMA driver

2015-08-06 Thread LEMIEUX, SYLVAIN
Hi Vladimir, Thanks for the feedback; Marek, Vladimir, there is a question below; I will wait for feedback before sending an updated version of the patch. Sylvain > -Original Message- > From: Vladimir Zapolskiy [mailto:v...@mleia.com] > > Hi Sylvain, > > On 05.08.2015 21:31, slemieux

Re: [U-Boot] [PATCH 2/4] net: fec: do not access reserved register for i.MX6UL

2015-08-06 Thread Stefano Babic
Hi Peng, On 06/08/2015 06:41, Peng Fan wrote: > Hi Nikolay, > On Wed, Aug 05, 2015 at 05:31:27PM +0300, Nikolay Dimitrov wrote: >> Hi Peng, >> >> On 08/03/2015 01:06 PM, Peng Fan wrote: >>> The MIB RAM and FIFO receive start register does not exist on >>> i.MX6UL. Accessing these register will cau

Re: [U-Boot] [PATCH] x86: WIP: Enable D0 stepping microcode for MinnowMax

2015-08-06 Thread Simon Glass
Hi, On 29 June 2015 at 11:57, Simon Glass wrote: > Hi Andrew, > > On 29 June 2015 at 08:36, Andrew Bradford wrote: >> Hi Simon, >> >> On 06/07 18:58, Simon Glass wrote: >>> Hi Bin, >>> >>> On 5 June 2015 at 19:30, Bin Meng wrote: >>> > Hi Simon, >>> > >>> > On Sat, Jun 6, 2015 at 12:17 AM, Simo

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Fabio Estevam
Hi Stefano and Marek, Thanks for the suggestions. On Thu, Aug 6, 2015 at 10:38 AM, Stefano Babic wrote: > There is the possibility to set a malloc area inside SPL: > > CONFIG_SYS_SPL_MALLOC_START > CONFIG_SYS_SPL_MALLOC_SIZE > you do not need a lot of space, and you can try to put it inside the

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 04:14:34 PM, Fabio Estevam wrote: > Hi Stefano and Marek, > > Thanks for the suggestions. > > On Thu, Aug 6, 2015 at 10:38 AM, Stefano Babic wrote: > > There is the possibility to set a malloc area inside SPL: > > > > CONFIG_SYS_SPL_MALLOC_START > > CONFIG_SYS_SP

[U-Boot] [PATCH] ti_armv7_common: enable setexpr

2015-08-06 Thread Nishanth Menon
This allows us to do basic math in hush shell. For example: U-Boot# r1=10 U-Boot# r2=20 U-Boot# setexpr.l r3 $r1 + $r2 U-Boot# echo $r3 30 Reported-by: Vitaly Andrianov Suggested-by: Tom Rini Signed-off-by: Nishanth Menon --- include/configs/ti_armv7_common.h | 1 + 1 file changed, 1 insertion

Re: [U-Boot] [PATCH] x86: WIP: Enable D0 stepping microcode for MinnowMax

2015-08-06 Thread Bin Meng
Hi Simon, On Thu, Aug 6, 2015 at 10:02 PM, Simon Glass wrote: > Hi, > > On 29 June 2015 at 11:57, Simon Glass wrote: >> Hi Andrew, >> >> On 29 June 2015 at 08:36, Andrew Bradford >> wrote: >>> Hi Simon, >>> >>> On 06/07 18:58, Simon Glass wrote: Hi Bin, On 5 June 2015 at 19:30,

Re: [U-Boot] [PATCH] x86: WIP: Enable D0 stepping microcode for MinnowMax

2015-08-06 Thread Andrew Bradford
Hi Simon, On 08/06 08:02, Simon Glass wrote: > Hi, > > On 29 June 2015 at 11:57, Simon Glass wrote: > > Hi Andrew, > > > > On 29 June 2015 at 08:36, Andrew Bradford > > wrote: > >> Hi Simon, > >> > >> On 06/07 18:58, Simon Glass wrote: > >>> Hi Bin, > >>> > >>> On 5 June 2015 at 19:30, Bin Men

Re: [U-Boot] [PATCH] ti_armv7_common: enable setexpr

2015-08-06 Thread Tom Rini
On Thu, Aug 06, 2015 at 09:48:27AM -0500, Nishanth Menon wrote: > This allows us to do basic math in hush shell. For example: > U-Boot# r1=10 > U-Boot# r2=20 > U-Boot# setexpr.l r3 $r1 + $r2 > U-Boot# echo $r3 > 30 > > Reported-by: Vitaly Andrianov > Suggested-by: Tom Rini > Signed-off-by: Nish

Re: [U-Boot] [PATCH 0/2] ARM: tegra: enable GPU DT node

2015-08-06 Thread Tom Warren
> -Original Message- > From: Alex Courbot > Sent: Thursday, August 06, 2015 12:58 AM > To: Tom Warren; Andreas Färber; u-boot@lists.denx.de > Cc: linux-te...@vger.kernel.org; gnu...@gmail.com; Stephen Warren; > Guillaume Gardet > Subject: Re: [U-Boot] [PATCH 0/2] ARM: tegra: enable GPU DT n

Re: [U-Boot] [PATCH] ti_armv7_common: enable setexpr

2015-08-06 Thread Nishanth Menon
On 08/06/2015 10:04 AM, Tom Rini wrote: > On Thu, Aug 06, 2015 at 09:48:27AM -0500, Nishanth Menon wrote: > >> This allows us to do basic math in hush shell. For example: >> U-Boot# r1=10 >> U-Boot# r2=20 >> U-Boot# setexpr.l r3 $r1 + $r2 >> U-Boot# echo $r3 >> 30 >> >> Reported-by: Vitaly Andrian

Re: [U-Boot] [PATCH] ti_armv7_common: enable setexpr

2015-08-06 Thread Tom Rini
On Thu, Aug 06, 2015 at 10:08:59AM -0500, Nishanth Menon wrote: > On 08/06/2015 10:04 AM, Tom Rini wrote: > > On Thu, Aug 06, 2015 at 09:48:27AM -0500, Nishanth Menon wrote: > > > >> This allows us to do basic math in hush shell. For example: > >> U-Boot# r1=10 > >> U-Boot# r2=20 > >> U-Boot# sete

Re: [U-Boot] [PATCH] dm: serial: Add a REQUIRE_SERIAL_CONSOLE option for boards with no serial port

2015-08-06 Thread Simon Glass
hi Hans, On 1 August 2015 at 10:05, Simon Glass wrote: > Hi Hans, > > On 25 July 2015 at 03:58, Hans de Goede wrote: >> Currently the serial code assumes that there is always at least one serial >> port (and panics / crashes due to null pointer dereferences when there is >> none). >> >> This mak

[U-Boot] [PATCH 00/21] beagle_x15/omap5: Add dwc3 peripheral support

2015-08-06 Thread Kishon Vijay Abraham I
Patch series performs the following: *) Add dwc3 peripheral support for beagle_x15 and omap5 *) Add RNDIS boot support for AM43xx *) Cleanups and Fixes Kishon Vijay Abraham I (20): usb: dwc3: dwc3-omap: Use the clear register inorder to clear the interrupts usb: gadget: ether: Perform boar

[U-Boot] [PATCH 02/21] usb: gadget: ether: Perform board initialization from ethernet gadget driver

2015-08-06 Thread Kishon Vijay Abraham I
Ethernet gadget driver can be used both by both SPL and u-boot. Since usb_eth_init() is the entry point for ethernet gadget driver, perform board initialization there. Also perform the cleanup in usb_eth_halt. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/gadget/ether.c |4 1 fi

[U-Boot] [PATCH 01/21] usb: dwc3: dwc3-omap: Use the clear register inorder to clear the interrupts

2015-08-06 Thread Kishon Vijay Abraham I
Writing "0x00" to the USBOTGSS_IRQENABLE_SET_MISC and USBOTGSS_IRQENABLE_SET_0 doesn't disable the interrupts. Used USBOTGSS_IRQENABLE_CLR_MISC and USBOTGSS_IRQENABLE_CLR_0 instead. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/dwc3-omap.c | 46 +---

[U-Boot] [PATCH 05/21] board: ti: beagle_x15: added USB initializtion code

2015-08-06 Thread Kishon Vijay Abraham I
Implemented board_usb_init(), board_usb_cleanup() and usb_gadget_handle_interrupts() in beagle_x15 board file that can be invoked by various gadget drivers. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/include/asm/arch-omap5/omap.h |2 +- board/ti/beagle_x15/board.c| 111 +

[U-Boot] [PATCH 04/21] TI PHY: Add support to control 2nd USB PHY in DRA7xx/AM57xx

2015-08-06 Thread Kishon Vijay Abraham I
Added support to power on/power off the second USB PHY present in DRA7xx and AM57xx. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/ti_usb_phy.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/usb/dwc3/ti_usb_phy.c b/drivers/usb/dwc3/ti_

[U-Boot] [PATCH 03/21] ARM: DRA7: Enable clocks for USB OTGSS2 and USB PHY2

2015-08-06 Thread Kishon Vijay Abraham I
Enabled clocks for the second dwc3 controller and second USB PHY present in DRA7. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/cpu/armv7/omap5/hw_data.c | 16 arch/arm/cpu/armv7/omap5/prcm-regs.c|2 ++ arch/arm/include/asm/arch-omap5/clock.h |3 +++ arch

[U-Boot] [PATCH 06/21] board: ti: OMAP5: added USB initializtion code

2015-08-06 Thread Kishon Vijay Abraham I
Implemented board_usb_init(), board_usb_cleanup() and usb_gadget_handle_interrupts() in omap5 board file that can be invoked by various gadget drivers. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/include/asm/arch-omap5/omap.h |6 +++ board/ti/omap5_uevm/evm.c | 75 +

[U-Boot] [PATCH 07/21] include: configs: Enable DWC3 and DFU in ti_omap5_common

2015-08-06 Thread Kishon Vijay Abraham I
Enabled configs for dwc3, dwc3-omap and PHY for dwc3 in ti_omap5_common. Also enabled support for DFU. Since ti_omap5_common is used by dra7 too, removed these configs from dra7xx_evm config file. Signed-off-by: Kishon Vijay Abraham I --- include/configs/dra7xx_evm.h | 63 ---

[U-Boot] [PATCH 12/21] board: ti: invoke clock API to enable and disable clocks

2015-08-06 Thread Kishon Vijay Abraham I
invoke enable_usb_clocks during board_usb_init and disable_usb_clocks during board_usb_exit to enable and disable clocks respectively. Signed-off-by: Kishon Vijay Abraham I --- board/ti/am43xx/board.c |2 ++ board/ti/beagle_x15/board.c |4 board/ti/dra7xx/evm.c |2 ++

[U-Boot] [PATCH 08/21] ARM: OMAP5: Add support for disabling clocks in uboot

2015-08-06 Thread Kishon Vijay Abraham I
Add do_disable_clocks() to disable clock domains and module clocks. These clocks are enabled using do_enable_clocks(). Cc: Roger Quadros Cc: Tero Kristo Cc: Nishanth Menon Signed-off-by: Kishon Vijay Abraham I --- arch/arm/cpu/armv7/omap-common/clocks-common.c | 53

[U-Boot] [PATCH 09/21] ARM: OMAP5: Add functions to enable and disable USB clocks

2015-08-06 Thread Kishon Vijay Abraham I
Added functions to enable and disable USB clocks which can be invoked during USB init and USB exit respectively. Cc: Roger Quadros Cc: Tero Kristo Cc: Nishanth Menon Signed-off-by: Kishon Vijay Abraham I --- arch/arm/cpu/armv7/omap5/hw_data.c | 97 arch

[U-Boot] [PATCH 10/21] ARM: AM43xx: Add support for disabling clocks in uboot

2015-08-06 Thread Kishon Vijay Abraham I
Add do_disable_clocks() to disable clock domains and module clocks. These clocks are enabled using do_enable_clocks(). Cc: Roger Quadros Cc: Tero Kristo Cc: Nishanth Menon Signed-off-by: Kishon Vijay Abraham I --- arch/arm/cpu/armv7/am33xx/clock.c| 53 ++

[U-Boot] [PATCH 18/21] usb: gadget: ether: populate _reset_ callback

2015-08-06 Thread Kishon Vijay Abraham I
populate _reset_ callback to the USB ethernet gadget since UDC core expects every gadget driver to have the reset callback. This shouldn't be needed once the ethernet gadget driver is adapted to use the composite driver. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/gadget/ether.c |1

[U-Boot] [PATCH 11/21] ARM: AM43xx: Add functions to enable and disable USB clocks

2015-08-06 Thread Kishon Vijay Abraham I
Added functions to enable and disable USB clocks which can be invoked during USB init and USB exit respectively. Cc: Roger Quadros Cc: Tero Kristo Cc: Nishanth Menon Signed-off-by: Kishon Vijay Abraham I --- arch/arm/cpu/armv7/am33xx/clock_am43xx.c | 70 ++ arch

[U-Boot] [PATCH 14/21] board: ti: remove duplicate initialization of vbus_id_status

2015-08-06 Thread Kishon Vijay Abraham I
vbus_id_status is initialized in board_usb_init. So remove it while creating dwc3_device objects. Signed-off-by: Kishon Vijay Abraham I --- board/ti/am43xx/board.c |2 -- board/ti/dra7xx/evm.c |2 -- 2 files changed, 4 deletions(-) diff --git a/board/ti/am43xx/board.c b/board/ti/am43x

[U-Boot] [PATCH 16/21] include: configs: am43xx_evm: add 'usb stop' in usbboot env

2015-08-06 Thread Kishon Vijay Abraham I
The usbboot environment variable has 'usb start' command but doesn't have the corresponding 'usb stop' command. This breaks usb peripheral mode if tried after 'run usbboot' fails to load the images in usb host mode. Fix it here by adding 'usb stop' command in usbboot env. Signed-off-by: Kishon Vi

[U-Boot] [PATCH 19/21] spl: Fix USB boot device values for am43xx

2015-08-06 Thread Kishon Vijay Abraham I
commit 62c5674ea136 ("omap: SPL boot devices cleanup and completion") while doing the cleanups changed the value of BOOT_DEVICE_USB from 13 to 0x45. Fix it here. Fixes: commit <62c5674ea136a> ("omap: SPL boot devices cleanup and completion"). Signed-off-by: Kishon Vijay Abraham I --- arch/arm/i

[U-Boot] [PATCH 17/21] am43xx: Add USB device boot support to SPL

2015-08-06 Thread Kishon Vijay Abraham I
From: Tom Rini Add in code to initialize the DWC3 gadget controller so that we can do RNDIS in SPL on these platforms. Signed-off-by: Tom Rini Signed-off-by: Kishon Vijay Abraham I --- board/ti/am43xx/board.c | 39 ++--- drivers/usb/gadget/gadget_ch

[U-Boot] [PATCH 13/21] ARM: OMAP5/AM43xx: remove enabling USB clocks from enable_basic_clocks()

2015-08-06 Thread Kishon Vijay Abraham I
Now that we have separate function to enable USB clocks, remove enabling USB clocks from enable_basic_clocks(). Now board_usb_init() should take care to invoke enable_usb_clocks() for enabling USB clocks. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/cpu/armv7/am33xx/clock_am43xx.c | 12 -

[U-Boot] [PATCH 15/21] usb: host: xhci-omap: invoke board_usb_cleanup in xhci_hcd_stop

2015-08-06 Thread Kishon Vijay Abraham I
xhci omap driver has board_usb_init in xhci_hcd_init but doesn't have the corresponding cleanup function in xhci_hcd_stop. Fix it here by invoking board_usb_cleanup() in xhci_hcd_stop(). Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/host/xhci-omap.c |1 + 1 file changed, 1 insertion

[U-Boot] [PATCH 21/21] configs: am43xx: Add am43xx_evm_usbspl_defconfig

2015-08-06 Thread Kishon Vijay Abraham I
Add a new config to support usb rndis boot for am43xx. Signed-off-by: Kishon Vijay Abraham I --- board/ti/am43xx/MAINTAINERS |1 + configs/am43xx_evm_usbspl_defconfig |9 + 2 files changed, 10 insertions(+) create mode 100644 configs/am43xx_evm_usbspl_defconfig diff --g

[U-Boot] [PATCH 20/21] spl: Add USB peripheral boot device value for am43xx

2015-08-06 Thread Kishon Vijay Abraham I
Add USB peripheral boot device value for am43xx here. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/include/asm/arch-am33xx/spl.h |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-am33xx/spl.h b/arch/arm/include/asm/arch-am33xx/spl.h index f8fdace..edf589e 10

Re: [U-Boot] [PATCH] ti_armv7_common: enable setexpr

2015-08-06 Thread Vitaly Andrianov
On 08/06/2015 11:31 AM, Tom Rini wrote: On Thu, Aug 06, 2015 at 10:08:59AM -0500, Nishanth Menon wrote: On 08/06/2015 10:04 AM, Tom Rini wrote: On Thu, Aug 06, 2015 at 09:48:27AM -0500, Nishanth Menon wrote: This allows us to do basic math in hush shell. For example: U-Boot# r1=10 U-Boot# r

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Fabio Estevam
Hi Marek, On Thu, Aug 6, 2015 at 11:28 AM, Marek Vasut wrote: > You want to avoid this "CONFIG_SYS_SPL_MALLOC_*" stuff, as it increases the > SPL size by 3kiB compared to MALLOC_F . Also, MALLOC_F needs just the base > address of the malloc area to work (see my email). Thanks, I removed CONFIG_

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Stefano Babic
Hi Marek, On 06/08/2015 16:28, Marek Vasut wrote: > On Thursday, August 06, 2015 at 04:14:34 PM, Fabio Estevam wrote: >> Hi Stefano and Marek, >> >> Thanks for the suggestions. >> >> On Thu, Aug 6, 2015 at 10:38 AM, Stefano Babic wrote: >>> There is the possibility to set a malloc area inside SPL

Re: [U-Boot] [PATCH v5 5/5] usb: lpc32xx: add host USB driver

2015-08-06 Thread LEMIEUX, SYLVAIN
Hi Vladimir, See comment below. > -Original Message- > From: Vladimir Zapolskiy [mailto:v...@mleia.com] > > Hi Sylvain, > > On 05.08.2015 21:31, slemieux.t...@gmail.com wrote: > > From: Sylvain Lemieux > > > > Incorporate USB driver from legacy LPCLinux NXP BSP. > > The files taken from

[U-Boot] [PATCH 2/2] sunxi: gpio: Add support for the gpio banks which are part of the R-io cluster

2015-08-06 Thread Hans de Goede
sun6i and later have a couple of io-blocks which are shared between the main CPU core and the "R" cpu which is small embedded cpu which can be active while the main system is suspended. These gpio banks sit at a different mmio address then the normal banks, and have a separate devicetree node and

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Fabio Estevam
On Thu, Aug 6, 2015 at 2:03 PM, Stefano Babic wrote: > This is in RAM, of course. Increasing the size by 3KiB is not IMHO for > i.MX6 a problem, there is enough space in IRAM. But what is surprising > is that Fabio gets a Null pointer by malloc(). Yes, so I did a simpler patch that shows the mal

Re: [U-Boot] [PATCH v5 5/5] usb: lpc32xx: add host USB driver

2015-08-06 Thread Vladimir Zapolskiy
Hi Sylvain, On 06.08.2015 21:01, LEMIEUX, SYLVAIN wrote: > Hi Vladimir, > > See comment below. > >> -Original Message- >> From: Vladimir Zapolskiy [mailto:v...@mleia.com] >> >> Hi Sylvain, >> >> On 05.08.2015 21:31, slemieux.t...@gmail.com wrote: >>> From: Sylvain Lemieux >>> >>> Incorp

Re: [U-Boot] Wrong release date for v2015.10 on the denx.de

2015-08-06 Thread Anatolij Gustschin
Hi Bin, On Thu, 6 Aug 2015 10:56:11 +0800 Bin Meng wrote: > Hi Wolfgang, > > By checking http://www.denx.de/wiki/U-Boot/ReleaseCycle, it says: > > "Release "v2015.10" is scheduled in 66 days — on Aug 12, 2015." > > This Aug 12 date is wrong. Could you please fix it? Thanks for mentioning thi

Re: [U-Boot] [PATCH V4 1/2] ARM: tegra: Add e2220-1170 board

2015-08-06 Thread Stephen Warren
On 08/05/2015 03:22 PM, Tom Warren wrote: Both of these applied to u-boot-tegra/next. PTAL. I'll issue a PR for this (and the other 11 outstanding Tegra patches from you, me and Alex) when I get a green light. Echoing what I said on chat for the purposes of the mailing list archive: The com

Re: [U-Boot] [PATCH v5 1/5] dma: lpc32xx: add DMA driver

2015-08-06 Thread Vladimir Zapolskiy
Hi Sylvain, On 06.08.2015 16:50, LEMIEUX, SYLVAIN wrote: > Hi Vladimir, > > Thanks for the feedback; > > Marek, Vladimir, > > there is a question below; I will wait for feedback before sending an updated > version of the patch. > > > Sylvain > >> -Original Message- >> From: Vladimir

Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-08-06 Thread Stephen Warren
On 08/06/2015 01:09 AM, Michal Suchanek wrote: Hello, On 6 August 2015 at 01:45, Simon Glass wrote: Hi Stephen, On 5 August 2015 at 12:22, Stephen Warren wrote: On 08/04/2015 10:08 PM, Simon Glass wrote: Hi Stephen, On 3 August 2015 at 12:20, Stephen Warren wrote: On 08/03/2015 09:52

Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-08-06 Thread Stephen Warren
On 08/05/2015 05:45 PM, Simon Glass wrote: Hi Stephen, On 5 August 2015 at 12:22, Stephen Warren wrote: On 08/04/2015 10:08 PM, Simon Glass wrote: Hi Stephen, On 3 August 2015 at 12:20, Stephen Warren wrote: On 08/03/2015 09:52 AM, Simon Glass wrote: Hi Stephen, On 3 August 2015 at 0

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Fabio Estevam
On Thu, Aug 6, 2015 at 3:24 PM, Fabio Estevam wrote: > On Thu, Aug 6, 2015 at 2:03 PM, Stefano Babic wrote: > >> This is in RAM, of course. Increasing the size by 3KiB is not IMHO for >> i.MX6 a problem, there is enough space in IRAM. But what is surprising >> is that Fabio gets a Null pointer by

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Simon Glass
Hi, On 6 August 2015 at 12:24, Fabio Estevam wrote: > On Thu, Aug 6, 2015 at 2:03 PM, Stefano Babic wrote: > >> This is in RAM, of course. Increasing the size by 3KiB is not IMHO for >> i.MX6 a problem, there is enough space in IRAM. But what is surprising >> is that Fabio gets a Null pointer by

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

2015-08-06 Thread Andrew Bradford
From: Andrew Bradford Allow for configuration of FSP UPD from the device tree which will override any settings which the FSP was built with itself. Modify the MinnowMax and BayleyBay boards to transfer sensible UPD settings from the Intel FSPv4 Gold release to the respective dts files, with the

[U-Boot] Pull request, u-boot-tegra/master

2015-08-06 Thread Tom Warren
Tom, Please pull u-boot-tegra/master into U-Boot/master. Thanks! ./MAKEALL -s tegra is OK (all 32-bit builds), and ./MAKEALL -a aarch64 is OK (includes p2571, P2371 and E220). The following changes since commit a5325cd5e91f77a2214e80198ae31c1d8b7e7c3c: configs: Remove CONFIG_SERIAL_MULTI (201

[U-Boot] [PATCH 1/3][v3] imx: usb: ehci-mx6: reg accessor cleanups

2015-08-06 Thread Adrian Alonso
Cleanup read/write register access, use clr/set bits_le32 Signed-off-by: Adrian Alonso --- Changes for V2: Split from patch imx: usb: ehci-mx6: add usb support for imx7d soc Changes for V3: Resend drivers/usb/host/ehci-mx6.c | 51 - 1 file changed, 1

[U-Boot] [PATCH 2/3][v3] imx: usb: ehci-mx6: document board specific functions

2015-08-06 Thread Adrian Alonso
Document target board specific functions board_ehci_hcd_init - override usb phy mode board_ehci_hcd_init - set usb vbus voltage board_ehci_power - enables/disables usb vbus voltage Signed-off-by: Adrian Alonso --- Changes for V2: Split from patch imx: usb: ehci-mx6: add usb support for imx7d so

[U-Boot] [PATCH 3/3][v3] imx: usb: ehci-mx6: add usb support for imx7d soc

2015-08-06 Thread Adrian Alonso
Extend ehci-mx6 usb driver to support imx7d usb Signed-off-by: Adrian Alonso --- Changes for V2: Add usb_power_config and usb_phy_mode for usb otg id detection for imx7d Changes for V3: Fix identation for usbnc_regs struct drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-mx6.c | 100

[U-Boot] [PATCH] imx: usb: ehci-mx6: wait_for_bit to check reg status

2015-08-06 Thread Adrian Alonso
Add wait_for_bit to check reg bit status and replace unbounded loops to check usb command status Signed-off-by: Adrian Alonso --- Patch depends on the following patch set: imx: usb: ehci-mx6: add usb support for imx7d soc imx: usb: ehci-mx6: document board specific functions imx: usb: ehci-mx6: r

Re: [U-Boot] [PATCH v5 1/5] dma: lpc32xx: add DMA driver

2015-08-06 Thread LEMIEUX, SYLVAIN
> -Original Message- > From: Vladimir Zapolskiy [mailto:v...@mleia.com] > Sent: 6-Aug-15 2:43 PM > > Hi Sylvain, > > On 06.08.2015 16:50, LEMIEUX, SYLVAIN wrote: > > Hi Vladimir, > > > > Thanks for the feedback; > > > > Marek, Vladimir, > > > > there is a question below; I will wait for fe

[U-Boot] [PATCH 1/2] sunxi: Fix gmac not working on the Colombus board

2015-08-06 Thread Hans de Goede
The phy is using a RGMII interface, which we need to specify in our board-config, and the dts needs a gmac section (the dts changes have also been submitted to the kernel). Signed-off-by: Hans de Goede --- arch/arm/dts/sun6i-a31-colombus.dts | 12 configs/Colombus_defconfig

[U-Boot] [PATCH] fdt: add new fdt address parsing functions

2015-08-06 Thread Stephen Warren
From: Stephen Warren fdtdec_get_addr_size() hard-codes the number of cells used to represent an address or size in DT. This is incorrect in many cases depending on the DT binding for a particular node or property (e.g. it is incorrect for the "reg" property). In most cases, DT parsing code must u

Re: [U-Boot] [PATCH] fdt: add new fdt address parsing functions

2015-08-06 Thread Stephen Warren
On 08/06/2015 03:31 PM, Stephen Warren wrote: fdtdec_get_addr_size() hard-codes the number of cells used to represent an address or size in DT. This is incorrect in many cases depending on the DT binding for a particular node or property (e.g. it is incorrect for the "reg" property). In most case

Re: [U-Boot] [PATCH v3 25/25] rockchip: Add a simple README

2015-08-06 Thread Christoph Fritz
Hi Simon On Tue, 2015-06-23 at 17:29 -0600, Simon Glass wrote: > +Future work > +=== > + > +Immediate priorities are: > + > +- MMC support (in U-Boot itself) > +- GPIO (driver exists but is lightly tested) > +- I2C (driver exists but is non-functional) > +- USB host > +- USB device > +- PM

Re: [U-Boot] [PATCH v3 0/4] sunxi: nand: Basic NAND driver for SPL

2015-08-06 Thread Piotr Zierhoffer
Hello 2015-08-02 14:56 GMT+02:00 Hans de Goede : > Hi, > > On 01-08-15 21:22, Scott Wood wrote: >> >> On Sat, 2015-08-01 at 14:30 +0200, Boris Brezillon wrote: >>> >>> Hi Hans, >>> >>> On Sat, 1 Aug 2015 14:15:53 +0200 >>> Hans de Goede wrote: >>> Hi, On 23-07-15 14:33, Piotr Zierh

Re: [U-Boot] [PATCH] dm: serial: Add a REQUIRE_SERIAL_CONSOLE option for boards with no serial port

2015-08-06 Thread Hans de Goede
Hi, On 06-08-15 18:10, Simon Glass wrote: hi Hans, On 1 August 2015 at 10:05, Simon Glass wrote: Hi Hans, On 25 July 2015 at 03:58, Hans de Goede wrote: Currently the serial code assumes that there is always at least one serial port (and panics / crashes due to null pointer dereferences wh

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Fabio Estevam
Hi Simon, On Thu, Aug 6, 2015 at 4:31 PM, Simon Glass wrote: > Please check the README about the SPL flow. From what I can see > malloc() is not available before board_init_r() in SPL. > > However, if you add a call to spl_init() from your board_init_f(), > then early malloc would be available.

Re: [U-Boot] [PATCH 1/3][v3] imx: usb: ehci-mx6: reg accessor cleanups

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 10:43:15 PM, Adrian Alonso wrote: > Cleanup read/write register access, use clr/set bits_le32 > > Signed-off-by: Adrian Alonso Applied all to u-boot-usb/master, thanks! Best regards, Marek Vasut ___ U-Boot mailing list

Re: [U-Boot] [PATCH 01/21] usb: dwc3: dwc3-omap: Use the clear register inorder to clear the interrupts

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 06:15:51 PM, Kishon Vijay Abraham I wrote: > Writing "0x00" to the USBOTGSS_IRQENABLE_SET_MISC and > USBOTGSS_IRQENABLE_SET_0 doesn't disable the interrupts. Used > USBOTGSS_IRQENABLE_CLR_MISC and USBOTGSS_IRQENABLE_CLR_0 instead. > > Signed-off-by: Kishon Vijay Abr

  1   2   >