[U-Boot] [PATCH] pci: layerscape: enable PCIe config ready

2017-02-09 Thread Zhiqiang Hou
From: Hou Zhiqiang In EP mode, to enable accesses from the Root Complex, the CONFIG_READY bit must be set, otherwise any config attempts from the Root Complex will be returned with config retry status (CRS). Signed-off-by: Hou Zhiqiang Signed-off-by: Minghuan Lian --- drivers/pci/pcie_layersc

Re: [U-Boot] [PATCH] fsl_i2c.c: Fix warning on gcc-6.x

2017-02-09 Thread Heiko Schocher
Hello Tom, Am 09.02.2017 um 21:40 schrieb Tom Rini: With gcc-6.x we see: drivers/i2c/fsl_i2c.c:86:3: warning: ‘fsl_i2c_speed_map’ defined but not used [-Wunused-const-variable=] The easy way to fix this is that since we only use fsl_i2c_speed_map at all on __M68K__ move the existing guards arou

Re: [U-Boot] [PATCH v3] spi: ich: Configure SPI BIOS parameters

2017-02-09 Thread Bin Meng
Hi Stefan, On Thu, Feb 9, 2017 at 5:26 PM, Stefan Roese wrote: > Without configuring these registers in the SPI controller, the Linux > MTD device driver is not able to correctly read/write to the SPI > NOR chip at all. In fact, the chip is not detected at all. > > Signed-off-by: Stefan Roese >

Re: [U-Boot] [PATCH v2] Add single register pin controller driver

2017-02-09 Thread Masahiro Yamada
Hi Felix, 2017-02-09 18:47 GMT+09:00 Felix Brack : > >> device_probe() > > From 'pinctrl-uclass.c::device_probe()': > > --- > /* > * Process pinctrl for everything except the root device, and > * continue regardless of the result of pinctrl. Don't process pinctrl > * settings for pinctrl device

[U-Boot] Please pull u-boot-rockchip

2017-02-09 Thread Simon Glass
Hi Tom, This includes a board rename and a few other minor changes. The following changes since commit 21342d4aed6c77a4aa7a5b2579b3c23e21aea31a: Merge git://git.denx.de/u-boot-dm (2017-02-08 16:24:44 -0500) are available in the git repository at: git://git.denx.de/u-boot-rockchip.git for

Re: [U-Boot] [PATCH] x86: Force 32-bit jumps in interrupt handlers

2017-02-09 Thread Bin Meng
On Fri, Feb 10, 2017 at 10:54 AM, J. Tang wrote: > Depending upon the compiler used, IRQ entries could vary in sizes. With > GCC 5.x, the code generator will use short jumps for some IRQ entries > but near jumps for others. For example, GCC 5.4.0 generates the > following: > > $ objdump -d interru

Re: [U-Boot] [PATCH v2 5/5] configs: dra7xx_evm: Enable SPL_DM

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 09:30:12AM +0530, Lokesh Vutla wrote: > Enable SPL_DM on all DRA7 based platforms. > > Signed-off-by: Lokesh Vutla [snip] > +++ b/include/configs/ti_omap5_common.h > @@ -45,7 +45,7 @@ > * Hardware drivers > */ > #define CONFIG_SYS_NS16550_CLK 4800 >

Re: [U-Boot] [PATCH v2 3/5] ARM: dts: OMAP5+: Add u-boot specific dtsi

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 09:30:10AM +0530, Lokesh Vutla wrote: > Add u-boot specific dtsi so that this will be > included automatically while building dts. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH v2 4/5] configs: am57xx_evm: Enable SPL_DM

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 09:30:11AM +0530, Lokesh Vutla wrote: > Enable SPL_DM on all AM57xx based platforms. > > Signed-off-by: Lokesh Vutla > --- > configs/am57xx_evm_defconfig| 7 +-- > configs/am57xx_hs_evm_defconfig | 5 - > include/configs/am57xx_evm.h| 5 - > 3 files c

Re: [U-Boot] unused-const-variable warnings in FSL DDR driver

2017-02-09 Thread york sun
On 02/09/2017 09:17 AM, Thomas Schaefer wrote: > >> On 02/09/2017 02:32 AM, Thomas Schaefer wrote: >>> Hi York, >>> >>> >>> >>> When compiling latest u-boot with gcc 6.3 compiler, I get several >>> 'unused-const-variable' warnings in options.c file of FSL DDR driver. >>> Affected variables are for

[U-Boot] [PATCH] x86: Force 32-bit jumps in interrupt handlers

2017-02-09 Thread J. Tang
Depending upon the compiler used, IRQ entries could vary in sizes. With GCC 5.x, the code generator will use short jumps for some IRQ entries but near jumps for others. For example, GCC 5.4.0 generates the following: $ objdump -d interrupt.o 0207 : 207: 6a 12 push $0x12

Re: [U-Boot] [BUG] x86: invalid size calculations in interrupts.c with newer GCC

