Re: [U-Boot] [PATCH] mvebu: usb: Add missing controller reset after initialization

2016-01-03 Thread Wolfgang Denk
Dear Phil, [added USB custodian to Cc:] In message <20160102211834.e49a161...@mail.nwl.cc> you wrote: > In order to allow for Linux properly register the integrated EHCI host, > we have to reset it after initialization. Without this, enumeration > fails if 'usb start' wasn't issued prior to booti

Re: [U-Boot] [PATCH] mvebu: usb: Add missing controller reset after initialization

2016-01-03 Thread Marek Vasut
On Sunday, January 03, 2016 at 09:59:23 AM, Wolfgang Denk wrote: > Dear Phil, > > [added USB custodian to Cc:] Thanks > In message <20160102211834.e49a161...@mail.nwl.cc> you wrote: > > In order to allow for Linux properly register the integrated EHCI host, > > we have to reset it after initiali

Re: [U-Boot] [PATCH] serial_mxc: Fix setup of UARTx_UFCR register

2016-01-03 Thread Stefano Babic
On 25/11/2015 14:08, Maximilian Schwerin wrote: > This patch writes the default values for TXTL and RXTL to UARTx_UFCR. > Without this patch some older kernel versions crash as UARTx_UFCR was > not always correctly initialized. > > Signed-off-by: Maximilian Schwerin > --- Applied to u-boot-imx,

Re: [U-Boot] [PATCH 1/2] net: fec_mxc: configure MDIO hold time

2016-01-03 Thread Stefano Babic
On 08/12/2015 17:08, Eric Nelson wrote: > Hi Mans, > > On 12/08/2015 08:38 AM, Mans Rullgard wrote: >> If the host clock frequency is higher than 100 MHz, the MDIO hold >> time needs to be increased from its current setting of one cycle in >> order to meet the specified minium of 10 ns. Writing a

Re: [U-Boot] [PATCH 2/2] net: fec_mxc: unregister mdio bus on probe error

2016-01-03 Thread Stefano Babic
On 08/12/2015 16:38, Mans Rullgard wrote: > If fecmxc_initialize_multi() fails, it frees but does not unregister > the mdio bus, causing subsequent uses of the "mii" command to crash. > Fix this by adding mdio_unregister() calls where needed. > > Signed-off-by: Mans Rullgard > --- Applied to u-b

Re: [U-Boot] [PATCH] cgtqmx6eval: fix pad configuration for SPI bus

2016-01-03 Thread Stefano Babic
On 10/12/2015 09:58, Michael Schanz wrote: > Use the macro SETUP_IOMUX_PAD(...) rather than > imx_iomux_v3_setup_multiple_pads(...) in order to setup > the pin configuration for ECSPI1. > > ARRAY_SIZE(pads) provides the wrong size for > imx_iomux_v3_setup_multiple_pads(pads, ARRAY_SIZE(pads)) in

Re: [U-Boot] Pull request: u-boot-spi/next

2016-01-03 Thread Tom Rini
On Sun, Jan 03, 2016 at 09:26:38AM +0530, Jagan Teki wrote: > On 2 January 2016 at 22:34, Tom Rini wrote: > > On Wed, Dec 30, 2015 at 04:04:23PM +0530, Jagan Teki wrote: > > > >> Tom, > >> > >> Please note that subject shows u-boot-spi/next but it actually > >> u-boot-spi/master and of course PR s

Re: [U-Boot] [PATCH v2] arm: mxs: add support for I2SE's Duckbill boards

2016-01-03 Thread Stefano Babic
Hi Michael, some aditional comments before you will send V3: On 13/12/2015 12:09, Michael Heimpold wrote: > Signed-off-by: Michael Heimpold This is the patch introducing a new board. It is not bad if you add some info in the commit message, for example which peripherals are already supported an

Re: [U-Boot] [PATCH v3] ARM: mxs: allow boards to select DC-DC switching clock source

