Re: [U-Boot] [PATCH 2/5] net: gem: Fix return value from recv

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 5:43 AM, Michal Simek wrote: > recv function should return 0 instead of frame_len not to > proceed the same packet again in core. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 3/5] net: gem: Separate recv and free_pkt functions

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 5:43 AM, Michal Simek wrote: > Use core to call net_process_received_packet() instead of call inside > the driver. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 5/5] drivers: net: vsc9953: Add LAG support

2015-12-15 Thread Joe Hershberger
On Tue, Dec 15, 2015 at 7:21 AM, Codrin Ciubotariu wrote: > You can now configure LAG on VSC9953's ports using the command: > ethsw [port ] aggr {[help] | show | } > > A port must belong to a single LAG. By default, a port > belongs to a LAG equal to the port's

[U-Boot] [PATCH 2/3] gpio: s5p: use dev_get_reg() instead of dev_get_addr()

2015-12-15 Thread Przemyslaw Marczak
In a result of enabling the CONFIG_OF_TRANSLAE, function dev_get_addr(), doesn't support device tree nodes with 'size-cells == 0'. But this is the way how the s5p gpio driver's compatible device tree nodes are defined. Switching the driver to use function dev_get_reg(), fixes this issue.

Re: [U-Boot] [PATCH 1/5] Make RBTREE selectable by Kconfig

2015-12-15 Thread Lars Poeschel
Am Dienstag, 18. August 2015, 14:32:13 schrieb Joe Hershberger: > On Tue, Aug 18, 2015 at 2:27 PM, Tom Rini wrote: > > On Tue, Aug 18, 2015 at 01:47:20PM -0500, Joe Hershberger wrote: > >> Hi Lars, > >> > >> On Tue, Aug 11, 2015 at 2:29 PM, Joe Hershberger > >> > >>

[U-Boot] [PATCH 1/3] dm: core: extend API by new function: dev_get_reg()

2015-12-15 Thread Przemyslaw Marczak
After changes introduced to dev_get_addr() by: commit: dm: core: Enable optional use of fdt_translate_address() the mentioned function is not allowed to parse the 'reg' property of child node for which the '#size-cells == 0'. To fill the gap, this commit introduces new core function

[U-Boot] [PATCH 3/3] dm: i2c: get chip address with dev_get_reg()

2015-12-15 Thread Przemyslaw Marczak
This commit cleanups the I2C uclass driver by: - simplify i2c_child_post_bind() method - cleanups i2c_chip_ofdata_to_platdata(), by calling dev_get_reg() for getting chip address Signed-off-by: Przemyslaw Marczak Cc: Masahiro Yamada Cc:

Re: [U-Boot] [PATCH 2/5] drivers: net: vsc9953: Fix FDB aging time

2015-12-15 Thread Joe Hershberger
On Tue, Dec 15, 2015 at 7:21 AM, Codrin Ciubotariu wrote: > By default, the aging period is set to 0, so the dynamic > FDB entries are never removed. This patch sets the aging > time to 300 seconds. > > Signed-off-by: Codrin Ciubotariu

Re: [U-Boot] [PATCH] Re-enable setexpr on Raspberry Pi

2015-12-15 Thread Joe Hershberger
On Tue, Dec 1, 2015 at 10:04 PM, Stephen Warren wrote: > On 11/28/2015 06:56 PM, Marco Schuster wrote: >> This patch re-enables the setexpr command, I don't really understand >> why it got excluded in the first place. >> >> setexpr can be used e.g. to implement

Re: [U-Boot] [PATCH 4/5] net: gem: Fix typo in Kconfig entry

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 5:43 AM, Michal Simek wrote: > Signed-off-by: Michal Simek Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH 0/3] dm: add dev_get_reg() for getting device node's reg

2015-12-15 Thread Przemyslaw Marczak
commit: dm: core: Enable optional use of fdt_translate_address() enables device's bus/child address translation method, depending on bus 'ranges' property and including child 'reg' property. This change makes impossible to decode the 'reg' for node with '#size-cells' equal to 0. Such case is

Re: [U-Boot] [PATCH 3/5] doc: t1040-l2switch: Update README

2015-12-15 Thread Joe Hershberger
On Tue, Dec 15, 2015 at 7:21 AM, Codrin Ciubotariu wrote: > The driver for VSC9953 L2 switch IP supports many features and > the documentation needs to be updated. > > Signed-off-by: Codrin Ciubotariu Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 1/5] drivers: net: vsc9953: Fix number of reserved registers

2015-12-15 Thread Joe Hershberger
On Tue, Dec 15, 2015 at 7:21 AM, Codrin Ciubotariu wrote: > There are only 21 registers reserved between ana_ana and > ana_pgid register groups. Oops! > Signed-off-by: Codrin Ciubotariu Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 4/5] common: cmd_ethsw: Spelling fixes

