[U-Boot] [PATCH 5/6] kirkwood: ib62x0: drop dev CONFIG_OF_LIBFDT

2015-10-31 Thread Luka Perkov
It is already defined in included mv-common.h file. Signed-off-by: Luka Perkov --- include/configs/ib62x0.h | 5 - 1 file changed, 5 deletions(-) diff --git a/include/configs/ib62x0.h b/include/configs/ib62x0.h index 976147d..fb59ce2 100644 --- a/include/configs/ib62x0.h +++ b/include/confi

[U-Boot] [PATCH 4/6] kirkwood: ib62x0: make use of defconfig

2015-10-31 Thread Luka Perkov
Signed-off-by: Luka Perkov --- configs/ib62x0_defconfig | 5 + include/configs/ib62x0.h | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/configs/ib62x0_defconfig b/configs/ib62x0_defconfig index 194ef02..19cbfd5 100644 --- a/configs/ib62x0_defconfig +++ b/configs/ib62x0

[U-Boot] [PATCH 2/6] kirkwood: ib62x0: build u-boot.kwb

2015-10-31 Thread Luka Perkov
Avoid double typing in the shell and build u-boot.kwb when running "make" only. Signed-off-by: Luka Perkov --- include/configs/ib62x0.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/ib62x0.h b/include/configs/ib62x0.h index 9f1dc8a..73caaca 100644 --- a/include/configs/i

[U-Boot] [PATCH 6/6] kirkwood: ib62x0: drop duplicate defines from CONFIG_SYS_MVFS

2015-10-31 Thread Luka Perkov
These options were already defined in mv-common.h file. Signed-off-by: Luka Perkov --- include/configs/ib62x0.h | 15 --- 1 file changed, 15 deletions(-) diff --git a/include/configs/ib62x0.h b/include/configs/ib62x0.h index fb59ce2..57b1a43 100644 --- a/include/configs/ib62x0.h +++

[U-Boot] [PATCH 1/6] kirkwood: ib62x0: drop CONFIG_MACH_TYPE

2015-10-31 Thread Luka Perkov
Mainline kernel for this device has only support for device tree. We can safely drop this legacy code. Signed-off-by: Luka Perkov --- include/configs/ib62x0.h | 5 - 1 file changed, 5 deletions(-) diff --git a/include/configs/ib62x0.h b/include/configs/ib62x0.h index 594fceb..9f1dc8a 100644

[U-Boot] [PATCH 3/6] kirkwood: ib62x0: drop CONFIG_CMD_ENV define

2015-10-31 Thread Luka Perkov
The CONFIG_CMD_ENV is enabled by default so we can safely remove it. Signed-off-by: Luka Perkov --- include/configs/ib62x0.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/ib62x0.h b/include/configs/ib62x0.h index 73caaca..ad966bd 100644 --- a/include/configs/ib62x0.h +++ b/i

Re: [U-Boot] [PATCH] gpio: atmel: Add the PIO4 driver support

2015-10-31 Thread Andreas Bießmann
Hi Wenyou, sorry for long delay ... On 08.09.15 08:33, Wenyou Yang wrote: > The PIO4 is introduced from SAMA5D2, as a new version > for Atmel PIO controller. > > Signed-off-by: Wenyou Yang > --- > > arch/arm/mach-at91/include/mach/atmel_pio4.h | 48 + > drivers/gpio/Kconfig

Re: [U-Boot] [PATCH V2 1/1] arm: at91: reworked meesc board support

2015-10-31 Thread Andreas Bießmann
Hi Daniel, On 30.10.15 05:44, Daniel Gorsulowski wrote: > Signed-off-by: Daniel Gorsulowski > --- > Changes in V2: > - Fetched again and created patch against current master could you please regenerate another one: ---8<--- Applying: arm: at91: reworked meesc board support fatal: corrupt pa

Re: [U-Boot] [PATCH v2] board: ti: beagle_x15: Rename to indicate support for TI am57xx evms