2016-01-03 Thread Stefano Babic
On 13/12/2015 12:08, Michael Heimpold wrote: > For some board designs, it might be useful to switch the DC-DC > clock source to something else rather the default 24 MHz, e.g. > for EMI reasons. > > For this, override the mxs_power_setup_dcdc_clocksource function > in your board support files. > >

Re: [U-Boot] [Patch V3] i2c: mxc: add a condition in case the parameter is NULL

2016-01-03 Thread Stefano Babic
On 18/12/2015 10:38, Gong Qianyu wrote: > This could avoid executing the code that only applies to i.MX platforms. > > The bus_i2c_init() is called before relocation and will assgin value > to a static variable. If U-Boot is then still running in a flash > device, it's theoretically not allowed to

Re: [U-Boot] [PATCH] imx: mx6qsabreauto: support lvds display

2016-01-03 Thread Stefano Babic
On 15/12/2015 09:27, Peng Fan wrote: > Move setup_display from board_early_init_f to board_init. > Add more clock settings. > Add blacklight iomux setting. > Add display_info_t info for the lvds screen. > > Signed-off-by: Peng Fan > Cc: Fabio Estevam > Cc: Stefano Babic > --- Applied to u-boo

Re: [U-Boot] [PATCH] gpio: mxs: add name_to_gpio() function

2016-01-03 Thread Stefano Babic
On 15/12/2015 23:27, Mans Rullgard wrote: > Override the default name_to_gpio() function with one that > accepts strings of the form bank:pin. If a colon is present > in the provided name, it behaves like the default version. > > This lets the "gpio" command work with sane names rather than > req

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

2016-01-03 Thread Stefano Babic
Hi Tom, my first PR of the year ! Please pull from u-boot-imx, thanks ! The following changes since commit 1d149eddcc0661b683002f76a8240491eba00dbb: dm: Add timeline and guide for porting serial drivers (2015-11-20 13:59:54 -0500) are available in the git repository at: git://www.denx.de/g

Re: [U-Boot] Pull request: u-boot-spi/next

2016-01-03 Thread Jagan Teki
On 3 January 2016 at 20:14, Tom Rini wrote: > On Sun, Jan 03, 2016 at 09:26:38AM +0530, Jagan Teki wrote: >> On 2 January 2016 at 22:34, Tom Rini wrote: >> > On Wed, Dec 30, 2015 at 04:04:23PM +0530, Jagan Teki wrote: >> > >> >> Tom, >> >> >> >> Please note that subject shows u-boot-spi/next but

Re: [U-Boot] Pull request: u-boot-spi/next

2016-01-03 Thread Tom Rini
On Sun, Jan 03, 2016 at 09:10:14PM +0530, Jagan Teki wrote: > On 3 January 2016 at 20:14, Tom Rini wrote: > > On Sun, Jan 03, 2016 at 09:26:38AM +0530, Jagan Teki wrote: > >> On 2 January 2016 at 22:34, Tom Rini wrote: > >> > On Wed, Dec 30, 2015 at 04:04:23PM +0530, Jagan Teki wrote: > >> > > >>

[U-Boot] [PATCH] armv7: Add missing newline after OMAP die ID

2016-01-03 Thread Ladislav Michl
Signed-off-by: Ladislav Michl --- arch/arm/cpu/armv7/omap-common/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv7/omap-common/utils.c b/arch/arm/cpu/armv7/omap-common/utils.c index 602d993..52ea734 100644 --- a/arch/arm/cpu/armv7/omap-common/util

Re: [U-Boot] Driver model test breakages

2016-01-03 Thread Simon Glass
Hi Jagan, On 22 December 2015 at 12:39, Joe Hershberger wrote: > Hi Simon, > > On Tue, Dec 22, 2015 at 1:14 PM, Joe Hershberger > wrote: >> Hi Simon, >> >> On Mon, Dec 21, 2015 at 9:17 PM, Joe Hershberger >> wrote: >>> Hi Bin and Simon, >>> >>> On Mon, Dec 21, 2015 at 9:08 PM, Joe Hershberger >

