Re: [U-Boot] RFC: i.MX6 write U-Boot to NAND

2016-04-25 Thread Heiko Schocher
Hello Sergey, add Stefano to Cc as he is the imx6 custodian, Am 25.04.2016 um 22:29 schrieb Sergey Kubushyn: Hi everybody, It looks like using kobs-ng utility is the only way to make a bootable NAND for i.MX6 and their siblings. There might be other utilities I'm not aware of but that doesn't

Re: [U-Boot] Porting Linux's MTD/NAND changes into U-Boot

2016-04-25 Thread Heiko Schocher
Hello Tom, Boris, Am 25.04.2016 um 19:36 schrieb Tom Rini: On Mon, Apr 25, 2016 at 04:43:14PM +0200, Boris Brezillon wrote: Hi Scott, I've recently contributed a lot of MTD/NAND related patches (and intend to continue doing so). Some of them are transversal changes touching the MTD and NAND

[U-Boot] [PATCH 1/2] armv8: ls1043a: remove redundant code in board files

2016-04-25 Thread Gong Qianyu
gd->env_addr will be initialized in env_init() in common/env_nowhere.c if CONFIG_ENV_IS_NOWHERE is defined. So no need to do it again. Signed-off-by: Gong Qianyu --- board/freescale/ls1043aqds/ls1043aqds.c | 4 board/freescale/ls1043ardb/ls1043ardb.c | 5 - 2 files

[U-Boot] [PATCH 2/2] armv8: ls1043ardb: fix types of variables

2016-04-25 Thread Gong Qianyu
Using u16 for cfg_rcw_src and u8 for sd1refclk_sel is enough. Signed-off-by: Gong Qianyu --- board/freescale/ls1043ardb/ls1043ardb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/freescale/ls1043ardb/ls1043ardb.c

Re: [U-Boot] ELC Europe mini-summit?

2016-04-25 Thread Heiko Schocher
Hello Tom, Am 25.04.2016 um 23:01 schrieb Tom Rini: Hey all, So, ELC Europe has a location, and dates and a CFP deadline "soon": http://events.linuxfoundation.org/events/embedded-linux-conference-europe Do we as a community wish to continue with our tradition of having something co-located

[U-Boot] [PATCH] ARM: uniphier: revive some commands lost by Kconfig re-sync

2016-04-25 Thread Masahiro Yamada
The recently added uniphier_ld20_defconfig missed the tree-wide re-sync by commit 89cb2b5f8be4 ("configs: Re-sync with cmd/Kconfig"). Signed-off-by: Masahiro Yamada --- configs/uniphier_ld20_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [U-Boot] [PATCH] imx: mx6: mx6sl_pins: add GPIO variant for SD1_DAT5

2016-04-25 Thread Peng Fan
Hi Eric, On Sun, Apr 24, 2016 at 10:54:19AM -0700, Eric Nelson wrote: >This patch adds the IOMUX setting for using SD1_DAT5 as GPIO5:9. > >Signed-off-by: Eric Nelson Reviewed-by: Peng Fan Regards, Peng. >--- > arch/arm/include/asm/arch-mx6/mx6sl_pins.h

Re: [U-Boot] SAMA5D2 xplained SD/eMMC boot

2016-04-25 Thread Yang, Wenyou
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: 2016年4月25日 18:30 > To: Yang, Wenyou > Cc: u-boot@lists.denx.de > Subject: Re: SAMA5D2 xplained SD/eMMC boot > > On 04/25/2016 02:55 AM, Yang, Wenyou wrote: > > Hi Marek, > > > >>

Re: [U-Boot] [PATCH] dm: gpio: pca953x: Support PCA953X with 40 GPIOs

2016-04-25 Thread Peng Fan
Hi Mario, On Mon, Apr 25, 2016 at 03:25:37PM +0200, Mario Six wrote: >A DM driver for PCA953x was recently introduced by Peng Fan, which lacked >support for the 40 GPIO versions. > >This patch adds support for these chips. > >Signed-off-by: Mario Six Looks fine to me.

[U-Boot] [PATCH V3 4/4] dm: gpio: introduce 74x164 driver

2016-04-25 Thread Peng Fan
Introduce driver to support "fairchild,74hc595" devices. 1. Take linux drivers/drivers/gpio/gpio-74x164.c as reference. 2. Following the naming used in Linux driver with gen_7x164 as the prefix. 3. Enable CONFIG_DM_74X164 to use this driver. 4. Follow

[U-Boot] [PATCH V3 3/4] dm: spi: introduce dm api

2016-04-25 Thread Peng Fan
Introduce dm_spi_claim_bus, dm_spi_release_bus and dm_spi_xfer Signed-off-by: Peng Fan Cc: Simon Glass Cc: Jagan Teki --- V3: As Simon suggested, introduce new API. New patch. drivers/spi/spi-uclass.c | 48

[U-Boot] [PATCH V3 2/4] dm: spi: soft_spi: switch to use linux compatible string

2016-04-25 Thread Peng Fan
1. Support compatible string "spi-gpio" which is used by Linux Linux use different bindings, so use UBOOT_COMPAT and LINUX_COMPAT to differentiate them. 2. Introduce SPI_MASTER_NO_RX and SPI_MASTER_NO_TX to handle no rx or no tx case. 3. Tested on i.MX6 UltraLite board with 74LV595

[U-Boot] [PATCH V3 1/4] dm: spi: soft_spi bug fix

