Re: [U-Boot] [U-Boot, v2, 06/24] board/BuR/tseries: Enable HW-Watchdog

2015-03-09 Thread Tom Rini
On Tue, Feb 03, 2015 at 01:22:28PM +0100, Hannes Petermaier wrote: > Signed-off-by: Hannes Petermaier Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.de

[U-Boot] [PATCH 06/14] sandbox: Move CONFIG_SPI_FLASH_SANDBOX to Kconfig

2015-03-09 Thread Simon Glass
Move this over to Kconfig and tidy up. Signed-off-by: Simon Glass --- configs/sandbox_defconfig | 1 + drivers/mtd/spi/Kconfig | 10 ++ drivers/spi/Kconfig | 2 +- include/configs/sandbox.h | 1 - 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/configs/sandbox

Re: [U-Boot] spl: fix calling "spl export .." more than once

2015-03-09 Thread Tom Rini
On Tue, Feb 24, 2015 at 07:04:38AM +0100, Heiko Schocher wrote: > running "spl export ..." more than once fails with: > > Trying to execute a command out of order > Trying to execute a command out of order > Trying to execute a command out of order > Trying to execute a command out of order > Try

Re: [U-Boot] [U-Boot, v2, 09/24] board/BuR/tseries: Change pinmux for GPIO2_28 from GPIO to PWM-Timeroutput

2015-03-09 Thread Tom Rini
On Tue, Feb 03, 2015 at 01:22:31PM +0100, Hannes Petermaier wrote: > >From now we use this pin for the Brightness regulation from LED-Backlight. > > Signed-off-by: Hannes Petermaier Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

[U-Boot] [PATCH 02/14] sandbox: Move CONFIG_SYS_VSNPRINTF to Kconfig

2015-03-09 Thread Simon Glass
Move this over to Kconfig and tidy up. Signed-off-by: Simon Glass --- arch/x86/Kconfig | 3 +++ configs/sandbox_defconfig| 1 + include/configs/sandbox.h| 2 -- include/configs/x86-common.h | 1 - lib/Kconfig | 9 + 5 files changed, 13 insertions(+),

[U-Boot] [PATCH 08/14] sandbox: exynos: Move CONFIG_SOUND to Kconfig

2015-03-09 Thread Simon Glass
Move this over to Kconfig and tidy up. Signed-off-by: Simon Glass --- configs/arndale_defconfig | 1 + configs/sandbox_defconfig | 1 + configs/smdk5250_defconfig | 1 + configs/snow_defconfig | 1 + drivers/sound/Kconfig | 11

[U-Boot] [PATCH 12/14] sandbox: exynos: Move CONFIG_SOUND_MAX98095 to Kconfig

2015-03-09 Thread Simon Glass
Move this over to Kconfig and tidy up. Signed-off-by: Simon Glass --- configs/arndale_defconfig | 1 + configs/smdk5250_defconfig | 1 + drivers/sound/Kconfig | 8 include/configs/exynos5250-common.h | 1 - 4 files changed, 10 insertions(+), 1 deletion(

Re: [U-Boot] omap: gpmc: 'nandecc sw' can use HAM1 or BCH8

2015-03-09 Thread Tom Rini
On Wed, Feb 18, 2015 at 11:25:11AM -0800, Ash Charles wrote: > The 'nandecc sw' command selects a software-based error correction > algorithm. By default, this is OMAP_ECC_HAM1_CODE_SW but some > platforms use OMAP_ECC_BCH8_CODE_HW_DETECTION_SW as their > software-based correction algorithm. All

Re: [U-Boot] [PATCH] README: remove description about driver model configuration options

2015-03-09 Thread Simon Glass
On 25 February 2015 at 18:04, Simon Glass wrote: > On 25 February 2015 at 00:54, Masahiro Yamada > wrote: >> All the DM-related configuration options are described in Kconfig >> helps. They should not be duplicated in README. >> >> Signed-off-by: Masahiro Yamada >> --- >> >> README | 113 >>

Re: [U-Boot] [PULL] u-boot-socfpga/master

2015-03-09 Thread Tom Rini
On Thu, Mar 05, 2015 at 09:06:59PM +0100, Marek Vasut wrote: > Fixed PR follows. > > The following changes since commit 8176a874233eb5180701e2811b38c199369975b2: > > Prepare v2015.04-rc3 (2015-03-03 18:08:39 -0500) > > are available in the git repository at: > > git://git.denx.de/u-boot-so

Re: [U-Boot] [U-Boot, v2, 21/24] board/BuR/kwb: Support modify bootcmd through reset-controller

2015-03-09 Thread Tom Rini
On Tue, Feb 03, 2015 at 01:22:43PM +0100, Hannes Petermaier wrote: > 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" > *

Re: [U-Boot] [U-Boot, v2, 08/24] board/BuR/tseries: Enable EXT4 support

2015-03-09 Thread Tom Rini
On Tue, Feb 03, 2015 at 01:22:30PM +0100, Hannes Petermaier wrote: > Signed-off-by: Hannes Petermaier Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.de

Re: [U-Boot] common/board_f: implement type casting for gd structure

2015-03-09 Thread Tom Rini
On Wed, Feb 25, 2015 at 05:59:02PM +0300, Alexey Brodkin wrote: > In case of global data structure defined as "register volatile" compiler > throws an warning about incorrect type used: > --->8--- > common/board_f.c: In function "board_init_f_r": > common/board_f.c:1073:2: warning: passing argu

Re: [U-Boot] Adding Support for BAV335x boards

2015-03-09 Thread Tom Rini
On Tue, Feb 10, 2015 at 01:36:01AM -0800, Gilles Gameiro wrote: Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] fixdep: remove multiple .config support code