2015-12-15 Thread Joe Hershberger
Hi Codrin, On Tue, Dec 15, 2015 at 7:21 AM, Codrin Ciubotariu wrote: > Signed-off-by: Codrin Ciubotariu Acked-by: Joe Hershberger ___ U-Boot mailing list

Re: [U-Boot] [Patch V2 1/4] spi: fsl_qspi: fix compile warning for 64-bit platform

2015-12-15 Thread Jagan Teki
On 15 December 2015 at 15:59, Gong Qianyu wrote: > This patch fixes the following compile warning: > drivers/spi/fsl_qspi.c: In function 'fsl_qspi_probe': > drivers/spi/fsl_qspi.c:937:15: > warning: cast to pointer from integer of different size >

Re: [U-Boot] [PATCH v2 01/14] ARM: zynq: Remove PHYLIB from config to defconfig

2015-12-15 Thread Joe Hershberger
Hi Michal, On Wed, Dec 2, 2015 at 5:36 AM, Michal Simek wrote: > Move PHYLIB from board config to defconfig > > Signed-off-by: Michal Simek > --- Acked-by: Joe Hershberger ___

Re: [U-Boot] [PATCH] dm: net: Fix DM for targets which use MANUAL_RELOC

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 5:46 AM, Michal Simek wrote: > All ethernet operation needs to be updated for architectures which > requires MANUAL_RELOC. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 5/5] net: gem: Add driver dependencies to PHYLIB and MII

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 5:43 AM, Michal Simek wrote: > Clear driver dependecies via Kconfig. Remove PHYLIB dependency from > the driver. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger > diff --git

Re: [U-Boot] [PATCH 1/6] arm: socfpga: cyclone5-socdk: Enabling mtd partitioning layout

2015-12-15 Thread Marek Vasut
On Tuesday, December 15, 2015 at 11:09:59 AM, Chin Liang See wrote: > On Tue, 2015-12-15 at 02:15 +0100, Marek Vasut wrote: > > On Tuesday, December 15, 2015 at 02:09:42 AM, Chin Liang See wrote: > > > On Tue, 2015-12-15 at 01:32 +0100, Marek Vasut wrote: > > > > On Monday, December 14, 2015 at

Re: [U-Boot] [PATCH 1/5] net: gem: Setup default phy address to -1

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 5:43 AM, Michal Simek wrote: > Undefined phy address is -1 not 0. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger ___ U-Boot mailing list

Re: [U-Boot] [PATCH 2/2] arm: lpc32xx: switch SPL builds to driver model

2015-12-15 Thread Simon Glass
Hi Vladimir, On 12 December 2015 at 17:48, Vladimir Zapolskiy wrote: > For NXP LPC32xx boards the change enables SPL_DM option, this allows > to use any driver model UART driver in SPL images, hence a restriction > on HSUART in SPL image is removed and well as definitions for

Re: [U-Boot] [PATCH 26/57] x86: Bring up northbridge, pch and lpc after the CPUs

2015-12-15 Thread Simon Glass
Hi Bin, On 13 December 2015 at 05:54, Bin Meng wrote: > Hi Simon, > > On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: >> These devices currently need to be inited early in boot. Once we have the >> init in the right places (with each device doing its

Re: [U-Boot] [PATCH 07/10] net: axi_emac: Move driver to DM

2015-12-15 Thread Simon Glass
Hi Michal, On 11 December 2015 at 04:59, Michal Simek wrote: > Move driver to DM. > > Signed-off-by: Michal Simek > --- > > .../xilinx/microblaze-generic/microblaze-generic.c | 5 - > board/xilinx/zynq/board.c | 4 -

Re: [U-Boot] [PATCH 0/5] Add wait_for_bit()

2015-12-15 Thread LEMIEUX, SYLVAIN
> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Mateusz > Kulikowski > Sent: 14-Dec-15 7:09 PM > To: u-boot@lists.denx.de; Marek Vasut; Joe Hershberger > Subject: [U-Boot] [PATCH 0/5] Add wait_for_bit() > > > This series add generic function to poll register waiting for > one

Re: [U-Boot] [RFC PATCH 01/11] serial: Add support for Qualcomm serial port

2015-12-15 Thread Simon Glass
Hi Mateusz, On 10 December 2015 at 14:41, Mateusz Kulikowski wrote: > This driver works in "new" Data Mover UART mode, so > will be compatible with modern Qualcomm chips only. > > Signed-off-by: Mateusz Kulikowski > --- > >

Re: [U-Boot] [PATCH 2/5] net: gem: Fix return value from recv

2015-12-15 Thread Joe Hershberger
Hi Michal, On Tue, Dec 15, 2015 at 11:47 AM, Joe Hershberger wrote: > On Fri, Dec 11, 2015 at 5:43 AM, Michal Simek wrote: >> recv function should return 0 instead of frame_len not to >> proceed the same packet again in core. >> >>

Re: [U-Boot] [PATCH 07/10] net: axi_emac: Move driver to DM

2015-12-15 Thread Joe Hershberger
Hi Michal, On Tue, Dec 15, 2015 at 1:40 PM, Michal Simek wrote: > On 15.12.2015 19:57, Simon Glass wrote: >> Hi Michal, >> >> On 11 December 2015 at 04:59, Michal Simek wrote: >>> Move driver to DM. >>> >>> Signed-off-by: Michal Simek

Re: [U-Boot] [PATCH 01/10] net: axi_emac: Fix parentheses around operand !

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 5:59 AM, Michal Simek wrote: > Fix these compilation warning by proper grouping: > In function 'axi_dma_init': drivers/net/xilinx_axi_emac.c:391:7: > warning: suggest parentheses around operand of '!' or change '&' to '&&' > or '!' to '~'

Re: [U-Boot] [PATCH 07/10] net: axi_emac: Move driver to DM

2015-12-15 Thread Michal Simek
On 15.12.2015 19:57, Simon Glass wrote: > Hi Michal, > > On 11 December 2015 at 04:59, Michal Simek wrote: >> Move driver to DM. >> >> Signed-off-by: Michal Simek >> --- >> >> .../xilinx/microblaze-generic/microblaze-generic.c | 5 - >>

Re: [U-Boot] [PATCH 02/10] net: axi_emac: Show phy address instead of register content

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 5:59 AM, Michal Simek wrote: > Fix debug message. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 06/57] x86: ivybridge: Set up the LPC device using driver model