Re: [U-Boot] [PATCH 00/10] Add support for Rockchip RK3288 Ethernet

2016-01-03 Thread Simon Glass
Hi Sjoerd, On 1 October 2015 at 03:48, Sjoerd Simons wrote: > > > This series adds support for the GMAC Ethernet interface on RK3288 SoCs. > > To add support I've taken a slightly different approach then some of the > other boards with a designware IP block, by creating a new driver to > take car

Re: [U-Boot] [PATCH v2] arm: mxs: add support for I2SE's Duckbill boards

2016-01-03 Thread Marek Vasut
On Sunday, January 03, 2016 at 03:56:01 PM, Stefano Babic wrote: > Hi Michael, > > some aditional comments before you will send V3: [...] > > diff --git a/board/i2se/duckbill/Makefile b/board/i2se/duckbill/Makefile > > new file mode 100644 > > index 000..b5577e3 > > --- /dev/null > > +++ b/b

[U-Boot] [PATCH 1/3] dm: Disable all SPI and SPI flash tests

2016-01-03 Thread Simon Glass
This subsystem has been broken since commit: 4efad20a sf: Update status reg check in spi_flash_cmd_wait_ready There has so far been no response from the maintainer, and a release is imminent. For now, let's just disable the tests. Signed-off-by: Simon Glass --- test/dm/Makefile | 4 ++-- 1

[U-Boot] [PATCH 3/3] dm: usb: Add a remove() method for USB keyboards

2016-01-03 Thread Simon Glass
At present USB keyboards are not properly removed with driver model. Add the code to handle this. Signed-off-by: Simon Glass --- common/usb_kbd.c | 36 1 file changed, 36 insertions(+) diff --git a/common/usb_kbd.c b/common/usb_kbd.c index 9617a48..7bcab1c

[U-Boot] [PATCH 2/3] usb: Allow up to 7 storage devices

2016-01-03 Thread Simon Glass
The current limit of 5 is not enough for the driver model USB tests. Really we should not have a limit but the driver model code still uses the usb_dev_desc[] array, which has a limit. Increasing the limit by 2 should not bother anyone. Adjust it. Signed-off-by: Simon Glass --- common/usb_stor

Re: [U-Boot] [PATCH V3] usb:ci_udc: Remove ULPI setting for i.MX OTG controller

2016-01-03 Thread Marek Vasut
On Thursday, December 31, 2015 at 10:34:06 AM, Li Ye-B37916 wrote: > On 12/31/2015 5:07 PM, Marek Vasut wrote: > > On Thursday, December 31, 2015 at 08:24:45 AM, Peng Fan wrote: > >> From: "Ye.Li" > >> > >> All the i.MX6, i.MX23 and i.MX28 OTG controllers only support UTMI > >> interface. Set to

Re: [U-Boot] [PATCH 1/2] dm: eth: Test 'ethrotate' before changing current ethernet device

2016-01-03 Thread Simon Glass
On 22 December 2015 at 12:04, Joe Hershberger wrote: > On Tue, Dec 22, 2015 at 12:43 AM, Bin Meng wrote: >> In eth_current_changed(), the call to eth_get_dev() below has a side >> effect of rotating ethernet device if uc_priv->current == NULL. This >> is not what we want when 'ethrotate' variable

Re: [U-Boot] [PATCH 2/2] dm: eth: Stick to 'ethact' when 'ethrotate' is 'no' in eth_init()

2016-01-03 Thread Simon Glass
On 22 December 2015 at 12:05, Joe Hershberger wrote: > On Tue, Dec 22, 2015 at 12:43 AM, Bin Meng wrote: >> When 'ethrotate' variable is set to 'no' and 'ethact' variable >> is already set to an ethernet device, we should stick to 'ethact'. >> >> Signed-off-by: Bin Meng > > Acked-by: Joe Hershbe