2015-03-09 Thread Tom Rini
On Sat, Feb 28, 2015 at 12:37:57AM +0900, Masahiro Yamada wrote: > Since commit e02ee2548afe (kconfig: switch to single .config > configuration), the ".*.cmd" files are not correctly created > for SPL/TPL. The U-Boot extension code in fixdep, which was > introduced to support the multiple .config

Re: [U-Boot] [U-Boot, v2, 04/24] board/BuR/common: Take usage of am335x LCD-Display

2015-03-09 Thread Tom Rini
On Tue, Feb 03, 2015 at 01:22:26PM +0100, Hannes Petermaier wrote: > >From now we use the am335x lcd driver and setup a display with displaying > a summary screen to the lcd. > Values are taken from environment and or devicetree blob. > > Signed-off-by: Hannes Petermaier Applied to u-boot/maste

[U-Boot] [PATCH 01/14] sandbox: Move GPIO CONFIGs to Kconfig

2015-03-09 Thread Simon Glass
Move these over to Kconfig and tidy up/ Signed-off-by: Simon Glass --- configs/sandbox_defconfig | 1 + drivers/gpio/Kconfig | 21 + include/configs/sandbox.h | 2 -- 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/configs/sandbox_defconfig b/configs/s

[U-Boot] [PATCH 13/14] sandbox: exynos: Move CONFIG_SOUND_WM8994 to Kconfig

2015-03-09 Thread Simon Glass
Move this over to Kconfig and tidy up. Signed-off-by: Simon Glass --- configs/snow_defconfig | 1 + drivers/sound/Kconfig | 8 include/configs/exynos5250-common.h | 5 - 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/configs/snow_defconfig

Re: [U-Boot] Please pull u-boot-mpc85xx master

2015-03-09 Thread Tom Rini
On Thu, Mar 05, 2015 at 12:20:37PM -0800, York Sun wrote: > Tom, > > The following changes since commit 8176a874233eb5180701e2811b38c199369975b2: > > Prepare v2015.04-rc3 (2015-03-03 18:08:39 -0500) > > are available in the git repository at: > > git://git.denx.de/u-boot-mpc85xx.git master

Re: [U-Boot] [U-Boot, v2, 14/24] board/BuR/common: Add support for displaying BMP on LCD

2015-03-09 Thread Tom Rini
On Tue, Feb 03, 2015 at 01:22:36PM +0100, Hannes Petermaier wrote: > 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 Applied to u-boot/master, thanks! -- Tom signature.a

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

2015-03-09 Thread Tom Rini
On Fri, Jan 30, 2015 at 10:58:44AM +0100, Michal Simek wrote: > Signed-off-by: Michal Simek > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.

[U-Boot] [PATCH 4/5] usb: dwc2: remove control_data_toggle[]

2015-03-09 Thread Stephen Warren
The control data toggle resets to DATA1 at the start of the data phase of every setup transaction. We don't need a global variable to store the value; we can just store it on the stack. Signed-off-by: Stephen Warren --- drivers/usb/host/dwc2.c | 12 1 file changed, 4 insertions(+),

[U-Boot] [PATCH 05/14] sandbox: Move CONFIG_SANDBOX_SPI to Kconfig

2015-03-09 Thread Simon Glass
Move this over to Kconfig and tidy up. Signed-off-by: Simon Glass --- configs/sandbox_defconfig | 1 + drivers/spi/Kconfig | 25 + include/configs/sandbox.h | 1 - 3 files changed, 26 insertions(+), 1 deletion(-) diff --git a/configs/sandbox_defconfig b/configs/

Re: [U-Boot] [U-Boot, v2, 10/24] board/BuR/tseries: Chg pinmux - use free NAND Pins in non NAND-config as GPIO

2015-03-09 Thread Tom Rini
On Tue, Feb 03, 2015 at 01:22:32PM +0100, Hannes Petermaier wrote: > On boards were we have no NAND-flash soldered, we want to use those free pins > as regular gpio. > > Signed-off-by: Hannes Petermaier Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, v2] mtd: nand: omap_gpmc: Make ready/busy pins configurable

2015-03-09 Thread Tom Rini
On Tue, Feb 17, 2015 at 05:08:37PM +0100, Michal Sojka wrote: > From: Michal Sojka > > Commit fb384c4720ca7496775d6578f184bf628db73456 introduced the use of > WAIT0 pin for determining whether the NAND is ready or not. This only > works if all NAND chips are connected to WAIT0. If some chips are

Re: [U-Boot] fs: ext4 write: return file len on success

2015-03-09 Thread Tom Rini
On Tue, Feb 17, 2015 at 03:31:52PM +0100, Przemyslaw Marczak wrote: > After rework of the file system API, the size of ext4 > write was missed. This causes printing unreliable write > size at the end of the file system write operation. > > Signed-off-by: Przemyslaw Marczak > Cc: Sjoerd Simons >

Re: [U-Boot] [PATCH 3/3] m68k: add generic-board support

2015-03-09 Thread Jan Kiszka
On 2015-02-12 01:40, Angelo Dureghello wrote: > Add generic-board support for the m68k architecture. > > Signed-off-by: Angelo Dureghello > --- > arch/m68k/config.mk| 3 +++ > arch/m68k/include/asm/config.h | 3 +++ > arch/m68k/include/asm/u-boot.h | 8 > arch/m68k/lib/Ma