2015-12-15 Thread Simon Glass
Hi Bin, On 13 December 2015 at 05:52, Bin Meng wrote: > Hi Simon, > > On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: >> Find the LPC device in arch_cpu_init_dm() as a first step to converting >> this code to use driver model. Probing the LPC will

Re: [U-Boot] [PATCH 3/5] usb: ohci-lpc32xx: Use shared wait_for_bit

2015-12-15 Thread LEMIEUX, SYLVAIN
> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Mateusz > Kulikowski > Sent: 14-Dec-15 7:09 PM > To: u-boot@lists.denx.de; Marek Vasut; Joe Hershberger > Subject: [U-Boot] [PATCH 3/5] usb: ohci-lpc32xx: Use shared wait_for_bit > > Use existing library function to poll bit(s). >

Re: [U-Boot] [RFC PATCH 08/11] pmic: Add support for Qualcomm PM8916 PMIC

2015-12-15 Thread Simon Glass
Hi Mateusz, On 10 December 2015 at 14:41, Mateusz Kulikowski wrote: > This PMIC is connected on SPMI bus so needs SPMI support enabled. > > Signed-off-by: Mateusz Kulikowski > --- > > drivers/power/pmic/Kconfig | 14 +++ >

Re: [U-Boot] [PATCH 06/10] net: axi_emac: Pass private structure where possible

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 5:59 AM, Michal Simek wrote: > Simplify move to DM to avoid handling with eth_device structure. I think you need to change this commit log. You are moving functions to use axidma_priv instead of eth_device in preparation of the DM move. You are

Re: [U-Boot] [PATCH 2/5] microblaze: Do not print eth device when DM_ETH is enabled

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 5:56 AM, Michal Simek wrote: > Doing the same fix as is done for ARM by: > "Avoid calling print_eths() with driver model" > (sha1: ff97380015b6b5d7d6267417a1cd6fc0e67b81bc) > > Signed-off-by: Michal Simek Acked-by: Joe

Re: [U-Boot] [RFC PATCH 06/11] drivers: Add SPMI bus uclass

2015-12-15 Thread Simon Glass
Hi Matheusz, On 10 December 2015 at 14:41, Mateusz Kulikowski wrote: > Qualcom processors use proprietary bus to talk with PMIC devices - > SPMI (System Power Management Interface). > On wiring level it is similar to I2C, but on protocol level, it's > multi-master

Re: [U-Boot] [RFC PATCH 02/11] gpio: Add support for Qualcomm gpio controller

2015-12-15 Thread Simon Glass
Hi Mateusz, On 10 December 2015 at 14:41, Mateusz Kulikowski wrote: > Add support for gpio controllers on Qualcomm Snapdragon devices. > This devices are usually called Top Level Mode Multiplexing in > Qualcomm documentation. > > Signed-off-by: Mateusz Kulikowski

Re: [U-Boot] [PATCH] net: macb: sama5d4 is not gigabit capable

