Re: [U-Boot] [PATCH 00/20] arm: rpi: Enable USB and Ethernet driver model Raspberry Pi

2015-07-13 Thread Stephen Warren
On 07/11/2015 08:04 AM, Simon Glass wrote: > Hi Stephen, > > On 10 July 2015 at 23:34, Stephen Warren wrote: >> On 07/07/2015 08:53 PM, Simon Glass wrote: >>> Raspberry Pi uses a DWC2 USB controller and a SMSC USB Ethernet adaptor. >>> Neither of these currently support driver model. >>> >>> This

[U-Boot] [PATCH 1/2] imx6: standardise OCOTP and fuse config to mx6_common

2015-07-13 Thread Peter Robinson
According to README.mxc_ocotp the OCOTP is a stanard i.MX6 SoC feature so centralise the config in mx6_common.h so functionality is standard across all boards Signed-off-by: Peter Robinson --- include/configs/aristainetos-common.h | 3 --- include/configs/embestmx6boards.h | 5 - include

[U-Boot] v2 i.MX6 consolidate the fuse and thermal options

2015-07-13 Thread Peter Robinson
These two patches consolidate the fuse and thermal options. They're both options that are standard SoC features so should be there by default for all devices. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] QSPI NOR MTDs

2015-07-13 Thread Heiko Schocher
Hello David, Am 13.07.2015 um 19:59 schrieb David Cemin: Hi Thank you for the prompt reply. So theoretically on the main trunk it should work. Would you be able to tell me if it is merged to this line: https://github.com/altera-opensource/u-boot-socfpga As I can see, this is not yet merged

Re: [U-Boot] [PATCH 0/5] dcache support for Raspberry Pi 1

2015-07-13 Thread Stephen Warren
On 07/12/2015 02:10 AM, Alexander Stein wrote: > On Friday 10 July 2015, 23:17:58 wrote Stephen Warren: >> On 07/04/2015 03:48 AM, Alexander Stein wrote: >>> This patchset enables dcache support for Raspberry Pi 1. >>> First the cache support code was made similar to existing arm1136 code. >>> The

Re: [U-Boot] [PATCH 5/5] arm/rpi: Enable dcache

2015-07-13 Thread Stephen Warren
On 07/12/2015 01:30 AM, Alexander Stein wrote: > On Friday 10 July 2015, 23:24:58 wrote Stephen Warren: >> On 07/04/2015 03:48 AM, Alexander Stein wrote: >>> Now that mailbox driver supports cache flush and invalidation, we can >>> enable dcache. >> >> Did you also test that HDMI output doesn't sho

Re: [U-Boot] [PATCH 2/5] arm1176/cpu: Add icache and dcache support