Re: [U-Boot] Please pull u-boot-marvell master

2015-03-09 Thread Tom Rini
On Thu, Mar 05, 2015 at 09:14:04PM +, Luka Perkov wrote: > Hi Tom, > > this series contains small kirkwood/marvell fixes. Please pull when you > find the time. > > The following changes since commit 694cc87b76b1063a2a7a8bd1809e990df0a469f8: > > arm, da8xx: convert ipam390 board to generic

Re: [U-Boot] gpt: support random UUIDs without setting environment variables

2015-03-09 Thread Tom Rini
On Mon, Jan 26, 2015 at 09:44:18AM -0600, Rob Herring wrote: > Currently, an environment variable must be used to store the randomly > generated UUID for each partition. This is not necessary, so make storing > the UUID optional. Now passing uuid_disk and uuid are optional when random > UUIDs are

Re: [U-Boot] use ASM_NL instead of '; ' for assembler new line character in the macro

2015-03-09 Thread Tom Rini
On Thu, Feb 19, 2015 at 06:51:27PM +0300, Alexey Brodkin wrote: > From: Chen Gang > > For some assemblers, they use another character as newline in a macro > (e.g. arc uses '`'), so for generic assembly code, need use ASM_NL (a > macro) instead of ';' for it. > > Basically this is the same patc

Re: [U-Boot] [U-Boot, v2, 20/24] board/BuR/kwb: Form a bootline for vxWorks

2015-03-09 Thread Tom Rini
On Tue, Feb 03, 2015 at 01:22:42PM +0100, Hannes Petermaier wrote: > 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 Applied to u-

Re: [U-Boot] [PATCH v2] mmc: fsl_esdhc: Add support for DDR mode

2015-03-09 Thread Volodymyr Riazantsev
Stefan, York, I working on it, Before submit I tested this patch with our custom boards those have versions with i.MX6S and i.MX6Q CPUs installed. I did not observe regressions on them (over 30 samples). I suppose this is not a Freescale issue but I can't figure ou

Re: [U-Boot] [U-Boot,1/3] m68k: add amcore board support

2015-03-09 Thread Tom Rini
On Thu, Feb 12, 2015 at 01:39:40AM +0100, ang...@sysam.it wrote: > Add Sysam Amcore m68k-based board support. > > Signed-off-by: Angelo Dureghello Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mai

[U-Boot] Removing "+S:" magic from defconfig files ?

2015-03-09 Thread Hans de Goede
Hi All, I was wondering, now that we've a single .config for both the SPL and non SPL builds, can we drop the "+S:" magic from defconfig files ? Regards, Hans ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/4] sunxi: video: Fix VIDEO_LCD_PANEL_I2C being enabled by default

2015-03-09 Thread Hans de Goede
Fix a type in board/sunxi/Kconfig which caused VIDEO_LCD_PANEL_I2C to be enabled on all sunxi boards. Also fix a compile error which shows up once VIDEO_LCD_PANEL_I2C is actually disabled on most boards as it should be. Signed-off-by: Hans de Goede --- board/sunxi/Kconfig| 2 +- incl

[U-Boot] [PATCH 4/4] sun7i: Add support for the Orange Pi Mini board

2015-03-09 Thread Hans de Goede
The Orange Pi Mini is an A20 based development board featuring 1G RAM, HDMI, 1Gbit ethernet, USB wifi, SATA, 2 sdcard slots (use the top one for booting), 2 USB 2.0 A receptacles, a micro USB B receptacle (otg) and a 3 ring 3.5 mm jack connector for A/V. Also see: http://www.orangepi.org/ Signed-

[U-Boot] [PATCH 3/4] sun7i: Add support for the Orange Pi board

2015-03-09 Thread Hans de Goede
The Orange Pi is an A20 based development board featuring 1G RAM, HDMI & VGA, 1Gbit ethernet, USB wifi, SATA, 4 USB 2.0 A receptacles, a micro USB B receptacle (otg) and a 3 ring 3.5 mm jack connector for A/V. Also see: http://www.orangepi.org/ Signed-off-by: Hans de Goede --- configs/Orangepi_

[U-Boot] [PATCH 5/5] usb: dwc2: simplify wait_for_chhltd

2015-03-09 Thread Stephen Warren
toggle is never NULL. Simplify the code by removing handling of when it is NULL. Signed-off-by: Stephen Warren --- drivers/usb/host/dwc2.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c index e8a7e713c87f..5a1c44a8fb75

Re: [U-Boot] [linux-sunxi] [UBOOT] Both Linux-Sunxi and Mainline Uboot have issues

2015-03-09 Thread Siarhei Siamashka
Hi Tsvetan, On Thu, 19 Feb 2015 14:38:58 +0200 Siarhei Siamashka wrote: > On Wed, 18 Feb 2015 22:29:07 -0800 (PST) > TsvetanUsunov wrote: > > > Hi > > > > For A13-OLinuxino till now we conservatively used the Linux-Sunxi uboot, > > but we recently got new lot of Samsung memories and we decid

[U-Boot] [PATCH 1/5] usb: dwc2: unify waiting for transfer completion

2015-03-09 Thread Stephen Warren
Lift common code out of submit_bulk_msg() and submit_control_msg(). Signed-off-by: Stephen Warren --- drivers/usb/host/dwc2.c | 167 +--- 1 file changed, 60 insertions(+), 107 deletions(-) diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c