2015-12-15 Thread Joe Hershberger
Hi Gregory, On Mon, Dec 14, 2015 at 10:37 AM, Gregory CLEMENT wrote: > During the initialization of PHY the gigabit bit capable is set if the > controller is a GEM. However, for sama5d4, the GEM is not gigabit > capable. Improperly setting the GBE capability

Re: [U-Boot] [PATCH 04/10] net: axi_emac: Put iobase to private structure

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 5:59 AM, Michal Simek wrote: > Saving iobase directly to private structure helps with moving to DM. > There is an option to load iobase from pdata but it is additional load. > Pointer to private structure is available all the time. As long as the

Re: [U-Boot] [PATCH 05/10] net: axi_emac: Pass private structure to phyread/phywrite

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 5:59 AM, Michal Simek wrote: > Prepare for move to DM. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger ___ U-Boot mailing list

Re: [U-Boot] [RFC PATCH 09/11] gpio: Add support for Qualcomm PM8916 gpios

2015-12-15 Thread Simon Glass
Hi Mateusz, On 10 December 2015 at 14:41, Mateusz Kulikowski wrote: > This driver supports GPIOs present on PM8916 PMIC. > There are 2 device drivers inside: > - GPIO driver (4 "generic" GPIOs) > - Keypad driver that presents itself as GPIO with 2 inputs (power and

Re: [U-Boot] [PATCH 38/57] x86: ivybridge: Drop the special PCI driver

2015-12-15 Thread Simon Glass
Hi Bin, On 13 December 2015 at 05:56, Bin Meng wrote: > Hi Simon, > > On Tue, Dec 8, 2015 at 11:38 AM, Simon Glass wrote: >> There is nothing special about the ivybridge pci driver now, so just use >> the generic one. >> >> Signed-off-by: Simon Glass

Re: [U-Boot] [RFC PATCH 00/11] Add support for 96boards Dragonboard410C board

2015-12-15 Thread sk.syed2
> > With a slight delay (Sorry Syed) I'm finally ready to show code > I've been working recently on. Thanks for the patches. I will update my git tree for snapdragon_810 with these changes. I only have serial and cache support working on 810 and it boots to u-boot prompt. The

Re: [U-Boot] [PATCH 43/57] x86: ivybridge: Convert enable_usb_bar() to use DM PCI API

2015-12-15 Thread Simon Glass
Hi Bin, On 13 December 2015 at 05:56, Bin Meng wrote: > Hi Simon, > > On Tue, Dec 8, 2015 at 11:39 AM, Simon Glass wrote: >> Convert this function over to use the driver model PCI API. In this case >> we want to avoid using the real PCI devices since they

Re: [U-Boot] [RFC PATCH 03/11] mmc: Add support for Qualcomm SDHCI controller

2015-12-15 Thread Simon Glass
Hi Mateusz, On 10 December 2015 at 14:41, Mateusz Kulikowski wrote: > Signed-off-by: Mateusz Kulikowski > --- Please add a commit message. > > drivers/mmc/Kconfig | 6 ++ > drivers/mmc/Makefile| 1 + >

Re: [U-Boot] [PATCH 03/10] net: axi_emac: Pass directly pointer to register space

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 5:59 AM, Michal Simek wrote: > Simplify mdio_wait function by passing regs directly. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger ___

[U-Boot] [PATCH 4/5] imx: mx6slevk: implement mmc_get_env_devno

2015-12-15 Thread Peng Fan
Implement mmc_get_env_devno, support loading env successfully when booting from different slots. Signed-off-by: Peng Fan Cc: Stefano Babic --- board/freescale/mx6slevk/mx6slevk.c | 16 1 file changed, 16 insertions(+) diff --git

[U-Boot] [PATCH 5/5] imx: mx6sxsabresd: implement mmc_get_env_devno

2015-12-15 Thread Peng Fan
Implement mmc_get_env_devno, support loading env successfully when booting from different slots. Signed-off-by: Peng Fan Cc: Stefano Babic --- board/freescale/mx6sxsabresd/mx6sxsabresd.c | 24 1 file changed, 24 insertions(+)

[U-Boot] [PATCH 3/5] imx: mx6qarm2: implement mmc_get_env_devno

2015-12-15 Thread Peng Fan
Implement mmc_get_env_devno, support loading env successfully when booting from different slots. Signed-off-by: Peng Fan Cc: Stefano Babic --- board/freescale/mx6qarm2/mx6qarm2.c | 23 +++ 1 file changed, 23 insertions(+) diff --git

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

2015-12-15 Thread Peng Fan
Move setup_display from board_early_init_f to board_init. Add more clock settings. Add blacklight iomux setting. Add display_info_t info for the lvds screen. Signed-off-by: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic ---

Re: [U-Boot] [PATCH] eeprom: fix eeprom write procedure

2015-12-15 Thread Alexey Brodkin
Hi Marek, On Tue, 2015-12-15 at 01:27 +0100, Marek Vasut wrote: > On Monday, December 14, 2015 at 04:45:34 PM, Alexey Brodkin wrote: > > This fixes commit 1a37889b0ad084a740b4f785031d7ae9955d947b: > > --->8 > > eeprom: Pull out the RW loop > > > > Unify

Re: [U-Boot] [PATCH v4 05/16] spi: Add support for dual and quad mode

2015-12-15 Thread Jagan Teki
On 15 December 2015 at 13:22, Mugunthan V N wrote: > spi bus can support dual and quad wire data transfers for tx and > rx. So defining dual and quad modes for both tx and rx. Also add > support to parse bus width used for spi tx and rx transfers. > > Signed-off-by: Mugunthan

[U-Boot] [PATCH 2/5] imx: mx6sabresd: implement mmc_get_env_devno

2015-12-15 Thread Peng Fan
Implement mmc_get_env_devno, support loading env successfully when booting from different slots. Signed-off-by: Peng Fan Cc: Stefano Babic --- board/freescale/mx6sabresd/mx6sabresd.c | 29 + 1 file changed, 29 insertions(+)

[U-Boot] [PATCH 1/5] common: env_mmc: support loading env from different cards

2015-12-15 Thread Peng Fan
Some boards support booting from different SD card slots. For example, mx6dpsabresd board supports booting from SD2, SD3, EMMC4, using different boot switch. And the index numbers are SD2(0), SD3(1), EMMC4(2). But CONFIG_SYS_MMC_ENV_DEV is hardcoded to 1(for SD3), so when booting from SD2(using

Re: [U-Boot] [PATCH] serial: Use static inline for _debug_uart_init()

2015-12-15 Thread Thomas Chou
Hi Michal, On 2015年12月14日 23:53, Michal Simek wrote: Reported-by: Thomas Chou Signed-off-by: Michal Simek --- drivers/serial/serial_xuartlite.c | 2 +- drivers/serial/serial_zynq.c | 2 +- 2 files changed, 2 insertions(+), 2

Re: [U-Boot] [PATCH 1/6] arm: socfpga: cyclone5-socdk: Enabling mtd partitioning layout

2015-12-15 Thread Chin Liang See
On Tue, 2015-12-15 at 02:15 +0100, Marek Vasut wrote: > On Tuesday, December 15, 2015 at 02:09:42 AM, Chin Liang See wrote: > > On Tue, 2015-12-15 at 01:32 +0100, Marek Vasut wrote: > > > On Monday, December 14, 2015 at 04:22:57 PM, Chin Liang See > > > wrote: > > > > On Mon, 2015-12-14 at 02:25

[U-Boot] [PATCH 1/3] sf: Fix quad bit set for micron devices

2015-12-15 Thread Jagan Teki
Setting up quad bit for micron devices need to do the same way as other flash devices like spansion, winbond etc does using enhanced volatile config register so this patch adds this support instead of printing "QEB is volatile" Cc: Simon Glass Cc: Bin Meng

[U-Boot] [PATCH 3/3] sf: Read back and check once macronix quad bit set

2015-12-15 Thread Jagan Teki
One macronix quad bit set using SR, it's good to read back and check the written bit and also if it's already been set check for the bit and return. Cc: Vignesh R Cc: Mugunthan V N Cc: Simon Glass Cc: Bin Meng

[U-Boot] [PATCH 2/3] sf: Read back and check once spansion quad bit set

2015-12-15 Thread Jagan Teki
One spansion quad bit set using CR, it's good to read back and check the written bit and also if it's already been set check for the bit and return. Cc: Vignesh R Cc: Mugunthan V N Cc: Simon Glass Cc: Bin Meng Cc:

[U-Boot] [RFC] board_f: generalize code for case of no relocation

2015-12-15 Thread Alexey Brodkin
Current implementation of disabled relocation only works for EFI. In case of GD_FLG_SKIP_RELOC jump_to_copy() will return instead of jumping further in board_init_r() etc. And jump_to_copy() being the last call in init_sequence_f when returning simply triggers hang() in board_init_f(). Well for

Re: [U-Boot] [PATCH 5/5] nios2: Soup up the shell experience

2015-12-15 Thread Marek Vasut
On Tuesday, December 15, 2015 at 06:33:57 AM, Thomas Chou wrote: > Hi Marek, > > On 2015年12月15日 10:09, Marek Vasut wrote: > > Enable command auto completion and enable $version variable. This makes > > working with U-Boot far more enjoyable. > > > > Signed-off-by: Marek Vasut > >

Re: [U-Boot] [PATCH] eeprom: fix eeprom write procedure

2015-12-15 Thread Marek Vasut
On Tuesday, December 15, 2015 at 09:07:01 AM, Alexey Brodkin wrote: > Hi Marek, > > On Tue, 2015-12-15 at 01:27 +0100, Marek Vasut wrote: > > On Monday, December 14, 2015 at 04:45:34 PM, Alexey Brodkin wrote: > > > This fixes commit 1a37889b0ad084a740b4f785031d7ae9955d947b: > > >

Re: [U-Boot] [PATCH 4/5] nios2: Enable support for fitImage

2015-12-15 Thread Marek Vasut
On Tuesday, December 15, 2015 at 06:31:11 AM, Thomas Chou wrote: > Hi Marek, > > On 2015年12月15日 10:09, Marek Vasut wrote: > > The uImage format is legacy for years now, enable support for the > > fitImage format, which allows combining multiple files (kernel and > > dtb) into a single file,

Re: [U-Boot] [PATCH] eeprom: fix eeprom write procedure

2015-12-15 Thread Alexey Brodkin
Hi Marek, On Tue, 2015-12-15 at 12:47 +0100, Marek Vasut wrote: > On Tuesday, December 15, 2015 at 09:07:01 AM, Alexey Brodkin wrote: > > Hi Marek, > > > > On Tue, 2015-12-15 at 01:27 +0100, Marek Vasut wrote: > > > On Monday, December 14, 2015 at 04:45:34 PM, Alexey Brodkin wrote: > > > > This

[U-Boot] [Patch V2 4/4] dm: env_sf: fix saveenv() to use driver model

2015-12-15 Thread Gong Qianyu
It might be missed when converting spi_flash_probe() in cmd_sf.c. This commit refers to fbb099183e3a53f77a975964cdf2e73d11e565af. Signed-off-by: Gong Qianyu --- V2: - New Patch. common/env_sf.c | 49 + 1 file changed,

Re: [U-Boot] [PATCH 1/6] dm: x86: Create a driver for x86 interrupts

2015-12-15 Thread Simon Glass
Hi Bin, On 14 December 2015 at 22:45, Bin Meng wrote: > Hi Simon, > > On Tue, Dec 15, 2015 at 10:04 AM, Bin Meng wrote: >> Hi Simon, >> >> On Tue, Dec 15, 2015 at 6:14 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 13 December 2015 at

[U-Boot] [Patch V2 2/4] spi: fsl_qspi: Fix qspi_op_rdid memcpy issue

2015-12-15 Thread Gong Qianyu
In current driver everytime we memcpy 4 bytes to the dest memory regardless of the remaining length. This patch adds checking the remaining length before memcpy. If the length is shorter than 4 bytes, memcpy the actual length of data to the dest memory. Signed-off-by: Gong Qianyu

[U-Boot] [Patch V2 1/4] spi: fsl_qspi: fix compile warning for 64-bit platform

2015-12-15 Thread Gong Qianyu
This patch fixes the following compile warning: drivers/spi/fsl_qspi.c: In function 'fsl_qspi_probe': drivers/spi/fsl_qspi.c:937:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] priv->regs = (struct fsl_qspi_regs

[U-Boot] [Patch V2 3/4] spi: fsl_qspi: Fix qspi_op_rdsr memcpy issue

2015-12-15 Thread Gong Qianyu
In current driver, we always copy 4 bytes to the dest memory. Actually the dest memory may be shorter than 4 bytes. Add an argument to indicate the dest memory length. Avoid writing memory outside of the bounds. Signed-off-by: Gong Qianyu --- V2: - New Patch.

Re: [U-Boot] [PATCH 07/10] net: axi_emac: Move driver to DM

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 5:59 AM, Michal Simek wrote: > Move driver to DM. > > Signed-off-by: Michal Simek Other than a few nits below and the issue with recv return value, Acked-by: Joe Hershberger >

Re: [U-Boot] [PATCH 10/10] net: Add axi emac to Kconfig

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 5:59 AM, Michal Simek wrote: > Also add dependency on PHYLIB and MII which is required. > Clean PHYLIB dependency from the driver too. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 03/12] net: emaclite: Convert MDIO to use register offset

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 6:03 AM, Michal Simek wrote: > Use u-boot coding style how to setup and access MDIO bus. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger ___

Re: [U-Boot] [PATCH 08/10] net: axi_emac: Enable access to MDIO in probe

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 5:59 AM, Michal Simek wrote: > Detect phy when driver probes. > > Signed-off-by: Michal Simek A few nits below, but otherwise, Acked-by: Joe Hershberger > --- > > drivers/net/xilinx_axi_emac.c

Re: [U-Boot] [PATCH 09/10] net: axi_emac: Split recv from free_pkt

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 5:59 AM, Michal Simek wrote: > Call net_process_received_packet() by core. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger ___ U-Boot mailing

Re: [U-Boot] [PATCH 01/12] net: emaclite: Remove ancient OF probe function

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 6:03 AM, Michal Simek wrote: > Prepare for DM move. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger ___ U-Boot mailing list

Re: [U-Boot] [PATCH 3/5] usb: ohci-lpc32xx: Use shared wait_for_bit

2015-12-15 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 15.12.2015 19:49, LEMIEUX, SYLVAIN wrote: > >> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Mateusz >> Kulikowski >> Sent: 14-Dec-15 7:09 PM >> To: u-boot@lists.denx.de; Marek Vasut; Joe Hershberger >> Subject: [U-Boot]

Re: [U-Boot] [PATCH 05/12] net: emaclite: Use indirect register access for tx_ping/pong

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 6:03 AM, Michal Simek wrote: > Do initialization via indirect register access. I think you need to change the subject of this patch. It is identical the the previous one. > > Signed-off-by: Michal Simek > --- > >

Re: [U-Boot] [PATCH 11/12] net: emaclite: Move driver to DM

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 6:03 AM, Michal Simek wrote: > Move driver to DM. > > Signed-off-by: Michal Simek A few nits below, but otherwise, Acked-by: Joe Hershberger > --- > >

Re: [U-Boot] [PATCH 2/5] usb: dwc2: Use shared wait_for_bit

2015-12-15 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 15.12.2015 01:21, Marek Vasut wrote: > On Tuesday, December 15, 2015 at 01:09:24 AM, Mateusz Kulikowski wrote: [...] > > Just enable this stuff by default (ie. dont introduce new config option, > just use obj-y in lib/Makefile). The compiler

Re: [U-Boot] [RFC PATCH 00/11] Add support for 96boards Dragonboard410C board

2015-12-15 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 15.12.2015 19:57, sk.syed2 wrote: >> >> With a slight delay (Sorry Syed) I'm finally ready to show code >> I've been working recently on. > > Thanks for the patches. I will update my git tree for snapdragon_810 > with these changes. I only have

Re: [U-Boot] [PATCH 02/12] net: emaclite: Add MDIO support to driver

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 6:03 AM, Michal Simek wrote: > Add MDIO support before move to DM. > > Signed-off-by: Michal Simek It looks like this is using the old MDIO API. I'm guessing this is a patch that has existed for a while or something. You

Re: [U-Boot] [PATCH 10/12] net: emaclite: Use indirect access in emaclite_recv

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 6:03 AM, Michal Simek wrote: > When IP is configured with pong buffers, IP is receiving packets to ping > and then to pong buffer and than ping again. > Origin logic in the driver remains there that when ping buffer is Origin -> Original > free,

Re: [U-Boot] [PATCH 2/5] usb: dwc2: Use shared wait_for_bit

2015-12-15 Thread Marek Vasut
On Tuesday, December 15, 2015 at 10:22:22 PM, Mateusz Kulikowski wrote: > On 15.12.2015 01:21, Marek Vasut wrote: > > On Tuesday, December 15, 2015 at 01:09:24 AM, Mateusz Kulikowski wrote: > [...] > > > Just enable this stuff by default (ie. dont introduce new config option, > > just use obj-y

Re: [U-Boot] [PATCH 07/10] net: axi_emac: Move driver to DM

2015-12-15 Thread Joe Hershberger
Hi Simon, On Tue, Dec 15, 2015 at 12:57 PM, Simon Glass wrote: > Hi Michal, > > On 11 December 2015 at 04:59, Michal Simek wrote: >> Move driver to DM. >> >> Signed-off-by: Michal Simek >> --- >> >>

Re: [U-Boot] [PATCH 06/12] net: emaclite: Use indirect register access for TX reset

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 6:03 AM, Michal Simek wrote: > Move to use indirect register access when timeout expires for resetting > TX buffers. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 09/12] net: emaclite: Use indirect reg access in send

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 6:03 AM, Michal Simek wrote: > Origin logic in the driver was exchanging buffers which are used for Origin -> The original > sending packet and tx_ping and tx_pong buffers were exchanged all the > time to ensure that IP has enough time to send

Re: [U-Boot] [PATCH 07/12] net: emaclite: Fix logic around available TX buffers

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 6:03 AM, Michal Simek wrote: > Simplify logic how to find out if there is free TX buffer. > Both buffers are checked all the time that's why logic around order > can be removed. > Also add check when only one buffer is available. > > Signed-off-by:

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

2015-12-15 Thread Mans Rullgard
Override the default name_to_gpio() function with one that accepts strings of the form bank:pin. If a colon is present in the provided name, it behaves like the default version. This lets the "gpio" command work with sane names rather than requiring the user to enter the bank/pin composite in

Re: [U-Boot] [PATCH 07/10] net: axi_emac: Move driver to DM

2015-12-15 Thread Simon Glass
Hi Joe, On 15 December 2015 at 13:52, Joe Hershberger wrote: > > Hi Simon, > > On Tue, Dec 15, 2015 at 12:57 PM, Simon Glass wrote: > > Hi Michal, > > > > On 11 December 2015 at 04:59, Michal Simek wrote: > >> Move driver

Re: [U-Boot] [PATCH 12/12] net: emaclite: Move emaclite to Kconfig

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 6:03 AM, Michal Simek wrote: > Add PHYLIB and MII dependencies and enable it by default for Microblaze. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 1/5] Make RBTREE selectable by Kconfig

