Re: [U-Boot] [PATCH 2/2] arm: socfpga: config: Remove hard-coded drvsel and smpsel

2015-08-19 Thread Chin Liang See
On Thu, 2015-08-20 at 07:27 +0200, ma...@denx.de wrote: > On Thursday, August 20, 2015 at 07:15:25 AM, Chin Liang See wrote: > > Hi Marek, > > Hi, > > > On Wed, 2015-08-19 at 03:22 -0500, Chin Liang See wrote: > > > Hi, > > > > > > On Wed, 2015-08-19 at 09:37 +0200, ma...@denx.de wrote: > > > >

Re: [U-Boot] [PATCH 07/15] sunxi_nand_spl: Turn off clocks when we're done with the nand

2015-08-19 Thread Hans de Goede
Hi, On 08/19/2015 03:48 PM, Maxime Ripard wrote: On Sat, Aug 15, 2015 at 10:02:40PM +0200, Hans de Goede wrote: Turn off the nand and dma clocks when we're done with the nand, this puts the nand and dma controllers back into a clean state for when the kernel boots. Without this the kernel will

Re: [U-Boot] [PATCH 01/15] sunxi_nand_spl: Fix CONFIG_SPL_NAND_SUNXI handling

2015-08-19 Thread Hans de Goede
Hi, On 08/19/2015 03:45 PM, Maxime Ripard wrote: On Sat, Aug 15, 2015 at 10:02:34PM +0200, Hans de Goede wrote: CONFIG_SPL_NAND_SUPPORT gets used via IS_ENABLED so it must be defined to 1, rather then just being defined. While at remove 2 other unused NAND related defines from sunxi-common.h.

Re: [U-Boot] [PATCH v2 0/3] usb: host/gadget: Miscellaneous fixes

2015-08-19 Thread Marek Vasut
On Thursday, August 20, 2015 at 07:52:18 AM, Kishon Vijay Abraham I wrote: > On Thursday 20 August 2015 02:00 AM, Marek Vasut wrote: > > On Wednesday, August 19, 2015 at 10:19:45 AM, Kishon Vijay Abraham I wrote: > >> Changes from v1: > >> Added reviewed-by. > >> > >> This patch series is split fr

Re: [U-Boot] [PATCH v2 0/3] usb: host/gadget: Miscellaneous fixes

2015-08-19 Thread Kishon Vijay Abraham I
On Thursday 20 August 2015 02:00 AM, Marek Vasut wrote: > On Wednesday, August 19, 2015 at 10:19:45 AM, Kishon Vijay Abraham I wrote: >> Changes from v1: >> Added reviewed-by. >> >> This patch series is split from [1] to contain only the usb >> host/gadget fixes. >> >> [1] -> http://permalink.gma

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-08-19 Thread Marek Vasut
On Thursday, August 20, 2015 at 07:28:02 AM, Chin Liang See wrote: > Hi, > > On Wed, 2015-08-19 at 14:36 +, ma...@denx.de wrote: > > On Wednesday, August 19, 2015 at 10:21:17 AM, Chin Liang See wrote: > > > Hi, > > > > Hi again, > > > > > On Wed, 2015-08-19 at 02:41 +, ma...@denx.de wrot

Re: [U-Boot] [PATCH] arm: socfpga: Fix MAINTAINERS entry for CV/AV SoCDK

2015-08-19 Thread Michal Simek
On 08/19/2015 10:47 PM, Marek Vasut wrote: > On Wednesday, August 19, 2015 at 10:29:18 PM, Marek Vasut wrote: >> Repair the maintainer entries so they match the current state of code. >> >> Signed-off-by: Marek Vasut >> --- > > Michal, thanks for poking me about this, fixed. ok then. Reported-b

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-08-19 Thread Chin Liang See
Hi, On Wed, 2015-08-19 at 14:36 +, ma...@denx.de wrote: > On Wednesday, August 19, 2015 at 10:21:17 AM, Chin Liang See wrote: > > Hi, > > Hi again, > > > On Wed, 2015-08-19 at 02:41 +, ma...@denx.de wrote: > > > On Wednesday, August 19, 2015 at 07:54:50 AM, Chin Liang See wrote: > > > >

Re: [U-Boot] [v3 3/4] spi: cadence_qspi: fix base trigger address & transfer start address

2015-08-19 Thread Marek Vasut
On Saturday, August 15, 2015 at 04:15:59 AM, Vikas Manocha wrote: > This patch is to separate the base trigger from the read/write transfer > start addresses. > > Base trigger register address (0x1c register) corresponds to the address > which should be put on AHB bus to handle indirect transfer t

Re: [U-Boot] [v3 4/4] spi: cadence_qspi: get fifo width from device tree

2015-08-19 Thread Marek Vasut
On Saturday, August 15, 2015 at 04:16:00 AM, Vikas Manocha wrote: > Fifo width could be different on different socs, e.g. stv0991 & altera soc > have different fifo width. > > Signed-off-by: Vikas Manocha > --- > > Changes in v3: none > Changes in v2: Rebased to master > > arch/arm/dts/socfpga

Re: [U-Boot] [v3 2/4] spi: cadence_qspi: fix indirect read/write start address

2015-08-19 Thread Marek Vasut
On Saturday, August 15, 2015 at 04:15:58 AM, Vikas Manocha wrote: > Indirect read/write start addresses are flash start addresses for indirect > read or write transfers. These should be absolute flash addresses instead > of offsets. > > Signed-off-by: Vikas Manocha > --- > > Changes in v3: none

Re: [U-Boot] [PATCH 2/2] arm: socfpga: config: Remove hard-coded drvsel and smpsel