[U-Boot] [PATCH 3/5] usb: dwc2: usb chunk_msg() for control transfers too

2015-03-09 Thread Stephen Warren
This removes duplicated code. Signed-off-by: Stephen Warren --- drivers/usb/host/dwc2.c | 114 1 file changed, 19 insertions(+), 95 deletions(-) diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c index fbe99304aafc..189f6548f25f 10064

[U-Boot] [PATCH 2/5] usb: dwc2: refactor submit_bulk_msg to be common

2015-03-09 Thread Stephen Warren
Move the body of submit_bulk_msg() into new function chunk_msg(). This can be shared with submit_control_msg() to reduce code duplication, and allow control messages larger than maxpacket. Signed-off-by: Stephen Warren --- drivers/usb/host/dwc2.c | 55 +++-

Re: [U-Boot] [PATCH] usb: dwc2: fix aligned buffer usage

2015-03-09 Thread Stephen Warren
On 03/07/2015 11:09 PM, Stephen Warren wrote: > The original aligned_buffer usage: > a) Uselessly copied data into the aligned buffer even for IN >transactions. > b) Needlessly split the memcpy() into separate calls per chunk, rather >than doing it all at once, as it did for the post-transf

Re: [U-Boot] Basic A33 support including dram init available in my personal repo

2015-03-09 Thread Hans de Goede
Hi, On 02-03-15 11:25, Hans de Goede wrote: Hi, On 01-03-15 19:42, Vishnu Patekar wrote: Allwinner A33 tablets comes with the libdram binary, fortunately I've found the libdram code at https://github.com/realthunder/a33_bootloader/tree/master/basic_loader/bsp/bsp_for_a67. Ah, that is both go

Re: [U-Boot] [PATCH 2/4] sun7i: Add support for the Wits Pro A20 DKT board

2015-03-09 Thread Ian Campbell
On Sat, 2015-03-07 at 20:00 +0100, Hans de Goede wrote: > Hi, > > On 07-03-15 15:05, Hans de Goede wrote: > > The Wits Pro A20 DKT is an A20 Development KiT with 1G RAM, 4G NAND, sdio > > wifi, > > 1Gbit ethernet, 1024x768 lcd screen with ft5x_ts touchscreen and a ton of > > IO connectors. > > >

Re: [U-Boot] [linux-sunxi] Re: Basic A33 support including dram init available in my personal repo

2015-03-09 Thread Siarhei Siamashka
On Sat, 07 Mar 2015 20:06:27 +0100 Hans de Goede wrote: > Hi, > > On 02-03-15 11:25, Hans de Goede wrote: > > Hi, > > > > On 01-03-15 19:42, Vishnu Patekar wrote: > >> Allwinner A33 tablets comes with the libdram binary, fortunately I've > >> found the libdram code at > >> https://github.com/rea

[U-Boot] [PATCH V2 1/2] usb: dwc2: fix aligned buffer usage

2015-03-09 Thread Stephen Warren
The original aligned_buffer usage: a) Uselessly copied data into the aligned buffer even for IN transactions. Fix this my making the copy conditional. b) Always programmed the HW to transfer to/from the start of the aligned buffer. This worked fine for OUT transactions since the memcpy copied

Re: [U-Boot] [PATCH] sunxi: Add support for the Forfun Q88DB tablet

2015-03-09 Thread Ian Campbell
On Tue, 2015-03-03 at 22:45 +0100, Jens Lucius wrote: > The Forfun Q88DB is an A13 tablet in the common Q8 format. > > Features are 512MB RAM, 4GB NAND, 7" Display, RTL8188 Wifi, 2 cameras. > > For more details see: http://linux-sunxi.org/Forfun_Q88DB > > Signed-off-by: Jens Lucius Applied to

Re: [U-Boot] [PATCH 1/4] sunxi: video: Fix VIDEO_LCD_PANEL_I2C being enabled by default

2015-03-09 Thread Ian Campbell
On Sat, 2015-03-07 at 15:04 +0100, Hans de Goede wrote: > Fix a type in board/sunxi/Kconfig which caused VIDEO_LCD_PANEL_I2C to be "typo" > +#define CONFIG_VIDEO_LCD_I2C_BUS 1 /* NA, but necessary to compile */ Hrm, should the usage sites not be either ifdef'd or excluded at the Makefile lev

Re: [U-Boot] [PATCH v4 00/14] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-03-09 Thread Ian Campbell
On Fri, 2015-02-27 at 14:27 +0100, Jan Kiszka wrote: > CC: Ian Campbell I've been running with these on my Jetson (and booting Xen on top) just fine. So, FWIW: Tested-by: Ian Campbell Cheers, Ian. ___ U-Boot mailing list U-Boot@lists.denx.de http:/

[U-Boot] [PATCH V2 2/2] usb: dwc2: remove restriction on buffer length

2015-03-09 Thread Stephen Warren
Each USB transfer is split up into chunks that are held in an aligned buffer. This imposes a limit on the size of each chunk, but no limit on the total size of transferred data. Fix the logic in chunk_msg() not to reject large transfers, but simply take the size of the aligned buffer into account w

Re: [U-Boot] [PATCH 3/4] arm: exynos5420: Adding support for board_usb_{init|cleanup}() functions