2015-12-15 Thread Joe Hershberger
Hi Lars, On Tue, Dec 15, 2015 at 8:44 AM, Lars Poeschel wrote: > Am Dienstag, 18. August 2015, 14:32:13 schrieb Joe Hershberger: >> On Tue, Aug 18, 2015 at 2:27 PM, Tom Rini wrote: >> > On Tue, Aug 18, 2015 at 01:47:20PM -0500, Joe Hershberger wrote: >>

[U-Boot] [PATCH] net: phy: mv88e61xx: Revise as a PHY driver

2015-12-15 Thread Kevin Smith
The previous version of this driver just implemented a shell command to manually configure the switch. It did not integrate with the PHY infrastructure to allow a MAC to use it as its PHY. This is pretty much a complete rewrite to allow this switch to function as a PHY driver. This version

Re: [U-Boot] [PATCH] usb: kbd: don't use int xfers when polling via ctrl xfers

2015-12-15 Thread Marek Vasut
On Wednesday, December 16, 2015 at 12:35:23 AM, Stephen Warren wrote: > On 11/13/2015 06:16 PM, Marek Vasut wrote: > > On Friday, November 13, 2015 at 09:34:09 PM, Stephen Warren wrote: > >> From: Stephen Warren > >> > >> When CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP is

Re: [U-Boot] [PATCH 00/24] usb: s3c-otg: Rename driver to dwc2-otg