2016-04-25 Thread Peng Fan
When doing xfer, should use device->parent, but not device When doing bit xfer, should use "!!(tmpdout & 0x80)", but not "(tmpdout & 0x80)" Signed-off-by: Peng Fan Cc: Simon Glass Cc: Jagan Teki Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH] usb: dwc2: Init desc_before_addr

2016-04-25 Thread Marek Vasut
On 04/26/2016 03:08 AM, Marek Vasut wrote: > Initialize desc_before_addr, otherwise the USB core won't send the > first 64B Get Device Descriptor request in common/usb.c function > usb_setup_descriptor() . There are some USB devices which expect > this sequence and otherwise can misbehave. > >

[U-Boot] [PATCH] usb: dwc2: Init desc_before_addr

2016-04-25 Thread Marek Vasut
Initialize desc_before_addr, otherwise the USB core won't send the first 64B Get Device Descriptor request in common/usb.c function usb_setup_descriptor() . There are some USB devices which expect this sequence and otherwise can misbehave. Signed-off-by: Marek Vasut Cc: Dinh

Re: [U-Boot] [PATCH 1/1] pico-imx6ul: Update the defconfig

2016-04-25 Thread Tom Rini
On Mon, Apr 25, 2016 at 06:07:34PM -0400, Tom Rini wrote: > The defconfig/config.h file were merged but were already out of sync > with mainline. This brings them further into line now. > > Cc: Richard Hu > Cc: Fabio Estevam > Signed-off-by:

[U-Boot] [ANN] v2016.05-rc3

2016-04-25 Thread Tom Rini
Hey all, I know I did v2016.05-rc2 just last week, but that's because I was off schedule. We are two weeks out from scheduled release, so he's -rc3. Please test this everywhere you can. The diffstat here is large due to moving things from config.h to Kconfig but the binary delta is not. At

Re: [U-Boot] [U-Boot, PATCHv2] cmd: Kconfig: Add a Kconfig options for a few CMD

2016-04-25 Thread Tom Rini
On Thu, Apr 21, 2016 at 09:05:23AM -0500, Dinh Nguyen wrote: > Add the following CMD options to Kconfig: > > CMD_BOOTZ > CMD_ASKENV > CMD_GREPENV > CMD_USB_MASS_STORAGE > CMD_FAT > CMD_MII > CMD_CACHE > CMD_DFU > CMD_EXT2 > CMD_EXT4 > CMD_EXT4_WRITE > CMD_FS_GENERIC > CMD_MMC > > Signed-off-by:

Re: [U-Boot] [U-Boot,v3] pci: Device scanning range fix

2016-04-25 Thread Tom Rini
On Mon, Apr 25, 2016 at 03:41:01PM +0900, Yoshinori Sato wrote: > The terminal condition in the area where a PCI device is scanned is wrong, > and 1f.7 isn't scanned. > > Signed-off-by: Yoshinori Sato > Reviewed-by: Bin Meng Applied to

Re: [U-Boot] [U-Boot,4/4] ARM: DRA7: Add ABB setup for all domains

2016-04-25 Thread Tom Rini
On Thu, Apr 21, 2016 at 02:34:25PM -0500, Nishanth Menon wrote: > ABB should be initialized for all required domains voltage domain > for DRA7: IVA, GPU, EVE in addition to the existing MPU domain. If > we do not do this, kernel configuring just the frequency using the > default boot loader

Re: [U-Boot] mmc: sdhci: add const qualifier to the name of struct sdhci_host

2016-04-25 Thread Tom Rini
On Fri, Apr 22, 2016 at 08:59:31PM +0900, Masahiro Yamada wrote: > This allows to drop annoying (char *) casts when setting the host > name of struct sdhci_host. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, 1/4] ARM: OMAP5/DRA7: Get rid of control_std_fuse_opp_vdd_mpu_2

2016-04-25 Thread Tom Rini
On Thu, Apr 21, 2016 at 02:34:22PM -0500, Nishanth Menon wrote: > This information is already available under vcores->volts.efuse.reg. > There is no reason for duplicating the information since AVS Class 0 > definitions are common for OMAP5 and DRA7 and defined with > STD_FUSE_OPP_* macros. This

Re: [U-Boot] [U-Boot, 3/4] ARM: OMAP5: Enable ABB configuration for MM voltage domain

2016-04-25 Thread Tom Rini
On Thu, Apr 21, 2016 at 02:34:24PM -0500, Nishanth Menon wrote: > Since we setup the voltage and frequency for the MM domain, we *must* > setup the ABB configuration needed for the domain as well. If we do not > do this, kernel configuring just the frequency using the default boot > loader

Re: [U-Boot] [U-Boot, 2/4] ARM: OMAP5/DRA7: Move ABB TXDONE mask to voltage structure

2016-04-25 Thread Tom Rini
On Thu, Apr 21, 2016 at 02:34:23PM -0500, Nishanth Menon wrote: > ABB TX_DONE mask will vary depending on ABB module. For example, > 3630 never had ABB on IVA domain, while OMAP5 does use ABB on MM domain, > DRA7 has it on all domains with the exception of CORE, RTC. > > Hence, move the txdone

Re: [U-Boot] [U-Boot, 7/7] ARM: hikey: Simplify README instructions.

2016-04-25 Thread Tom Rini
On Wed, Apr 20, 2016 at 05:14:03PM +0100, Peter Griffin wrote: > This patch updates and simplifies the hikey README. The old > instructions were hard to follow, and convoluted. > > This patch also updates the link to the mcuimage.bin which was outdated. > > Using an outdated mcuimage.bin