[U-Boot] [PATCH] UBI: Fix compile error when CONFIG_UBI_SILENCE_MSG defined

2016-01-03 Thread Ladislav Michl
drivers/mtd/ubi/io.c:1354:3: error: 'dump_len' undeclared (first use in this function) dump_len = max_t(int, 128, len - i); Signed-off-by: Ladislav Michl --- drivers/mtd/ubi/io.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/ubi/io.c b/drivers/mtd/ubi/io.c index d1bdec3..0be9

Re: [U-Boot] [PATCH 2/3] usb: Allow up to 7 storage devices

2016-01-03 Thread Marek Vasut
On Sunday, January 03, 2016 at 09:50:30 PM, Simon Glass wrote: > The current limit of 5 is not enough for the driver model USB tests. Really > we should not have a limit but the driver model code still uses the > usb_dev_desc[] array, which has a limit. > > Increasing the limit by 2 should not bot

Re: [U-Boot] [PATCH 3/3] dm: usb: Add a remove() method for USB keyboards

2016-01-03 Thread Marek Vasut
On Sunday, January 03, 2016 at 09:50:31 PM, Simon Glass wrote: > At present USB keyboards are not properly removed with driver model. Add > the code to handle this. > > Signed-off-by: Simon Glass Reviewed-by: Marek Vasut Best regards, Marek Vasut ___

Re: [U-Boot] Samsung I2C driver

2016-01-03 Thread Simon Glass
Hi David, On 11 December 2015 at 05:07, David Müller (ELSOFT AG) wrote: > Simon Glass wrote: > >> David are you able to move your board to driver model for i2c? > > To be frank, I don't know it (yet). Being a total DM novice, it is > difficult for me to estimate the amount of effort needed to do

[U-Boot] [PATCH] fdt: Allow fdt_translate_address() to work with buses

2016-01-03 Thread Simon Glass
It is common for I2C and SPI buses to have a single-cell address and a size of 0. These produce a warning at present. For example on snow: __of_translate_address: Bad cell count for gpc4 __of_translate_address: Bad cell count for gpx0 __of_translate_address: Bad cell count for gpv2 __of_translate_

Re: [U-Boot] [PATCH 1/2] dm: eth: Test 'ethrotate' before changing current ethernet device

2016-01-03 Thread Simon Glass
On 3 January 2016 at 13:52, Simon Glass wrote: > On 22 December 2015 at 12:04, Joe Hershberger > wrote: >> On Tue, Dec 22, 2015 at 12:43 AM, Bin Meng wrote: >>> In eth_current_changed(), the call to eth_get_dev() below has a side >>> effect of rotating ethernet device if uc_priv->current == NUL

Re: [U-Boot] [PATCH] test: add sandbox timer to test.dts

2016-01-03 Thread Simon Glass
On 19 December 2015 at 15:24, Simon Glass wrote: > Applied to u-boot-dm/next. Also Applied to u-boot-dm/master, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/2] dm: eth: Stick to 'ethact' when 'ethrotate' is 'no' in eth_init()

2016-01-03 Thread Simon Glass
On 3 January 2016 at 13:52, Simon Glass wrote: > On 22 December 2015 at 12:05, Joe Hershberger > wrote: >> On Tue, Dec 22, 2015 at 12:43 AM, Bin Meng wrote: >>> When 'ethrotate' variable is set to 'no' and 'ethact' variable >>> is already set to an ethernet device, we should stick to 'ethact'.

Re: [U-Boot] [PATCH] mvebu: usb: Add missing controller reset after initialization

2016-01-03 Thread Phil Sutter
Hi, On Sun, Jan 03, 2016 at 09:59:23AM +0100, Wolfgang Denk wrote: > [added USB custodian to Cc:] > > In message <20160102211834.e49a161...@mail.nwl.cc> you wrote: > > In order to allow for Linux properly register the integrated EHCI host, > > we have to reset it after initialization. Without thi

