Re: [U-Boot] [PATCH v2 1/1] marvell: kirkwood: guruplug refresh for newer kernel

2015-01-08 Thread Luka Perkov
Hi Prafulla, On Wed, Jan 07, 2015 at 08:48:17PM -0800, Prafulla Wadaskar wrote: > May you lease pull these too? Will do. Let me know if there are any other ones left. Luka ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listin

Re: [U-Boot] [PATCH 2/3] sunxi: video: Add support for Hitachi tx18d42vm LCD panels

2015-01-08 Thread Ian Campbell
On Sun, 2015-01-04 at 21:05 +0100, Hans de Goede wrote: > Hitachi tx18d42vm LCD panels have an onboard controller which needs some > initialization via spi for the panel to become functional as a regular LVDS > panel. > > Signed-off-by: Hans de Goede > --- > board/sunxi/Kconfig | 3

Re: [U-Boot] [PATCH 2/3] sunxi: video: Add support for Hitachi tx18d42vm LCD panels

2015-01-08 Thread Ian Campbell
On Wed, 2015-01-07 at 21:04 +0100, Hans de Goede wrote: > Hi, > > On 07-01-15 19:59, Ian Campbell wrote: > > On Sun, 2015-01-04 at 21:05 +0100, Hans de Goede wrote: > >> Hitachi tx18d42vm LCD panels have an onboard controller which needs some > >> initialization via spi for the panel to become fun

Re: [U-Boot] [PATCH 0/2] Fix repeated USB scans problems

2015-01-08 Thread Hans de Goede
Hi, On 08-01-15 01:19, Stephen Warren wrote: On 01/07/2015 04:35 PM, Marek Vasut wrote: On Tuesday, January 06, 2015 at 06:02:57 PM, Stephen Warren wrote: Should we rename "usb reset" to "usb restart"? No, let's not mess with the UI any more than we already did. Well, it might not be s

Re: [U-Boot] [PATCH 1/3] sunxi: video: Add lvds support

2015-01-08 Thread Ian Campbell
On Wed, 2015-01-07 at 20:58 +0100, Hans de Goede wrote: > Hi, > > On 07-01-15 19:56, Ian Campbell wrote: > > On Sun, 2015-01-04 at 21:05 +0100, Hans de Goede wrote: > >> diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig > >> index 8782394..fdb18a4 100644 > >> --- a/board/sunxi/Kconfig > >> ++

Re: [U-Boot] [PATCH] usb: gadget: pxa25x_udc: fix use-before-initialized bug

2015-01-08 Thread Nable
Hi! > Can you please fix From: and Signed-off-by: fields Oh, it looks like I have to accept this requirement. Ok, I'll fix it. Should I also change tag in subject to '[PATCH v2]' in a fixed patch? Thank you for kind answer! Best regards, Alex Sadovsky. ___

Re: [U-Boot] [PATCH 2/3] sunxi: video: Add support for Hitachi tx18d42vm LCD panels

2015-01-08 Thread Hans de Goede
Hi, On 08-01-15 09:32, Ian Campbell wrote: On Sun, 2015-01-04 at 21:05 +0100, Hans de Goede wrote: Hitachi tx18d42vm LCD panels have an onboard controller which needs some initialization via spi for the panel to become functional as a regular LVDS panel. Signed-off-by: Hans de Goede --- boa

Re: [U-Boot] Nokia RX-51 (N900) board broken

2015-01-08 Thread Pali Rohár
On Thursday 08 January 2015 01:16:22 Nishanth Menon wrote: > On 01/07/2015 03:12 AM, Pali Rohár wrote: > > @Tom, Nishanth, or anybody from TI: how to check if omap > > device type is HS in uboot? In linux kernel it is possible > > by: > > > > if (omap_type() == OMAP2_DEVICE_TYPE_SEC) { ... } > >

[U-Boot] [PATCH v5 3/5] i2c: UniPhier: add driver for UniPhier FIFO-builtin i2c controller

2015-01-08 Thread Masahiro Yamada
This commit adds on-chip I2C driver used on newer SoCs of Panasonic UniPhier platform. Signed-off-by: Masahiro Yamada Reviewed-by: Simon Glass Acked-by: Heiko Schocher --- Changes in v5: - Drop unnecessary __packed Changes in v4: - Use a structure instead of macros for register access Ch

[U-Boot] [PATCH v5 0/5] i2c: UniPhier: add I2C drivers based on driver model

2015-01-08 Thread Masahiro Yamada
Masahiro Yamada (5): i2c: add CONFIG_DM_I2C to Kconfig i2c: UniPhier: add driver for UniPhier i2c controller i2c: UniPhier: add driver for UniPhier FIFO-builtin i2c controller ARM: UniPhier: enable I2C for UniPhier SoCs ARM: UniPhier: enable CONFIG_I2C_EEPROM configs/ph1_ld4_defconfig

[U-Boot] [PATCH v5 2/5] i2c: UniPhier: add driver for UniPhier i2c controller

2015-01-08 Thread Masahiro Yamada
This commit adds on-chip I2C driver used on some old Panasonic UniPhier SoCs. Signed-off-by: Masahiro Yamada Reviewed-by: Simon Glass Acked-by: Heiko Schocher --- Changes in v5: - Drop unnecessary __packed Changes in v4: - Use a structure instead of macros for register access Changes in

[U-Boot] [PATCH v5 5/5] ARM: UniPhier: enable CONFIG_I2C_EEPROM

2015-01-08 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None include/configs/uniphier.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index 5a53c50..9ad47f6 100644 --- a/inclu

[U-Boot] [PATCH v5 1/5] i2c: add CONFIG_DM_I2C to Kconfig

2015-01-08 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada Reviewed-by: Simon Glass Acked-by: Heiko Schocher --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None drivers/i2c/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index e6