2015-10-31 Thread Nishanth Menon
On 10/29/2015 04:50 PM, Steve Kipisz wrote: > BeagleBoard X15 (http://beagleboard.org/x15) support in u-boot does > actually support two different platform configuration offered by > TI. In addition to BeagleBoard X15, it also supports the TMDXEVM5728 > (or more commonly known as AM5728-evm). > >

Re: [U-Boot] [PATCH V2 08/13] spl: change return values of spl_*_load_image()

2015-10-31 Thread Nikita Kiryanov
Hi Simon, On Thu, Oct 29, 2015 at 11:19:38AM -0600, Simon Glass wrote: > Hi Nikita, > > On 28 October 2015 at 03:23, Nikita Kiryanov wrote: > > Make spl_*_load_image() functions return a value instead of > > hanging if a problem is encountered. This enables main spl code > > to make the decision

Re: [U-Boot] [PATCH V2 10/13] spl: add support for alternative boot device

2015-10-31 Thread Nikita Kiryanov
On Thu, Oct 29, 2015 at 11:19:51AM -0600, Simon Glass wrote: > Hi Nikita, > > On 28 October 2015 at 03:23, Nikita Kiryanov wrote: > > Introduce spl_boot_list array, which defines a list of boot devices > > that SPL will try before hanging. By default this list will consist > > of only spl_boot_de

Re: [U-Boot] [PATCH V2 03/13] spl: mmc: refactor device location code to its own function

2015-10-31 Thread Nikita Kiryanov
Hi Simon, On Thu, Oct 29, 2015 at 11:19:16AM -0600, Simon Glass wrote: > Hi Nikita, > > On 28 October 2015 at 03:23, Nikita Kiryanov wrote: > > Simplify spl_mmc_load_image() code by moving the part that finds the mmc > > device > > into its own function spl_mmc_find_device(), available in two f

[U-Boot] [PATCH] Enable console log from earlyconsole in Linux bootargs

2015-10-31 Thread Pratiyush Mohan Srivastava
Remove 115200 from "earlycon" to avoid loss of initial log messages during linux kernel 4.1 bootup Signed-off-by: Pratiyush Mohan Srivastava --- include/configs/ls2080a_common.h | 2 +- include/configs/ls2080ardb.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inclu

Re: [U-Boot] [PATCH 07/13] drivers: spi: ti_qspi: convert driver to adopt device driver model

2015-10-31 Thread Mugunthan V N
On Thursday 29 October 2015 10:48 PM, Simon Glass wrote: >> + if (flash_num == 0) { >> > + debug("Error: Missing flashes!\n"); >> > + return -ENODEV; >> > + } > It looks like flash_num is only used for the debug message. Why not > just drop this? The driver s

Re: [U-Boot] [PATCH 06/13] dts: dra7: add spi alias for qspi

2015-10-31 Thread Mugunthan V N
On Thursday 29 October 2015 10:48 PM, Simon Glass wrote: > On 27 October 2015 at 05:13, Mugunthan V N wrote: >> > add spi alias for qspi so that spi probes the device and driver >> > successfully. >> > >> > Signed-off-by: Mugunthan V N >> > --- >> > arch/arm/dts/dra7.dtsi | 2 ++ >> > 1 file cha

Re: [U-Boot] [PATCH 05/13] dra7xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl

2015-10-31 Thread Mugunthan V N
On Thursday 29 October 2015 10:47 PM, Simon Glass wrote: > Hi Mugunthan, > > On 27 October 2015 at 05:13, Mugunthan V N wrote: >> > Since spl doesn't support DM currently, do not define DM_SPI and >> > DM_SPI_FLASH for spl build. > SPL does support driver model. I'm not sure what this change is t

Re: [U-Boot] [PATCH 04/13] drivers: spi: spi-uclass: fix spi slave device register

2015-10-31 Thread Mugunthan V N
On Thursday 29 October 2015 10:47 PM, Simon Glass wrote: > Please see the comment above: > > /* > * If there is no such device, create one automatically. This means > * that we don't need a device tree node or platform data for the > * SPI flash chip - we will bind to the correct driver. > */ > >

[U-Boot] [PATCH] driver: net: ldpaa: Fix Rx buffer alignment

2015-10-31 Thread Prabhakar Kushwaha
MC 0.7.1.2 enforces HW errata ERR009354: "Packets may be corrupted in several combinations of buffer size and frame offsets. Workaround: Use buffers that are of size that is a multiple of 256, and frame offset that is a multiple of 256" Updating the DPNI Eth driver to comply with the restriction.

[U-Boot] [PATCH 3/3] driver: net: ldpaa: Fix Rx buffer alignment

2015-10-31 Thread Prabhakar Kushwaha
MC 0.7.1.2 enforces HW errata ERR009354: "Packets may be corrupted in several combinations of buffer size and frame offsets. Workaround: Use buffers that are of size that is a multiple of 256, and frame offset that is a multiple of 256" Updating the DPNI Eth driver to comply with the restriction.

[U-Boot] [PATCH 09/10][v3] driver: net: ldpaa: Use DPMAC as net device

2015-10-31 Thread Prabhakar Kushwaha
As per current implementation of DPAA2 ethernet driver DPNI is used as net device. DPNI is tangible objects can be multiple connected to same physical lane. Use DPMAC as net device where it represents physical lane. Below modification done in driver - Use global DPNI object - Connect DPMAC to D

[U-Boot] [PATCH 07/10][v3] driver: net: fsl-mc: Add DPAA2 commands to manage MC

2015-10-31 Thread Prabhakar Kushwaha
Management complex Firmware, DPL and DPC are depolyed during u-boot boot sequence. Add new DPAA2 commands to manage Management Complex (MC) i.e. start mc, aiop and apply DPL from u-boot command prompt. Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Sending as it is Changes for v3: fix c

[U-Boot] [PATCH 08/10][v3] driver: net: fsl-mc: Create DPAA2 object at run-time

2015-10-31 Thread Prabhakar Kushwaha
Freescale's DPAA2 ethernet driver depends upon the static DPL for the DPRC, DPNI, DPBP, DPIO objects. Instead of static objects, Create DPNI, DPBP, DPIO objects at run-time. Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Use Child container for object creation Changes for v3: -

[U-Boot] [PATCH 10/10][v3] driver: net: ldpaa: Add debug information

2015-10-31 Thread Prabhakar Kushwaha
Add following debug information in the driver - Get various DPNI counter values - Get link status of DPNI objects - Get information of both ends of connection (DPMAC - DPNI) Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Use child container for DPMAC-DPNI connection Changes for v3: Se

[U-Boot] [PATCH 06/10][v3] driver: net: fsl-mc: Increase MC command timeout

2015-10-31 Thread Prabhakar Kushwaha
dpni_create API take takes more time as comapred to existing supported APIs of MC Flib. So increase MC command timeout. Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Sending as it is Changes for v3: Sending as it is drivers/net/fsl-mc/mc_sys.c | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH 05/10][v3] driver: ldpaa: Add api to return linked PHY ID of DPMAC