2015-03-09 Thread Minkyu Kang
Hi, On Wednesday, March 4, 2015, Lukasz Majewski wrote: > From: Joonyoung Shim > > > Low level code to support proper usb operation has been added to smdk5420.c > board file. > > Signed-off-by: Joonyoung Shim > > Signed-off-by: Lukasz Majewski > > --- > board/samsung/smdk5420/smdk5420.c | 41 >

Re: [U-Boot] [PATCH 0/4] samsung: dwc3: usb: Samsung specific code to handle dwc3

2015-03-09 Thread Minkyu Kang
Hi On Wednesday, March 4, 2015, Lukasz Majewski wrote: > Hi Minkyu, > > > Those patches depend on following commits: > > > > For the whole patch set please refer to -dfu u-boot repo, branch > > (devel/dwc3_gadget): > > > http://git.denx.de/?p=u-boot/u-boot-dfu.git;a=shortlog;h=refs/heads/devel/d

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

2015-03-09 Thread Vivek Gautam
Hi, On Mon, Mar 9, 2015 at 11:50 AM, Vivek Gautam wrote: Sorry i was in the middle of adding comment and the message just got sent. I will add other comments here. > Hi Simon, > > > On Sat, Jan 31, 2015 at 12:34 AM, Simon Glass wrote: >> Add a uclass that can represent a USB controller. For n

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

2015-03-09 Thread Vivek Gautam
Hi Simon, On Sat, Jan 31, 2015 at 12:34 AM, Simon Glass wrote: > 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 > --- Please find my comments inline below. > > drivers/usb/host/Makefil

Re: [U-Boot] [PATCH v4 00/14] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-03-09 Thread Jan Kiszka
On 2015-03-08 21:08, Ian Campbell wrote: > On Fri, 2015-02-27 at 14:27 +0100, Jan Kiszka wrote: > >> CC: Ian Campbell > > I've been running with these on my Jetson (and booting Xen on top) just > fine. So, FWIW: > > Tested-by: Ian Campbell Great, thanks! I'll roll out v5 soon to address the p

[U-Boot] [PATCH v2] dm: spi: Convert Freescale DSPI driver to driver model

2015-03-09 Thread Haikun Wang
Move the Freescale DSPI driver over to driver model. Signed-off-by: Haikun Wang --- Changes in v2: - Coding style cleanup - Add some comments - Use structures for I/O access - Handle timeout case in 'dspi_tx' and 'dspi_rx' - Move some register configuratio

[U-Boot] [PATCH] common/board_r: Restore non-cached memory setup

2015-03-09 Thread Jan Kiszka
This fixes a regression of e310b93ec1, affecting Ethernet on the Jetson TK1, e.g. Signed-off-by: Jan Kiszka --- common/board_r.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/common/board_r.c b/common/board_r.c index 38be09b..0335f6b 100644 --- a/common/board_r.c +++ b/common/

[U-Boot] [PATCH v5 01/14] sun7i: Remove duplicate call to psci_arch_init

2015-03-09 Thread Jan Kiszka
This is already invoked a few cycles later in monitor mode by _secure_monitor. Drop it here, it serves no purpose. CC: Marc Zyngier Signed-off-by: Jan Kiszka --- arch/arm/cpu/armv7/sunxi/psci.S | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/cpu/armv7/sunxi/psci.S b/arch/arm/cpu/arm

[U-Boot] [PATCH v5 05/14] ARM: Factor out reusable psci_get_cpu_stack_top

2015-03-09 Thread Jan Kiszka
This algorithm will be useful on Tegra as well, plus we will need it for making _psci_target_pc per-CPU. CC: Marc Zyngier Signed-off-by: Jan Kiszka --- arch/arm/cpu/armv7/psci.S | 14 ++ arch/arm/cpu/armv7/sunxi/psci.S | 15 +-- 2 files changed, 19 insertions(+), 1

[U-Boot] [PATCH v5 02/14] ARM: Factor out common psci_get_cpu_id

2015-03-09 Thread Jan Kiszka
Will be required for obtaining the ID of the current CPU in shared PSCI functions. The default implementation requires a dense ID space and only supports a single cluster. Therefore, the functions can be overloaded in cases where these assumptions do not hold. CC: Marc Zyngier Signed-off-by: Jan

[U-Boot] [PATCH v5 10/14] tegra: Add ap_pm_init hook

2015-03-09 Thread Jan Kiszka
This function will be used to initialize CPU power management for Tegra SOCs. For now it does nothing. Signed-off-by: Jan Kiszka --- arch/arm/include/asm/arch-tegra/ap.h | 5 + board/nvidia/common/board.c | 4 2 files changed, 9 insertions(+) diff --git a/arch/arm/include/asm/

[U-Boot] [PATCH v5 08/14] virt-dt: Allow reservation of secure region when in a RAM carveout

2015-03-09 Thread Jan Kiszka
In this case the secure code lives in RAM, and hence the memory node in the device tree needs to be adjusted. This avoids that the OS will map and possibly access the reservation. Add support for setting CONFIG_ARMV7_SECURE_RESERVE_SIZE to carve out such a region. We only support cutting off memor

[U-Boot] [PATCH v5 07/14] tegra124: Add more registers to struct mc_ctlr

2015-03-09 Thread Jan Kiszka
From: Ian Campbell I will need mc_security_cfg0/1 in a future patch and I added the rest while debugging, so thought I might as well commit them. Signed-off-by: Ian Campbell Signed-off-by: Jan Kiszka --- arch/arm/include/asm/arch-tegra124/mc.h | 35 +++-- 1 file ch