Re: [U-Boot] [PATCH] mvebu: usb: Add missing controller reset after initialization

2016-01-03 Thread Marek Vasut
On Monday, January 04, 2016 at 12:38:07 AM, Phil Sutter wrote: > Hi, > > On Sun, Jan 03, 2016 at 09:59:23AM +0100, Wolfgang Denk wrote: > > [added USB custodian to Cc:] > > > > In message <20160102211834.e49a161...@mail.nwl.cc> you wrote: > > > In order to allow for Linux properly register the in

Re: [U-Boot] Pull request: u-boot-net

2016-01-03 Thread Bin Meng
+Dirk On Sun, Jan 3, 2016 at 1:09 AM, Tom Rini wrote: > On Tue, Dec 22, 2015 at 11:58:01AM -0600, Joe Hershberger wrote: > >> A few patches that came in during the merge window and appear harmless. >> >> These cause no additional build warnings or errors. >> >> Thanks, >> -Joe >> >> The following

[U-Boot] [PATCH] net: bootp: Ignore packets whose yiaddr is 0

2016-01-03 Thread Peng Fan
When doing `dhcp`, there is a bad dhcp server in my network which always reply dhcp request with yiaddr 0, which cause uboot can not successfully get ipaddr from the good dhcp server. But the Linux PC can get the ip address even if there is a bad dhcp server. This patch is to fix that even if there

Re: [U-Boot] [PATCH] mvebu: usb: Add missing controller reset after initialization

2016-01-03 Thread Phil Sutter
Hi, On Mon, Jan 04, 2016 at 12:47:37AM +0100, Marek Vasut wrote: > On Monday, January 04, 2016 at 12:38:07 AM, Phil Sutter wrote: > > The bit which really was missing is the USB mode setting I smuggled in > > along with my patch - setting the devices to host mode is sufficient for > > Linux to suc

Re: [U-Boot] [PATCH] cmd_pci: Check for VendorID earlier

2016-01-03 Thread Bin Meng
Hi Fabio, On Thu, Dec 31, 2015 at 11:20 PM, Fabio Estevam wrote: > Hi Bin, > > On Thu, Dec 31, 2015 at 7:32 AM, Bin Meng wrote: > >> I also see this behavior on ls1021atwr board. I agree with Simon, the >> correct fix should fix the PCIe driver to return 0 instead of -EINVAL. > > Do you mean lik

Re: [U-Boot] [PATCH v4 5/8] x86: qemu: add qemu_fwcfg_fdt_fixup()

2016-01-03 Thread Bin Meng
On Thu, Dec 31, 2015 at 5:02 PM, Miao Yan wrote: > Hi Simon, > > 2015-12-31 13:08 GMT+08:00 Simon Glass : >> Hi Maio, >> >> On 30 December 2015 at 19:55, Miao Yan wrote: >>> Add a function to fix up 'cpus' node in dts files for qemu target. >>> >>> Signed-off-by: Miao Yan >>> --- >>> Changes in

Re: [U-Boot] Pull request: u-boot-net

2016-01-03 Thread Tom Rini
On Mon, Jan 04, 2016 at 10:35:39AM +0800, Bin Meng wrote: > +Dirk > > On Sun, Jan 3, 2016 at 1:09 AM, Tom Rini wrote: > > On Tue, Dec 22, 2015 at 11:58:01AM -0600, Joe Hershberger wrote: > > > >> A few patches that came in during the merge window and appear harmless. > >> > >> These cause no addi

Re: [U-Boot] Pull request: u-boot-net

2016-01-03 Thread Bin Meng
+Simon, Hi Tom, On Mon, Jan 4, 2016 at 11:46 AM, Tom Rini wrote: > On Mon, Jan 04, 2016 at 10:35:39AM +0800, Bin Meng wrote: >> +Dirk >> >> On Sun, Jan 3, 2016 at 1:09 AM, Tom Rini wrote: >> > On Tue, Dec 22, 2015 at 11:58:01AM -0600, Joe Hershberger wrote: >> > >> >> A few patches that came in