[U-Boot] [PATCH v5 4/5] ARM: UniPhier: enable I2C for UniPhier SoCs

2015-01-08 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None configs/ph1_ld4_defconfig | 2 ++ configs/ph1_pro4_defconfig | 2 ++ configs/ph1_sld8_defconfig | 2 ++ 3 files changed, 6 insertions(+) diff --git a/configs/ph1_ld4_defconfig b/

Re: [U-Boot] [PATCH 2/2] sunxi: Enable pre-console buffer

2015-01-08 Thread Ian Campbell
On Thu, 2015-01-08 at 09:02 +0200, Siarhei Siamashka wrote: > This allows to always have a complete log on the VGA/HDMI/LCD console. > > Signed-off-by: Siarhei Siamashka > --- > include/configs/sunxi-common.h | 9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/incl

Re: [U-Boot] [PATCH v3] scripts: fix binutils-version.sh for 'as' without a package.

2015-01-08 Thread Masahiro Yamada
On Wed, 7 Jan 2015 10:34:15 -0500 Bill Pringlemeir wrote: > Commit 73c25753 fixed the common issue that binutil packages > (tool/organization > that packaged or built the bin-utils) are included in brackets and this may > falsely be recognized as a version. However, some tools do not provide

Re: [U-Boot] [PATCH] ARM: UniPhier: remove __packed that causes a problem on GCC 4.9