[U-Boot] [PATCH v5 00/14] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-03-09 Thread Jan Kiszka
Changes in v4: - rebased over master - implemented psci_get_cpu_id as weak function - implemented psci_disable/enable_smp as weak functions - adjusted register interface of psci_get_cpu_stack_top This version (+ the non-cached memory init fix) can also be found at https://github.com/siemens/u-

[U-Boot] [PATCH v5 12/14] jetson-tk1: Add PSCI configuration options and reserve secure code

2015-03-09 Thread Jan Kiszka
From: Ian Campbell The secure world code is relocated to the MB just below the top of 4G, we reserve it in the FDT (by setting CONFIG_ARMV7_SECURE_RESERVE_SIZE) but it is not protected in h/w. See next patch. Signed-off-by: Ian Campbell Signed-off-by: Jan Kiszka --- arch/arm/mach-tegra/tegra1

[U-Boot] [PATCH v5 09/14] tegra: Make tegra_powergate_power_on public

2015-03-09 Thread Jan Kiszka
Will be used for unpowergating CPUs. Signed-off-by: Jan Kiszka --- arch/arm/include/asm/arch-tegra/powergate.h | 1 + arch/arm/mach-tegra/powergate.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-tegra/powergate.h b/arch/arm/include/

[U-Boot] [PATCH v5 04/14] ARM: Factor out reusable psci_cpu_entry

2015-03-09 Thread Jan Kiszka
_sunxi_cpu_entry can be converted completely into a reusable psci_cpu_entry. Tegra124 will use it as well. As with psci_disable_smp, also the enabling is designed to be overloaded in cased SMP is not controlled via ACTLR. CC: Marc Zyngier Signed-off-by: Jan Kiszka --- arch/arm/cpu/armv7/psci.S

[U-Boot] [PATCH v5 14/14] tegra: Set CNTFRQ for secondary CPUs

2015-03-09 Thread Jan Kiszka
We only set CNTFRQ in arch_timer_init for the boot CPU. But this has to happen for all cores. Fixing this resolves problems of KVM with emulating the generic timer/counter. Signed-off-by: Jan Kiszka --- arch/arm/mach-tegra/psci.S | 13 + 1 file changed, 13 insertions(+) diff --git

[U-Boot] [PATCH v5 13/14] tegra124: Reserve secure RAM using MC_SECURITY_CFG{0, 1}_0

2015-03-09 Thread Jan Kiszka
From: Ian Campbell These registers can be used to prevent non-secure world from accessing a megabyte aligned region of RAM, use them to protect the u-boot secure monitor code. At first I tried to do this from s_init(), however this inexplicably causes u-boot's networking (e.g. DHCP) to fail, whi

[U-Boot] [PATCH v5 03/14] ARM: Factor out reusable psci_cpu_off_common

2015-03-09 Thread Jan Kiszka
Move parts of sunxi's psci_cpu_off into psci_cpu_off_common, namely cache disabling and flushing, clrex and the disabling of SMP for the dying CPU. These steps are apparently generic for ARMv7 and will be reused for Tegra124 support. As the way of disabled SMP is not architectural, though commonly

[U-Boot] [PATCH v5 11/14] tegra124: Add PSCI support for Tegra124

2015-03-09 Thread Jan Kiszka
This is based on Thierry Reding's work and uses Ian Campell's preparatory patches. It comes with full support for CPU_ON/OFF PSCI services. The algorithm used in this version for turning CPUs on and off was proposed by Peter De Schrijver and Thierry Reding in http://thread.gmane.org/gmane.comp.boot

[U-Boot] [PATCH v5 06/14] ARM: Put target PC for PSCI CPU_ON on per-CPU stack

2015-03-09 Thread Jan Kiszka
Use a per-CPU variable for saving the target PC during CPU_ON operations. This allows us to run this service independently on targets that have more than 2 cores and also core-local power control. CC: Marc Zyngier Signed-off-by: Jan Kiszka --- arch/arm/cpu/armv7/psci.S | 11 +-- a

Re: [U-Boot] [PATCH 04/14] sandbox: Move CONFIG_SYS_I2C_SANDBOX to Kconfig

2015-03-09 Thread Heiko Schocher
Hello Simon, Am 06.03.2015 21:19, schrieb Simon Glass: Move this over to Kconfig and tidy up. Signed-off-by: Simon Glass --- configs/sandbox_defconfig | 1 + drivers/i2c/Kconfig | 30 ++ include/configs/sandbox.h | 1 - 3 files changed, 31 insertions(+

[U-Boot] [PATCH] usb: dwc2: fix aligned buffer usage

2015-03-09 Thread Stephen Warren
The original aligned_buffer usage: a) Uselessly copied data into the aligned buffer even for IN transactions. b) Needlessly split the memcpy() into separate calls per chunk, rather than doing it all at once, as it did for the post-transfer copy for IN transactions. c) Always programmed the

Re: [U-Boot] [PATCH] common/board_r: Restore non-cached memory setup

2015-03-09 Thread Jan Kiszka
[resent with updated address of Tom] On 2015-03-09 07:47, Jan Kiszka wrote: > This fixes a regression of e310b93ec1, affecting Ethernet on the Jetson > TK1, e.g. > > Signed-off-by: Jan Kiszka > --- > common/board_r.c | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/common/

Re: [U-Boot] [PATCH 2/4] sun7i: Add support for the Wits Pro A20 DKT board