2015-08-19 Thread Marek Vasut
On Thursday, August 20, 2015 at 07:15:25 AM, Chin Liang See wrote: > Hi Marek, Hi, > On Wed, 2015-08-19 at 03:22 -0500, Chin Liang See wrote: > > Hi, > > > > On Wed, 2015-08-19 at 09:37 +0200, ma...@denx.de wrote: > > > On Wednesday, August 19, 2015 at 07:55:14 AM, Chin Liang See wrote: > > > >

Re: [U-Boot] [v3 1/4] spi: cadence_qspi: move trigger base configuration in init

2015-08-19 Thread Marek Vasut
On Saturday, August 15, 2015 at 04:15:57 AM, Vikas Manocha wrote: > No need to configure indirect trigger address for every read/write. > > Signed-off-by: Vikas Manocha > --- > > Changes in v3: added commit message & removed extra bracket. > Changes in v2: Rebased to master > > drivers/spi/cad

Re: [U-Boot] [PATCH 2/2] arm: socfpga: config: Remove hard-coded drvsel and smpsel

2015-08-19 Thread Chin Liang See
Hi Marek, On Wed, 2015-08-19 at 03:22 -0500, Chin Liang See wrote: > Hi, > > On Wed, 2015-08-19 at 09:37 +0200, ma...@denx.de wrote: > > On Wednesday, August 19, 2015 at 07:55:14 AM, Chin Liang See wrote: > > > Remove hard-coded SDMMC timing parameter drvsel and smplsel. > > > This setting now wi

Re: [U-Boot] [PATCH v2] arm/ls1021a: Add sata support on qds and twr board

2015-08-19 Thread Yuantian Tang
> -Original Message- > From: Kushwaha Prabhakar-B32579 > Sent: Thursday, August 20, 2015 9:33 AM > To: Tang Yuantian-B29983; Sun York-R58495 > Cc: u-boot@lists.denx.de; Wang Huan-B18965 > Subject: RE: [PATCH v2] arm/ls1021a: Add sata support on qds and twr board > > > -Original Messa

Re: [U-Boot] [PATCH v2] arm/ls1021a: Add sata support on qds and twr board

2015-08-19 Thread Kushwaha Prabhakar
> -Original Message- > From: Tang Yuantian-B29983 > Sent: Thursday, August 20, 2015 6:52 AM > To: Kushwaha Prabhakar-B32579 ; Sun York- > R58495 > Cc: u-boot@lists.denx.de; Wang Huan-B18965 > Subject: RE: [PATCH v2] arm/ls1021a: Add sata support on qds and twr board > > > > > -Orig

Re: [U-Boot] [PATCH v2] arm/ls1021a: Add sata support on qds and twr board

2015-08-19 Thread Yuantian Tang
> -Original Message- > From: Kushwaha Prabhakar-B32579 > Sent: Wednesday, August 19, 2015 8:54 PM > To: Tang Yuantian-B29983; Sun York-R58495 > Cc: u-boot@lists.denx.de; Wang Huan-B18965 > Subject: RE: [PATCH v2] arm/ls1021a: Add sata support on qds and twr board > > > > Regards, > Pra

[U-Boot] [PATCH v2] ARM: davinci: remove support for cam_enc_4xx

2015-08-19 Thread Masahiro Yamada
This has not been converted to Generic Board, so should be removed. (See doc/README.generic-board for details.) Signed-off-by: Masahiro Yamada Acked-by: Heiko Schocher Acked-by: Marek Vasut --- Changes in v2: - Use lower cases for the board name arch/arm/mach-davinci/Kconfig|5

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-08-19 Thread Marek Vasut
On Wednesday, August 19, 2015 at 10:30:17 AM, Chin Liang See wrote: > Him Her > On Wed, 2015-08-19 at 09:34 +0200, ma...@denx.de wrote: > > On Wednesday, August 19, 2015 at 09:26:55 AM, Pavel Machek wrote: > > > On Wed 2015-08-19 00:54:50, Chin Liang See wrote: > > > > Enable SDMMC calibration to

Re: [U-Boot] [PATCH V2 2/2] ARM: tegra: Add p2371-0000 board

2015-08-19 Thread Stephen Warren
On 08/19/2015 11:41 AM, Stephen Warren wrote: On 08/19/2015 07:56 AM, Thierry Reding wrote: On Wed, Jul 29, 2015 at 02:16:33PM -0600, Stephen Warren wrote: From: Stephen Warren Signed-off-by: Stephen Warren --- v2: Use named constants for PMIC I2C and register addresses. --- arch/arm/dts/M

[U-Boot] [PATCH] ARM: tegra: fix PLLP frequency calc on T210

2015-08-19 Thread Stephen Warren
From: Stephen Warren AFAIK, for all PLLs on all Tegra SoCs, the primary PLL output frequency is (input * m) / (n * p). However, PLLP's primary output (pllP_out0) on T210 is the VCO output, and divp is not applied. pllP_out2 does have divp applied. All other pllP_outN are divided down from pllP_ou

Re: [U-Boot] [PATCH V2 4/4] mmc: dw_mmc: Probe the MMC from OF

2015-08-19 Thread Marek Vasut
On Thursday, August 20, 2015 at 12:55:41 AM, Pantelis Antoniou wrote: > Plumbers :) Right, your office assistant already mentioned this ;-) > Στάλθηκε από το iPhone μου > > 19 Αυγ 2015, 14:58, ο/η Marek Vasut έγραψε: > >> On Wednesday, August 12, 2015 at 10:43:26 PM, Marek Vasut wrote: > >> Rew