Re: [U-Boot] [linux-sunxi] Re: PSCI for H3

2016-01-03 Thread Chen-Yu Tsai
On Mon, Dec 28, 2015 at 1:16 AM, Maxime Ripard wrote: > On Wed, Dec 23, 2015 at 12:14:15PM +0200, Siarhei Siamashka wrote: >> On Tue, 17 Nov 2015 15:32:30 +0100 >> Jens Kuske wrote: >> >> > On 16/11/15 07:26, Chen-Yu Tsai wrote: >> > > Hi everyone, >> > > >> > > I got my Orange Pi PC booting U-bo

Re: [U-Boot] [PATCH 3/3] dm: usb: Add a remove() method for USB keyboards

2016-01-03 Thread Joe Hershberger
Hi Simon, On Sun, Jan 3, 2016 at 2:50 PM, Simon Glass wrote: > At present USB keyboards are not properly removed with driver model. Add the > code to handle this. > > Signed-off-by: Simon Glass Is this supposed to fix the crash that I was reporting details about in the USB keyboard sandbox test

Re: [U-Boot] [PATCH v4 1/8] x86: qemu: add fw_cfg support

2016-01-03 Thread Bin Meng
Hi Miao, On Thu, Dec 31, 2015 at 10:55 AM, Miao Yan wrote: > The QEMU fw_cfg interface allows the guest to retrieve various > data information from QEMU. For example, APCI/SMBios tables, number > of online cpus, kernel data and command line, etc. > > This patch adds support for QEMU fw_cfg interf

Re: [U-Boot] [PATCH v4 2/8] x86: qemu: add a cpu uclass driver for qemu target

2016-01-03 Thread Bin Meng
On Thu, Dec 31, 2015 at 10:55 AM, Miao Yan wrote: > Add a cpu uclass driver for qemu. Previously, the qemu > target gets cpu number from board dts files, which are > manually created at compile time. This does not scale > when more cpus are assigned to guest as the dts files > must be modified as

Re: [U-Boot] [PATCH v4 4/8] x86: use actual CPU number for allocating memory

2016-01-03 Thread Bin Meng
On Thu, Dec 31, 2015 at 10:55 AM, Miao Yan wrote: > Use actual CPU number, instead of maximum cpu configured, > to allocate stack memory in 'load_sipi_vector' > > Signed-off-by: Miao Yan > --- > arch/x86/cpu/mp_init.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > Reviewed-by:

Re: [U-Boot] [PATCH v4 7/8] x86: qemu: adjust ramdisk load address

2016-01-03 Thread Bin Meng
Hi Miao, On Thu, Dec 31, 2015 at 10:55 AM, Miao Yan wrote: > By default, ramdisk load address is defined to 0200 in > env string. When loading bzImage to 10 (default address), there's The default load address is 100 (16MB). See CONFIG_LOADADDR in x86-common.h > a chance that the ram

Re: [U-Boot] [PATCH v4 8/8] x86: qemu: add documentaion for the fw_cfg interface

2016-01-03 Thread Bin Meng
Hi Miao, On Thu, Dec 31, 2015 at 10:55 AM, Miao Yan wrote: > Document the usage of 'fw' command > > Signed-off-by: Miao Yan > --- > Changes in v4: > - limit maximum supported cpu number to 32 > > doc/README.x86 | 35 --- > 1 file changed, 32 insertions(+), 3 de

Re: [U-Boot] [PATCH v4 3/8] x86: fix a typo in function name

2016-01-03 Thread Bin Meng
On Thu, Dec 31, 2015 at 10:55 AM, Miao Yan wrote: > Rename 'find_cpu_by_apid_id' to 'find_cpu_by_apic_id'. This > should be a typo. > > Signed-off-by: Miao Yan > --- > arch/x86/cpu/mp_init.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > Reviewed-by: Bin Meng _

Re: [U-Boot] [PATCH 3/3] dm: usb: Add a remove() method for USB keyboards