2015-03-09 Thread Hans de Goede
Hi, On 07-03-15 15:05, Hans de Goede wrote: The Wits Pro A20 DKT is an A20 Development KiT with 1G RAM, 4G NAND, sdio wifi, 1Gbit ethernet, 1024x768 lcd screen with ft5x_ts touchscreen and a ton of IO connectors. Note there seem to be multiple sdcard slots on the board (4 in total), but other t

[U-Boot] [PATCH 2/3] sunxi: musb: Support checking VBUS using AXP221 PMIC

2015-03-09 Thread Chen-Yu Tsai
This enables the musb glue layer to use the AXP221's VBUS detection function to check for VBUS. This fixes otg support on the A23 q8h tablets. Note that u-boot never calls musb_shutdown(), so once VBUS is enabled, it is never disabled until the system is powered off, or the OS does so. This can be

[U-Boot] [PATCH 0/3] sunxi: Ippo_q8h: Enable OTG VBUS detection using AXP223

2015-03-09 Thread Chen-Yu Tsai
Hi Hans, This series fixes otg support on the A23 q8h tablets. It adds support for the AXP's (AXP221/223 for now) VBUS detection function. I've tested this with a USB wireless keyboard dongle, which works fine. More importantly, I'm using this and your mainline kernel musb work plus a few A23 dts

[U-Boot] [PATCH 1/3] sunxi: axp221: Add VBUS detection support

2015-03-09 Thread Chen-Yu Tsai
Some of the AXP PMICs support VBUS detection, i.e. checking whether VBUS power input is available and usable (supplied by an external source). A few boards use this instead of a separate GPIO to detect VBUS on USB OTG. Signed-off-by: Chen-Yu Tsai --- drivers/power/axp221.c | 16

[U-Boot] [PATCH 3/3] sunxi: Ippo_q8h defconfigs: Enable otg vbus detection using AXP223 PMIC

2015-03-09 Thread Chen-Yu Tsai
Use the AXP223 PMIC to detect VBUS for musb otg support. Signed-off-by: Chen-Yu Tsai --- configs/Ippo_q8h_v1_2_defconfig | 1 + configs/Ippo_q8h_v5_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/Ippo_q8h_v1_2_defconfig b/configs/Ippo_q8h_v1_2_defconfig index 192a461..9

Re: [U-Boot] [linux-sunxi] Re: Basic A33 support including dram init available in my personal repo

2015-03-09 Thread Vishnu Patekar
Hello, It's sensible work by Allwinner to release the dram code under GPLv2. Now, we can have mainline u-boot support for A33 soon. Hans, Yes, I've very basic A33 dts created based on A23, still lot to do. I'll send the u-boot patches soon. so that, you all can review it. On Sun, Mar 8, 2015 at

Re: [U-Boot] [PATCH v2 01/22] sandbox: Update device tree 'reg' properties for I2C and SPI

2015-03-09 Thread Bin Meng
On Fri, Mar 6, 2015 at 3:25 AM, Simon Glass wrote: > We should have a size value for these. Add one in each case. This will > be needed for PCI. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Update root node #size=cells to 1 in this patch > > arch/sandbox/dts/sandbox.dts | 6 +++---

Re: [U-Boot] [PATCH v2 04/22] dm: Add a new CPU init function which can use driver model

2015-03-09 Thread Bin Meng
On Fri, Mar 6, 2015 at 3:25 AM, Simon Glass wrote: > Since driver model is set up after arch_cpu_init(), that function cannot > use drivers. Add a new arch_cpu_init_dm() function which is called > immediately after driver model is ready, and can reference devices. > > This can be used to probe ess

Re: [U-Boot] [linux-sunxi] Re: Basic A33 support including dram init available in my personal repo

2015-03-09 Thread Hans de Goede
Hi, On 09-03-15 10:04, Chen-Yu Tsai wrote: Hi, On Mon, Mar 9, 2015 at 4:39 PM, Vishnu Patekar wrote: Hello, It's sensible work by Allwinner to release the dram code under GPLv2. Now, we can have mainline u-boot support for A33 soon. Hans, Yes, I've very basic A33 dts created based on A23, s

Re: [U-Boot] [PATCH v2 06/22] Correct map_sysmem() logic in do_mem_mw()

2015-03-09 Thread Bin Meng
On Fri, Mar 6, 2015 at 3:25 AM, Simon Glass wrote: > This function does not unmap what it maps. Correct it. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > common/cmd_mem.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/common/cmd_mem.c b/common/

Re: [U-Boot] [PATCH v2 05/22] x86: Split up arch_cpu_init()

2015-03-09 Thread Bin Meng
On Fri, Mar 6, 2015 at 3:25 AM, Simon Glass wrote: > At present we do more in this function than we should. Split out the > post-driver-model part into a separate function. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Use the new arch_cpu_init_dm() function instead of something x86

Re: [U-Boot] [PATCH v2 07/22] fdt: Tighten up error handling in fdtdec_get_pci_addr()

2015-03-09 Thread Bin Meng
On Fri, Mar 6, 2015 at 3:25 AM, Simon Glass wrote: > This function returns -ENOENT when the property is missing (which the caller > might forgive) and also when the property is present but incorrectly > formatted (which many callers would like to report). > > Update the error return value to allow

Re: [U-Boot] [linux-sunxi] Re: Basic A33 support including dram init available in my personal repo