Re: [U-Boot] [PATCH V2 4/4] mmc: dw_mmc: Probe the MMC from OF

2015-08-19 Thread Pantelis Antoniou
Plumbers :) Στάλθηκε από το iPhone μου 19 Αυγ 2015, 14:58, ο/η Marek Vasut έγραψε: >> On Wednesday, August 12, 2015 at 10:43:26 PM, Marek Vasut wrote: >> Rework the driver to probe the MMC controller from Device Tree >> and make it mandatory. There is no longer support for probing >> from the a

Re: [U-Boot] [PATCH V2 4/4] mmc: dw_mmc: Probe the MMC from OF

2015-08-19 Thread Marek Vasut
On Wednesday, August 12, 2015 at 10:43:26 PM, Marek Vasut wrote: > Rework the driver to probe the MMC controller from Device Tree > and make it mandatory. There is no longer support for probing > from the ancient qts-generated header files. > > Signed-off-by: Marek Vasut > Cc: Dinh Nguyen > Cc:

Re: [U-Boot] [PATCH 0/3] nand: Sync with Linux v4.1

2015-08-19 Thread Scott Wood
On Tue, Aug 18, 2015 at 01:55:48PM -0400, Tom Rini wrote: > On Wed, Aug 05, 2015 at 01:45:45AM +0200, Stefan Roese wrote: > > On 04.08.2015 20:26, Scott Wood wrote: > > >On Tue, 2015-08-04 at 14:39 +0200, Stefan Roese wrote: > > >>>I've used these patches while porting the pxa3xx_nand driver for th

[U-Boot] [PATCH 2/2] arm: socfpga: Zap OF_CONTROL checks, it's always enabled

2015-08-19 Thread Marek Vasut
The CONFIG_OF_CONTROL and CONFIG_SPL_OF_CONTROL is always enabled on Altera SoCFPGA, remove the unnecessary checks. Signed-off-by: Marek Vasut --- include/configs/socfpga_common.h | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/configs/socfpga_common.h b/includ

[U-Boot] [PATCH 1/2] arm: socfpga: Always enable OF_CONTROL and SPL_OF_CONTROL

2015-08-19 Thread Marek Vasut
The SoCFPGA probes mostly from OF and the OF is mandatory both in U-Boot itself and U-Boot SPL. Enable it by default. Signed-off-by: Marek Vasut --- arch/arm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a99ae28..1f5dafa 100644 --- a/arch

[U-Boot] [PATCH] ARM: tegra: fix COUNTER_FREQUENCY for T210

2015-08-19 Thread Stephen Warren
From: Stephen Warren While T210 boards all have 38.4MHz crystals, per the TRM, the only supported configuration is to divide the crystal frequency by 2 to generate clk_m, which is what feeds the ARM generic timers amongst other things. Fix the value of COUNTER_FREQUENCY to reflect this divide-by-

Re: [U-Boot] [PATCH V2 2/2] ARM: tegra: Add p2371-0000 board

2015-08-19 Thread Stephen Warren
On 08/19/2015 11:41 AM, Stephen Warren wrote: On 08/19/2015 07:56 AM, Thierry Reding wrote: On Wed, Jul 29, 2015 at 02:16:33PM -0600, Stephen Warren wrote: From: Stephen Warren Signed-off-by: Stephen Warren --- v2: Use named constants for PMIC I2C and register addresses. --- arch/arm/dts/M

Re: [U-Boot] [PATCH] arm: socfpga: Fix MAINTAINERS entry for CV/AV SoCDK

2015-08-19 Thread Marek Vasut
On Wednesday, August 19, 2015 at 10:29:18 PM, Marek Vasut wrote: > Repair the maintainer entries so they match the current state of code. > > Signed-off-by: Marek Vasut > --- Michal, thanks for poking me about this, fixed. Can you tell me how did you set up and use buildman to find this one out

[U-Boot] [PULL] u-boot-usb/master