2015-07-13 Thread Stephen Warren
On 07/12/2015 01:26 AM, Alexander Stein wrote: > On Friday 10 July 2015, 23:21:32 wrote Stephen Warren: >> On 07/04/2015 03:48 AM, Alexander Stein wrote: >>> The code is copied 1:1 from arm1136 which uses the same cp15 registers. >> >> Same comment here. Perhaps create a cache-armv6.c (or whatever

Re: [U-Boot] scripts: RPi 2: only 1 out of 4 CPUs brought up

2015-07-13 Thread Stephen Warren
On 07/11/2015 12:16 AM, Eric Anholt wrote: > Stephen Warren writes: ... >> Eric, did you find out any more details on the SMP pen mechanism >> since I last asked you about it? > > Oh, I thought we were settled on this back in May -- the CPUs are > spinning in the low 8kb. They are in that stat

Re: [U-Boot] [PATCH] RFC: dm: Add pointer checking for allocated data

2015-07-13 Thread Masahiro Yamada
Hi Simon, 2015-07-09 23:15 GMT+09:00 Simon Glass : > With driver model drivers can have things stored in several places. There is > driver-private data, then the uclass can attach things to a device. If the > device is on a bus then its bus may attach parent data to the device too. > > At prese

Re: [U-Boot] Hardware hashing on unsigned fitImage nodes.

2015-07-13 Thread Andre Wolokita
Hi Simon, On 10/07/15 04:52, Simon Glass wrote: > Hi Andre, > > On 7 July 2015 at 19:22, Andre Wolokita wrote: >> Hi Simon, >> >> Hopefully you're the right person to be contacting about this; if not, >> please point me in the right direction. >> >> We've recently had a contractor write a hash d

[U-Boot] [PATCH] thermal: Fix comments

2015-07-13 Thread Fabio Estevam
From: Fabio Estevam It seems that many comments were copied from the I2C uclass, so adjust the comments for the thermal class. Reported-by: Simon Glass Signed-off-by: Fabio Estevam --- include/thermal.h | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/incl

Re: [U-Boot] [PATCH v2 10/15] cgtqmx6eval: Add thermal support

2015-07-13 Thread Fabio Estevam
Hi Simon, On Mon, Jul 13, 2015 at 6:11 PM, Simon Glass wrote: > While you are in there, do you think you could fix the comments in > thermal.h, which are mostly bogus? Just sent a patch fixing it. >> +/* Thermal support */ >> +#define CONFIG_IMX6_THERMAL > > This could move to Kconfig. There

Re: [U-Boot] [PATCH 16/16] cgtqmx6eval: Use standard boot script

2015-07-13 Thread Marek Vasut
On Monday, July 13, 2015 at 07:15:44 PM, Otavio Salvador wrote: > On Mon, Jul 13, 2015 at 1:13 PM, Marek Vasut wrote: > > On Monday, July 13, 2015 at 06:11:11 PM, Otavio Salvador wrote: > >> On Mon, Jul 13, 2015 at 12:51 PM, Marek Vasut wrote: > >> > On Monday, July 13, 2015 at 05:23:18 PM, Otavi

Re: [U-Boot] [PATCH v2 15/15] cgtqmx6eval: Use standard boot script

2015-07-13 Thread Peter Robinson
On Mon, Jul 13, 2015 at 8:01 PM, Otavio Salvador wrote: > Use more standard boot scripts and also add the capability of > booting via NFS. It would actually be useful I think if you used the distro defaults support for booting here Peter > Signed-off-by: Otavio Salvador > --- > > Changes in v2

Re: [U-Boot] [PATCH v2 10/15] cgtqmx6eval: Add thermal support

2015-07-13 Thread Peter Robinson
On Mon, Jul 13, 2015 at 8:01 PM, Otavio Salvador wrote: > Add thermal support so that we can see the following message on boot: > > CPU: Industrial temperature grade (-40C to 105C) at 33C > > Signed-off-by: Otavio Salvador > --- > > Changes in v2: None > > configs/cgtqmx6qeval_defconfig | 3 ++

Re: [U-Boot] [PATCH 4/7] imx6: define CONFIG_IMX6_THERMAL as a default option

2015-07-13 Thread Peter Robinson
On Sun, Jun 28, 2015 at 5:32 PM, Stefano Babic wrote: > Hi Peter, > > On 28/06/2015 18:23, Soeren Moch wrote: Stefano, in the u-boot-imx repository there is already thermal support for tbs2910. We would need to revert commit fbd18aa610df896ccebbebb3fb88b197c413 before

Re: [U-Boot] am33xx booting from emmc boot partition

2015-07-13 Thread Tom Rini
On Mon, Jul 06, 2015 at 03:37:14PM +0200, Belisko Marek wrote: > Hi, > > I'm using am33x based board with emmc (2 boot partitions, userdata). I > can start u-boot when MLO and u-boot.img are written to user data > partition (raw mode) but I'm unable when stored in boot part 1. I got > fallback to

Re: [U-Boot] [PATCH v2 3/6] drivers: block: Remove the ata_piix driver

2015-07-13 Thread Simon Glass
Hi Bin, On 7 July 2015 at 21:00, Bin Meng wrote: > Hi Simon, > > On Tue, May 19, 2015 at 5:39 AM, Simon Glass wrote: >> On 15 May 2015 at 19:33, Bin Meng wrote: >>> This driver was originally added to support the native IDE mode for >>> Intel chipset, however it has some bugs like not supportin

Re: [U-Boot] [PATCH v3 1/2] pci: Configure expansion ROM during auto config process

2015-07-13 Thread Simon Glass
On 10 July 2015 at 06:46, Simon Glass wrote: > On 7 July 2015 at 23:06, Bin Meng wrote: >> Currently PCI expansion ROM address is assigned by a call to >> pciauto_setup_rom() outside of the pci auto config process. >> This does not work when expansion ROM is on a device behind >> PCI bridge where

Re: [U-Boot] [PATCH v3 2/2] pci: Disable expansion ROM address decoding when signature check fails

2015-07-13 Thread Simon Glass
On 10 July 2015 at 06:46, Simon Glass wrote: > On 7 July 2015 at 23:06, Bin Meng wrote: >> We should not leave the expansion ROM address window open when there >> is not a valid ROM. >> >> Suggested-by: Matt Porter >> Signed-off-by: Bin Meng >> >> --- >> I did not update pci_rom_probe() to hand

Re: [U-Boot] [PATCH v2 10/15] cgtqmx6eval: Add thermal support

2015-07-13 Thread Simon Glass
Hi, On 13 July 2015 at 13:01, Otavio Salvador wrote: > Add thermal support so that we can see the following message on boot: > > CPU: Industrial temperature grade (-40C to 105C) at 33C > > Signed-off-by: Otavio Salvador > --- > > Changes in v2: None > > configs/cgtqmx6qeval_defconfig | 3 +++

Re: [U-Boot] [PATCH v3 00/25] dm: Introduce Rockchip RK3288 support

2015-07-13 Thread Ulrich Prinz
Am 13.07.2015 um 00:10 schrieb Ulrich Prinz: Hi Simon, had to fixup my list account... Am 09.07.2015 um 20:10 schrieb Simon Glass: Hi Ulrich, Don't you mean this? ./firefly/tools/mkimage -T rkimage -d ./firefly/spl/u-boot-dtb.spl.bin You need to send U-Boot and its device tree. Perhaps

Re: [U-Boot] [PATCH 2/5] vf610: refactor DDRMC code

2015-07-13 Thread Stefan Agner
Hi Albert, Hi Stefano, On 10.07.2015 10:09, Stefano Babic wrote: > Hi Albert, Stefan, > > On 19/06/2015 19:33, Albert ARIBAUD wrote: > >> I could probably factor back out the JEDEC settings, but there are >> still differences in the lists of registers to write between the >> existing vf610twr/coli

[U-Boot] [PATCH v2 15/15] cgtqmx6eval: Use standard boot script

2015-07-13 Thread Otavio Salvador
Use more standard boot scripts and also add the capability of booting via NFS. Signed-off-by: Otavio Salvador --- Changes in v2: None include/configs/cgtqmx6eval.h | 94 ++- 1 file changed, 66 insertions(+), 28 deletions(-) diff --git a/include/configs/

[U-Boot] [PATCH v2 11/15] cgtqmx6eval: Add PMIC support

2015-07-13 Thread Otavio Salvador
cgtqmx6eval has a PFUZE100 FSL PMIC connected to I2C2. Add support for it. Signed-off-by: Otavio Salvador --- Changes in v2: - Rework indent-level for code (Marek) board/congatec/cgtqmx6eval/cgtqmx6eval.c | 85 include/configs/cgtqmx6eval.h| 13 +++

[U-Boot] [PATCH v2 12/15] cgtqmx6eval: Add USB support

2015-07-13 Thread Otavio Salvador
Add USB support. Signed-off-by: Otavio Salvador --- Changes in v2: - Use plan gpio API call (Marek) board/congatec/cgtqmx6eval/cgtqmx6eval.c | 44 include/configs/cgtqmx6eval.h| 15 +++ 2 files changed, 59 insertions(+) diff --git a/board/c

[U-Boot] [PATCH v2 14/15] cgtqmx6eval: Add SATA support

2015-07-13 Thread Otavio Salvador
Add SATA support. Signed-off-by: Otavio Salvador --- Changes in v2: None include/configs/cgtqmx6eval.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/configs/cgtqmx6eval.h b/include/configs/cgtqmx6eval.h index 5c72d34..d4b1538 100644 --- a/include/configs/cgtqmx6eval.h ++

[U-Boot] [PATCH v2 13/15] cgtqmx6eval: Add splash screen support

2015-07-13 Thread Otavio Salvador
Add LVDS and HDMI support. Signed-off-by: Otavio Salvador --- Changes in v2: - Rework code to use setbits_le32 (Marek) board/congatec/cgtqmx6eval/cgtqmx6eval.c | 173 +++ include/configs/cgtqmx6eval.h| 20 2 files changed, 193 insertions(+) diff -

[U-Boot] [PATCH v2 08/15] cgtqmx6eval: Add SPI NOR flash support

2015-07-13 Thread Otavio Salvador
Add SPI NOR support: => sf probe SF: Detected SST25VF032B with page size 256 Bytes, erase size 4 KiB, total 4 MiB Signed-off-by: Otavio Salvador --- Changes in v2: None board/congatec/cgtqmx6eval/cgtqmx6eval.c | 23 +++ include/configs/cgtqmx6eval.h| 10 +++

[U-Boot] [PATCH v2 10/15] cgtqmx6eval: Add thermal support

2015-07-13 Thread Otavio Salvador
Add thermal support so that we can see the following message on boot: CPU: Industrial temperature grade (-40C to 105C) at 33C Signed-off-by: Otavio Salvador --- Changes in v2: None configs/cgtqmx6qeval_defconfig | 3 +++ include/configs/cgtqmx6eval.h | 8 2 files changed, 11 inser

[U-Boot] [PATCH v2 07/15] cgtqmx6eval: Add ESDHC write-protect support

2015-07-13 Thread Otavio Salvador
Add board_mmc_getwp() for reading the ESDHC write-protect pin. Signed-off-by: Otavio Salvador --- Changes in v2: None board/congatec/cgtqmx6eval/cgtqmx6eval.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/board/congatec/cgtqmx6eval/cgtqmx6eval.c b/board/congatec/cgt

[U-Boot] [PATCH v2 09/15] cgtqmx6eval: Add Ethernet support

2015-07-13 Thread Otavio Salvador
cgtqmx6eval can be populated with a AR8035 or KSZ9031 depending on the board revision. Add Ethernet support. Signed-off-by: Otavio Salvador --- Changes in v2: None board/congatec/cgtqmx6eval/cgtqmx6eval.c | 205 +++ include/configs/cgtqmx6eval.h| 14 ++

[U-Boot] [PATCH v2 03/15] cgtqmx6eval: Staticize when possible

2015-07-13 Thread Otavio Salvador
Declare 'static' when possible. Signed-off-by: Otavio Salvador --- Changes in v2: None board/congatec/cgtqmx6eval/cgtqmx6eval.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/board/congatec/cgtqmx6eval/cgtqmx6eval.c b/board/congatec/cgtqmx6eval/cgtqmx6eval.c index

[U-Boot] [PATCH v2 04/15] cgtqmx6eval: Improve the error handling

2015-07-13 Thread Otavio Salvador
Perfoming an OR operation on the error is not a good approach. Return the error immediately for each ESDHC instance instead. Signed-off-by: Otavio Salvador --- Changes in v2: - use ARRAY_SIZE(usdhc_cfg) (Marek) board/congatec/cgtqmx6eval/cgtqmx6eval.c | 10 +++--- 1 file changed, 7 insert

[U-Boot] [PATCH v2 05/15] cgtqmx6eval: Fit into single lines

2015-07-13 Thread Otavio Salvador
There is no need to use multiple lines when they fit into a single line. Signed-off-by: Otavio Salvador --- Changes in v2: None board/congatec/cgtqmx6eval/cgtqmx6eval.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/board/congatec/cgtqmx6eval/cgtqmx6eval.c b/board/c

[U-Boot] [PATCH v2 06/15] cgtqmx6eval: Add ESDHC3 support

2015-07-13 Thread Otavio Salvador
cgtqmx6eval has an eMMC connected to ESDHC3. Add support for it. Signed-off-by: Otavio Salvador --- Changes in v2: - Use ARRAY_SIZE(usdhc_cfg) - Remove CONFIG_SYS_FSL_USDHC_NUM definition board/congatec/cgtqmx6eval/cgtqmx6eval.c | 22 +- 1 file changed, 21 insertions(+), 1

[U-Boot] [PATCH v2 02/15] cgtqmx6eval: Use the default CONFIG_SYS_PBSIZE

2015-07-13 Thread Otavio Salvador
Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'". Use the default CONFIG

[U-Boot] [PATCH v2 01/15] cgtqmx6eval: Use default prompt

2015-07-13 Thread Otavio Salvador
Remove the custom prompt and use the default instead. Signed-off-by: Otavio Salvador --- Changes in v2: None include/configs/cgtqmx6eval.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/cgtqmx6eval.h b/include/configs/cgtqmx6eval.h index dd06c05..5f753e7 100644 --- a/inc

Re: [U-Boot] [PATCH 16/16] cgtqmx6eval: Use standard boot script

2015-07-13 Thread Otavio Salvador
On Mon, Jul 13, 2015 at 12:51 PM, Marek Vasut wrote: > On Monday, July 13, 2015 at 05:23:18 PM, Otavio Salvador wrote: >> Use more standard boot scripts and also add the capability of >> booting via NFS. >> >> Signed-off-by: Otavio Salvador > > Why don't you switch to distro-bootcmd ? The distro

Re: [U-Boot] [PATCH 16/16] cgtqmx6eval: Use standard boot script

2015-07-13 Thread Otavio Salvador
On Mon, Jul 13, 2015 at 1:13 PM, Marek Vasut wrote: > On Monday, July 13, 2015 at 06:11:11 PM, Otavio Salvador wrote: >> On Mon, Jul 13, 2015 at 12:51 PM, Marek Vasut wrote: >> > On Monday, July 13, 2015 at 05:23:18 PM, Otavio Salvador wrote: >> >> Use more standard boot scripts and also add the

Re: [U-Boot] QSPI NOR MTDs

2015-07-13 Thread David Cemin
Hi Thank you for the prompt reply. So theoretically on the main trunk it should work. Would you be able to tell me if it is merged to this line: https://github.com/altera-opensource/u-boot-socfpga thanks! On Mon, Jul 13, 2015 at 12:23 AM, Heiko Schocher wrote: > Hello David, > > Am 11.07.201

Re: [U-Boot] [PATCH v2 00/14] Devres (Managed Device Resource) for U-Boot

2015-07-13 Thread Albert ARIBAUD
Hello Masahiro, On Mon, 13 Jul 2015 20:42:15 +0900, Masahiro Yamada wrote: > 2015-07-13 19:55 GMT+09:00 Albert ARIBAUD : > > Hello Masahiro, > > > > On Mon, 13 Jul 2015 16:39:45 +0900, Masahiro Yamada > > wrote: > >> Hi Albert, > >> > >> > >> 2015-07-13 15:51 GMT+09:00 Albert ARIBAUD : > >> > He

Re: [U-Boot] [PATCH 16/16] cgtqmx6eval: Use standard boot script

2015-07-13 Thread Marek Vasut
On Monday, July 13, 2015 at 06:11:11 PM, Otavio Salvador wrote: > On Mon, Jul 13, 2015 at 12:51 PM, Marek Vasut wrote: > > On Monday, July 13, 2015 at 05:23:18 PM, Otavio Salvador wrote: > >> Use more standard boot scripts and also add the capability of > >> booting via NFS. > >> > >> Signed-off-

Re: [U-Boot] [PATCH 05/16] cgtqmx6eval: Improve the error handling

2015-07-13 Thread Marek Vasut
On Monday, July 13, 2015 at 05:23:07 PM, Otavio Salvador wrote: > Perfoming an OR operation on the error is not a good approach. > > Return the error immediately for each ESDHC instance instead. > > Signed-off-by: Otavio Salvador > --- > > board/congatec/cgtqmx6eval/cgtqmx6eval.c | 10 +++-

Re: [U-Boot] [PATCH 12/16] cgtqmx6eval: Add PMIC support

2015-07-13 Thread Marek Vasut
On Monday, July 13, 2015 at 05:23:14 PM, Otavio Salvador wrote: > cgtqmx6eval has a PFUZE100 FSL PMIC connected to I2C2. > > Add support for it. > > Signed-off-by: Otavio Salvador > --- [..] > +/* setup board specific PMIC */ > +int power_init_board(void) > +{ > + struct pmic *p; > + u

Re: [U-Boot] [PATCH 13/16] cgtqmx6eval: Add USB support

2015-07-13 Thread Marek Vasut
On Monday, July 13, 2015 at 05:23:15 PM, Otavio Salvador wrote: > Add USB support. > > Signed-off-by: Otavio Salvador > --- [...] > +int board_ehci_power(int port, int on) > +{ > + switch (port) { > + case 0: > + break; > + case 1: > + if (on) > +

Re: [U-Boot] [PATCH 16/16] cgtqmx6eval: Use standard boot script

2015-07-13 Thread Marek Vasut
On Monday, July 13, 2015 at 05:23:18 PM, Otavio Salvador wrote: > Use more standard boot scripts and also add the capability of > booting via NFS. > > Signed-off-by: Otavio Salvador Why don't you switch to distro-bootcmd ? Best regards, Marek Vasut __

Re: [U-Boot] [PATCH 14/16] cgtqmx6eval: Add splash screen support

2015-07-13 Thread Marek Vasut
On Monday, July 13, 2015 at 05:23:16 PM, Otavio Salvador wrote: > Add LVDS and HDMI support. > > Signed-off-by: Otavio Salvador [...] > +static void setup_display(void) > +{ > + struct mxc_ccm_reg *mxc_ccm = (struct mxc_ccm_reg *)CCM_BASE_ADDR; > + struct iomuxc *iomux = (struct iomuxc

Re: [U-Boot] [Patch 2/3] Revert "e1000: fix sw fw sync on igb i210/i211"

2015-07-13 Thread Tim Harvey
On Sat, Jul 11, 2015 at 3:11 PM, Marcel Ziswiler wrote: > On Fri, 2015-07-10 at 08:47 -0700, Tim Harvey wrote: >> >> Marcel, >> >> Could you give an 'acked-by' if you agree with this series? I would >> like to see it merged: >> >> https://patchwork.ozlabs.org/patch/473997/ >> https://patchwork.ozl

[U-Boot] [PATCH 16/16] cgtqmx6eval: Use standard boot script

2015-07-13 Thread Otavio Salvador
Use more standard boot scripts and also add the capability of booting via NFS. Signed-off-by: Otavio Salvador --- include/configs/cgtqmx6eval.h | 94 ++- 1 file changed, 66 insertions(+), 28 deletions(-) diff --git a/include/configs/cgtqmx6eval.h b/inclu

[U-Boot] [PATCH 14/16] cgtqmx6eval: Add splash screen support

2015-07-13 Thread Otavio Salvador
Add LVDS and HDMI support. Signed-off-by: Otavio Salvador --- board/congatec/cgtqmx6eval/cgtqmx6eval.c | 181 +++ include/configs/cgtqmx6eval.h| 20 2 files changed, 201 insertions(+) diff --git a/board/congatec/cgtqmx6eval/cgtqmx6eval.c b/board/c

[U-Boot] [PATCH 15/16] cgtqmx6eval: Add SATA support

2015-07-13 Thread Otavio Salvador
Add SATA support. Signed-off-by: Otavio Salvador --- include/configs/cgtqmx6eval.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/configs/cgtqmx6eval.h b/include/configs/cgtqmx6eval.h index 0a778a7..d1e4483 100644 --- a/include/configs/cgtqmx6eval.h +++ b/include/configs/c

[U-Boot] [PATCH 12/16] cgtqmx6eval: Add PMIC support

2015-07-13 Thread Otavio Salvador
cgtqmx6eval has a PFUZE100 FSL PMIC connected to I2C2. Add support for it. Signed-off-by: Otavio Salvador --- board/congatec/cgtqmx6eval/cgtqmx6eval.c | 83 include/configs/cgtqmx6eval.h| 13 + 2 files changed, 96 insertions(+) diff --git a/boa

[U-Boot] [PATCH 13/16] cgtqmx6eval: Add USB support

2015-07-13 Thread Otavio Salvador
Add USB support. Signed-off-by: Otavio Salvador --- board/congatec/cgtqmx6eval/cgtqmx6eval.c | 47 include/configs/cgtqmx6eval.h| 15 ++ 2 files changed, 62 insertions(+) diff --git a/board/congatec/cgtqmx6eval/cgtqmx6eval.c b/board/congate

[U-Boot] [PATCH 09/16] cgtqmx6eval: Add SPI NOR flash support

2015-07-13 Thread Otavio Salvador
Add SPI NOR support: => sf probe SF: Detected SST25VF032B with page size 256 Bytes, erase size 4 KiB, total 4 MiB Signed-off-by: Otavio Salvador --- board/congatec/cgtqmx6eval/cgtqmx6eval.c | 23 +++ include/configs/cgtqmx6eval.h| 10 ++ 2 files changed,

[U-Boot] [PATCH 08/16] cgtqmx6eval: Add ESDHC write-protect support

2015-07-13 Thread Otavio Salvador
Add board_mmc_getwp() for reading the ESDHC write-protect pin. Signed-off-by: Otavio Salvador --- board/congatec/cgtqmx6eval/cgtqmx6eval.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/board/congatec/cgtqmx6eval/cgtqmx6eval.c b/board/congatec/cgtqmx6eval/cgtqmx6eval.

[U-Boot] [PATCH 05/16] cgtqmx6eval: Improve the error handling

2015-07-13 Thread Otavio Salvador
Perfoming an OR operation on the error is not a good approach. Return the error immediately for each ESDHC instance instead. Signed-off-by: Otavio Salvador --- board/congatec/cgtqmx6eval/cgtqmx6eval.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/board/congatec

[U-Boot] [PATCH 03/16] cgtqmx6eval: Use the default CONFIG_SYS_PBSIZE

2015-07-13 Thread Otavio Salvador
Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: "Unknown command '' - try 'help'". Use the default CONFIG

[U-Boot] [PATCH 10/16] cgtqmx6eval: Add Ethernet support

2015-07-13 Thread Otavio Salvador
cgtqmx6eval can be populated with a AR8035 or KSZ9031 depending on the board revision. Add Ethernet support. Signed-off-by: Otavio Salvador --- board/congatec/cgtqmx6eval/cgtqmx6eval.c | 205 +++ include/configs/cgtqmx6eval.h| 14 +++ 2 files changed, 2

[U-Boot] [PATCH 11/16] cgtqmx6eval: Add thermal support

2015-07-13 Thread Otavio Salvador
Add thermal support so that we can see the following message on boot: CPU: Industrial temperature grade (-40C to 105C) at 33C Signed-off-by: Otavio Salvador --- configs/cgtqmx6qeval_defconfig | 2 ++ include/configs/cgtqmx6eval.h | 8 2 files changed, 10 insertions(+) diff --git a

[U-Boot] [PATCH 01/16] mx53loco: Use generic 'load' command instead of 'fatload'

2015-07-13 Thread Otavio Salvador
From: Guillaume GARDET This patch uses generic 'load' command instead of 'fatload' for 'loadbootscript', 'loadimage' and 'loadfdt' for mx53loco board. This allows to use EXT partition instead of FAT, while keeping FAT compatibility. Signed-off-by: Guillaume GARDET Cc: Jason Liu Cc: Stefano

[U-Boot] [PATCH 02/16] cgtqmx6eval: Use default prompt

2015-07-13 Thread Otavio Salvador
Remove the custom prompt and use the default instead. Signed-off-by: Otavio Salvador --- include/configs/cgtqmx6eval.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/cgtqmx6eval.h b/include/configs/cgtqmx6eval.h index dd06c05..5f753e7 100644 --- a/include/configs/cgtqmx6e

[U-Boot] [PATCH 06/16] cgtqmx6eval: Fit into single lines

2015-07-13 Thread Otavio Salvador
There is no need to use multiple lines when they fit into a single line. Signed-off-by: Otavio Salvador --- board/congatec/cgtqmx6eval/cgtqmx6eval.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/board/congatec/cgtqmx6eval/cgtqmx6eval.c b/board/congatec/cgtqmx6eval/c

[U-Boot] [PATCH 04/16] cgtqmx6eval: Staticize when possible

2015-07-13 Thread Otavio Salvador
Declare 'static' when possible. Signed-off-by: Otavio Salvador --- board/congatec/cgtqmx6eval/cgtqmx6eval.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/board/congatec/cgtqmx6eval/cgtqmx6eval.c b/board/congatec/cgtqmx6eval/cgtqmx6eval.c index 7492534..eb6395a 100

[U-Boot] [PATCH 07/16] cgtqmx6eval: Add ESDHC3 support

2015-07-13 Thread Otavio Salvador
cgtqmx6eval has an eMMC connected to ESDHC3. Add support for it. Signed-off-by: Otavio Salvador --- board/congatec/cgtqmx6eval/cgtqmx6eval.c | 24 ++-- include/configs/cgtqmx6eval.h| 1 + 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/board/con

[U-Boot] Compiling U-Boot for Rockchip RK3168

2015-07-13 Thread Inti
Hello. Im trying to compile U-Boot for a RK3168 cpu with "make rk30xx", but when flashing the resulting binary (RK3066Loader_miniall.bin) I receive a "wrong chip" error and cannot flash the new bootloader. Im guessing that the rk30xx config is not compatible with this cpu? I have also tried buil

Re: [U-Boot] [PATCH] musb: set MUSB speed based on CONFIG

2015-07-13 Thread Bin Liu
Hi, On 07/11/2015 08:04 AM, Hans de Goede wrote: Hi, On 10-07-15 17:31, Bin Liu wrote: Hi, On 07/10/2015 10:12 AM, Heiko Schocher wrote: Hello Samuel, Am 10.07.2015 um 16:50 schrieb Egli, Samuel: Hi Hans, -Original Message- From: Hans de Goede [mailto:hdego...@redhat.com] Sent: F

[U-Boot] Last call for patches for v2015.07

2015-07-13 Thread Tom Rini
Hey all, I'm feeling good, I think, about releasing v2015.07. But before I tag things, are there outstanding patches people know about that must be in for an important fix? Thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mail

Re: [U-Boot] [PATCH v2 00/14] Devres (Managed Device Resource) for U-Boot

2015-07-13 Thread Masahiro Yamada
2015-07-13 19:55 GMT+09:00 Albert ARIBAUD : > Hello Masahiro, > > On Mon, 13 Jul 2015 16:39:45 +0900, Masahiro Yamada > wrote: >> Hi Albert, >> >> >> 2015-07-13 15:51 GMT+09:00 Albert ARIBAUD : >> > Hello Masahiro, >> > >> > On Mon, 13 Jul 2015 13:17:03 +0900, Masahiro Yamada >> > wrote: >> >> >>

Re: [U-Boot] [PATCH v2 00/14] Devres (Managed Device Resource) for U-Boot

2015-07-13 Thread Albert ARIBAUD
Hello Masahiro, On Mon, 13 Jul 2015 16:39:45 +0900, Masahiro Yamada wrote: > Hi Albert, > > > 2015-07-13 15:51 GMT+09:00 Albert ARIBAUD : > > Hello Masahiro, > > > > On Mon, 13 Jul 2015 13:17:03 +0900, Masahiro Yamada > > wrote: > >> > >> Please refer to the commit message of 06/14 > >> for wh

Re: [U-Boot] [U-Boot, u-boot, 2/2] ARM: beagle_x15: prevent DCAN1 _wait_target_disable failure in kernel

2015-07-13 Thread Roger Quadros
On 10/07/15 15:57, Tom Rini wrote: > On Thu, Jun 25, 2015 at 10:25:50AM +0300, Roger Quadros wrote: > >> If board is booted with transitions happening on DCAN1 pins then >> the following warning is seen in the kernel at boot when the >> hwmod layer initializes. >> >> "omap_hwmod: dcan1: _wait_targ

[U-Boot] [PATCH] libfdt: fix return code of fdt_get_string_index()

2015-07-13 Thread Masahiro Yamada
As mentioned in the comment block in include/libfdt.h, fdt_get_string_index() is supposed to return a negative value on error. BTW, looks like this function was added only for U-Boot in spite of its location, so we need not send a bug report back to the DTC ML. Signed-off-by: Masahiro Yamada Fix

Re: [U-Boot] [PATCH 1/3] dm: dts: ls2085a: Bring in ls2085a dts files from linux kernel

2015-07-13 Thread Mark Rutland
On Wed, Jul 08, 2015 at 08:31:47AM +0100, Sharma Bhupesh wrote: > > -Original Message- > > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Wang > > Haikun > > On 7/8/2015 3:13 PM, Bin Meng wrote: > > > Hi, > > > > > > On Wed, Jul 8, 2015 at 2:51 PM, Wang Haikun > > wrote: >

Re: [U-Boot] [PATCH] Fix LS102xa timer setup to use 64-bit.

2015-07-13 Thread Mark Rutland
On Sun, Jul 12, 2015 at 05:05:34AM +0100, Christopher Kilgour wrote: > Fix LS102xa timer configuration to ensure timer compare value is set to > all-ones as a 64-bit number rather than a 32-bit number. > > When the 32-bit all-ones was used, this could result in a timer compare value > of 2^32-1, w

Re: [U-Boot] [PATCH RESEND 0/7] spi: cadence_qspi: optimize & fix indirect rd-writes

2015-07-13 Thread Stefan Roese
Hi Vikas, On 09.07.2015 03:29, Vikas MANOCHA wrote: -Original Message- From: Vikas MANOCHA Sent: Wednesday, July 01, 2015 9:25 AM To: 'Stefan Roese' Cc: 'u-boot@lists.denx.de'; 'grmo...@opensource.altera.com'; 'dingu...@opensource.altera.com'; 'jt...@openedev.com' Subject: RE: [PATCH RES

[U-Boot] [PATCH 2/4] gpio: do not include for UniPhier

2015-07-13 Thread Masahiro Yamada
I implemented a GPIO driver based on Driver Model for the UniPhier SoC family, but I could not find any good reason why such SoC specific GPIO headers are needed. Signed-off-by: Masahiro Yamada --- arch/arm/include/asm/gpio.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/includ

[U-Boot] [PATCH 0/4] Add UniPhier GPIO driver support

2015-07-13 Thread Masahiro Yamada
Masahiro Yamada (4): gpio: UniPhier: add driver for UniPhier GPIO controller gpio: do not include for UniPhier ARM: UniPhier: enable UniPhier GPIO driver ARM: dts: UniPhier: add GPIO controller nodes arch/arm/Kconfig| 1 + arch/arm/dts/uniphier-ph1-ld4.dtsi |

[U-Boot] [PATCH 3/4] ARM: UniPhier: enable UniPhier GPIO driver

2015-07-13 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/Kconfig | 1 + configs/ph1_ld4_defconfig | 1 + configs/ph1_pro4_defconfig | 1 + configs/ph1_sld8_defconfig | 1 + 4 files changed, 4 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 9908b43..5bdae93 100644 --- a/arch/a

[U-Boot] [PATCH 4/4] ARM: dts: UniPhier: add GPIO controller nodes

2015-07-13 Thread Masahiro Yamada
Add GPIO (generic port) controller nodes for PH1-sLD3, PH1-LD4, PH1-Pro4 and PH1-sLD8. Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-ph1-ld4.dtsi | 8 arch/arm/dts/uniphier-ph1-pro4.dtsi | 8 arch/arm/dts/uniphier-ph1-sld3.dtsi | 8 arch/arm/dts/uniphier-p

[U-Boot] [PATCH 1/4] gpio: UniPhier: add driver for UniPhier GPIO controller

2015-07-13 Thread Masahiro Yamada
This GPIO controller device is used on UniPhier SoCs. Signed-off-by: Masahiro Yamada --- drivers/gpio/Kconfig | 6 ++ drivers/gpio/Makefile| 1 + drivers/gpio/gpio-uniphier.c | 186 +++ 3 files changed, 193 insertions(+) create mode 1

Re: [U-Boot] [PATCH v2 10/14] linux_compat: introduce GFP_DMA flag for kmalloc()

2015-07-13 Thread Masahiro Yamada
2015-07-13 16:52 GMT+09:00 Lukasz Majewski : > Hi Masahiro, > >> It does not seem efficient to always return cache-aligned memory. >> Return aligned memory only when GFP_DMA flag is given. >> >> My main motivation for this commit is to refactor device_probe() >> and device_free() in the next commit

Re: [U-Boot] [PATCH v2 10/14] linux_compat: introduce GFP_DMA flag for kmalloc()

2015-07-13 Thread Lukasz Majewski
Hi Masahiro, > It does not seem efficient to always return cache-aligned memory. > Return aligned memory only when GFP_DMA flag is given. > > My main motivation for this commit is to refactor device_probe() > and device_free() in the next commit. DM_FLAG_ALLOC_PRIV_DMA > should be handled more e

Re: [U-Boot] [PATCH v2 04/14] linux_compat: handle __GFP_ZERO in kmalloc()

2015-07-13 Thread Lukasz Majewski
Hi Masahiro, > Currently, kzalloc() returns zero-filled memory, while kmalloc() > simply ignores the second argument and never fills the memory > area with zeros. > > I want kmalloc(size, __GFP_ZERO) to behave as kzalloc() does, > which will make it easier to add more memory allocator variants. >

Re: [U-Boot] [PATCH v2 00/14] Devres (Managed Device Resource) for U-Boot

2015-07-13 Thread Masahiro Yamada
Hi Albert, 2015-07-13 15:51 GMT+09:00 Albert ARIBAUD : > Hello Masahiro, > > On Mon, 13 Jul 2015 13:17:03 +0900, Masahiro Yamada > wrote: >> >> Please refer to the commit message of 06/14 >> for what this series wants to do. > > Remark: you could use "Series-notes:" in 6/14 to have patman direct

Re: [U-Boot] [PATCH v2 02/14] linux_compat: remove cpu_relax() define

2015-07-13 Thread Lukasz Majewski
Hi Masahiro, > The macro cpu_relax() is defined by several headers in different > ways. > > arch/{arm,avr32,mips}/include/asm/processor.h defines it as follows: > #define cpu_relax() barrier() > > On the other hand, include/linux/compat.h defines it as follows: > #define cpu_relax() do {} wh