2016-01-03 Thread Simon Glass
Hi Joe, On Jan 3, 2016 9:04 PM, "Joe Hershberger" wrote: > > Hi Simon, > > On Sun, Jan 3, 2016 at 2:50 PM, Simon Glass wrote: > > At present USB keyboards are not properly removed with driver model. Add the > > code to handle this. > > > > Signed-off-by: Simon Glass > > Is this supposed to fix

Re: [U-Boot] [PATCH v4 0/8] x86: qemu: add fw_cfg interface support for qemu-x86 targets

2016-01-03 Thread Bin Meng
Hi Miao, On Thu, Dec 31, 2015 at 10:55 AM, Miao Yan wrote: > The fw_cfg interface provided by QEMU allow guests to retrieve various > information > about the system, e.g. cpu number, variaous firmware data, kernel setup, etc. > The > fw_cfg interface can be accessed through 3 IO ports (on x86),

[U-Boot] [PATCH 1/2] arm: add a weak function reset_cpu

2016-01-03 Thread Peng Fan
This commit 4bdcbe60a142b08eefccb0e326a37ba81d3389e8 removes reset_cpu which breaks SPL build when DEBUG macro defined. Introudce a weak function reset_cpu to avoid build failure when building SPL for i.MX with DEBUG enabled. " arch/arm/lib/built-in.o: In function `do_reset': ~/uboot/arch/arm/lib/

[U-Boot] [PATCH 2/2] imx: mx6ul: disable VIDEO for SPL

2016-01-03 Thread Peng Fan
With DEBUG macro enabled, SPL build failure: " arch/arm/cpu/armv7/built-in.o: In function `reset_misc': ~/uboot/arch/arm/cpu/armv7/mx6/soc.c:406: undefined reference to `lcdif_power_down' scripts/Makefile.spl:244: recipe for target 'spl/u-boot-spl' failed " Wrap VIDEO settings with ifndef CONFIG_S

Re: [U-Boot] Driver model test breakages

2016-01-03 Thread Jagan Teki
Hi Simon, On 4 January 2016 at 01:22, Simon Glass wrote: > Hi Jagan, > > On 22 December 2015 at 12:39, Joe Hershberger > wrote: >> Hi Simon, >> >> On Tue, Dec 22, 2015 at 1:14 PM, Joe Hershberger >> wrote: >>> Hi Simon, >>> >>> On Mon, Dec 21, 2015 at 9:17 PM, Joe Hershberger >>> wrote:

[U-Boot] [PATCH 1/2] imx: mx7: default enable MDIO open drain

2016-01-03 Thread Peng Fan
The management data input/output (MDIO) requires open-drain, i.MX7D TO1.0 ENET MDIO pin has no open drain, but TO1.1 supports this feature. So to TO1.1, need to enable open drain by setting bits GPR0[8:7] for TO1.1. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/cpu/armv7/mx7/soc.c

[U-Boot] [PATCH 2/2] imx: mx7: fix the temperature checking for Rev1.1

2016-01-03 Thread Peng Fan
To TO1.0, we can not rely on finish bit to read temperature. But to TO1.1, the issue was fixed by IC, we can rely on finish bit for temperature reading for TO1.1. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Tim Harvey Cc: Fabio Estevam Cc: Adrian Alonso --- drivers/thermal/imx_thermal.c |

Re: [U-Boot] Driver model test breakages

2016-01-03 Thread Bin Meng
Hi Jagan, On Mon, Jan 4, 2016 at 1:12 PM, Jagan Teki wrote: > Hi Simon, > > On 4 January 2016 at 01:22, Simon Glass wrote: >> Hi Jagan, >> >> On 22 December 2015 at 12:39, Joe Hershberger >> wrote: >>> Hi Simon, >>> >>> On Tue, Dec 22, 2015 at 1:14 PM, Joe Hershberger >>> wrote: Hi Simon