2017-02-09 Thread Bin Meng
On Tue, Feb 7, 2017 at 10:51 AM, J. Tang wrote: > >> On 2017-02-06, at 01:35, Bin Meng wrote: >> >> +Simon, >> >> I do not have a GCC5 toolchain to test this. I suspect this is only >> exposed with GCC5, or GCC 5.4? Is there any parameter to control the >> behavior? > > I observed a similar behav

[U-Boot] [PATCH] ddr:fsl: Fix warnings on gcc-6.x

2017-02-09 Thread Tom Rini
With gcc-6.x we will see many warnings like: warning: ‘dual_0S’ defined but not used [-Wunused-const-variable=] Depending on exactly what DDR choices are or are not enabled when we use this file. So we use slightly more exact #ifdef tests in order to silence the warnings. Reported-by: Thomas Sch

Re: [U-Boot] drivers: net: Provide Kconfig menu for PHYLIB

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 10:18:48AM -0800, Alexandru Gagniuc wrote: > On 02/09/2017 08:28 AM, Joe Hershberger wrote: > >Hi Alex, > >Hi Joe > >https://patchwork.ozlabs.org/patch/724968/ was applied to u-boot-net.git. > > Thanks! > > I see that the name in the committer field got truncated. do you

Re: [U-Boot] drivers: net: Provide Kconfig menu for PHYLIB

2017-02-09 Thread Joe Hershberger
Hi Alex, On Thu, Feb 9, 2017 at 12:18 PM, Alexandru Gagniuc wrote: > On 02/09/2017 08:28 AM, Joe Hershberger wrote: >> >> Hi Alex, >> Hi Joe >> https://patchwork.ozlabs.org/patch/724968/ was applied to u-boot-net.git. > > > Thanks! > > I see that the name in the committer field got truncated. do

Re: [U-Boot] unused-const-variable warnings in FSL DDR driver

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 05:51:36PM +, york sun wrote: > On 02/09/2017 09:46 AM, Thomas Schaefer wrote: > >>> > On 02/09/2017 02:32 AM, Thomas Schaefer wrote: > > Hi York, > > > > > > > > When compiling latest u-boot with gcc 6.3 compiler, I get several > > 'unused-c

[U-Boot] [PATCH] fsl_i2c.c: Fix warning on gcc-6.x

2017-02-09 Thread Tom Rini
With gcc-6.x we see: drivers/i2c/fsl_i2c.c:86:3: warning: ‘fsl_i2c_speed_map’ defined but not used [-Wunused-const-variable=] The easy way to fix this is that since we only use fsl_i2c_speed_map at all on __M68K__ move the existing guards around slightly. Reported-by: Thomas Schaefer Signed-off-

Re: [U-Boot] [PATCH v6 0/3] SPL: Add support to boot a partition type

2017-02-09 Thread Marek Vasut
On 02/09/2017 09:20 PM, Dalon Westergreen wrote: > This adds support for the spl to seach for and boot from an arbitrary > > partition type rather then a specific partition number. When > > USE_PARTITION_TYPE is enabled, spl will search for the partition type but

Re: [U-Boot] unused-const-variable warnings in FSL I2C driver

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 10:42:52AM +, Thomas Schaefer wrote: > Hi all, > > > When compiling latest u-boot with gcc 6.3 for a T1024RDB system, I get a > 'unused-const-variable' warning in the FSL I2C driver. Affected variable is > fsl_i2c_speed_map. > > I guess this warning can be fixed wi

Re: [U-Boot] [PATCH 6/6] arm: am57xx: cl-som-am57x: enable USB commands

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 09:03:07AM +0200, Uri Mashiach wrote: > Add CONFIG_CMD_USB to the defconfig file. > > Signed-off-by: Uri Mashiach Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lis

Re: [U-Boot] [PATCH 4/6] arm: am57xx: cl-som-am57x: fix USB scan

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 09:02:09AM +0200, Uri Mashiach wrote: > USB bus scan attempt: Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boo

Re: [U-Boot] [PATCH 5/6] arm: am57xx: cl-som-am57x: enable USB storage

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 09:02:38AM +0200, Uri Mashiach wrote: > Add CONFIG_USB_STORAGE to the defconfig file. > > Signed-off-by: Uri Mashiach Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot

Re: [U-Boot] [PATCH 3/6] arm: am57xx: cl-som-am57x: invoke clock API to enable/disable clocks

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 09:01:36AM +0200, Uri Mashiach wrote: > Invoke enable_usb_clocks during board_usb_init and disable_usb_clocks > during board_usb_exit to enable and disable clocks respectively. > > Modifications: > * Enable USB clocks in the OMAP version of the function > board_usb_init.