2015-08-19 Thread Marek Vasut
The following changes since commit 0f9258228e2b2070368ffccf5c243218128770a8: of: clean up OF_CONTROL ifdef conditionals (2015-08-18 13:46:05 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git HEAD for you to fetch changes up to 7a1386f96bca550240670fa3461d3a0dc0

Re: [U-Boot] [PATCH v2 0/3] usb: host/gadget: Miscellaneous fixes

2015-08-19 Thread Marek Vasut
On Wednesday, August 19, 2015 at 10:19:45 AM, Kishon Vijay Abraham I wrote: > Changes from v1: > Added reviewed-by. > > This patch series is split from [1] to contain only the usb > host/gadget fixes. > > [1] -> http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/229188 Applied all three t

Re: [U-Boot] [PATCH 1/2] usb: dwc2: Add original Synopsys compat string

2015-08-19 Thread Marek Vasut
On Wednesday, August 12, 2015 at 10:19:14 PM, Marek Vasut wrote: > Add the Synopsys compatible string. This is used in SoCFPGA DT files. > > Signed-off-by: Marek Vasut Applied both, thanks. Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@list

[U-Boot] [PATCH] arm: socfpga: Fix MAINTAINERS entry for CV/AV SoCDK

2015-08-19 Thread Marek Vasut
Repair the maintainer entries so they match the current state of code. Signed-off-by: Marek Vasut --- board/altera/arria5-socdk/MAINTAINERS | 11 +++ board/altera/cyclone5-socdk/MAINTAINERS | 2 +- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/board/altera/arria5-socd

Re: [U-Boot] [PATCH 8/8] arm: socfpga: Make the pinmux table const u8

2015-08-19 Thread Marek Vasut
On Wednesday, August 19, 2015 at 12:14:21 PM, Jian.Luo4 wrote: > Hi Marek, Hi, > the last sed line is invalid for my GNU sed 4.2.2. > Maybe missed a semicolon? > > sed -n '/^unsigned/ !b; :next {/^unsigned/ {s/\[.*\]/[]/;s/unsigned > long/const u8/};p;n;b next}' \ #

Re: [U-Boot] [PATCH v2 7/7] sf: Add FSR support to spi_flash_cmd_wait_ready

2015-08-19 Thread Marek Vasut
On Wednesday, August 19, 2015 at 10:17:59 AM, Jagan Teki wrote: > On 19 August 2015 at 13:09, Marek Vasut wrote: > > On Wednesday, August 19, 2015 at 09:35:32 AM, Jagan Teki wrote: > >> On 19 August 2015 at 04:28, Marek Vasut wrote: > >> > On Wednesday, August 19, 2015 at 12:36:40 AM, Jagan Teki

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-08-19 Thread Marek Vasut
On Wednesday, August 19, 2015 at 10:21:17 AM, Chin Liang See wrote: > Hi, Hi again, > On Wed, 2015-08-19 at 02:41 +, ma...@denx.de wrote: > > On Wednesday, August 19, 2015 at 07:54:50 AM, Chin Liang See wrote: > > > Enable SDMMC calibration to determine the best setting for > > > drvsel and s

[U-Boot] 2TB disks

2015-08-19 Thread Stefan Monnier
I just bumped into a problem where U-Boot refused to boot from my disk's second partition because the sector number is "negative". More specifically, my disk drive is 2TB, which means that the number of 512B blocks fits into an unsigned 32bit int but not into a signed 32bit int. U-boot's "scsi par

Re: [U-Boot] [PATCH 2/2] arm: socfpga: config: Remove hard-coded drvsel and smpsel

2015-08-19 Thread Marek Vasut
On Wednesday, August 19, 2015 at 10:22:21 AM, Chin Liang See wrote: > Hi, Hi, > On Wed, 2015-08-19 at 09:37 +0200, ma...@denx.de wrote: > > On Wednesday, August 19, 2015 at 07:55:14 AM, Chin Liang See wrote: > > > Remove hard-coded SDMMC timing parameter drvsel and smplsel. > > > This setting now

[U-Boot] [PATCH 2/2] MIPS: fix syntax for fdt_chosen/initrd.

2015-08-19 Thread Govindraj Raja
From: Govindraj Raja The syntax for the fdt_chosen/initrd functions seem to deprecated in usage from MIPS bootm implementation. Third parameter is no more used in these api's Refer to : include/fdt_support.h Signed-off-by: Govindraj Raja --- arch/mips/lib/bootm.c | 4 ++-- 1 file changed, 2 i

[U-Boot] [PATCH 0/2] MIPS: add support to support usb stack for mips and minor cleanup

2015-08-19 Thread Govindraj Raja
Patch prepares to support usb stack compiled for mips platform. Also fix fdt usage api's from bootm. Govindraj Raja (2): MIPS: add clrbits and setbits and add phy_to_bus support. MIPS: fix syntax for fdt_chosen/initrd. arch/mips/include/asm/io.h | 71 +

[U-Boot] [PATCH 1/2] MIPS: add clrbits and setbits and add phy_to_bus support.

2015-08-19 Thread Govindraj Raja
From: Govindraj Raja usb stack utilizes the clr/set_bits macros also usb stack needs phy_to_bus/bus_to_phys functions. Thus adding these macro and functions for mips platform. This makes usb stack usable with mips platform. Also fixes a checkpatch warning with virt_to_phys forward declaration.

Re: [U-Boot] [PATCH 03/11] arm: tegra: mmc: clean-up include file order

2015-08-19 Thread Simon Glass
Hi Marcel, On 19 August 2015 at 10:00, Marcel Ziswiler wrote: > > > > On 18 August 2015 14:44:01 CEST, Simon Glass wrote: > > >No I think you misunderstand. Another way of explaining this is > >sorting fruit and animals: > > > >apple > >grapefruit > >orange > >elephant > >lion > >zebra > > > >We

Re: [U-Boot] [PATCH V2 2/2] ARM: tegra: Add p2371-0000 board

2015-08-19 Thread Stephen Warren
On 08/19/2015 07:56 AM, Thierry Reding wrote: On Wed, Jul 29, 2015 at 02:16:33PM -0600, Stephen Warren wrote: From: Stephen Warren Signed-off-by: Stephen Warren --- v2: Use named constants for PMIC I2C and register addresses. --- arch/arm/dts/Makefile | 1 +

[U-Boot] [PATCH v7 0/6] net: Move e1000 driver to driver model and Kconfig

2015-08-19 Thread Simon Glass
This little series updates the e1000 Ethernet driver to support driver model. It also moves the configuration to Kconfig and adjusts all boards using Masahiro's excellent moveconfig tool. To avoid a large patch which mixes irrelevant changes this series includes a patch to reorder the defconfig fi

[U-Boot] [PATCH v7 4/6] net: e1000: Add Kconfig options

2015-08-19 Thread Simon Glass
Add Kconfig options in preparation for moving boards to use Kconfig. Signed-off-by: Simon Glass Acked-by: Joe Hershberger --- Changes in v7: None Changes in v6: - Drop CONFIG_E1000_FALLBACK_MAC option from README Changes in v5: None Changes in v4: None Changes in v3: - Drop CONFIG_E1000_FALLBA

[U-Boot] [PATCH v7 6/6] net: Move CONFIG_E1000 options to Kconfig

2015-08-19 Thread Simon Glass
Move config for the E1000 Ethernet driver to Kconfig and tidy up affected boards. Signed-off-by: Simon Glass Acked-by: Joe Hershberger --- Changes in v7: - Tidy up UCP1020_defconfig merge conflict Changes in v6: None Changes in v5: None Changes in v4: - Rebase to master Changes in v3: - Add C

[U-Boot] [linux-sunxi] [PATCH] sunxi: Add support for the Olimex A20 EVB

2015-08-19 Thread codekipper
From: Marcus Cooper --- arch/arm/dts/Makefile| 1 + arch/arm/dts/sun7i-a20-olinuxino-evb.dts | 233 +++ board/sunxi/MAINTAINERS | 5 + configs/A20-OLinuXino-EVB_defconfig | 17 +++ 4 files changed, 256 insertions(+) crea

[U-Boot] [PATCH v7 5/6] Tidy up some defconfig files

2015-08-19 Thread Simon Glass
Several files are out of order. This means that when the moveconfig tool moves CONFIG options to Kconfig it generates a large diff. To avoid this, reorder the files first. Signed-off-by: Simon Glass --- Changes in v7: - Tidy up socfpga options - Rebase to master Changes in v6: None Changes in v

Re: [U-Boot] Building Uboot for Nios2 - linker not found on Linux environment

2015-08-19 Thread Dave Williams
To solve the problem of not finding the linker - I had to set the CROSS_COMPILE environment variable using these bash commands. > CROSS_COMPILE=nios2-elf- > export CROSS_COMPILE Running make - the build completed with no errors. THIS WAS fully documented in the README file starting at line 4929.

Re: [U-Boot] [PATCH 03/11] arm: tegra: mmc: clean-up include file order

2015-08-19 Thread Marcel Ziswiler
On 18 August 2015 14:44:01 CEST, Simon Glass wrote: >No I think you misunderstand. Another way of explaining this is >sorting fruit and animals: > >apple >grapefruit >orange >elephant >lion >zebra > >We don't want to mix up the fruit and animals, so each has its own >position in the table.We ca

[U-Boot] [PATCH v7 3/6] net: e1000: Convert to driver model

2015-08-19 Thread Simon Glass
Update this driver to support driver model. Signed-off-by: Simon Glass Acked-by: Joe Hershberger Tested-by: Marcel Ziswiler Tested-on: Apalis T30 2GB on Apalis Evaluation Board --- Changes in v7: - Remove 'B' from the top of e1000.c Changes in v6: None Changes in v5: - Correct compatible stri

[U-Boot] [PATCH v7 1/6] net: e1000: Move #include of common.h to the C files

2015-08-19 Thread Simon Glass
We cannot currently include any header files in the C files since common.h needs to be included first, and it is in the header file. Move it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng Acked-by: Joe Hershberger Tested-by: Marcel Ziswiler Tested-on: Apalis T30 2GB on Apalis Evaluation Boa

[U-Boot] [PATCH v7 2/6] net: e1000: Prepare for driver model conversion

2015-08-19 Thread Simon Glass
Since struct eth_device does not exist with CONFIG_DM_ETH defined, avoid using it in the driver unless necessary. Most of the time it is better to pass the private driver pointer anyway. Also refactor the code so that code that the driver model implementation will share are available in functions

Re: [U-Boot] [v2] net/fman: Support both new and legacy FMan Compatibles

2015-08-19 Thread Joe Hershberger
On Tue, Aug 18, 2015 at 6:47 AM, Igal.Liberman wrote: > From: Igal Liberman > > Recently the FMan Port and MAC compatibles were changed. > This patch aligns the FMan Port and MAC compatibles > to the new FMan device tree binding document. > The FMan device tree binding document can be found in t

Re: [U-Boot] [PATCH v2 6/7] x86: ifdtool: Support collating microcode into one place

2015-08-19 Thread Bin Meng
On Sun, Aug 16, 2015 at 4:37 AM, Simon Glass wrote: > The Intel Firmware Support Package (FSP) requires that microcode be provided > very early before the device tree can be scanned. We already support adding > a pointer to the microcode data in a place where early init code can access. > > Howeve

Re: [U-Boot] [PATCH v2 5/7] x86: ifdtool: Split microcode linking into its own function

2015-08-19 Thread Bin Meng
On Sun, Aug 16, 2015 at 4:37 AM, Simon Glass wrote: > The code to set up the microcode pointer in the ROM shares almost nothing > with the write_uboot() function. > > Move it into its own function so it will be easier to extend. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng Teste

Re: [U-Boot] [PATCH v2 7/7] x86: ifdtool: Drop microcode from the device tree when collating

2015-08-19 Thread Bin Meng
On Sun, Aug 16, 2015 at 4:37 AM, Simon Glass wrote: > When ifdtool collates the microcode into one place it effectively creates > a copy of the 'data' properties in the device tree microcode nodes. This > is wasteful since we now have two copies of the microcode in the ROM. > > To avoid this, remo

Re: [U-Boot] [PATCH v2 4/7] x86: ifdtool: Check that U-Boot does not overlap other regions

2015-08-19 Thread Bin Meng
On Sun, Aug 16, 2015 at 4:37 AM, Simon Glass wrote: > Since U-Boot and its device tree can grow we should check that it does not > overlap the regions above it. Track the ROM offset that U-Boot reaches and > check that other regions (written after U-Boot) do not interfere. > > Signed-off-by: Simon

Re: [U-Boot] [PATCH 07/15] sunxi_nand_spl: Turn off clocks when we're done with the nand

2015-08-19 Thread Maxime Ripard
On Sat, Aug 15, 2015 at 10:02:40PM +0200, Hans de Goede wrote: > Turn off the nand and dma clocks when we're done with the nand, this > puts the nand and dma controllers back into a clean state for when the > kernel boots. > > Without this the kernel will not boot properly when it is build with >

Re: [U-Boot] [PATCH V2 2/2] ARM: tegra: Add p2371-0000 board

2015-08-19 Thread Thierry Reding
On Wed, Jul 29, 2015 at 02:16:33PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Signed-off-by: Stephen Warren > --- > v2: Use named constants for PMIC I2C and register addresses. > --- > arch/arm/dts/Makefile | 1 + > arch/arm/dts/tegra210-p2371-.dt

Re: [U-Boot] [PATCH 01/15] sunxi_nand_spl: Fix CONFIG_SPL_NAND_SUNXI handling

2015-08-19 Thread Maxime Ripard
On Sat, Aug 15, 2015 at 10:02:34PM +0200, Hans de Goede wrote: > CONFIG_SPL_NAND_SUPPORT gets used via IS_ENABLED so it must be defined > to 1, rather then just being defined. > > While at remove 2 other unused NAND related defines from sunxi-common.h. > > Signed-off-by: Hans de Goede > --- > i

Re: [U-Boot] [PATCH v7 2/5] nand: lpc32xx: add hardware ECC support

2015-08-19 Thread LEMIEUX, SYLVAIN
> -Original Message- > From: Vladimir Zapolskiy [mailto:v...@mleia.com] > Sent: 14-Aug-15 11:58 AM > To: slemieux.t...@gmail.com; u-boot@lists.denx.de > Cc: scottw...@freescale.com; ma...@denx.de; albert.u.b...@aribaud.net; > LEMIEUX, SYLVAIN; Tom Rini > Subject: Re: [PATCH v7 2/5] nand:

Re: [U-Boot] [PATCH v6 4/6] net: e1000: Add Kconfig options

2015-08-19 Thread Simon Glass
Hi Joe, On 18 August 2015 at 23:01, Joe Hershberger wrote: > Hi Simon, > > On Tue, Aug 18, 2015 at 11:38 PM, Simon Glass wrote: >> Add Kconfig options in preparation for moving boards to use Kconfig. >> >> Signed-off-by: Simon Glass > > Acked-by: Joe Hershberger > > I think that's all of it, r

Re: [U-Boot] [PATCH v2] arm/ls1021a: Add sata support on qds and twr board

2015-08-19 Thread Kushwaha Prabhakar
Regards, Prabhakar > -Original Message- > From: Tang Yuantian-B29983 > Sent: Wednesday, August 19, 2015 10:17 AM > To: Kushwaha Prabhakar-B32579; Sun York-R58495 > Cc: u-boot@lists.denx.de; Wang Huan-B18965 > Subject: RE: [PATCH v2] arm/ls1021a: Add sata support on qds and twr board > >

Re: [U-Boot] [PATCH V6] sf: Turn SPI flash chip into 3-Byte address mode

2015-08-19 Thread Hou Zhiqiang
Hello Jagannadha and Siva, Do you have any idea for if there should be a shift upon the flash size? If yes, why there isn't one when initializing the BAR read/write commands? > -Original Message- > From: Hou Zhiqiang-B48286 > Sent: 2015年8月14日 18:02 > To: 'Siva Durga Prasad Paladugu'; u-bo

Re: [U-Boot] [U-Boot, v3, 15/15] of: clean up OF_CONTROL ifdef conditionals

2015-08-19 Thread Tom Rini
On Wed, Aug 19, 2015 at 06:39:29AM +0200, Marek Vasut wrote: > On Tuesday, August 18, 2015 at 07:53:23 PM, Tom Rini wrote: > > On Wed, Aug 12, 2015 at 07:31:55AM +0900, Masahiro Yamada wrote: > > > We have flipped CONFIG_SPL_DISABLE_OF_CONTROL. We have cleansing > > > devices, $(SPL_) and CONFIG_I

Re: [U-Boot] [PATCH 8/8] arm: socfpga: Make the pinmux table const u8

2015-08-19 Thread Jian . Luo4
Hi Marek, the last sed line is invalid for my GNU sed 4.2.2. Maybe missed a semicolon? sed -n '/^unsigned/ !b; :next {/^unsigned/ {s/\[.*\]/[]/;s/unsigned long/const u8/};p;n;b next}' \ # ^here Best regards, *Jian Luo DC-IA/EAH2* Tel. +4

Re: [U-Boot] [v2] net/fman: Support both new and legacy FMan Compatibles

2015-08-19 Thread Xing Lei
Verified 1G and 10G, the patch is working on all tested platforms: B4860QDS, P2041RDB, P3041DS, P4080DS, P5020DS, P5040DS, T1024RDB, T1040RDB, T2080RDB, T4240QDS. Tested-by: Xing Lei mailto:xing@freescale.com>> ___ U-Boot mailing list U-Boot@lis

[U-Boot] [PATCH v2 1/3] arm: Enable CONFIG_SYS_GENERIC_BOARD for all boards

2015-08-19 Thread Simon Glass
All boards should be converted to generic board by now. Change the rest over. If this causes run-time breakages then we can remove those boards. Signed-off-by: Simon Glass --- Changes in v2: - Drop changes to digsy_mtc and xilinx-ppc - Add changes to smartweb and sniper arch/Kconfig

[U-Boot] [PATCH v2 0/3] arm: Move all boards over to generic board

2015-08-19 Thread Simon Glass
All arm boards should have been converted to generic board by now. It is time to either remove the non-generic boards, or force-convert them to generic board. This series takes the latter approach, which may break a few boards, but most should be OK. Generic board is enabled for the following ARM

Re: [U-Boot] [U-Boot, v3, 15/15] of: clean up OF_CONTROL ifdef conditionals

2015-08-19 Thread Marek Vasut
On Tuesday, August 18, 2015 at 07:53:23 PM, Tom Rini wrote: > On Wed, Aug 12, 2015 at 07:31:55AM +0900, Masahiro Yamada wrote: > > We have flipped CONFIG_SPL_DISABLE_OF_CONTROL. We have cleansing > > devices, $(SPL_) and CONFIG_IS_ENABLED(), so we are ready to clear > > > > away the ugly logic in

[U-Boot] [PATCH v3] ARM: tegra: Add Tegra20 SPI device nodes

2015-08-19 Thread Mirza Krak
From: Mirza Krak Add the device tree node for the SPI controllers found on Tegra20 SOCs. Signed-off-by: Mirza Krak --- Changes in v2: * Dropped tegra30-slink compatible string, based on comment from Thierry Reding on v1 patch Changes in v3: * Copy/paste spi device nodes from Linux (4.1.6) D

Re: [U-Boot] [PATCH 1/3] malloc_simple: Allow malloc_simple to be used with non stack RAM

2015-08-19 Thread Hans de Goede
Hi, On 18-08-15 14:45, Simon Glass wrote: Hi Hans, On 18 August 2015 at 03:23, Hans de Goede wrote: Hi, On 18-08-15 03:59, Simon Glass wrote: Hi Hans, On 17 August 2015 at 10:08, Hans de Goede wrote: Before this patch malloc_simple would always allocate a chunk of RAM from the stack.

[U-Boot] [PATCH v2 3/4] ARM: at91: sama5: move the nandflash env config to at91-sama5_common.h

2015-08-19 Thread Josh Wu
As all sama5 nandflash env configurations are same, so move them to at91-sama5_common.h. Signed-off-by: Josh Wu --- Changes in v2: None include/configs/at91-sama5_common.h | 12 include/configs/sama5d3_xplained.h | 9 + include/configs/sama5d3xek.h| 9 +

[U-Boot] [PATCH v2 4/4] ARM: at91: sama5: update the spi flash mapping

2015-08-19 Thread Josh Wu
From: "Wu, Josh" Also move the spi flash configurations to the at91-sama5_common.h. Current at91 zImage size is about 3.3M, the old mapping is not suitable. So update the spi flash map as following: 0x0 ~ 0x004000: at91bootstrap(16k) 0x04000 ~ 0x008000: u-boot env(16k)

[U-Boot] [PATCH v2 2/4] ARM: at91: sama5d3xek: use a $dtb_name to load dtb

2015-08-19 Thread Josh Wu
Since sama5d3xek boards has different type of dtb blobs, so we need to detect the cpu type in runtime. So we add a new variable $dtb_name. if $dtb_name is not defined, we just use at91-${board_name}.dtb as the $dtb_name. Otherwise, we will just load the dtb with $dtb_name. For sa

[U-Boot] [PATCH v2 1/4] ARM: at91: sama5: move the sd/mmc env config to at91-sama5_common.h

2015-08-19 Thread Josh Wu
As almost all sama5 sd/mmc env configurations are same, so move them to at91-sama5_common.h. Also define CONFIG_ENV_VARS_UBOOT_CONFIG to have the varaible: $board_name. Then we can use 'at91-${board_name}.dtb' as the dtb name. TODO: since sama5d3xek has different dtb name, we need to some extra s

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

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

[U-Boot] [PATCH v2 2/4] ARM: AM43xx: Add functions to enable and disable USB clocks

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

[U-Boot] [PATCH v2 1/4] ARM: OMAP5: Add functions to enable and disable USB clocks

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

[U-Boot] [PATCH v2 0/4] ti: dwc3: Enable USB clocks on-demand

2015-08-19 Thread Kishon Vijay Abraham I
Patch series adds APIs to enable/disable USB clocks and then uses these APIs to enable clocks when dwc3 is used and disable clocks when it is inactive. Changes from v1: *) Rebased to latest u-boot *) removed #ifdef's in header files This patch series is split from [1] to contain only enabling and