[U-Boot] [PATCH 1/2] imx: mx6: add more entry for mxc_ccm_reg

2016-01-03 Thread Peng Fan
Add more entries for structure mxc_ccm_reg. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/include/asm/arch-mx6/crm_regs.h | 87 1 file changed, 87 insertions(+) diff --git a/arch/arm/include/asm/arch-mx6/crm_regs.h b/arch/arm/include/asm/arch-mx6/crm_

[U-Boot] [PATCH 2/2] imx: mx6ul/sx: fix mmdc_ch0 clk calculation

2016-01-03 Thread Peng Fan
Check "Figure 19-5. BUS clock generation" of i.MX 6SoloX Applications Processor Reference Manual and "Figure 18-5. BUS clock generation" of i.MX 6UltraLite Applications Processor Reference Manual. If mmdc clk sources from pll4_main_clk(pll_audio), the calculation is wrong. Fix mmdc_ch0 clk calcula

Re: [U-Boot] [PATCH] UBI: Fix compile error when CONFIG_UBI_SILENCE_MSG defined

2016-01-03 Thread Heiko Schocher
Hello Ladislav Michl Am 03.01.2016 um 22:05 schrieb Ladislav Michl: drivers/mtd/ubi/io.c:1354:3: error: 'dump_len' undeclared (first use in this function) dump_len = max_t(int, 128, len - i); Signed-off-by: Ladislav Michl --- drivers/mtd/ubi/io.c | 1 - 1 file changed, 1 deletion(-) Y

Re: [U-Boot] [PATCH 08/10] i2c: Correct command return values

2016-01-03 Thread Heiko Schocher
Hello Simon, Am 29.12.2015 um 13:22 schrieb Simon Glass: We should not return a -ve error code from command functions. Instead, return CMD_RET_FAILURE. This avoids the "exit not allowed from main input shell" error messages from the hush shell. Signed-off-by: Simon Glass --- common/cmd_i2c.

Re: [U-Boot] [RFC 1/2] i2c: Describe Cadence I2C devicetree bindings

2016-01-03 Thread Heiko Schocher
Hello Moritz, Am 28.12.2015 um 18:47 schrieb Moritz Fischer: Signed-off-by: Moritz Fischer --- doc/device-tree-bindings/i2c/i2c-cdns.txt | 20 1 file changed, 20 insertions(+) create mode 100644 doc/device-tree-bindings/i2c/i2c-cdns.txt Looks good to me: Acked-by: He

Re: [U-Boot] [RFC 2/2] dm: i2c: Add driver for Cadence I2C IP

2016-01-03 Thread Heiko Schocher
Hello Moritz, Am 28.12.2015 um 18:47 schrieb Moritz Fischer: This is a possible drop in replacement for drivers/i2c/zynq-i2c.c Since this is cadence IP it has been renamed to cdns-i2c, to make sense with the compatible string. Signed-off-by: Moritz Fischer --- drivers/i2c/Kconfig| 7 +

[U-Boot] [PATCH] pfuze: Fix unsigned variable for less-than-zero comparison

2016-01-03 Thread Peng Fan
From: "Ye.Li" According to the Coverity result, a unsigned int variable is used fo less- than-zero comparison, the result is never true. Need to fix the variable type to signed int. Signed-off-by: Ye.Li Signed-off-by: Peng Fan Cc: Przemyslaw Marczak Cc: Stefano Babic --- board/freescale/com

[U-Boot] [PATCH] imx: mx6/7 enlarge CONFIG_SYS_BOOTM_LEN to 16M

2016-01-03 Thread Peng Fan
Support uncompressing zImage which is larger than 8M. Signed-off-by: Peng Fan Cc: Peter Robinson Cc: Volodymyr Riazantsev Cc: Fabio Estevam Cc: Adrian Alonso Cc: Stefano Babic --- include/configs/mx6_common.h | 2 ++ include/configs/mx7_common.h | 2 ++ 2 files changed, 4 insertions(+) dif