2015-10-31 Thread Prabhakar Kushwaha
DPMAC represents physical line on the board. This physical line eventually asscociate with on-board PHY. So Add an api to return linked PHY ID of DPMAC object. Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Sending as it is Changes for v3: Sending as it is drivers/net/ldpaa_eth/ldpaa_

[U-Boot] [PATCH 04/10][v3] armv8: ls2085aqds: Print function name during SerDes error

2015-10-31 Thread Prabhakar Kushwaha
Print function name along with SerDes Protocol during SerDes Protocol not supported error. Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Sending as it is Changes for v3: Sending as it is board/freescale/ls2085aqds/eth.c | 16 1 file changed, 8 insertions(+), 8 deletio

[U-Boot] [PATCH 02/10][v3] driver: net: fsl-mc: Add create, destroy APIs in flibs

2015-10-31 Thread Prabhakar Kushwaha
Current Management Complex Flibs does not support APIs for adding and destroying the objects. Add APIs to create and destroy objects for DPBP, DPIO, DPNI and DPRC. Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Sending as it is Changes for v3: Sending as it is drivers/net/fsl-mc/dpbp.

[U-Boot] [PATCH 03/10][v3] driver: net: fsl-mc: Add APIs for DPMAC objects in FLIB

2015-10-31 Thread Prabhakar Kushwaha
DPMAC object of Management complex controls Physical MAC and MDIO controller. It provides APIs for MDIO and link state updates. It also provides APIs for PHY/link configuration. Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Updated Copyright year Changes for v3: Sending as it is drive

[U-Boot] [PATCH 01/10][v3] armv8: lsch3: Fix lane protocol parsing logic

2015-10-31 Thread Prabhakar Kushwaha
Current implementation only consider SGMIIs for dpmac initialization. XFI serdes protocols also uses dpmac. So fix lan protocol parsing logic to consider both XFIs and SGMIIs. Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Sending as it is Changes for v3: Sending as it is arch/arm/cpu

[U-Boot] [PATCH 00/10][v3] driver: net: ldpaa: Add support of new architeture

2015-10-31 Thread Prabhakar Kushwaha
Current architecture of Freescale's DPAA2 framework is as below - Management complex Firmware, DPL and DPC are depolyed during u-boot boot sequence. - DPAA2 ethernet driver depends upon the static DPL for the DPRC, DPNI, DPBP, DPIO objects Now new architecture will support - New DPAA2 com