Re: [U-Boot] [PATCH 1/6] arm: am57xx: cl-som-am57x: fix XHCI registers base address

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 09:00:26AM +0200, Uri Mashiach wrote: > The following XHCI registers base address are set to OMAP5 values: > OMAP_XHCI_BASE, OMAP_OCP1_SCP_BASE, OMAP_OTG_WRAPPER_BASE > > Captured crash for "usb start" command: > --cut---

[U-Boot] [PATCH v6 3/3] SPL: Add board appropriate config for SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION

2017-02-09 Thread Dalon Westergreen
Due to SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION beingmoved to Kconfig the board defconfigs for db-88f6820-gp_defconfig kc1_defconfig and sniper_defconfig need to be updated. Signed-off-by: Dalon Westergreen --- configs/db-88f6820-gp_defconfig | 1 + configs/kc1_defconfig | 2 ++ configs/sni

[U-Boot] [PATCH v6 2/3] SPL: Move SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION to Kconfig

2017-02-09 Thread Dalon Westergreen
Added SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION and SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION to Kconfig. Signed-off-by: Dalon Westergreen -- Changes in v3: -> Split off defconfig changes for db-88f6820-gp_defconfig kc1_defconfig and sniper_defconfig into a separate patch Changes in v2: -> Remo

[U-Boot] [PATCH v6 1/3] SPL: add support to boot from a partition type

2017-02-09 Thread Dalon Westergreen
the socfpga bootrom supports mmc booting from either a raw image starting at 0x0, or from a partition of type 0xa2. This patch adds support for locating the boot image in the first type 0xa2 partition found. Assigned a partition number of -1 will cause a search for a partition of type CONFIG_SYS_

[U-Boot] [PATCH v6 0/3] SPL: Add support to boot a partition type

2017-02-09 Thread Dalon Westergreen
This adds support for the spl to seach for and boot from an arbitrary partition type rather then a specific partition number. When USE_PARTITION_TYPE is enabled, spl will search for the partition type but fallback to the specified partition number.

[U-Boot] [RFC PATCH] driver: pci: Fix regions for local memory

2017-02-09 Thread York Sun
When adding local memory to PCI region, gd->ram_size is correct only if the memory is in one continuous block. In case memory is split into several banks, each bank should be added separately. Signed-off-by: York Sun CC: Simon Glass --- It was spotted when I was rewriting the code to reserve sec

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

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 08:16:56PM +0100, Anatolij Gustschin wrote: > Hi Tom, > > The following changes since commit 0ff27d4a94637d4b1937c625d33212375bd118d9: > > Merge git://git.denx.de/u-boot-mpc85xx (2017-02-01 16:34:36 -0500) > > are available in the git repository at: > > git://git.de

Re: [U-Boot] [PATCH] omap_hsmmc.c: Fix build warning on non-omap3

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 01:45:12PM -0500, Tom Rini wrote: > It was incorrect to always include "asm/arch-omap3/mux.h" constantly. > This introduced warnings on non-omap3 where certain values will conflict > between the various families. Conditionally guard the inclusion in > order to correct the

Re: [U-Boot] [PATCH] qemu-x86_64_defconfig: Disable CONFIG_BOARD_EARLY_INIT_F

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 08:53:01AM -0500, Tom Rini wrote: > The qemu-x86* targets do not want to enable this. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

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

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 10:25:32AM -0600, Joe Hershberger wrote: > Hi Tom, > > The following changes since commit c83a824e62277162ad35f52879b2316902c0eff5: > > Merge git://git.denx.de/u-boot-fsl-qoriq (2017-02-03 20:33:42 -0500) > > are available in the git repository at: > > > git://git.