2015-12-15 Thread Marek Vasut
On Tuesday, December 15, 2015 at 03:40:33 PM, Lukasz Majewski wrote: > Hi Marek, Hi! > > On Thursday, December 10, 2015 at 05:51:12 PM, Marek Vasut wrote: > > > On Thursday, December 10, 2015 at 05:07:53 PM, Lukasz Majewski > > > > > > wrote: > > > > Hi Marek, > > > > > > > > > On Wednesday,

Re: [U-Boot] common: cli_hush: Fix up simple typo

2015-12-15 Thread Tom Rini
On Fri, Dec 04, 2015 at 01:02:11PM -0600, Nishanth Menon wrote: > Correct the spelling for character.. > > Signed-off-by: Nishanth Menon > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] spl: mmc: use block device number, not hard-coded 0

2015-12-15 Thread Tom Rini
On Sat, Dec 05, 2015 at 12:32:28PM -0700, Eric Nelson wrote: > In order to support boot from multiple devices through board_boot_order, > it's necessary to use the block number of a device. > > The use of a hard-coded 0 for the device number also creates a need > to re-order block devices for

Re: [U-Boot] [PATCH] armv7: omap-common: Rework SPL board_mmc_init()

2015-12-15 Thread Tom Rini
On Mon, Dec 14, 2015 at 11:49:09AM -0500, Tom Rini wrote: > Since the changes in a1e56cf the way that we had board_mmc_init() > structured for OMAP parts (so that we always report device 0) are no > longer functional. For now, make the case of booting from the second > device initialize both