2015-01-08 Thread Masahiro Yamada
On Wed, 7 Jan 2015 14:00:05 -0500 Tom Rini wrote: > On Wed, Jan 07, 2015 at 07:41:38PM +0900, Masahiro Yamada wrote: > > The DDR PHY training function, ddrphy_prepare_training() would not > > work if compiled with GCC 4.9. > > > > The struct ddrphy (arch/arm/include/asm/arch-uniphier/ddrphy-reg

Re: [U-Boot] [PATCH 2/3] sunxi: video: Add support for Hitachi tx18d42vm LCD panels

2015-01-08 Thread Ian Campbell
On Thu, 2015-01-08 at 09:39 +0100, Hans de Goede wrote: > Hi, > > On 08-01-15 09:32, Ian Campbell wrote: > > On Sun, 2015-01-04 at 21:05 +0100, Hans de Goede wrote: > >> Hitachi tx18d42vm LCD panels have an onboard controller which needs some > >> initialization via spi for the panel to become fun

[U-Boot] [PATCH] Nokia RX-51: Do not call secure PPA routine on non secure devices

2015-01-08 Thread Pali Rohár
Since commit 41623c91b09a0c865fab41acdaff30f060f29ad6 u-boot running in qemu is crashing in function do_omap3_emu_romcode_call(). RX-51 board uses this function for Cortex-A8 errata 430973 workaround (Set IBE bit in ACR) which is needed only on real secure device and not in qemu. This board patch

Re: [U-Boot] [PATCH 3/4] config_distro_bootcmd: Scan all partitions for boot files

2015-01-08 Thread Sjoerd Simons
On Wed, 2015-01-07 at 13:22 -0700, Stephen Warren wrote: > On 01/07/2015 04:17 AM, Ian Campbell wrote: > > On Wed, 2015-01-07 at 12:01 +0100, Sjoerd Simons wrote: > >> On Wed, 2015-01-07 at 10:22 +, Ian Campbell wrote: > >> This is about the default setup though, it would be really nice to get

Re: [U-Boot] [PATCH] MAINTAINERS: add me as a co-maintainer of KIRKWOOD

2015-01-08 Thread Stefan Roese
On 08.01.2015 05:14, Prafulla Wadaskar wrote: From: Luka Perkov [mailto:luka.per...@sartura.hr] Sent: 08 January 2015 05:02 To: u-boot@lists.denx.de Cc: Luka Perkov; Prafulla Wadaskar; Wolfgang Denk Subject: [PATCH] MAINTAINERS: add me as a co-maintainer of KIRKWOOD Signed-off-by: Luka Perkov C

Re: [U-Boot] [PATCH 0/2] Fix repeated USB scans problems

2015-01-08 Thread Hans de Goede
Hi, On 06-01-15 18:02, Stephen Warren wrote: On 01/06/2015 06:27 AM, Hans de Goede wrote: Hi Marek & Stephen, As discussed before we've a problem where our standard bootcmds sometimes scan usb more then once, causing a large boot delay. Marek, as discussed with you before, this patch-set tack

Re: [U-Boot] [PATCH 1/2] qspi:fsl implement AHB read

2015-01-08 Thread Peng Fan
Hi, Jagan On 1/8/2015 2:20 PM, Jagan Teki wrote: On 8 January 2015 at 08:10, Peng Fan wrote: The QSPI controller in i.MX 6SoloX and Vybrid supports reading data using IP register and AHB bus. The original driver only supports reading data from IP interface. The IC team suggests to use AHB rea

Re: [U-Boot] [PATCH v3] scripts: fix binutils-version.sh for 'as' without a package.

2015-01-08 Thread Hans de Goede
Hi, On 07-01-15 16:34, Bill Pringlemeir wrote: Commit 73c25753 fixed the common issue that binutil packages (tool/organization that packaged or built the bin-utils) are included in brackets and this may falsely be recognized as a version. However, some tools do not provide a 'package' and previ

[U-Boot] [PATCH 3/5] i2c: imx: Optimize the i2c device recovery solution

2015-01-08 Thread Peng Fan
From: Fugang Duan >From i2c spec, if device pull down the SDA line that causes i2c bus dead, host can send out 9 clock to let device release SDA. But for some special device like pfuze100, it pull down SDA line and the solution cannot take effort. The patch just add NACK and STOP signal after 8

[U-Boot] [PATCH v2] spl: spl_nor: surround Linux-load code with #ifdef CONFIG_SPL_OS_BOOT

2015-01-08 Thread Masahiro Yamada
If CONFIG_SPL_NOR_SUPPORT is defined, spl_nor_load_image() requires spl_start_uboot(), CONFIG_SYS_OS_BASE, CONFIG_SYS_SPL_ARGS_ADDR, CONFIG_SYS_FDT_BASE to be defined even if users just want to run U-Boot, not Linux. This is inconvenient. This patch is following the codying style of common/spl/sp

Re: [U-Boot] [PATCH] spl: spl_nor: surround Linux-load code with #ifdef CONFIG_SPL_OS_BOOT

2015-01-08 Thread Masahiro Yamada
On Wed, 7 Jan 2015 14:47:36 -0500 Tom Rini wrote: > On Thu, Dec 18, 2014 at 04:13:48PM +0900, Masahiro Yamada wrote: > > Hi Tom, > > > > On Wed, 10 Dec 2014 20:34:03 -0500 > > Tom Rini wrote: > > > > > On Thu, Dec 11, 2014 at 10:01:38AM +0900, Masahiro Yamada wrote: > > > > > > > If CONFIG_S

[U-Boot] [PATCH] watchdog: omap: Add handling for CONFIG_WATCHDOG_TIMEOUT_MSECS

2015-01-08 Thread Marek Belisko
This change add possibility to change watchdog timeout compile time. Previous default value is kept when CONFIG_WATCHDOG_TIMEOUT_MSECS is not defined in config file. Signed-off-by: Marek Belisko --- drivers/watchdog/omap_wdt.c | 12 1 file changed, 8 insertions(+), 4 deletions(-)

[U-Boot] [PATCH] doc: watchdog: Add documentation for omap watchdog

2015-01-08 Thread Marek Belisko
Signed-off-by: Marek Belisko --- doc/README.watchdog |3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/README.watchdog b/doc/README.watchdog index 59f306b..b1b8d84 100644 --- a/doc/README.watchdog +++ b/doc/README.watchdog @@ -33,3 +33,6 @@ CONFIG_XILINX_TB_WATCHDOG CONFIG_BFIN_WAT

Re: [U-Boot] [PATCH 1/2] qspi:fsl implement AHB read

2015-01-08 Thread Jagan Teki
On 8 January 2015 at 15:48, Peng Fan wrote: > Hi, Jagan > > On 1/8/2015 2:20 PM, Jagan Teki wrote: >> >> On 8 January 2015 at 08:10, Peng Fan wrote: >>> >>> The QSPI controller in i.MX 6SoloX and Vybrid supports reading data using >>> IP register and AHB bus. >>> >>> The original driver only supp

[U-Boot] [PATCH 00/18] Exynos: move i2c driver to dm api

2015-01-08 Thread Przemyslaw Marczak
This patchset adds support to driver model i2c api for Exynos i2c driver. Few boards are using this driver, but the board peripherals are not ported to the new api yet. So this can't be enabled with the full board functionality. In this case each Exynos5 based boards have fixed config dependencies

[U-Boot] [PATCH] gpt: Fix the protective MBR partition size

2015-01-08 Thread Maxime Ripard
According to the UEFI Spec (Table 16, section 5.2.3 of the version 2.4 Errata B), the protective MBR partition record size must be set to the size of the disk minus one, in LBAs. However, the current code was setting the size as the total number of LBAs on the disk, resulting in an off-by-one erro

[U-Boot] [PATCH 01/18] arndale: config: disable max77686 support

2015-01-08 Thread Przemyslaw Marczak
There is no MAX77686 pmic on this board, so the driver support should be removed. Signed-off-by: Przemyslaw Marczak Cc: Minkyu Kang --- include/configs/arndale.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/arndale.h b/include/configs/arndale.h index d68993b..3ad4a9b 100

[U-Boot] [PATCH 04/18] exynos4: dts: add missing i2c properties

2015-01-08 Thread Przemyslaw Marczak
This patch modify i2c nodes in exynos4.dtsi with: - adding proper interrupts arrays for each i2c node, which allows to decode periph id - add reg address for each i2c node for i2c driver internal use Signed-off-by: Przemyslaw Marczak Cc: Minkyu Kang Cc: Lukasz Majewski --- arch/arm/dts/exyno

[U-Boot] [PATCH 02/18] exynos5250: config: disable max77686 driver

2015-01-08 Thread Przemyslaw Marczak
This PMIC is not common for all Exynos5250 based boards, so should be romoved from common config. Signed-off-by: Przemyslaw Marczak Cc: Simon Glass Cc: Minkyu Kang --- include/configs/exynos5250-common.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/exynos5250-common.h

[U-Boot] [PATCH 03/18] smdk5250: config: enable max77686 driver support

2015-01-08 Thread Przemyslaw Marczak
This commit enable support for the above driver, which was disabled in common config. Signed-off-by: Przemyslaw Marczak Cc: Simon Glass Cc: Minkyu Kang --- include/configs/smdk5250.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h i

[U-Boot] [PATCH 11/18] exynos5-dt: config: temporary disable pmic for dm i2c

2015-01-08 Thread Przemyslaw Marczak
Disable pmic if CONFIG_DM_I2C in exynos5-common.h is enabled. Signed-off-by: Przemyslaw Marczak Cc: Akshay Saraswat Cc: Simon Glass Cc: Minkyu Kang --- include/configs/exynos5-dt-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/exynos5-dt-common.h b/include/conf

[U-Boot] [PATCH 08/18] exynos5: config: prepare for dm i2c support

2015-01-08 Thread Przemyslaw Marczak
This commit allows for test i2c drivers with new i2c api on Exynos5xxx based boards. The S3C24X0 I2C driver supports driver model I2C api, but i2c peripherials drivers on exynos5 boards doesn't. So this commit allows for test ported driver before switch the Exynos5 boards to DM I2C at all. Signed

[U-Boot] [PATCH 15/18] peach-pi: config: temporary disable video parade for dm i2c

2015-01-08 Thread Przemyslaw Marczak
Disable video parade driver if CONFIG_DM_I2C in exynos5-common.h is enabled. Signed-off-by: Przemyslaw Marczak Cc: Akshay Saraswat Cc: Simon Glass Cc: Minkyu Kang --- include/configs/peach-pi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/peach-pi.h b/include/configs/

[U-Boot] [PATCH 13/18] smdk5250: config: temporary disable pmic for dm i2c

2015-01-08 Thread Przemyslaw Marczak
Disable pmic if CONFIG_DM_I2C in exynos5-common.h is enabled. Signed-off-by: Przemyslaw Marczak Cc: Akshay Saraswat Cc: Simon Glass Cc: Minkyu Kang --- include/configs/smdk5250.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h inde

[U-Boot] [PATCH 14/18] smdk5420: board: fix build warning for testing dm i2c

2015-01-08 Thread Przemyslaw Marczak
If pmic is disabled for testing dm i2c then some unused variable should be moved around proper ifdef in smdk5420.c Signed-off-by: Przemyslaw Marczak Cc: Akshay Saraswat Cc: Simon Glass Cc: Minkyu Kang --- board/samsung/smdk5420/smdk5420.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[U-Boot] [PATCH 07/18] dm: i2c: s3c24x0: adjust to dm-i2c api

2015-01-08 Thread Przemyslaw Marczak
This commit adjusts the s3c24x0 driver to new i2c api based on driver-model. The driver supports standard and high-speed i2c as previous. Tested on Trats2 and Arndale (also with HS). Signed-off-by: Przemyslaw Marczak Cc: Simon Glass Cc: Heiko Schocher Cc: Minkyu Kang --- drivers/i2c/s3c24x0_

[U-Boot] [PATCH 10/18] arndale: config: temporary disable pmic for dm i2c

2015-01-08 Thread Przemyslaw Marczak
This commit disables pmic support for testing dm i2c api on arndale. There is no sense for move the current pmic framework to new i2c api, since the new power framework will be ready soon. Signed-off-by: Przemyslaw Marczak Cc: Akshay Saraswat Cc: Simon Glass Cc: Minkyu Kang --- include/config

[U-Boot] [PATCH 05/18] arndale: dts: add missing i2c aliases

2015-01-08 Thread Przemyslaw Marczak
Without this alias setting, the seq numbers of the i2c devices are wrong. Signed-off-by: Przemyslaw Marczak Cc: Simon Glass Cc: Minkyu Kang --- arch/arm/dts/exynos5250-arndale.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/exynos5250-arndale.dts b/arch/arm/dts/ex

[U-Boot] [PATCH 16/18] peach-pit: config: temporary disable video parade for dm i2c

2015-01-08 Thread Przemyslaw Marczak
Disable video parade driver if CONFIG_DM_I2C in exynos5-common.h is enabled. Signed-off-by: Przemyslaw Marczak Cc: Akshay Saraswat Cc: Simon Glass Cc: Minkyu Kang --- include/configs/peach-pit.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/peach-pit.h b/include/config

[U-Boot] [PATCH 12/18] snow: config: temporary disable cros ec i2c for dm i2c

2015-01-08 Thread Przemyslaw Marczak
Disable cros ec i2c driver if CONFIG_DM_I2C in exynos5-common.h is enabled. Signed-off-by: Przemyslaw Marczak Cc: Akshay Saraswat Cc: Simon Glass Cc: Minkyu Kang --- include/configs/snow.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/snow.h b/include

[U-Boot] [PATCH 06/18] exynos5: pinmux: check flag for i2c config

2015-01-08 Thread Przemyslaw Marczak
Some versions of Exynos5 supports High-Speed I2C, on few interfaces, this change allows support this. Signed-off-by: Przemyslaw Marczak Cc: Simon Glass Cc: Akshay Saraswat Cc: Minkyu Kang --- arch/arm/cpu/armv7/exynos/pinmux.c | 27 +++ 1 file changed, 19 insertions(+)

[U-Boot] [PATCH 17/18] trats2: board: cleanup power init code

2015-01-08 Thread Przemyslaw Marczak
This patch makes cleanup in: - proper ifdefs to the power related functions - check for pmic null pointers before use And is a preparation for enabling dm i2c support. Signed-off-by: Przemyslaw Marczak Cc: Lukasz Majewski Cc: Jaehoon Chung Cc: Simon Glass Cc: Minkyu Kang --- board/samsung/t

[U-Boot] [PATCH 18/18] trats2: config: disable i2c peripherals if testing dm i2c

2015-01-08 Thread Przemyslaw Marczak
Most i2c peripherals for this board doesn't support new i2c api. So CONFIG_DM_I2C on this board can be enabled for test only. The i2c command works fine with it. This is the first step before adding support to the new power framework soon. Signed-off-by: Przemyslaw Marczak Cc: Lukasz Majewski Cc

[U-Boot] [PATCH 09/18] exynos5250: config: temporary disable sound for dm i2c

2015-01-08 Thread Przemyslaw Marczak
This commit disables sound support for testing new i2c api for Exynos5250 boards. After move i2c part of sound drivers to the new i2c api, then this ifdef will be removed. Signed-off-by: Przemyslaw Marczak Cc: Akshay Saraswat Cc: Simon Glass Cc: Minkyu Kang --- include/configs/exynos5250-comm

Re: [U-Boot] [PATCH 1/2] qspi:fsl implement AHB read

2015-01-08 Thread Peng Fan
On 1/8/2015 7:21 PM, Jagan Teki wrote: On 8 January 2015 at 15:48, Peng Fan wrote: Hi, Jagan On 1/8/2015 2:20 PM, Jagan Teki wrote: On 8 January 2015 at 08:10, Peng Fan wrote: The QSPI controller in i.MX 6SoloX and Vybrid supports reading data using IP register and AHB bus. The original d

Re: [U-Boot] [PATCH 00/18] Exynos: move i2c driver to dm api

2015-01-08 Thread Przemyslaw Marczak
Hello all, On 01/08/2015 12:28 PM, Przemyslaw Marczak wrote: This patchset adds support to driver model i2c api for Exynos i2c driver. Few boards are using this driver, but the board peripherals are not ported to the new api yet. So this can't be enabled with the full board functionality. In th

Re: [U-Boot] [PATCH] watchdog: omap: Add handling for CONFIG_WATCHDOG_TIMEOUT_MSECS

2015-01-08 Thread Tom Rini
On Thu, Jan 08, 2015 at 11:58:53AM +0100, Marek Belisko wrote: > This change add possibility to change watchdog timeout compile time. > Previous default value is kept when CONFIG_WATCHDOG_TIMEOUT_MSECS is > not defined in config file. Lets do this with a Kconfig option please, thanks! -- Tom

Re: [U-Boot] [PATCH V3 00/12] cleanup and refactor lcd.c

2015-01-08 Thread Nikita Kiryanov
Gentle ping. On 12/08/2014 05:14 PM, Nikita Kiryanov wrote: This series is a first step towards an end goal of merging all CONFIG_LCD related functionality into CONFIG_VIDEO code. My plan is to start by refactoring lcd.c into something cleaner (less ifdefs) and more modular (split code into mult

[U-Boot] [PATCH] usb: eth: asix88179: add ability to modify MAC address

2015-01-08 Thread Rene Griessl
Here is the promised patch, that enables U-Boot to modify the MAC address of the AX88179. Tested on RECS5250 (similar to Arndale5250) Signed-off-by: Rene Griessl --- drivers/usb/eth/asix88179.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/usb/eth/asix88179.c b/d

[U-Boot] [PATCH 3/3] imx:mx6 set normal APS and standby PFM mode

2015-01-08 Thread Peng Fan
To normal mode, use APS switching mode. To standy mode, use PFM switching mode. Signed-off-by: Peng Fan --- board/freescale/mx6qsabreauto/mx6qsabreauto.c | 5 + board/freescale/mx6sabresd/mx6sabresd.c | 6 +- board/freescale/mx6sxsabresd/mx6sxsabresd.c | 6 +- 3 files changed

[U-Boot] [PATCH 1/3] pmic:pfuz100 add switch mode and more registers

2015-01-08 Thread Peng Fan
Add more pfuze register offset. And switch mode definition. Signed-off-by: Peng Fan --- include/power/pfuze100_pmic.h | 53 +++ 1 file changed, 53 insertions(+) diff --git a/include/power/pfuze100_pmic.h b/include/power/pfuze100_pmic.h index 1118489..7474

[U-Boot] [PATCH 0/3] pmic:pfuze support buck regulator mode switch

2015-01-08 Thread Peng Fan
This patch set is to support buck regulator can working in different switching modes. To improve system efficiency the buck regulators can operate in different switching modes. patch 1/3 is to add related bit definitions and registers. patch 2/3 is to implement the switching mode init function. p

[U-Boot] [PATCH 2/3] pmic:pfuze implement pmic_mode_init

2015-01-08 Thread Peng Fan
This patch is to implement pmic_mode_init function, and add prototype in header file. This function is to set switching mode for pmic buck regulators to improve system efficiency. Mode: OFF: The regulator is switched off and the output voltage is discharged. PFM: In this mode, the regulator is al

Re: [U-Boot] [PATCH] Nokia RX-51: Do not call secure PPA routine on non secure devices

2015-01-08 Thread Pavel Machek
On Thu 2015-01-08 10:11:40, Pali Rohár wrote: > Since commit 41623c91b09a0c865fab41acdaff30f060f29ad6 u-boot running in qemu > is > crashing in function do_omap3_emu_romcode_call(). RX-51 board uses this > function > for Cortex-A8 errata 430973 workaround (Set IBE bit in ACR) which is needed > o

Re: [U-Boot] [PATCH] ARM: UniPhier: fix SRAM size on support card

2015-01-08 Thread Masahiro YAMADA
2015-01-06 14:18 GMT+09:00 Masahiro Yamada : > The max size of available memories on slot0 and slot1 is 32MB because > - EA[25] signal is not output on the save-pin mode which is >used PH1-LD4 or later SoCs. > - EA[25] signal is not connected by the limitation (or bug?) of >the PLD logic

Re: [U-Boot] [PATCH] ARM: UniPhier: enable output of system bus

2015-01-08 Thread Masahiro YAMADA
2015-01-06 14:20 GMT+09:00 Masahiro Yamada : > For NAND boot on PH1-LD4, PH1-sLD8, and some other SoCs, > the output of the system bus is disabled by default. > It must be enabled by software to have access to the system bus. > > Signed-off-by: Masahiro Yamada Applied to u-boot-uniphier/master

Re: [U-Boot] [PATCH] ARM: UniPhier: add UART initialization routine for low-level debug

2015-01-08 Thread Masahiro YAMADA
2015-01-06 14:28 GMT+09:00 Masahiro Yamada : > The low-level debugging functions are useful to debug the early boot > stage where the full UART driver is not available. > > UniPhier SoCs need to initialize the UART port 0 to use this feature. > The initialization routine is called at the very entry

[U-Boot] Pull request: u-boot-uniphier

2015-01-08 Thread Masahiro YAMADA
Hi Tom, Please pull some Panasonic SoC specific updates. The following changes since commit 40ad4c4b1fea2497bc019ee82163b76d4b076730: Kconfig: move EXPERT option under "General setup" menu (2015-01-07 14:48:47 -0500) are available in the git repository at: git://git.denx.de/u-boot-uniph

Re: [U-Boot] [PATCH 18/18] trats2: config: disable i2c peripherals if testing dm i2c

2015-01-08 Thread Minkyu Kang
On 08/01/15 20:33, Przemyslaw Marczak wrote: > Most i2c peripherals for this board doesn't > support new i2c api. So CONFIG_DM_I2C on this > board can be enabled for test only. The i2c command > works fine with it. > This is the first step before adding > support to the new power framework soon. >

Re: [U-Boot] [PATCH 08/18] exynos5: config: prepare for dm i2c support

2015-01-08 Thread Minkyu Kang
Hi, On 08/01/15 20:33, Przemyslaw Marczak wrote: > This commit allows for test i2c drivers with new i2c api > on Exynos5xxx based boards. > > The S3C24X0 I2C driver supports driver model I2C api, > but i2c peripherials drivers on exynos5 boards doesn't. > So this commit allows for test ported dri

Re: [U-Boot] [PATCH v2 01/11] videomodes: Add pixelclock_khz and refresh fields to ctfb_res_modes

2015-01-08 Thread Anatolij Gustschin
On Fri, 19 Dec 2014 18:10:31 +0100 Hans de Goede wrote: > Add pixelclock_khz and refresh fields to ctfb_res_modes: > > 1) pixelclocks are usually referred to in hz, not picoseconds, and e.g > pll-s are also typically programmed in hz, not ps. Converting between the > 2 leads to rounding differen

Re: [U-Boot] [PATCH v2 02/11] videomodes: Add (vesa) standard timings

2015-01-08 Thread Anatolij Gustschin
On Fri, 19 Dec 2014 18:10:32 +0100 Hans de Goede wrote: > The timings for the modes defined in videomodes.c differ (significantly) > from vesa standard timings for these modes. > > This commit adds a version with the proper std timings for these modes, > since I do not want to cause regressions,

Re: [U-Boot] [PATCH v2 03/11] videomodes: Add a bunch of high res modes

2015-01-08 Thread Anatolij Gustschin
On Fri, 19 Dec 2014 18:10:33 +0100 Hans de Goede wrote: > Add modes useful for hd-tvs and modern monitors. > > Signed-off-by: Hans de Goede Acked-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listin

Re: [U-Boot] [PATCH v2] mx25: Fix boot hang by avoiding vector relocation

2015-01-08 Thread Tom Rini
On Tue, Jan 06, 2015 at 01:06:48PM -0200, Fabio Estevam wrote: > From: Fabio Estevam > > Since commit 3ff46cc42b9d73d0 ("arm: relocate the exception vectors") mx25pdk > hangs like this: > > CPU: Freescale i.MX25 rev1.2 at 399 MHz > Reset cause: WDOG > Board: MX25PDK > I2C: ready > DRAM: 64

Re: [U-Boot] [PATCH v2 04/11] videomodes: Add video_get_ctfb_res_modes helper function

2015-01-08 Thread Anatolij Gustschin
On Fri, 19 Dec 2014 18:10:34 +0100 Hans de Goede wrote: > Add a video_get_ctfb_res_modes() helper function, which uses > video_get_video_mode() to parse the 'video-mode' environment variable and then > looks up the matching mode in res_mode_init and returns the matching mode. > > Signed-off-by:

Re: [U-Boot] [PATCH 10/10] RFC: Test code for glacier PCI video support

2015-01-08 Thread Simon Glass
Hi Bin, On 7 January 2015 at 23:18, Bin Meng wrote: > Hi Simon, > > On Tue, Dec 30, 2014 at 10:32 AM, Simon Glass wrote: >> NOT TO APPLY >> >> This shows how to enable video for the glacier board, as an example of the >> emulator working on a VESA-compliant graphics card. >> >> Signed-off-by: Si

Re: [U-Boot] [PATCH v2] mx25: Fix boot hang by avoiding vector relocation

2015-01-08 Thread Bill Pringlemeir
> On Tue, Jan 06, 2015 at 01:06:48PM -0200, Fabio Estevam wrote: >> From: Fabio Estevam >> >> Since commit 3ff46cc42b9d73d0 ("arm: relocate the exception vectors") >> mx25pdk hangs like this: >> >> CPU: Freescale i.MX25 rev1.2 at 399 MHz >> Reset cause: WDOG >> Board: MX25PDK >> I2C: ready >

Re: [U-Boot] [PATCH v2 05/11] videomodes: Add helper functions to parse video-mode env-var extra options

2015-01-08 Thread Anatolij Gustschin
On Fri, 19 Dec 2014 18:10:35 +0100 Hans de Goede wrote: > Add 2 helper functions to get strings, reps. ints from the options value > returned by video_get_video_mode() / video_get_ctfb_res_modes(). > > Signed-off-by: Hans de Goede before applying please fix these checkpatch warnings: WARNING:

Re: [U-Boot] [PATCH v2 06/11] videomodes: Add video_edid_dtd_to_ctfb_res_modes helper function

2015-01-08 Thread Anatolij Gustschin
On Fri, 19 Dec 2014 18:10:36 +0100 Hans de Goede wrote: > Add a video_edid_dtd_to_ctfb_res_modes helper function to convert an EDID > detailed timing to a struct ctfb_res_modes. > > Signed-off-by: Hans de Goede Acked-by: Anatolij Gustschin ___ U-Boo

Re: [U-Boot] [PATCH v2 07/11] edid: Add an edid_check_checksum() helper function

2015-01-08 Thread Anatolij Gustschin
On Fri, 19 Dec 2014 18:10:37 +0100 Hans de Goede wrote: > Add a helper function to check the checksum of an EDID data block. > > Signed-off-by: Hans de Goede Acked-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx

Re: [U-Boot] [PATCH v2 08/11] sunxi: video: Use video-mode/-timing from videomodes

2015-01-08 Thread Anatolij Gustschin
On Fri, 19 Dec 2014 18:10:38 +0100 Hans de Goede wrote: > Switch from fb_videomode to ctfb_res_modes and use the predefined videotimings > from videomodes.c, rather then defining our own. > > Signed-off-by: Hans de Goede Acked-by: Anatolij Gustschin ___

Re: [U-Boot] [PATCH v2 09/11] sunxi: video: Add support for video-mode environment variable

2015-01-08 Thread Anatolij Gustschin
On Fri, 19 Dec 2014 18:10:39 +0100 Hans de Goede wrote: > Add support for the standard video-mode environment variable using the > videomodes.c video_get_ctfb_res_modes() helper function. > > This will allow users to specify the resolution e.g. : > > setenv video-mode sunxi:video-mode=1280x1024

Re: [U-Boot] [PATCH v2 10/11] sunxi: video: Add hpd option

2015-01-08 Thread Anatolij Gustschin
On Fri, 19 Dec 2014 18:10:40 +0100 Hans de Goede wrote: > Allow the user to specify hpd=0 as option in the video-mode env. variable, > if hpd is set to 0 then the hdmi output will be brought up even if no cable > is connected. > > Signed-off-by: Hans de Goede Acked-by: Anatolij Gustschin

Re: [U-Boot] [PATCH 0/2] Fix repeated USB scans problems

2015-01-08 Thread Stephen Warren
On 01/08/2015 01:34 AM, Hans de Goede wrote: Hi, On 08-01-15 01:19, Stephen Warren wrote: On 01/07/2015 04:35 PM, Marek Vasut wrote: On Tuesday, January 06, 2015 at 06:02:57 PM, Stephen Warren wrote: Should we rename "usb reset" to "usb restart"? No, let's not mess with the UI any more

Re: [U-Boot] [PATCH v2 11/11] sunxi: video: Add DDC & EDID support

2015-01-08 Thread Anatolij Gustschin
On Fri, 19 Dec 2014 18:10:41 +0100 Hans de Goede wrote: > Add DDC & EDID support and use it to automatically select the native mode of > the attached monitor. This can be disabled by adding edid=0 as option > to the video-mode env. variable. > > Signed-off-by: Hans de Goede Acked-by: Anatolij

Re: [U-Boot] [PATCH 1/6] edid: Add struct and defines for cea681 extension blocks

2015-01-08 Thread Anatolij Gustschin
On Sat, 20 Dec 2014 15:42:00 +0100 Hans de Goede wrote: > Add a struct describing the (fixed) bits of cea681 edid extension blocks, > and defines for accessing various bitfields. > > Signed-off-by: Hans de Goede ___ U-Boot mailing list U-Boot@lists.de

Re: [U-Boot] [PATCH 1/6] edid: Add struct and defines for cea681 extension blocks

2015-01-08 Thread Anatolij Gustschin
On Sat, 20 Dec 2014 15:42:00 +0100 Hans de Goede wrote: > Add a struct describing the (fixed) bits of cea681 edid extension blocks, > and defines for accessing various bitfields. > > Signed-off-by: Hans de Goede Acked-by: Anatolij Gustschin ___ U-Bo

Re: [U-Boot] [PATCH 2/6] sunxi: video: Add hdmi support

2015-01-08 Thread Anatolij Gustschin
On Sat, 20 Dec 2014 15:42:01 +0100 Hans de Goede wrote: > So far we've been programming the hdmi-encoder to send out dvi data over the > hdmi connector. This works well for most devices, including hdmi devices, but > not all devices accept dvi data on a hdmi input. > > Add support for sending pr

Re: [U-Boot] [PATCH 3/6] sunxi: video: Add sunxi_hdmi_edid_get_block helper function

2015-01-08 Thread Anatolij Gustschin
On Sat, 20 Dec 2014 15:42:02 +0100 Hans de Goede wrote: > Add a sunxi_hdmi_edid_get_block helper function, this is a preparation patch > for adding support for parsing EDID extension blocks. > > Signed-off-by: Hans de Goede Acked-by: Anatolij Gustschin

Re: [U-Boot] [PATCH 4/6] sunxi: video: When using edid use CEA681 extension blocks to select hdmi output

2015-01-08 Thread Anatolij Gustschin
On Sat, 20 Dec 2014 15:42:03 +0100 Hans de Goede wrote: > When using edid use CEA681 edid extension blocks to select between dvi and > hdmi output formats, so that u-boot will automatically do the right thing. > > Signed-off-by: Hans de Goede Acked-by: Anatolij Gustschin _

Re: [U-Boot] [PATCH] usb: gadget: pxa25x_udc: fix use-before-initialized bug

2015-01-08 Thread Marek Vasut
On Thursday, January 08, 2015 at 09:38:45 AM, Nable wrote: > Hi! Hi! > > Can you please fix From: and Signed-off-by: fields > > Oh, it looks like I have to accept this requirement. Ok, I'll fix it. > Should I also change tag in subject to '[PATCH v2]' in a fixed patch? > > Thank you for kind an

Re: [U-Boot] [PATCH 0/2] Fix repeated USB scans problems

2015-01-08 Thread Marek Vasut
On Thursday, January 08, 2015 at 05:16:53 PM, Stephen Warren wrote: > On 01/08/2015 01:34 AM, Hans de Goede wrote: > > Hi, Hi! > > On 08-01-15 01:19, Stephen Warren wrote: > >> On 01/07/2015 04:35 PM, Marek Vasut wrote: > >>> On Tuesday, January 06, 2015 at 06:02:57 PM, Stephen Warren wrote: > >

Re: [U-Boot] [PATCH 5/6] sunxi: video: Give hotplug-detect (hpd) signal some time to show up

2015-01-08 Thread Anatolij Gustschin
On Sat, 20 Dec 2014 15:42:04 +0100 Hans de Goede wrote: > When using a hdmi powered hdmi to vga dongle, and cold booting a sunxi > device, the hpd detect code would not see the dongle (until a warm reboot), > because the dongle needs some time to boot. > > Testing has shown that this dongle need

Re: [U-Boot] [PATCH 6/6] sunxi: video: Set input sync enable

2015-01-08 Thread Anatolij Gustschin
On Sat, 20 Dec 2014 15:42:05 +0100 Hans de Goede wrote: > Add a write to the "unknown" (*) register to enable auto input sync, when > initially adding sunxi hdmi output support this magic write from the android > kernel code was missed, causing lcdc -> hdmi encoder sync problems. > > With this w

[U-Boot] [PATCH] arm: vf610: fix boot from SD-card

2015-01-08 Thread Stefan Agner
Boot from SD-card (and probably also from NAND) was broken since commit d6d07a9bec ("arm: vf610: add NAND support for vf610twr"). It looks like the increased size of U-Boot lead to a situation where the boot ROM overwrote its own stack/heap while loading U-Boot from the SD-card to the SRAM. However

Re: [U-Boot] [PATCH 01/17] videomodes: Add support for refresh and pclk_khz to video_get_params()

2015-01-08 Thread Anatolij Gustschin
On Wed, 24 Dec 2014 20:06:13 +0100 Hans de Goede wrote: > Add support to video_get_params() for setting the new refresh and pixclock_khz > struct ctfb_res_modes members. > > Signed-off-by: Hans de Goede Acked-by: Anatolij Gustschin ___ U-Boot mailin

Re: [U-Boot] [PATCH 0/2] Fix repeated USB scans problems

2015-01-08 Thread Hans de Goede
Hi, On 08-01-15 18:06, Marek Vasut wrote: On Thursday, January 08, 2015 at 05:16:53 PM, Stephen Warren wrote: On 01/08/2015 01:34 AM, Hans de Goede wrote: Hi, Hi! On 08-01-15 01:19, Stephen Warren wrote: On 01/07/2015 04:35 PM, Marek Vasut wrote: On Tuesday, January 06, 2015 at 06:02:57

Re: [U-Boot] [PATCH] arm: vf610: fix boot from SD-card

2015-01-08 Thread Bill Pringlemeir
On 8 Jan 2015, ste...@agner.ch wrote: > Boot from SD-card (and probably also from NAND) was broken since > commit d6d07a9bec ("arm: vf610: add NAND support for vf610twr"). > It looks like the increased size of U-Boot lead to a situation > where the boot ROM overwrote its own stack/heap while load

Re: [U-Boot] [PATCH 0/2] Fix repeated USB scans problems

2015-01-08 Thread Marek Vasut
On Thursday, January 08, 2015 at 06:23:55 PM, Hans de Goede wrote: > Hi, > > On 08-01-15 18:06, Marek Vasut wrote: > > On Thursday, January 08, 2015 at 05:16:53 PM, Stephen Warren wrote: > >> On 01/08/2015 01:34 AM, Hans de Goede wrote: > >>> Hi, > > > > Hi! > > > >>> On 08-01-15 01:19, Stephen

Re: [U-Boot] [PATCH 0/2] Fix repeated USB scans problems

2015-01-08 Thread Hans de Goede
Hi, On 08-01-15 18:36, Marek Vasut wrote: On Thursday, January 08, 2015 at 06:23:55 PM, Hans de Goede wrote: Hi, On 08-01-15 18:06, Marek Vasut wrote: On Thursday, January 08, 2015 at 05:16:53 PM, Stephen Warren wrote: On 01/08/2015 01:34 AM, Hans de Goede wrote: Hi, Hi! On 08-01-15 01:

[U-Boot] [PATCH RESEND] usb: gadget: pxa25x_udc: fix use-before-initialized bug

2015-01-08 Thread Alex Sadovsky
Fix use-before-initialized bug in pxa25x_udc driver. Function usb_gadget_register_driver calls udc_disable, and udc_disable calls pullup_off that uses dev->mach->udc_command. But dev->mach is initialized in usb_gadget_register_driver after calling udc_disable. This patch fixes the order of initial

Re: [U-Boot] [PATCH 1/3] samsung: board: support eMMC reset using DT

2015-01-08 Thread Simon Glass
Hi Joonyoung, On 7 January 2015 at 22:44, Joonyoung Shim wrote: > Some exynos boards require special handling of SD4_nRESET_OUT line for > eMMC memory to perform complete reboot e.g. Odroid X2/U3/XU3 boards. > > This will support eMMC reset using DT from reset_misc of samsung common > board file

Re: [U-Boot] [PATCH] usb: gadget: pxa25x_udc: fix use-before-initialized bug

2015-01-08 Thread Nable
> You can use [PATCH RESEND], which is probably much clearer in expressing > the intent. You might add a short note just before the diffstat saying that > you only updated the SoB line and author to match the real deal, but didn't > change the patch contents. I've edited my patch and it's still app

Re: [U-Boot] [PATCH 2/3] Odroid: Add eMMC-reset node on DT

2015-01-08 Thread Simon Glass
Hi, On 7 January 2015 at 22:44, Joonyoung Shim wrote: > This needs for special handling of SD4_nRESET_OUT line for eMMC memory > to perform complete reboot on Odroid X2/U3 boards. > > Signed-off-by: Joonyoung Shim > --- > arch/arm/dts/exynos4412-odroid.dts | 5 + > 1 file changed, 5 inserti

  1   2   >