2015-03-09 Thread Chen-Yu Tsai
Hi, On Mon, Mar 9, 2015 at 4:39 PM, Vishnu Patekar wrote: > Hello, > It's sensible work by Allwinner to release the dram code under GPLv2. > > Now, we can have mainline u-boot support for A33 soon. > > Hans, > Yes, I've very basic A33 dts created based on A23, still lot to do. About the dts, so

Re: [U-Boot] [linux-sunxi] Re: Basic A33 support including dram init available in my personal repo

2015-03-09 Thread Vishnu Patekar
Yes, except couple of additional clocks for A33, others seem to be same as A23 including PIO. I think, it's possible to overlay over A23. On Mon, Mar 9, 2015 at 2:35 PM, Hans de Goede wrote: > Hi, > > On 09-03-15 10:04, Chen-Yu Tsai wrote: >> >> Hi, >> >> On Mon, Mar 9, 2015 at 4:39 PM, Vishnu

[U-Boot] [PATCH 4/4 v4] armv8/vexpress64: make multientry conditional

2015-03-09 Thread Linus Walleij
While the Freescale ARMv8 board LS2085A will enter U-Boot both on a master and a secondary (slave) CPU, this is not the common behaviour on ARMv8 platforms. The norm is that U-Boot is entered from the master CPU only, while the other CPUs are kept in WFI (wait for interrupt) state. The code determ

[U-Boot] [PATCH] ls102xa: ddr4: Use LPUART as console output to verify DCU driver

2015-03-09 Thread Alison Wang
On QDS board with DDR4 DIMM, LPUART is used as console output to verify DCU driver. This patch adds ls1021aqds_ddr4_nor_lpuart_defconfig for this support. Signed-off-by: Alison Wang --- board/freescale/ls1021aqds/MAINTAINERS | 1 + configs/ls1021aqds_ddr4_nor_lpuart_defconfig | 3 +++ 2 fi

[U-Boot] [PATCH 0/14] sandbox: exynos: Move some (mostly) sandbox CONFIG options to Kconfig

2015-03-09 Thread Simon Glass
These options relate to the sandbox drivers and also sound. There are still more options to move, but this is a start. Simon Glass (14): sandbox: Move GPIO CONFIGs to Kconfig sandbox: Move CONFIG_SYS_VSNPRINTF to Kconfig sandbox: Move CONFIG_SANDBOX_SERIAL to Kconfig sandbox: Move CONFIG_

Re: [U-Boot] [PATCH v6 3/6] dm: tegra: Enable driver model in SPL and adjust the GPIO driver

2015-03-09 Thread Stephen Warren
On 03/04/2015 03:16 PM, Tom Rini wrote: > On Tue, Mar 03, 2015 at 08:02:59AM -0700, Simon Glass wrote: > >> Use the full driver model GPIO and serial drivers in SPL now that >> these are supported. Since device tree is not available they will >> use platform data. >> >> Remove the special SPL GPI

[U-Boot] [PATCH] common: cmd_elf: Add support to disable start of application

2015-03-09 Thread Michal Simek
From: Siva Durga Prasad Paladugu Added support to disable the start of application by using a environment variable autostart Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- common/cmd_elf.c | 4 1 file changed, 4 insertions(+) diff --git a/common/cmd_elf.c b/c

Re: [U-Boot] [u-boot][PATCH] omap3_beagle: Fix device tree boot

2015-03-09 Thread Roger Quadros
Tom, On 06/03/15 18:28, Tom Rini wrote: > On Fri, Mar 06, 2015 at 05:34:24PM +0200, Roger Quadros wrote: > >> Don't redefine fdtaddr and other values that are already defined in >> ti_armv7_common.h. The value of fdtaddr in ti_armv7_common.h is >> more appropriate as it allows a larger kernel ima

Re: [U-Boot] [PATCH 1/5] usb: dwc2: unify waiting for transfer completion

2015-03-09 Thread Marek Vasut
On Sunday, March 08, 2015 at 06:48:51 AM, Stephen Warren wrote: > Lift common code out of submit_bulk_msg() and submit_control_msg(). > > Signed-off-by: Stephen Warren NICE! Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http:/

[U-Boot] [PATCH] powerpc/t2080: enable erratum_a007186 for t2080 rev1.1

2015-03-09 Thread Shengzhou Liu
T2080 rev1.1 also needs erratum a007186. Signed-off-by: Shengzhou Liu --- arch/powerpc/include/asm/fsl_errata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/fsl_errata.h b/arch/powerpc/include/asm/fsl_errata.h index 61c6d70..4861e3bf 100644 --- a/

Re: [U-Boot] [PATCH 1/5] usb: dwc2: unify waiting for transfer completion

2015-03-09 Thread Marek Vasut
On Sunday, March 08, 2015 at 06:48:51 AM, Stephen Warren wrote: > Lift common code out of submit_bulk_msg() and submit_control_msg(). > > Signed-off-by: Stephen Warren Applied to u-boot-usb/topic/dwc2, thanks. I would like to see more testing from others if possible, otherwise this will go in af

Re: [U-Boot] [PATCH V2 1/2] usb: dwc2: fix aligned buffer usage

2015-03-09 Thread Marek Vasut
On Sunday, March 08, 2015 at 06:08:13 PM, Stephen Warren wrote: > The original aligned_buffer usage: > a) Uselessly copied data into the aligned buffer even for IN >transactions. Fix this my making the copy conditional. > b) Always programmed the HW to transfer to/from the start of the aligned

  1   2   >