Re: [U-Boot] part: fix "part list ... -bootable varname" to use hex

2015-12-15 Thread Tom Rini
On Wed, Dec 09, 2015 at 09:48:04AM -0700, Stephen Warren wrote: > From: Stephen Warren > > Unfortunately U-Boot assumes that almost all numbers are in hex, including > partition numbers passed to e.g. "load". So, the command "part list mmc 0 > -bootable devplist" should use

Re: [U-Boot] tools: env: include compiler.h

2015-12-15 Thread Tom Rini
On Wed, Dec 09, 2015 at 07:15:33AM +, Peter Robinson wrote: > With gcc 5.2 and later we get a bunch of "error: unknown type name" for > 'uint8_t', 'uint32_t' and friends. > > Signed-off-by: Peter Robinson Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [PATCH 3/3] serial: uartlite: Add uartlite to Kconfig

2015-12-15 Thread Thomas Chou
Hi Michal, On 2015年12月15日 23:39, Michal Simek wrote: On 15.12.2015 05:02, Thomas Chou wrote: Hi Michal, On 2015年12月14日 23:42, Michal Simek wrote: On 14.12.2015 15:35, Thomas Chou wrote: Hi Michal, On 2015年12月11日 19:54, Michal Simek wrote: - Move config option out of board file. - Remove

  1   2   >