[U-Boot] [PATCH v2 3/4] board: ti: invoke clock API to enable and disable clocks

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

[U-Boot] [GIT PULL] Zynq changes

2015-08-19 Thread Michal Simek
Hi Tom, please pull these changes to your tree. There are 3 warnings. One zynq_zc70x which will be removed in the next release. The second is gem for 64bit warnings. And the third one by DCW3 the same as GEM. Thanks, Michal The following changes since commit 0f9258228e2b2070368ffccf5c2432181287

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-08-19 Thread Chin Liang See
Him On Wed, 2015-08-19 at 09:34 +0200, ma...@denx.de wrote: > On Wednesday, August 19, 2015 at 09:26:55 AM, Pavel Machek wrote: > > On Wed 2015-08-19 00:54:50, Chin Liang See wrote: > > > Enable SDMMC calibration to determine the best setting for > > > drvsel and smpsel. It will be triggered whene

[U-Boot] [PATCH 0/3] ti: add usb peripheral support for omap5 and beagle x15

2015-08-19 Thread Kishon Vijay Abraham I
Add dwc3 peripheral support for omap5 and beagle x15 and enable DFU for these platforms. This patch series is split from [1] to contain only adding peripheral support for omap5 and beagle x15. [1] -> http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/229188 Kishon Vijay Abraham I (3): b