Re: [U-Boot] [GIT PULL] Please pull u-boot-mmc master

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 08:50:16PM +0900, Jaehoon Chung wrote: > Dear Tom, > > Could you pull these patches on your master branch? > These patch are related to pmic and mmc. (Tested buildman.) > > If you are ok, i will send the split PR at next time. > (One is u-boot-mmc master, other is u-boot-

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

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 12:38:30AM +0100, Marek Vasut wrote: > Hi, > > SoCFPGA PR for 2017.03 , I checked with Dinh and it should be OK. > > The following changes since commit c83a824e62277162ad35f52879b2316902c0eff5: > > Merge git://git.denx.de/u-boot-fsl-qoriq (2017-02-03 20:33:42 -0500) >

Re: [U-Boot] libfdt SWIG build error with Python 3.x

2017-02-09 Thread Joakim Tjernlund
On Thu, 2017-02-09 at 13:17 +, Ricardo Martins wrote: > In some Linux distributions (e.g., Arch Linux) the Python binary points to > Python 3.x instead of Python 2.x. This is an issue when building the libfdt > SWIG extension, as the generated extension file will be called something > like _lib

[U-Boot] Please pull u-boot-video/master

2017-02-09 Thread Anatolij Gustschin
Hi Tom, The following changes since commit 0ff27d4a94637d4b1937c625d33212375bd118d9: Merge git://git.denx.de/u-boot-mpc85xx (2017-02-01 16:34:36 -0500) are available in the git repository at: git://git.denx.de/u-boot-video.git master for you to fetch changes up to 9b23bafb4f628aca7a2852f09

Re: [U-Boot] [PATCH v5 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-09 Thread Marek Vasut
On 02/09/2017 08:06 PM, Konstantin Porotchkin wrote: > > > On 02/09/2017 07:24 PM, Marek Vasut wrote: >> On 02/09/2017 05:43 PM, Konstantin Porotchkin wrote: >>> >>> On 02/09/2017 06:15 PM, Marek Vasut wrote: On 02/09/2017 04:54 PM, Konstantin Porotchkin wrote: > > On 02/09/2017 05:3

Re: [U-Boot] drivers: net: Provide Kconfig menu for PHYLIB

2017-02-09 Thread Alexandru Gagniuc
On 02/09/2017 08:28 AM, Joe Hershberger wrote: Hi Alex, Hi Joe https://patchwork.ozlabs.org/patch/724968/ was applied to u-boot-net.git. Thanks! I see that the name in the committer field got truncated. do you know if this is misconfiguration on my side or a patchwork bug? Alex Thanks! -

[U-Boot] libfdt SWIG build error with Python 3.x

2017-02-09 Thread Ricardo Martins
In some Linux distributions (e.g., Arch Linux) the Python binary points to Python 3.x instead of Python 2.x. This is an issue when building the libfdt SWIG extension, as the generated extension file will be called something like _libfdt.cpython-36m-x86_64-linux-gnu.so instead of just _libfdt.so. By

Re: [U-Boot] [PATCH] drivers: net: phy: atheros: apply the previous register setting for AR8031 to fix the voltage peak issue

2017-02-09 Thread Yung-Ching LIN
On Wed, Feb 8, 2017 at 10:47 AM, Joe Hershberger wrote: > On Wed, Feb 8, 2017 at 12:26 AM, Sekhar Nori wrote: >> On Wednesday 08 February 2017 12:36 AM, Yung-Ching LIN wrote: >>> On Tue, Feb 7, 2017 at 12:50 AM, Sekhar Nori wrote: On Monday 06 February 2017 11:06 PM, Ken.Lin wrote: >>>

Re: [U-Boot] distro boot on ls2085ardb

2017-02-09 Thread Peter Newton
> From: york sun > Sent: Wednesday, February 08, 2017 5:06 PM > To: Stuart Yoder ; ag...@suse.de; Prabhakar Kushwaha > > Cc: Peter Newton ; u-boot@lists.denx.de > Subject: Re: distro boot on ls2085ardb > > On 02/08/2017 02:55 PM, Stuart Yoder wrote: > > All, > > > > The patch Alex submitted to e

Re: [U-Boot] [PATCH v5 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-09 Thread Konstantin Porotchkin
On 02/09/2017 07:24 PM, Marek Vasut wrote: On 02/09/2017 05:43 PM, Konstantin Porotchkin wrote: On 02/09/2017 06:15 PM, Marek Vasut wrote: On 02/09/2017 04:54 PM, Konstantin Porotchkin wrote: On 02/09/2017 05:36 PM, Marek Vasut wrote: On 02/09/2017 04:30 PM, Konstantin Porotchkin wrote:

[U-Boot] [PATCH] omap_hsmmc.c: Fix build warning on non-omap3

2017-02-09 Thread Tom Rini
It was incorrect to always include "asm/arch-omap3/mux.h" constantly. This introduced warnings on non-omap3 where certain values will conflict between the various families. Conditionally guard the inclusion in order to correct the problem. Fixes: 6aca17c9b7e8 ("drivers: mmc: omap_hsmmc: Fix IO Bu

Re: [U-Boot] net: cosmetic: Make the MAC address string less magical

2017-02-09 Thread Joe Hershberger
Hi oli...@schinagl.nl, https://patchwork.ozlabs.org/patch/699273/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 02/15] cmd: nand: abstract global variable usage for dm conversion

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 11:51:38AM -0600, Grygorii Strashko wrote: > Hi Tom, > > On 02/05/2017 07:57 PM, Tom Rini wrote: > > On Tue, Jan 31, 2017 at 03:37:04PM -0600, Grygorii Strashko wrote: > > > >> From: Mugunthan V N > >> > >> nand_info is used all over the file so abstract it with > >> get_

Re: [U-Boot] unused-const-variable warnings in FSL DDR driver

2017-02-09 Thread york sun
On 02/09/2017 09:46 AM, Thomas Schaefer wrote: >>> On 02/09/2017 02:32 AM, Thomas Schaefer wrote: > Hi York, > > > > When compiling latest u-boot with gcc 6.3 compiler, I get several > 'unused-const-variable' warnings in options.c file of FSL DDR driver. > Affected

Re: [U-Boot] net: cosmetic: Do not use magic values for ARP_HLEN

2017-02-09 Thread Joe Hershberger
Hi oli...@schinagl.nl, https://patchwork.ozlabs.org/patch/699274/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: phy: ti: Fix dp83867 RGMII_TXID interface path

2017-02-09 Thread Joe Hershberger
Hi Phil, https://patchwork.ozlabs.org/patch/704405/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 02/15] cmd: nand: abstract global variable usage for dm conversion

2017-02-09 Thread Grygorii Strashko
Hi Tom, On 02/05/2017 07:57 PM, Tom Rini wrote: > On Tue, Jan 31, 2017 at 03:37:04PM -0600, Grygorii Strashko wrote: > >> From: Mugunthan V N >> >> nand_info is used all over the file so abstract it with >> get_nand_dev_by_index() which will help for DM conversion. >> >> Signed-off-by: Mugunthan

Re: [U-Boot] net: designware: Fix for use with current Linux device tree for Meson GX

2017-02-09 Thread Joe Hershberger
Hi Heiner, https://patchwork.ozlabs.org/patch/720901/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: phy: MSCC Add Support for VSC8530-VSC8531-VSC8540-VSC8541

2017-02-09 Thread Joe Hershberger
Hi John, https://patchwork.ozlabs.org/patch/704685/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] unused-const-variable warnings in FSL DDR driver

2017-02-09 Thread Thomas Schaefer
>> >>> On 02/09/2017 02:32 AM, Thomas Schaefer wrote: Hi York, When compiling latest u-boot with gcc 6.3 compiler, I get several 'unused-const-variable' warnings in options.c file of FSL DDR driver. Affected variables are for (DIMM_SLOTS_PER_CTLR==2) configuratio

Re: [U-Boot] net: fec_mxc: Fix corruption of device tree blob

2017-02-09 Thread Joe Hershberger
Hi Daniel, https://patchwork.ozlabs.org/patch/722979/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] decode_regions() function

2017-02-09 Thread Simon Glass
Hi York, On 8 February 2017 at 15:56, york sun wrote: > On 02/08/2017 02:12 PM, Simon Glass wrote: >> Hi York, >> >> On 8 February 2017 at 14:58, york sun wrote: >>> Simon, >>> >>> I stumped on this issue when I was rewriting the code to reserve secure >>> memory. I didn't realize gd->ram_size w

Re: [U-Boot] net: macb: Remove redundant #ifdef CONFIG_DM_ETH

2017-02-09 Thread Joe Hershberger
Hi Wenyou, https://patchwork.ozlabs.org/patch/690228/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v5 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-09 Thread Marek Vasut
On 02/09/2017 05:43 PM, Konstantin Porotchkin wrote: > > On 02/09/2017 06:15 PM, Marek Vasut wrote: >> On 02/09/2017 04:54 PM, Konstantin Porotchkin wrote: >> > >> > On 02/09/2017 05:36 PM, Marek Vasut wrote: >> >> On 02/09/2017 04:30 PM, Konstantin Porotchkin wrote: >> >>> >> >>> >> >>> On 02/09/

Re: [U-Boot] unused-const-variable warnings in FSL DDR driver

2017-02-09 Thread york sun
On 02/09/2017 02:32 AM, Thomas Schaefer wrote: > Hi York, > > > > When compiling latest u-boot with gcc 6.3 compiler, I get several > ‘unused-const-variable’ warnings in options.c file of FSL DDR driver. > Affected variables are for (DIMM_SLOTS_PER_CTLR==2) configuration (e.g. > dual_0S[4]) and war

Re: [U-Boot] net: phy: Marvell: Use phy_interface_is_rgmii helper function

2017-02-09 Thread Joe Hershberger
Hi Phil, https://patchwork.ozlabs.org/patch/705033/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: cosmetic: Define ethernet name length

2017-02-09 Thread Joe Hershberger
Hi oli...@schinagl.nl, https://patchwork.ozlabs.org/patch/699278/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] tools: Allow crc8 to be used

2017-02-09 Thread Joe Hershberger
Hi oli...@schinagl.nl, https://patchwork.ozlabs.org/patch/699401/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Pull request: u-boot-net.git master

2017-02-09 Thread Joe Hershberger
Hi Tom, The following changes since commit c83a824e62277162ad35f52879b2316902c0eff5: Merge git://git.denx.de/u-boot-fsl-qoriq (2017-02-03 20:33:42 -0500) are available in the git repository at: git://git.denx.de/u-boot-net.git master for you to fetch changes up to a5fd13ad1913d9c66c47666d

Re: [U-Boot] distro boot on ls2085ardb

2017-02-09 Thread york sun
On 02/08/2017 06:43 PM, Prabhakar Kushwaha wrote: > >> -Original Message- >> From: york sun >> Sent: Thursday, February 09, 2017 4:43 AM >> To: Peter Newton ; Stuart Yoder >> ; ag...@suse.de; Prabhakar Kushwaha >> >> Cc: u-boot@lists.denx.de >> Subject: Re: distro boot on ls2085ardb >> >>

Re: [U-Boot] unused-const-variable warnings in FSL DDR driver

2017-02-09 Thread Thomas Schaefer
> On 02/09/2017 02:32 AM, Thomas Schaefer wrote: >> Hi York, >> >> >> >> When compiling latest u-boot with gcc 6.3 compiler, I get several >> 'unused-const-variable' warnings in options.c file of FSL DDR driver. >> Affected variables are for (DIMM_SLOTS_PER_CTLR==2) configuration (e.g. > dual_0S[

Re: [U-Boot] net: Kconfig: Add CONFIG_MACB option

2017-02-09 Thread Joe Hershberger
Hi Wenyou, https://patchwork.ozlabs.org/patch/690226/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: phy: Add support for Marvell M88E1512

2017-02-09 Thread Joe Hershberger
Hi Phil, https://patchwork.ozlabs.org/patch/705032/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: core: cosmetic: A MAC address is not limited to SROM

2017-02-09 Thread Joe Hershberger
Hi oli...@schinagl.nl, https://patchwork.ozlabs.org/patch/699283/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: phy: vitesse: Fix cis8204 RGMII_ID code

2017-02-09 Thread Joe Hershberger
Hi Phil, https://patchwork.ozlabs.org/patch/705058/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: phy: Improve the Marvell 151x constants

2017-02-09 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/704632/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] tools: Add tool to add crc8 to a mac address

2017-02-09 Thread Joe Hershberger
Hi oli...@schinagl.nl, https://patchwork.ozlabs.org/patch/699397/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: phy: Fix mask so that we can identify Marvell 88E1518

2017-02-09 Thread Joe Hershberger
Hi Phil, https://patchwork.ozlabs.org/patch/705031/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: phy: dp83867: Add support for MAC impedance configuration

2017-02-09 Thread Joe Hershberger
Hi Grygorii, https://patchwork.ozlabs.org/patch/719265/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] drivers: net: Provide Kconfig menu for PHYLIB

2017-02-09 Thread Joe Hershberger
Hi Alex, https://patchwork.ozlabs.org/patch/724968/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: macb: Add the clock support

2017-02-09 Thread Joe Hershberger
Hi Wenyou, https://patchwork.ozlabs.org/patch/690227/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v5 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-09 Thread Konstantin Porotchkin
On 02/09/2017 06:15 PM, Marek Vasut wrote: On 02/09/2017 04:54 PM, Konstantin Porotchkin wrote: > > On 02/09/2017 05:36 PM, Marek Vasut wrote: >> On 02/09/2017 04:30 PM, Konstantin Porotchkin wrote: >>> >>> >>> On 02/09/2017 03:37 PM, Marek Vasut wrote: On 02/09/2017 12:32 PM, kos...@marvel

Re: [U-Boot] [PATCH v5 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-09 Thread Marek Vasut
On 02/09/2017 04:54 PM, Konstantin Porotchkin wrote: > > On 02/09/2017 05:36 PM, Marek Vasut wrote: >> On 02/09/2017 04:30 PM, Konstantin Porotchkin wrote: >> > >> > >> > On 02/09/2017 03:37 PM, Marek Vasut wrote: >> >> On 02/09/2017 12:32 PM, kos...@marvell.com wrote: >> >>> From: Konstantin Poro

Re: [U-Boot] [PATCH v5 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-09 Thread Konstantin Porotchkin
On 02/09/2017 05:36 PM, Marek Vasut wrote: On 02/09/2017 04:30 PM, Konstantin Porotchkin wrote: > > > On 02/09/2017 03:37 PM, Marek Vasut wrote: >> On 02/09/2017 12:32 PM, kos...@marvell.com wrote: >>> From: Konstantin Porotchkin >>> >>> The USB device should linked to VBUS regulator through "v

Re: [U-Boot] [PATCH v5 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-09 Thread Marek Vasut
On 02/09/2017 04:30 PM, Konstantin Porotchkin wrote: > > > On 02/09/2017 03:37 PM, Marek Vasut wrote: >> On 02/09/2017 12:32 PM, kos...@marvell.com wrote: >>> From: Konstantin Porotchkin >>> >>> The USB device should linked to VBUS regulator through "vbus-supply" >>> DTS property. >>> This patch

Re: [U-Boot] [PATCH 2/6] usb: host: xhci-omap: fix double weak board_usb_init functions

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 02:35:30PM +0100, Marek Vasut wrote: > On 02/09/2017 12:36 PM, Uri Mashiach wrote: > > Hello Marek, > > > Hi! > > [...] > > >>> diff --git a/drivers/usb/host/xhci-omap.c b/drivers/usb/host/xhci-omap.c > >>> index b881b19..ceee12a 100644 > >>> --- a/drivers/usb/host/xhci-

Re: [U-Boot] [PATCH v5 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-09 Thread Konstantin Porotchkin
On 02/09/2017 03:37 PM, Marek Vasut wrote: On 02/09/2017 12:32 PM, kos...@marvell.com wrote: From: Konstantin Porotchkin The USB device should linked to VBUS regulator through "vbus-supply" DTS property. This patch adds handling for "vbus-supply" property inside the USB device entry for turn

Re: [U-Boot] [PATCH v5 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-09 Thread Marek Vasut
On 02/09/2017 12:32 PM, kos...@marvell.com wrote: > From: Konstantin Porotchkin > > The USB device should linked to VBUS regulator through "vbus-supply" > DTS property. > This patch adds handling for "vbus-supply" property inside the USB > device entry for turning on the VBUS regulator upon the h

Re: [U-Boot] [PATCH v4 0/2] SPL: Add support to boot a partition type

2017-02-09 Thread Marek Vasut
On 02/09/2017 03:28 PM, Dalon Westergreen wrote: > On Thu, 2017-02-09 at 11:06 +0100, Marek Vasut wrote: >> On 02/09/2017 01:15 AM, Dalon Westergreen wrote: >>> >>> On Fri, 2017-02-03 at 10:36 -0800, Dalon Westergreen wrote: From: Dalon Westergreen This adds support for the spl

Re: [U-Boot] [PATCH 2/6] usb: host: xhci-omap: fix double weak board_usb_init functions

2017-02-09 Thread Marek Vasut
On 02/09/2017 12:36 PM, Uri Mashiach wrote: > Hello Marek, Hi! [...] >>> diff --git a/drivers/usb/host/xhci-omap.c b/drivers/usb/host/xhci-omap.c >>> index b881b19..ceee12a 100644 >>> --- a/drivers/usb/host/xhci-omap.c >>> +++ b/drivers/usb/host/xhci-omap.c >>> @@ -27,12 +27,31 @@ DECLARE_GLOBA

Re: [U-Boot] [PATCH v3 2/6] spl: Add option to enable SPL Legacy image support

2017-02-09 Thread Andrew F. Davis
On 02/08/2017 10:22 PM, Lokesh Vutla wrote: > > > On Wednesday 08 February 2017 10:51 PM, Andrew F. Davis wrote: >> Add a Kconfig option that enables Legacy image support, this allows >> boards to explicitly disable this, for instance when needed for >> security reasons. >> >> Signed-off-by: Andr

Re: [U-Boot] [PATCH v4 0/2] SPL: Add support to boot a partition type

2017-02-09 Thread Dalon Westergreen
On Thu, 2017-02-09 at 11:06 +0100, Marek Vasut wrote: > On 02/09/2017 01:15 AM, Dalon Westergreen wrote: > > > > On Fri, 2017-02-03 at 10:36 -0800, Dalon Westergreen wrote: > > > > > > From: Dalon Westergreen > > > > > > This adds support for the spl to seach for and boot from an arbitrary  > >

Re: [U-Boot] [PATCH] defconfig: am43xx_hs_evm: Sync HS defconfig with non-HS defconfig

2017-02-09 Thread Tom Rini
On Thu, Feb 09, 2017 at 09:45:26AM +0530, Lokesh Vutla wrote: > > > On Thursday 09 February 2017 02:02 AM, Andrew F. Davis wrote: > > The non-HS defconfig has been modified without equivalent changes being > > applied to the HS defconfig. Sync these here. > > > > Signed-off-by: Andrew F. Davis

[U-Boot] [PATCH] qemu-x86_64_defconfig: Disable CONFIG_BOARD_EARLY_INIT_F

2017-02-09 Thread Tom Rini
The qemu-x86* targets do not want to enable this. Signed-off-by: Tom Rini --- configs/qemu-x86_64_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/qemu-x86_64_defconfig b/configs/qemu-x86_64_defconfig index 484e2e9716b9..790f21cbbcfc 100644 --- a/configs/qemu-x86_64_defconfi

Re: [U-Boot] [PATCH v2 0/5] ARM: DRA7: AM57xx: Enable SPL_DM

2017-02-09 Thread Lokesh Vutla
Hi Tom, On Thursday 09 February 2017 09:30 AM, Lokesh Vutla wrote: > - Enable SPL_DM on all DRA7 and AM57xx based platforms. > - SPL uses a generic dts on all platforms with same defconfig. > - After this series SPL size is increased by ~8KB. > > Verified MMC, eMMC boot on DRA74-evm, DRA72-evm. >

[U-Boot] [GIT PULL] Please pull u-boot-mmc master

2017-02-09 Thread Jaehoon Chung
Dear Tom, Could you pull these patches on your master branch? These patch are related to pmic and mmc. (Tested buildman.) If you are ok, i will send the split PR at next time. (One is u-boot-mmc master, other is u-boot-mmc pmic) What do you think about? Plz let me know. The following changes sin

Re: [U-Boot] [PATCH 2/6] usb: host: xhci-omap: fix double weak board_usb_init functions

2017-02-09 Thread Uri Mashiach
Hello Marek, On 02/09/2017 10:35 AM, Marek Vasut wrote: On 02/09/2017 08:01 AM, Uri Mashiach wrote: A weak version of the function board_usb_init is implemented in: common/usb.c drivers/usb/host/xhci-omap.c To fix the double implementations: * Convert the board_usb_init function in drivers/usb

[U-Boot] [PATCH v5 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-09 Thread kostap
From: Konstantin Porotchkin The USB device should linked to VBUS regulator through "vbus-supply" DTS property. This patch adds handling for "vbus-supply" property inside the USB device entry for turning on the VBUS regulator upon the host adapter probe. Signed-off-by: Konstantin Porotchkin Cc:

Re: [U-Boot] [PATCH v4 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-09 Thread Marek Vasut
On 02/09/2017 11:46 AM, Konstantin Porotchkin wrote: > > > On 02/09/2017 12:39 PM, Marek Vasut wrote: >> On 02/09/2017 11:39 AM, kos...@marvell.com wrote: >>> From: Konstantin Porotchkin >>> >>> The USB device should linked to VBUS regulator through "vbus-supply" >>> DTS property. >>> This patch

Re: [U-Boot] [PATCH v4 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-09 Thread Konstantin Porotchkin
On 02/09/2017 12:39 PM, Marek Vasut wrote: On 02/09/2017 11:39 AM, kos...@marvell.com wrote: From: Konstantin Porotchkin The USB device should linked to VBUS regulator through "vbus-supply" DTS property. This patch adds handling for "vbus-supply" property inside the USB device entry for turn

[U-Boot] unused-const-variable warnings in FSL I2C driver

2017-02-09 Thread Thomas Schaefer
Hi all, When compiling latest u-boot with gcc 6.3 for a T1024RDB system, I get a 'unused-const-variable' warning in the FSL I2C driver. Affected variable is fsl_i2c_speed_map. I guess this warning can be fixed with the patch applied, but I'm not sure. What do you think? Best regards, Thomas

Re: [U-Boot] [PATCH v3 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-09 Thread Konstantin Porotchkin
On 02/09/2017 11:09 AM, Marek Vasut wrote: On 02/09/2017 10:08 AM, Konstantin Porotchkin wrote: On 02/09/2017 10:32 AM, Marek Vasut wrote: On 02/09/2017 09:00 AM, Konstantin Porotchkin wrote: On 02/08/2017 06:42 PM, Marek Vasut wrote: On 02/08/2017 05:28 PM, Konstantin Porotchkin wrote:

Re: [U-Boot] [PATCH v4 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-09 Thread Marek Vasut
On 02/09/2017 11:39 AM, kos...@marvell.com wrote: > From: Konstantin Porotchkin > > The USB device should linked to VBUS regulator through "vbus-supply" > DTS property. > This patch adds handling for "vbus-supply" property inside the USB > device entry for turning on the VBUS regulator upon the h

[U-Boot] unused-const-variable warnings in FSL DDR driver

2017-02-09 Thread Thomas Schaefer
Hi York, When compiling latest u-boot with gcc 6.3 compiler, I get several 'unused-const-variable' warnings in options.c file of FSL DDR driver. Affected variables are for (DIMM_SLOTS_PER_CTLR==2) configuration (e.g. dual_0S[4]) and warnings could be fixed with the patch applied. What do you t

[U-Boot] [PATCH v4 5/6] arm64: mvebu: dts: Add DTS file for MACCHIATOBin board

2017-02-09 Thread kostap
From: Rabeeh Khoury Added A8040 dts file for community board MACCHIATIBin. The patch includes the following features: AP - Serial console (connected to onboard FTDI usb to serial) CP0 - PCIe x4, SATA, I2C and 10G KR (connected to Marvell 3310 10G copper / SFP+ phy) CP1 - Boot SPI, USB3 hos

[U-Boot] [PATCH v4 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-09 Thread kostap
From: Konstantin Porotchkin The USB device should linked to VBUS regulator through "vbus-supply" DTS property. This patch adds handling for "vbus-supply" property inside the USB device entry for turning on the VBUS regulator upon the host adapter probe. Signed-off-by: Konstantin Porotchkin Cc:

[U-Boot] [PATCH v4 6/6] arm64: mvebu: Add default configuraton for MACCHIATOBin board

2017-02-09 Thread kostap
From: Konstantin Porotchkin Add default configuration for MACHHIATOBin community board based on Aramda-8040 SoC. Change-Id: Ic6b562065c0929ec338492452f765115c15a6188 Signed-off-by: Konstantin Porotchkin Cc: Stefan Roese Cc: Nadav Haklai Cc: Neta Zur Hershkovits Cc: Igal Liberman Cc: Haim Bo

  1   2   >