Re: [U-Boot] common/dlmalloc.c: Delete content that was moved to malloc.h

2016-04-25 Thread Tom Rini
On Thu, Apr 21, 2016 at 07:35:55AM -0400, Robert P. J. Day wrote: > Remove several hundred lines of content surrounded by: > > #if 0 /* Moved to malloc.h */ > ... moved stuff ... > #endif /* 0 */ /* Moved to malloc.h */ > > Signed-off-by: Robert P. J. Day

Re: [U-Boot] [U-Boot, 5/7] ARM: hisilicon: hikey: dts: Add pl011 additional clock binding.

2016-04-25 Thread Tom Rini
On Wed, Apr 20, 2016 at 05:14:01PM +0100, Peter Griffin wrote: > This is a binding which only exists in U-Boot, but is > required to get working serial in U-Boot. > > Signed-off-by: Peter Griffin > Reviewed-by: Tom Rini Applied to u-boot/master,

Re: [U-Boot] spl: spl_mmc: Disambiguate error message

2016-04-25 Thread Tom Rini
On Wed, Apr 20, 2016 at 11:12:04PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > The error message "spl: mmc block read error" may come from two > different functions, so we should better annotate the function name > where the error comes from to help debugging. >

Re: [U-Boot] [U-Boot, 6/7] ARM: hisilicon: hikey: Align memory node with upstream kernel

2016-04-25 Thread Tom Rini
On Wed, Apr 20, 2016 at 05:14:02PM +0100, Peter Griffin wrote: > The memory node gets automatically generated by U-Boot > in arch_fixup_fdt(), before passing control to the kernel > using U-Boots representation of the dram banks. > > However the upstream kernel uses the memory node to carve-out

Re: [U-Boot] [U-Boot, 4/7] ARM: hisilicon: hikey: Implement reset_cpu() for hikey.

2016-04-25 Thread Tom Rini
On Wed, Apr 20, 2016 at 05:14:00PM +0100, Peter Griffin wrote: > This allows the reset command to reset the board from > u-boot. > > => reset > resetting ... > INFO:BL1: 0xf981 - 0xf9818000 [size = 32768] > NOTICE: Booting Trusted Firmware > NOTICE: BL1: v1.1(debug):7fb9b0e > NOTICE:

Re: [U-Boot] [U-Boot, 3/7] ARM: hisilicon: hikey: Enable OF_CONTROL for hikey board.

2016-04-25 Thread Tom Rini
On Wed, Apr 20, 2016 at 05:13:59PM +0100, Peter Griffin wrote: > Currently only the serial pl01x driver is using DT, > and the other drivers still use platform data but > as more DT lands in the upstream kernel the aim is > to migrate the other drivers over to DT as well to > have a fully DT

Re: [U-Boot] [U-Boot, v3] ti_armv7_common.h: Fix U-Boot location on eMMC

2016-04-25 Thread Tom Rini
On Wed, Apr 20, 2016 at 12:05:59PM +0300, Semen Protsenko wrote: > According to common eMMC partition table for Android boot (see > PARTS_DEFAULT definition in include/configs/dra7xx_evm.h), "bootloader" > partition (where u-boot.img is stored) starts at 256 KiB. Which is equal > to 512 sectors

Re: [U-Boot] [U-Boot, 2/7] MAINTAINERS: Add myself as maintainer for hikey

2016-04-25 Thread Tom Rini
On Wed, Apr 20, 2016 at 05:13:58PM +0100, Peter Griffin wrote: > This patch adds myself as maintainer for the hikey > U-Boot port. > > Signed-off-by: Peter Griffin > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, 1/7] ARM: hisilicon: hikey: Add hikey & hi6220 dts from v4.6-rc3.

2016-04-25 Thread Tom Rini
On Wed, Apr 20, 2016 at 05:13:57PM +0100, Peter Griffin wrote: > Import the upstream kernel dts into U-Boot. Currently > only serial is supported, but a lot more DT changes are > queued for v4.7. > > Signed-off-by: Peter Griffin > Reviewed-by: Tom Rini

Re: [U-Boot] sf: fix timebase data type in _wait_ready()

2016-04-25 Thread Tom Rini
On Mon, Apr 04, 2016 at 11:03:52AM -0600, Stephen Warren wrote: > From: Stephen Warren > > get_timer() returns an unsigned 64-bit value, but is currently assigned to > a signed 32-bit variable. Due to sign extension and data truncation, this > causes the timeout loop in

Re: [U-Boot] [PATCH 4/4] include/configs: Whitespace fixup

2016-04-25 Thread Tom Rini
On Sun, Apr 24, 2016 at 03:16:07PM -0400, Tom Rini wrote: > A number of moveconfig.py runs have left a instances of multiple empty > lines in a row. Correct this to a single empty line. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [PATCH] configs: Re-sync with cmd/Kconfig

2016-04-25 Thread Tom Rini
On Mon, Apr 25, 2016 at 03:12:36PM -0400, Tom Rini wrote: > Update the config.h and defconfig files for the commands that 8e3c036 > converted over to Kconfig > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

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

2016-04-25 Thread Tom Rini
On Mon, Apr 25, 2016 at 10:10:33PM +0200, Anatolij Gustschin wrote: > Hi Tom, > > The following changes since commit 65341967ce9ef2656c61dcd3126536e8865c349d: > > Merge branch 'master' of git://git.denx.de/u-boot-x86 (2016-04-22 07:25:18 > -0400) > > are available in the git repository at:

Re: [U-Boot] [PATCH 1/4] configs: Re-sync HUSH options

2016-04-25 Thread Tom Rini
On Sun, Apr 24, 2016 at 03:16:04PM -0400, Tom Rini wrote: > Move all cases of CONFIG_SYS_HUSH_PARSER out of the config.h files. Remove > all cases of CONFIG_SYS_PROMPT_HUSH_PS2 as everyone uses the default. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! --

Re: [U-Boot] [PATCH 2/4] configs: Re-sync CONFIG_USB_MUSB_HOST

2016-04-25 Thread Tom Rini
On Sun, Apr 24, 2016 at 03:16:05PM -0400, Tom Rini wrote: > With CONFIG_USB_MUSB_HOST being in Kconfig, move to defconfig files. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 3/4] configs: Re-sync almost all of cmd/Kconfig

2016-04-25 Thread Tom Rini
On Sun, Apr 24, 2016 at 03:16:06PM -0400, Tom Rini wrote: > This syncs up the current cmd/Kconfig and include/configs/ files with the > only exception being CMD_NAND. Due to how we have used this historically > we need to take further care here when converting. > > Signed-off-by: Tom Rini

Re: [U-Boot] pull request: u-boot-uniphier/master

2016-04-25 Thread Tom Rini
On Sun, Apr 24, 2016 at 10:04:05AM +0900, Masahiro Yamada wrote: > Hi Tom, > > Finally, this series adds support for the first ARMv8 SoC > from Socionext Inc. > > > > The following changes since commit 65341967ce9ef2656c61dcd3126536e8865c349d: > > Merge branch 'master' of

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

2016-04-25 Thread Tom Rini
On Mon, Apr 25, 2016 at 07:40:09PM +0200, Marek Vasut wrote: > The following changes since commit 65341967ce9ef2656c61dcd3126536e8865c349d: > > Merge branch 'master' of git://git.denx.de/u-boot-x86 (2016-04-22 > 07:25:18 -0400) > > are available in the git repository at: > >

Re: [U-Boot] Pull request: u-boot-ubi/master

2016-04-25 Thread Tom Rini
On Mon, Apr 25, 2016 at 07:28:36AM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-ubi.git master > > This pull request contains 2 bugfixes for UBI/UBIFS, so I think, they > should go into the next release. > > The following changes since commit

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

2016-04-25 Thread Tom Rini
On Mon, Apr 25, 2016 at 02:26:47PM +0200, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > The following changes since commit 108f8418597350bd98357f25acaa8ab8a0435779: > > ARM: rpi: fix 64-bit CONFIG_SYS_TEXT_BASE (2016-04-16 09:02:17 -0400) > > are available in

Re: [U-Boot] Please pull from u-boot-i2c

2016-04-25 Thread Tom Rini
On Mon, Apr 25, 2016 at 10:30:09AM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c.git master > > The following changes since commit 65341967ce9ef2656c61dcd3126536e8865c349d: > > Merge branch 'master' of git://git.denx.de/u-boot-x86 (2016-04-22 07:25:18 > -0400) >

Re: [U-Boot] [PATCH 02/60] mmc: tegra: move pad init into MMC driver

2016-04-25 Thread Tom Rini
On Mon, Apr 25, 2016 at 05:34:55PM -0600, Stephen Warren wrote: > On 04/25/2016 05:26 PM, Tom Rini wrote: > >On Mon, Apr 25, 2016 at 05:11:16PM -0600, Stephen Warren wrote: > >>On 04/25/2016 05:05 PM, Tom Rini wrote: > >>>On Mon, Apr 25, 2016 at 04:43:34PM -0600, Stephen Warren wrote: > On

Re: [U-Boot] [PATCH 02/60] mmc: tegra: move pad init into MMC driver

2016-04-25 Thread Stephen Warren
On 04/25/2016 05:26 PM, Tom Rini wrote: On Mon, Apr 25, 2016 at 05:11:16PM -0600, Stephen Warren wrote: On 04/25/2016 05:05 PM, Tom Rini wrote: On Mon, Apr 25, 2016 at 04:43:34PM -0600, Stephen Warren wrote: On 04/25/2016 04:37 PM, Tom Rini wrote: On Mon, Apr 25, 2016 at 11:52:53PM +0200,

Re: [U-Boot] [PATCH 1/3] phy: Add phy driver support for xilinx PCS/PMA core

2016-04-25 Thread Florian Fainelli
On 25/04/16 15:36, Joe Hershberger wrote: > On Mon, Feb 15, 2016 at 3:54 AM, Michal Simek wrote: >> From: Siva Durga Prasad Paladugu >> >> Add phy driver support for xilinx PCS/PMA core >> >> Signed-off-by: Siva Durga Prasad Paladugu

Re: [U-Boot] [PATCH 02/60] mmc: tegra: move pad init into MMC driver

2016-04-25 Thread Tom Rini
On Mon, Apr 25, 2016 at 05:11:16PM -0600, Stephen Warren wrote: > On 04/25/2016 05:05 PM, Tom Rini wrote: > >On Mon, Apr 25, 2016 at 04:43:34PM -0600, Stephen Warren wrote: > >>On 04/25/2016 04:37 PM, Tom Rini wrote: > >>>On Mon, Apr 25, 2016 at 11:52:53PM +0200, Wolfgang Denk wrote: > Dear