[U-Boot] [PATCH 1/3] board: ti: beagle_x15: added USB initializtion code

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

[U-Boot] [PATCH 2/3] board: ti: OMAP5: added USB initializtion code

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

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

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

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-08-19 Thread Chin Liang See
Hi, On Wed, 2015-08-19 at 09:26 +0200, ZY - pavel wrote: > On Wed 2015-08-19 00:54:50, Chin Liang See wrote: > > Enable SDMMC calibration to determine the best setting for > > drvsel and smpsel. It will be triggered whenever there is > > a change of card frequency and bus width. This is to ensure

[U-Boot] [PATCH] at91sam9260ek: add missing files to MAINTAINERS

2015-08-19 Thread Andreas Bießmann
This fixes the following genboardscfg.py warnings: ---8<--- WARNING: no status for 'at91sam9g20ek_2mmc' WARNING: no maintainers for 'at91sam9g20ek_2mmc' --->8--- Signed-off-by: Andreas Bießmann --- board/atmel/at91sam9260ek/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/

[U-Boot] [PATCH] at91sam9rlek: add missing files to MAINTAINERS

2015-08-19 Thread Andreas Bießmann
This fixes following genboardscfg.py warning: ---8<--- WARNING: no status for 'at91sam9rlek_mmc' WARNING: no maintainers for 'at91sam9rlek_mmc' --->8--- Signed-off-by: Andreas Bießmann --- board/atmel/at91sam9rlek/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/atmel/at91

Re: [U-Boot] [PATCH 2/2] arm: socfpga: config: Remove hard-coded drvsel and smpsel

2015-08-19 Thread Chin Liang See
Hi, On Wed, 2015-08-19 at 09:37 +0200, ma...@denx.de wrote: > On Wednesday, August 19, 2015 at 07:55:14 AM, Chin Liang See wrote: > > Remove hard-coded SDMMC timing parameter drvsel and smplsel. > > This setting now will come from SDMMC calibration > > > > Signed-off-by: Chin Liang See > > Cc: D

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-08-19 Thread Chin Liang See
Hi, On Wed, 2015-08-19 at 02:41 +, ma...@denx.de wrote: > On Wednesday, August 19, 2015 at 07:54:50 AM, Chin Liang See wrote: > > Enable SDMMC calibration to determine the best setting for > > drvsel and smpsel. It will be triggered whenever there is > > a change of card frequency and bus widt

[U-Boot] [PATCH v2 1/3] usb: gadget: ether: Perform board initialization from ethernet gadget driver

2015-08-19 Thread Kishon Vijay Abraham I
Ethernet gadget driver can be used both by both SPL and u-boot. Since usb_eth_init() is the entry point for ethernet gadget driver, perform board initialization there. Also perform the cleanup in usb_eth_halt. Signed-off-by: Kishon Vijay Abraham I Acked-by: Marek Vasut Reviewed-by: Tom Rini Rev