Re: [U-Boot] [PATCH 13/60] ARM: tegra: sort some board file include directives

2016-04-25 Thread Tom Rini
On Mon, Apr 25, 2016 at 11:59:39PM +0200, Wolfgang Denk wrote: > Dear Stephen, > > In message <571e75e2.6020...@wwwdotorg.org> you wrote: > > > > >> /* > > >>* (C) Copyright 2013 > > >>* Avionic Design GmbH > > >> + * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. > > >>

Re: [U-Boot] [PATCH 02/60] mmc: tegra: move pad init into MMC driver

2016-04-25 Thread Stephen Warren
On 04/25/2016 05:05 PM, Tom Rini wrote: On Mon, Apr 25, 2016 at 04:43:34PM -0600, Stephen Warren wrote: On 04/25/2016 04:37 PM, Tom Rini wrote: On Mon, Apr 25, 2016 at 11:52:53PM +0200, Wolfgang Denk wrote: Dear Stephen Warren, In message <571e733a.1060...@wwwdotorg.org> you wrote: [snip]

Re: [U-Boot] [PATCH 02/60] mmc: tegra: move pad init into MMC driver

2016-04-25 Thread Tom Rini
On Mon, Apr 25, 2016 at 04:43:34PM -0600, Stephen Warren wrote: > On 04/25/2016 04:37 PM, Tom Rini wrote: > >On Mon, Apr 25, 2016 at 11:52:53PM +0200, Wolfgang Denk wrote: > >>Dear Stephen Warren, > >> > >>In message <571e733a.1060...@wwwdotorg.org> you wrote: > >[snip] > >>>Unfortunately we've

Re: [U-Boot] [PATCH v2 09/12] arm: dts: dra7: fix ethernet name with proper device address

2016-04-25 Thread Joe Hershberger
On Tue, Apr 12, 2016 at 3:46 AM, Mugunthan V N wrote: > Fix typo error for cpsw device name with proper device address > > Signed-off-by: Mugunthan V N Acked-by: Joe Hershberger ___

Re: [U-Boot] [PATCH 1/2 v3] powerpc:t4240rdb: Disable the non-existent ethernet ports on T4240RDB

2016-04-25 Thread Joe Hershberger
On Thu, Apr 21, 2016 at 1:23 AM, wrote: > From: Ying Zhang > > Disable the non-existent ethernet ports on T4240RDB:FM1_DTSEC5, > FM1_DTSEC6, FM2_DTSEC5 and FM2_DTSEC6. > > Signed-off-by: Ying Zhang In the future Cc: me

Re: [U-Boot] [PATCH 02/60] mmc: tegra: move pad init into MMC driver

2016-04-25 Thread Stephen Warren
On 04/25/2016 04:37 PM, Tom Rini wrote: On Mon, Apr 25, 2016 at 11:52:53PM +0200, Wolfgang Denk wrote: Dear Stephen Warren, In message <571e733a.1060...@wwwdotorg.org> you wrote: [snip] Unfortunately we've (NVIDIA at least) been a little lax making sure the NVIDIA copyright messages are kept

Re: [U-Boot] [PATCH 02/60] mmc: tegra: move pad init into MMC driver

2016-04-25 Thread Tom Rini
On Mon, Apr 25, 2016 at 11:52:53PM +0200, Wolfgang Denk wrote: > Dear Stephen Warren, > > In message <571e733a.1060...@wwwdotorg.org> you wrote: [snip] > > Unfortunately we've (NVIDIA at least) been a little lax making sure the > > NVIDIA copyright messages are kept up-to-date when editing

Re: [U-Boot] [PATCH 1/3] phy: Add phy driver support for xilinx PCS/PMA core

2016-04-25 Thread Joe Hershberger
On Mon, Feb 15, 2016 at 3:54 AM, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > Add phy driver support for xilinx PCS/PMA core > > Signed-off-by: Siva Durga Prasad Paladugu > Signed-off-by: Kedareswara rao

Re: [U-Boot] [PATCH 2/3] net: zynq_gem: Add support for SGMII interface

2016-04-25 Thread Joe Hershberger
On Mon, Feb 15, 2016 at 3:55 AM, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > Add support of SGMII interface for zynq GEM. > Read xlnx,emio property from DT. > > Signed-off-by: Siva Durga Prasad Paladugu

Re: [U-Boot] [PATCH 2/2] net: zynq_gem: Add SGMII support for zynqMP

2016-04-25 Thread Joe Hershberger
On Thu, Mar 31, 2016 at 3:53 AM, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > PCS auto negotaiation bit should be enabled > along with SGMII autonegotation enabled > in phy. > > Signed-off-by: Siva Durga Prasad Paladugu

Re: [U-Boot] [PATCH 1/2] net: phy: Add SGMII support for TI phy

2016-04-25 Thread Joe Hershberger
On Thu, Mar 31, 2016 at 3:53 AM, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > Add support of SGMII to TI phy dp838367 > Enable the SGMII and PCS settings in phy > control, CFG2 and BIST registers > > Signed-off-by: Siva Durga

Re: [U-Boot] [PATCH] net: zynq_gem: Return error incase of invalid phy address

2016-04-25 Thread Joe Hershberger
On Thu, Mar 31, 2016 at 3:49 AM, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > Return error from probe in case of invalid phy address. > This fixes the issue of uboot crash if phy is not detected. > > Signed-off-by: Siva Durga

Re: [U-Boot] [PATCH] net: axi_emac: Report phy-node error message permanently

2016-04-25 Thread Joe Hershberger
On Thu, Mar 31, 2016 at 3:35 AM, Michal Simek wrote: > Do not use debug() when printing error message. Use printf instead. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 01/60] ARM: tegra: remove unused definitions in headers

2016-04-25 Thread Simon Glass
Hi Stephen, On 25 April 2016 at 16:02, Stephen Warren wrote: > On 04/25/2016 03:54 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 25 April 2016 at 13:34, Stephen Warren wrote: >>> >>> >>> On 04/24/2016 04:20 AM, Wolfgang Denk wrote:

Re: [U-Boot] [PATCH 01/60] ARM: tegra: remove unused definitions in headers

2016-04-25 Thread Tom Rini
On Mon, Apr 25, 2016 at 04:02:13PM -0600, Stephen Warren wrote: > On 04/25/2016 03:54 PM, Simon Glass wrote: > >Hi Stephen, > > > >On 25 April 2016 at 13:34, Stephen Warren wrote: > >> > >>On 04/24/2016 04:20 AM, Wolfgang Denk wrote: > >>> > >>>Dear Stephen, > >>> > >>>In

Re: [U-Boot] [PATCH v3 2/2] net: phy: Add PHY driver for mv88e61xx switches

2016-04-25 Thread Joe Hershberger
On Thu, Mar 31, 2016 at 2:33 PM, Kevin Smith wrote: > The previous mv88e61xx driver was a driver for configuring the > switch, but did not integrate with the PHY/networking system, so > it could not be used as a PHY by U-boot. This is a complete > rework to support

[U-Boot] [PATCH 1/1] pico-imx6ul: Update the defconfig

2016-04-25 Thread Tom Rini
The defconfig/config.h file were merged but were already out of sync with mainline. This brings them further into line now. Cc: Richard Hu Cc: Fabio Estevam Signed-off-by: Tom Rini --- As the board doesn't compile currently

Re: [U-Boot] [PATCH 01/60] ARM: tegra: remove unused definitions in headers

2016-04-25 Thread Stephen Warren
On 04/25/2016 03:54 PM, Simon Glass wrote: Hi Stephen, On 25 April 2016 at 13:34, Stephen Warren wrote: On 04/24/2016 04:20 AM, Wolfgang Denk wrote: Dear Stephen, In message <1461099580-3866-2-git-send-email-swar...@wwwdotorg.org> you wrote: ... /* *

Re: [U-Boot] [PATCH v2 11/12] defconfig: am437x_sk_evm: enable eth driver model

2016-04-25 Thread Joe Hershberger
On Tue, Apr 12, 2016 at 3:46 AM, Mugunthan V N wrote: > Enable eth driver model for am437x_sk_evm as cpsw supports > driver model. > > Signed-off-by: Mugunthan V N > Reviewed-by: Tom Rini Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v2 12/12] defconfig: dra74_evm: enable eth driver model

2016-04-25 Thread Joe Hershberger
On Tue, Apr 12, 2016 at 3:46 AM, Mugunthan V N wrote: > Enable eth driver model for dra74_evm as cpsw supports > driver model. > > Signed-off-by: Mugunthan V N > Reviewed-by: Tom Rini Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v2 10/12] defconfig: am437x_gp_evm: enable eth driver model

2016-04-25 Thread Joe Hershberger
On Tue, Apr 12, 2016 at 3:46 AM, Mugunthan V N wrote: > Enable eth driver model for am437x_gp_evm as cpsw supports > driver model. > > Signed-off-by: Mugunthan V N > Reviewed-by: Tom Rini Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v2 07/12] arm: dts: am4372: add syscon node to cpsw to read mac address

2016-04-25 Thread Joe Hershberger
On Tue, Apr 12, 2016 at 3:46 AM, Mugunthan V N wrote: > Add syscon node to cpsw device node to read mac address > from efuse. > > Signed-off-by: Mugunthan V N > Reviewed-by: Tom Rini Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v2 08/12] arm: dts: dra7: add syscon node to cpsw to read mac address

2016-04-25 Thread Joe Hershberger
On Tue, Apr 12, 2016 at 3:46 AM, Mugunthan V N wrote: > Add syscon node to cpsw device node to read mac address > from efuse. > > Signed-off-by: Mugunthan V N > Reviewed-by: Tom Rini Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v2 04/12] ARM: omap5: add platform specific ethernet phy modes configurations

2016-04-25 Thread Joe Hershberger
On Tue, Apr 12, 2016 at 3:46 AM, Mugunthan V N wrote: > Add platforms specific phy mode configuration bits to be used > to configure phy mode in control module. > > Signed-off-by: Mugunthan V N > Reviewed-by: Tom Rini Acked-by: Joe

Re: [U-Boot] [PATCH v2 03/12] drivers: net: cpsw: fix cpsw dp parse when num slaves as 1

2016-04-25 Thread Joe Hershberger
On Tue, Apr 12, 2016 at 3:46 AM, Mugunthan V N wrote: > On some boards number of slaves can be 1 when only one port > ethernet is pinned out. So do not break when slave_index and > num slaves check fails, instead continue to parse the next > child. > > Signed-off-by:

Re: [U-Boot] [PATCH 01/60] ARM: tegra: remove unused definitions in headers

2016-04-25 Thread Stephen Warren
On 04/25/2016 03:46 PM, Wolfgang Denk wrote: Dear Stephen, In message <571e7135.2030...@wwwdotorg.org> you wrote: Can you please get rid of this "All rights reserved." ? Sorry, that is the format I'm required to use by NVIDIA legal. To address your next question, "all rights reserved" is

Re: [U-Boot] [PATCH 13/60] ARM: tegra: sort some board file include directives

2016-04-25 Thread Wolfgang Denk
Dear Stephen, In message <571e75e2.6020...@wwwdotorg.org> you wrote: > > >> /* > >>* (C) Copyright 2013 > >>* Avionic Design GmbH > >> + * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. > >>* > >>* SPDX-License-Identifier: GPL-2.0+ > >>*/ > >> > >>