[U-Boot] [PATCH v2 3/3] usb: gadget: ether: populate _reset_ callback

2015-08-19 Thread Kishon Vijay Abraham I
populate _reset_ callback to the USB ethernet gadget since UDC core expects every gadget driver to have the reset callback. This shouldn't be needed once the ethernet gadget driver is adapted to use the composite driver. Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Tom Rini Reviewed-by: Lu

[U-Boot] [PATCH v2 2/3] usb: host: xhci-omap: invoke board_usb_cleanup in xhci_hcd_stop

2015-08-19 Thread Kishon Vijay Abraham I
xhci omap driver has board_usb_init in xhci_hcd_init but doesn't have the corresponding cleanup function in xhci_hcd_stop. Fix it here by invoking board_usb_cleanup() in xhci_hcd_stop(). Signed-off-by: Kishon Vijay Abraham I Acked-by: Marek Vasut Reviewed-by: Tom Rini Reviewed-by: Lukasz Majew

[U-Boot] [PATCH v2 0/3] usb: host/gadget: Miscellaneous fixes

2015-08-19 Thread Kishon Vijay Abraham I
Changes from v1: Added reviewed-by. This patch series is split from [1] to contain only the usb host/gadget fixes. [1] -> http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/229188 Kishon Vijay Abraham I (3): usb: gadget: ether: Perform board initialization from ethernet gadget drive

Re: [U-Boot] [PATCH v2 7/7] sf: Add FSR support to spi_flash_cmd_wait_ready

2015-08-19 Thread Jagan Teki
On 19 August 2015 at 13:09, Marek Vasut wrote: > On Wednesday, August 19, 2015 at 09:35:32 AM, Jagan Teki wrote: >> On 19 August 2015 at 04:28, Marek Vasut wrote: >> > On Wednesday, August 19, 2015 at 12:36:40 AM, Jagan Teki wrote: >> >> On 19 August 2015 at 03:33, Marek Vasut wrote: >> >> > On

Re: [U-Boot] [PATCH 1/3] ARM: at91: sama5: move the sd/mmc env config to at91-sama5_common.h

2015-08-19 Thread Josh Wu
Hi, Andreas On 8/19/2015 3:40 PM, Andreas Bießmann wrote: Hi Josh, On 07/07/2015 01:08 PM, Josh Wu wrote: As almost all sama5 sd/mmc env configurations are same, so move them to at91-sama5_common.h. Also we define a KERNEL_DTB_FILE_NAME as dtb file name for different board. I don't like this

  1   2   >