Re: [U-Boot] [PATCH v2 01/12] drivers: core: device: add support to check dt compatible for a device/machine

2016-04-25 Thread Joe Hershberger
On Tue, Apr 12, 2016 at 3:46 AM, Mugunthan V N wrote: > Provide an api to check whether the given device or machine is > compatible with the given compat string which helps in making > decisions in drivers based on device or machine compatible. > > Idea taken from Linux. > >

[U-Boot] [PATCH] malloc: improve memalign fragmentation fix

2016-04-25 Thread Stephen Warren
From: Stephen Warren Commit 4f144a416469 "malloc: work around some memalign fragmentation issues" enhanced memalign() so that it can succeed in more cases where heap fragmentation is present. However, it did not solve as many cases as it could. This patch enhances the code to

Re: [U-Boot] [PATCH 01/60] ARM: tegra: remove unused definitions in headers

2016-04-25 Thread Simon Glass
Hi Stephen, On 25 April 2016 at 13:34, Stephen Warren wrote: > > On 04/24/2016 04:20 AM, Wolfgang Denk wrote: >> >> Dear Stephen, >> >> In message <1461099580-3866-2-git-send-email-swar...@wwwdotorg.org> you >> wrote: >>> >>> >> ... >>> >>> /* >>>* Copyright (c)

Re: [U-Boot] [PATCH v3 2/2] m68k: add DM model serial driver

2016-04-25 Thread Simon Glass
Hi Angelo, On 24 April 2016 at 16:20, Angelo Dureghello wrote: > Boards can now use DM serial driver, or still legacy mcf uart > driver version. > > Signed-off-by: Angelo Dureghello > --- > Changes for v2: >- remove while loops in putc and getc, replacing

Re: [U-Boot] [PATCH v2 02/12] ti_omap5_common: eth: do not define DM_ETH for spl

2016-04-25 Thread Joe Hershberger
On Tue, Apr 12, 2016 at 3:46 AM, Mugunthan V N wrote: > Since omap's spl doesn't support DM currently, do not define > DM_ETH for spl build. > > Signed-off-by: Mugunthan V N > Reviewed-by: Simon Glass > Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH v2 06/12] drivers: net: cpsw: add support for reading mac address from efuse

2016-04-25 Thread Joe Hershberger
On Tue, Apr 12, 2016 at 3:46 AM, Mugunthan V N wrote: > Different TI platforms has to read with different combination to > get the mac address from efuse. So add support to read mac address > based on machine/device compatibles. > > The code is taken from Linux

Re: [U-Boot] [PATCH 02/60] mmc: tegra: move pad init into MMC driver

2016-04-25 Thread Wolfgang Denk
Dear Stephen Warren, In message <571e733a.1060...@wwwdotorg.org> you wrote: > On 04/24/2016 04:20 AM, Wolfgang Denk wrote: > > Dear Stephen, > > > > In message <1461099580-3866-3-git-send-email-swar...@wwwdotorg.org> you > > wrote: > >> > >> /* > >> + * Copyright 2011-2016 NVIDIA Corporation >

Re: [U-Boot] [PATCH v2 05/12] drivers: net: cpsw: fix get mdio base and gmii_sel reg from DT

2016-04-25 Thread Joe Hershberger
On Tue, Apr 12, 2016 at 3:46 AM, Mugunthan V N wrote: > Since dra7x platforms address bus is define as 64 bits to support > LAPE, fdtdec_get_addr() returns a invalid address for mdio based > and gmii_sel register address. Fixing this by using >

Re: [U-Boot] [PATCH 01/60] ARM: tegra: remove unused definitions in headers

2016-04-25 Thread Wolfgang Denk
Dear Stephen, In message <571e7135.2030...@wwwdotorg.org> you wrote: > > > Can you please get rid of this "All rights reserved." ? > > Sorry, that is the format I'm required to use by NVIDIA legal. > > To address your next question, "all rights reserved" is 100% compatible > with OSS licenses.

Re: [U-Boot] [PATCH 2/2] net: increase maximum frame size to accomediate VLAN packets

2016-04-25 Thread Joe Hershberger
On Wed, Apr 13, 2016 at 6:38 PM, Stefan Agner wrote: > Ethernet packages with IEEE 802.1Q VLAN support may be up to 1522 > bytes long. Increase the default size used to allocate packet > storage by 4 bytes. While at it, let git care about history and > rewrite the comment to

Re: [U-Boot] [PATCH 1/2] net: fix vlan validation

2016-04-25 Thread Joe Hershberger
On Wed, Apr 13, 2016 at 6:38 PM, Stefan Agner wrote: > VLAN identifiers are 12-bit decimal numbers, not IP addresses. > > Signed-off-by: Stefan Agner Acked-by: Joe Hershberger ___ U-Boot

Re: [U-Boot] [PATCH v4 1/3] net: designware: fix descriptor layout and warnings on 64-bit archs

2016-04-25 Thread Joe Hershberger
On Mon, Apr 18, 2016 at 5:57 AM, Beniamino Galvani wrote: > On Sun, Apr 17, 2016 at 10:59:11PM +0200, Marek Vasut wrote: >> On 04/17/2016 01:14 PM, Beniamino Galvani wrote: >> > On Sun, Apr 17, 2016 at 11:56:58AM +0200, Marek Vasut wrote: >> >>> - desc_p->dmamac_addr

Re: [U-Boot] [PATCH v6 3/7] net: phy: dp83867: Add device tree bindings and documentation

2016-04-25 Thread Joe Hershberger
On Fri, Apr 15, 2016 at 7:27 AM, Dan Murphy wrote: > Add the device tree bindings and the accompanying documentation > for the TI DP83867 Giga bit ethernet phy driver. > > The original document was from: > [commit 2a10154abcb75ad0d7b6bfea6210ac743ec60897 from the Linux kernel]

Re: [U-Boot] [PATCH v6 6/7] net: phy: Add phy_interface_is_sgmii to phy.h

2016-04-25 Thread Joe Hershberger
On Fri, Apr 15, 2016 at 7:27 AM, Dan Murphy wrote: > Add a helper to phy.h to identify whether the > phy is configured for SGMII all variables. > > Signed-off-by: Dan Murphy > Reviewed-by: Mugunthan V N > Reviewed-by: Michal Simek

Re: [U-Boot] [PATCH v6 2/7] net: zynq_gem: Add the passing of the phy-handle node

2016-04-25 Thread Joe Hershberger
On Fri, Apr 15, 2016 at 7:27 AM, Dan Murphy wrote: > Add the ability to pass the phy-handle node offset > to the phy driver. This allows the phy driver > to access the DT subnode's data and parse accordingly. > > Signed-off-by: Dan Murphy > Tested-by: Michal

Re: [U-Boot] [PATCH v6 7/7] net: phy: dp83867: Add SGMII helper for configuration

2016-04-25 Thread Joe Hershberger
On Fri, Apr 15, 2016 at 7:27 AM, Dan Murphy wrote: > The code assumed that if the interface is not RGMII configured > then it must be SGMII configured. This device has the ability > to support most of the MII interfaces. Therefore add the > helper for SGMII and only configure

Re: [U-Boot] [PATCH v6 5/7] net: phy: Move is_rgmii helper to phy.h

2016-04-25 Thread Joe Hershberger
On Fri, Apr 15, 2016 at 7:27 AM, Dan Murphy wrote: > Move the phy_interface_is_rgmii to the phy.h > file for all phy's to be able to use the API. > > This now aligns with the Linux kernel based on > commit e463d88c36d42211aa72ed76d32fb8bf37820ef1 > > Signed-off-by: Dan Murphy

Re: [U-Boot] [PATCH v6 4/7] net: phy: ti: Allow the driver to be more configurable

2016-04-25 Thread Joe Hershberger
On Fri, Apr 15, 2016 at 7:27 AM, Dan Murphy wrote: > Not all devices use the same internal delay or fifo depth. > Add the ability to set the internal delay for rx or tx and the > fifo depth via the devicetree. If the value is not set in the > devicetree then set the delay to the

Re: [U-Boot] [PATCH v6 1/7] drivers: net: cpsw: Add reading of DT phy-handle node

2016-04-25 Thread Joe Hershberger
On Fri, Apr 15, 2016 at 7:27 AM, Dan Murphy wrote: > Add the ability to read the phy-handle node of the > cpsw slave. Upon reading this handle the phy-id > can be stored based on the reg node in the DT. It would be great if the phy could be handled generically. Unfortunately

[U-Boot] ELC Europe mini-summit?

2016-04-25 Thread Tom Rini
Hey all, So, ELC Europe has a location, and dates and a CFP deadline "soon": http://events.linuxfoundation.org/events/embedded-linux-conference-europe Do we as a community wish to continue with our tradition of having something co-located with ELC Europe? If so, now'ish is the time I need to

Re: [U-Boot] [PATCH v3 0/8] Add support for Espresso7420 board

2016-04-25 Thread Tom Rini
On Sat, Apr 23, 2016 at 10:18:06PM +0530, Thomas Abraham wrote: > Changes since v2: > - changes based on comments from Simon Glass and Minkyu Kang. > > This patch series add support for Espresso7420 board. This board is > the development/evaluation platform for Exynos7420 SoC. The SoC is >

Re: [U-Boot] Porting Linux's MTD/NAND changes into U-Boot

2016-04-25 Thread Boris Brezillon
On Mon, 25 Apr 2016 13:36:46 -0400 Tom Rini wrote: > On Mon, Apr 25, 2016 at 04:43:14PM +0200, Boris Brezillon wrote: > > > Hi Scott, > > > > I've recently contributed a lot of MTD/NAND related patches (and intend > > to continue doing so). Some of them are transversal

Re: [U-Boot] [PATCH v5 3/4] arm: add initial support for Amlogic Meson and ODROID-C2

2016-04-25 Thread Tom Rini
On Sun, Apr 24, 2016 at 08:50:01AM +0200, Beniamino Galvani wrote: > This adds platform code for the Amlogic Meson GXBaby (S905) SoC and a > board definition for ODROID-C2. This initial submission only supports > UART and Ethernet (through the existing Designware driver). DTS files > are the ones

  1   2   >