Re: [U-Boot] [PATCH 05/10] superio: Add SMSC SIO1007 driver

2016-01-26 Thread Bin Meng
Hi Simon, On Wed, Jan 6, 2016 at 8:24 AM, Simon Glass wrote: > Hi Bin, > > On 20 December 2015 at 19:42, Bin Meng wrote: >> Hi Simon, >> >> On Sat, Dec 19, 2015 at 10:52 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 11 December 2015 at 03:55, Bin Meng wrote: The SMSC SIO1007 superio chips

Re: [U-Boot] [PATCH] malloc: work around some memalign fragmentation issues

2016-01-26 Thread Lukasz Majewski
Hi Stephen, > From: Stephen Warren > > Use of memalign can trigger fragmentation issues such as: > > // Internally, this needs to find a free block quite bit larger than > s. // Once the free region is found, any unaligned "padding" > immediately // before and after the block is marked free, so

[U-Boot] [PATCH v2 2/2] imx: mx6sxsabreauto: Add support for mx6sx SABREAUTO board

2016-01-26 Thread Ye Li
Initial version for mx6sx SABREAUTO board support with features: PMIC, QSPI, NAND flash, SD/MMC, USB, Ethernet, I2C, IO Expander. Signed-off-by: Ye Li --- Changes for v2: - None arch/arm/cpu/armv7/mx6/Kconfig |6 + board/freescale/mx6sxsabreauto/Kconfig |

[U-Boot] [PATCH v2 1/2] mx6: soc: Add ENET2 mac address support

2016-01-26 Thread Ye Li
The i.MX6SX and i.MX6UL has two ENET controllers, add support for reading MAC address from fuse for ENET2. Signed-off-by: Ye Li --- Changes for v2: - Add second MAC address to README.imx6. - Rename mac_addr_low and mac_addr_high fields to mac_addr0 and mac_addr1 to alig

Re: [U-Boot] [PATCHv2 3/8] dm: lpuart: Drop the legacy code

2016-01-26 Thread Bhuvanchandra DV
On 01/25/2016 10:54 PM, Stefan Agner wrote: On 2016-01-25 09:03, Bhuvanchandra DV wrote: All boards using this driver are with device tree support, hence drop the legacy code in driver to have a pure DT solution. Hm, dropping the legacy code at this point probably leads to a broken state (bise

[U-Boot] [PATCHv3 0/9] Migrate NXP/Freescale Vybrid based boards to support pure DT

2016-01-26 Thread Bhuvanchandra DV
Changes since v2: - Split the patch for updating the license string. - Reorder the patchset to avoid broken state. Changes since v1: - Update the license string in device tree's. - Update all lpuart's uart nodes in device tree. - Dropped *_dtb_defconfig and updated the default defconfig's with DT

[U-Boot] [PATCHv3 1/9] arm: vybrid: Enable lpuart support

2016-01-26 Thread Bhuvanchandra DV
Add device tree node's for lpuart on Vybrid platform Signed-off-by: Bhuvanchandra DV --- arch/arm/dts/vf.dtsi | 43 +++ 1 file changed, 43 insertions(+) diff --git a/arch/arm/dts/vf.dtsi b/arch/arm/dts/vf.dtsi index 78706e1..7aa4c91 100644 --- a/arch/arm/

[U-Boot] [PATCHv3 3/9] arm: colibri-vf: Enable serial support

2016-01-26 Thread Bhuvanchandra DV
- Enable lpuart support on Toradex Colibri VF50/VF61 - Use UART0 for stdout. Signed-off-by: Bhuvanchandra DV Acked-by: Stefan Agner --- arch/arm/dts/vf-colibri.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/dts/vf-colibri.dtsi b/arch/arm/dts/vf-colibri.dtsi index f00

[U-Boot] [PATCHv3 2/9] arm: vybrid: Update the license string

2016-01-26 Thread Bhuvanchandra DV
Since SPDX license is already there, drop the full one. Signed-off-by: Bhuvanchandra DV --- arch/arm/dts/vf-colibri.dtsi | 5 - arch/arm/dts/vf.dtsi | 5 - arch/arm/dts/vf500-colibri.dts | 5 - arch/arm/dts/vf610-colibri.dts | 5 - 4 files changed, 20 deletions(-) di

[U-Boot] [PATCHv3 5/9] arm: vf610-twr: Add device tree file's

2016-01-26 Thread Bhuvanchandra DV
- Add device tree files for NXP/Freescale VF610 Tower Board. - Enable lpuart support on NXP/Freescale VF610 Tower Board. - Use UART1 as stdout. Signed-off-by: Bhuvanchandra DV --- arch/arm/dts/Makefile | 3 ++- arch/arm/dts/vf610-twr.dts | 22 ++ 2 files changed, 24 ins

[U-Boot] [PATCHv3 4/9] arm: vybrid: Drop enabling GPIO, SPI and UART in legacy mode

2016-01-26 Thread Bhuvanchandra DV
Remove the legacy way of enabling GPIO, SPI and UART on Vybrid based boards since these driver's now only supports DT mode. Signed-off-by: Bhuvanchandra DV --- include/configs/colibri_vf.h | 13 - include/configs/pcm052.h | 3 --- include/configs/vf610twr.h | 3 --- 3 files c

[U-Boot] [PATCHv3 6/9] arm: pcm052: Add device tree file's

2016-01-26 Thread Bhuvanchandra DV
- Add device tree files for Phytec phyCORE-Vybrid Board. - Enable lpuart support for Phytec phyCORE-Vybrid Board. - Use UART1 for stdout. Signed-off-by: Bhuvanchandra DV --- arch/arm/dts/Makefile | 3 ++- arch/arm/dts/pcm052.dts | 22 ++ 2 files changed, 24 insertions(+),

[U-Boot] [PATCHv3 7/9] arm: vybrid: Update defconfig's

2016-01-26 Thread Bhuvanchandra DV
Let's go with pure DT solution for board's based on NXP/Freescale Vybrid platform. - Merge the DT defconfig with non-DT defconfig for Toradex Colibri VF50/VF61 and drop the non-DT defconfig. - Update the legacy defconfigs for NXP/Freescale VF610 Tower Board with DT. - Update the legacy defconf

[U-Boot] [PATCHv3 8/9] dm: lpuart: Drop the legacy code

2016-01-26 Thread Bhuvanchandra DV
All boards using this driver are with device tree support, hence drop the legacy code in driver to have a pure DT solution. Signed-off-by: Bhuvanchandra DV Reviewed-by: Bin Meng --- drivers/serial/serial_lpuart.c | 101 + 1 file changed, 2 insertions(+),

[U-Boot] [PATCHv3 9/9] dm: vybrid_gpio: Drop legacy code

2016-01-26 Thread Bhuvanchandra DV
All boards using this driver are with device tree support, hence drop the legacy code in driver to have a pure DT solution. Signed-off-by: Bhuvanchandra DV Reviewed-by: Bin Meng --- drivers/gpio/vybrid_gpio.c | 18 -- 1 file changed, 18 deletions(-) diff --git a/drivers/gpio/vy

Re: [U-Boot] env_mmc: support overriding mmc dev from board code

2016-01-26 Thread Clemens Gruber
On Tue, Jan 26, 2016 at 10:53:58AM +0800, Peng Fan wrote: > Yeah. The patch I wrote include fix write_env, and a function prototype in > header file. > > If the current patch already applied, I can write a follow up patch. > > Thanks, > Peng. > Hi Peng, sorry, I did not know there was already

Re: [U-Boot] [ANN] U-Boot v2016.01-rc4 released

2016-01-26 Thread Wolfgang Denk
Dear Anatolij, In message <20160126083017.4a7bc5dd@crub> you wrote: > > > Any plan to address these? > > is it the not running Inotify System Scheduler again or something > else? Could you please check? Thanks! This time it was purely my fault. I renewed my SSH keys and forgot to re-initialize

[U-Boot] [PATCH 04/22] .mailmap: Add all the mail alias for Ricardo Ribalda

2016-01-26 Thread Ricardo Ribalda Delgado
Signed-off-by: Ricardo Ribalda Delgado --- .mailmap | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.mailmap b/.mailmap index 02dccfc1aee7..f72fef174825 100644 --- a/.mailmap +++ b/.mailmap @@ -21,6 +21,9 @@ Jagan Teki Markus Klotzbuecher Prabhakar Kushwaha Rajeshwari Shinde +Ricard

[U-Boot] [PATCH 00/22] xilinx-ppc4xx: Cleanout and port to DM serial

2016-01-26 Thread Ricardo Ribalda Delgado
xilinx-ppc4xx made us of serial uartlite, which was ported to DM. This patch moves port these boards to DM. Now that Kconfig works really well, there is no need to maintain the specific boards (fx12mm, ml507 and v5fx30teval) or their flash version. The ppc440 boards have been wired to the ll_tema

[U-Boot] [PATCH 01/22] ppc: xilinx-ppc440: Remove support for ml507

2016-01-26 Thread Ricardo Ribalda Delgado
ml507 is just a specialized version of the xilinx-ppc440-generic Signed-off-by: Ricardo Ribalda Delgado --- arch/powerpc/cpu/ppc4xx/Kconfig | 4 board/xilinx/ml507/Kconfig | 12 board/xilinx/ml507/MAINTAINERS | 7 --- board/xilinx/ml507/Makefile | 11 ---

[U-Boot] [PATCH 02/22] ppc: xilinx-ppc405: Remove support for fx12mm

2016-01-26 Thread Ricardo Ribalda Delgado
It is just a specialized version of the xilinx-ppc405 Signed-off-by: Ricardo Ribalda Delgado --- arch/powerpc/cpu/ppc4xx/Kconfig | 4 board/avnet/fx12mm/Kconfig | 12 -- board/avnet/fx12mm/MAINTAINERS | 7 -- board/avnet/fx12mm/Makefile | 11 - board/avne

[U-Boot] [PATCH 07/22] ppc: pp440-generic: Simplify Makefile

2016-01-26 Thread Ricardo Ribalda Delgado
As a result of the specific board removal, the Makefiles can be simplified. Signed-off-by: Ricardo Ribalda Delgado --- board/xilinx/ppc440-generic/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/xilinx/ppc440-generic/Makefile b/board/xilinx/ppc440-generic/

[U-Boot] [PATCH 03/22] xilinx-ppc440: Remove support for v5fx30teval

2016-01-26 Thread Ricardo Ribalda Delgado
It is just a specialized version of xilinx-ppc440 Signed-off-by: Ricardo Ribalda Delgado --- arch/powerpc/cpu/ppc4xx/Kconfig | 4 board/avnet/v5fx30teval/Kconfig | 12 --- board/avnet/v5fx30teval/MAINTAINERS | 7 --- board/avnet/v5fx30teval/Makefile | 11 ---

[U-Boot] [PATCH 05/22] mailaddr: Update mail address

2016-01-26 Thread Ricardo Ribalda Delgado
The old mail address will stop working soon. Update it all the files Signed-off-by: Ricardo Ribalda Delgado --- arch/powerpc/cpu/ppc4xx/interrupts.c| 2 +- arch/powerpc/cpu/ppc4xx/uic.c | 2 +- arch/powerpc/cpu/ppc4xx/xilinx_irq.c| 2 +- arch

[U-Boot] [PATCH 09/22] ppc: ppc405: ppc405-generic_flash_defconfig

2016-01-26 Thread Ricardo Ribalda Delgado
Remove redundant defconfig file. Boot via flash can be configured via Kconfig. Signed-off-by: Ricardo Ribalda Delgado --- configs/xilinx-ppc405-generic_flash_defconfig | 8 1 file changed, 8 deletions(-) delete mode 100644 configs/xilinx-ppc405-generic_flash_defconfig diff --git a/con

[U-Boot] [PATCH 06/22] ppc: pp405-generic: Simplify Makefile

2016-01-26 Thread Ricardo Ribalda Delgado
As a result of the specific board removal, the Makefiles can be simplified. Signed-off-by: Ricardo Ribalda Delgado --- board/xilinx/ppc405-generic/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/xilinx/ppc405-generic/Makefile b/board/xilinx/ppc405-generic/Make

[U-Boot] [PATCH 14/22] configs/xilinx-ppc405-generic: Typos and size

2016-01-26 Thread Ricardo Ribalda Delgado
-Fix typos (runnining -> running) -Increase default size Signed-off-by: Ricardo Ribalda Delgado --- include/configs/xilinx-ppc405-generic.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/configs/xilinx-ppc405-generic.h b/include/configs/xilinx-ppc405-ge

[U-Boot] [PATCH 13/22] ppc: dts: Add device tree for xilix-ppc4xx-generic

2016-01-26 Thread Ricardo Ribalda Delgado
Add device tree example file for xilinx-ppc440-generic and xilinx-ppc405-generic Signed-off-by: Ricardo Ribalda Delgado --- arch/powerpc/dts/Makefile | 2 ++ arch/powerpc/dts/xilinx-ppc405-generic.dts | 13 + arch/powerpc/dts/xilinx-ppc440-generic.dts | 13 +

[U-Boot] [PATCH 12/22] ppc: xilinx-ppc4xx-generic: Update xparameters.h

2016-01-26 Thread Ricardo Ribalda Delgado
-Remove UART address (It is now part of the dts). -Include dummy ns16550 clock -Fix address to last test Signed-off-by: Ricardo Ribalda Delgado --- board/xilinx/ppc405-generic/xparameters.h | 5 ++--- board/xilinx/ppc440-generic/xparameters.h | 9 - 2 files changed, 6 insertions(+), 8 de

[U-Boot] [PATCH 08/22] ppc: ppc440: ppc440-generic_flash_defconfig

2016-01-26 Thread Ricardo Ribalda Delgado
Remove redundant defconfig file. Boot via flash can be configured via Kconfig. Signed-off-by: Ricardo Ribalda Delgado --- configs/xilinx-ppc440-generic_flash_defconfig | 8 1 file changed, 8 deletions(-) delete mode 100644 configs/xilinx-ppc440-generic_flash_defconfig diff --git a/con

[U-Boot] [PATCH 10/22] ppc: xilinx-ppc440-generic: Cleanout header files

2016-01-26 Thread Ricardo Ribalda Delgado
Now that there is only one header file for all ppc440 files, merge header files. Signed-off-by: Ricardo Ribalda Delgado --- include/configs/xilinx-ppc440-generic.h | 3 ++- include/configs/xilinx-ppc440.h | 17 - 2 files changed, 2 insertions(+), 18 deletions(-) delete

[U-Boot] [PATCH 15/22] configs/xilinx-ppc440-generic: Typos and size

2016-01-26 Thread Ricardo Ribalda Delgado
-Fix typos (runnining -> running) -Increase default size Signed-off-by: Ricardo Ribalda Delgado --- include/configs/xilinx-ppc440-generic.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/configs/xilinx-ppc440-generic.h b/include/configs/xilinx-ppc440-ge

[U-Boot] [PATCH 16/22] ppc: xilinx-ppc4xx: Port to DM serial

2016-01-26 Thread Ricardo Ribalda Delgado
xilinx_uartlite has been ported to DM, this patch makes the xilinx-ppc405-generic and the xilinx-ppc440-generic boards use the new DM driver. Signed-off-by: Ricardo Ribalda Delgado --- arch/powerpc/cpu/ppc4xx/Kconfig | 8 board/xilinx/ppc405-generic/xilinx_ppc405_ge

[U-Boot] [PATCH 19/22] ppc: xilinx_ppc405_generic: Remove uncalled functions

2016-01-26 Thread Ricardo Ribalda Delgado
board_pre_init was not called because CONFIG_BOARD_EARLY_INIT_F was not set. Remove unused function. Signed-off-by: Ricardo Ribalda Delgado --- board/xilinx/ppc405-generic/xilinx_ppc405_generic.c | 5 - 1 file changed, 5 deletions(-) diff --git a/board/xilinx/ppc405-generic/xilinx_ppc405_ge

[U-Boot] [PATCH 21/22] net: xilinx_ll_temac: Fix string overflow

2016-01-26 Thread Ricardo Ribalda Delgado
Size of this snprintf "lltemac.%lx" is bigger than 16 characters. Replacing it with "ll_tem.%lx" Signed-off-by: Ricardo Ribalda Delgado --- drivers/net/xilinx_ll_temac.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/xilinx_ll_temac.c b/drivers/net/xilinx_ll_te

[U-Boot] [PATCH 17/22] ppc: xilinx_ppc405_generic: Remove weak attributes

2016-01-26 Thread Ricardo Ribalda Delgado
Now that the specific boards have been removed there is no need to maintain the weak functions. Fix also CamelCase to make checkpatch happy Signed-off-by: Ricardo Ribalda Delgado --- .../xilinx/ppc405-generic/xilinx_ppc405_generic.c | 22 -- 1 file changed, 8 insertions(+),

[U-Boot] [PATCH 11/22] ppc: xilinx-ppc405-generic: Cleanout header files

2016-01-26 Thread Ricardo Ribalda Delgado
Now that there is only one header file for all ppc405 files, merge header files. Signed-off-by: Ricardo Ribalda Delgado --- include/configs/xilinx-ppc405-generic.h | 5 - include/configs/xilinx-ppc405.h | 22 -- 2 files changed, 4 insertions(+), 23 deletions(-)

[U-Boot] [PATCH 20/22] ppc: xilinx_ppc440_generic: Remove uncalled functions

2016-01-26 Thread Ricardo Ribalda Delgado
board_pre_init was not called because CONFIG_BOARD_EARLY_INIT_F was not set. Remove unused function. Signed-off-by: Ricardo Ribalda Delgado --- board/xilinx/ppc440-generic/xilinx_ppc440_generic.c | 5 - 1 file changed, 5 deletions(-) diff --git a/board/xilinx/ppc440-generic/xilinx_ppc440_ge

[U-Boot] [PATCH 22/22] ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver

2016-01-26 Thread Ricardo Ribalda Delgado
If the xparameters file contains a LL_TEMAC definition compile its driver and the net commands. Signed-off-by: Ricardo Ribalda Delgado --- .../xilinx/ppc440-generic/xilinx_ppc440_generic.c | 22 ++ board/xilinx/ppc440-generic/xparameters.h | 4 configs/xilinx-

[U-Boot] [PATCH 18/22] ppc: xilinx_ppc440_generic: Remove weak attributes

2016-01-26 Thread Ricardo Ribalda Delgado
Now that the specific boards have been removed there is no need to maintain the weak functions. Fix also CamelCase to make checkpatch happy Signed-off-by: Ricardo Ribalda Delgado --- board/xilinx/ppc440-generic/xilinx_ppc440_generic.c | 18 +++--- 1 file changed, 7 insertions(+), 11

Re: [U-Boot] [PATCHv3 1/9] arm: vybrid: Enable lpuart support

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 5:46 PM, Bhuvanchandra DV wrote: > Add device tree node's for lpuart on Vybrid platform > > Signed-off-by: Bhuvanchandra DV > --- > arch/arm/dts/vf.dtsi | 43 +++ > 1 file changed, 43 insertions(+) > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCHv3 3/9] arm: colibri-vf: Enable serial support

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 5:46 PM, Bhuvanchandra DV wrote: > - Enable lpuart support on Toradex Colibri VF50/VF61 > - Use UART0 for stdout. > > Signed-off-by: Bhuvanchandra DV > Acked-by: Stefan Agner > --- > arch/arm/dts/vf-colibri.dtsi | 9 + > 1 file changed, 9 insertions(+) > > diff -

Re: [U-Boot] [PATCHv3 4/9] arm: vybrid: Drop enabling GPIO, SPI and UART in legacy mode

2016-01-26 Thread Bin Meng
Hi Bhuvanchandra, On Tue, Jan 26, 2016 at 5:46 PM, Bhuvanchandra DV wrote: > Remove the legacy way of enabling GPIO, SPI and UART on Vybrid > based boards since these driver's now only supports DT mode. > > Signed-off-by: Bhuvanchandra DV > --- > include/configs/colibri_vf.h | 13 -

Re: [U-Boot] [PATCHv3 2/9] arm: vybrid: Update the license string

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 5:46 PM, Bhuvanchandra DV wrote: > Since SPDX license is already there, drop the full one. > > Signed-off-by: Bhuvanchandra DV > --- > arch/arm/dts/vf-colibri.dtsi | 5 - > arch/arm/dts/vf.dtsi | 5 - > arch/arm/dts/vf500-colibri.dts | 5 - > arch/

Re: [U-Boot] [PATCHv3 6/9] arm: pcm052: Add device tree file's

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 5:46 PM, Bhuvanchandra DV wrote: > - Add device tree files for Phytec phyCORE-Vybrid Board. > - Enable lpuart support for Phytec phyCORE-Vybrid Board. > - Use UART1 for stdout. > > Signed-off-by: Bhuvanchandra DV > --- > arch/arm/dts/Makefile | 3 ++- > arch/arm/dts/pc

Re: [U-Boot] [PATCHv3 5/9] arm: vf610-twr: Add device tree file's

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 5:46 PM, Bhuvanchandra DV wrote: > - Add device tree files for NXP/Freescale VF610 Tower Board. > - Enable lpuart support on NXP/Freescale VF610 Tower Board. > - Use UART1 as stdout. > > Signed-off-by: Bhuvanchandra DV > --- > arch/arm/dts/Makefile | 3 ++- > arch/a

Re: [U-Boot] [PATCHv3 7/9] arm: vybrid: Update defconfig's

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 5:46 PM, Bhuvanchandra DV wrote: > Let's go with pure DT solution for board's > based on NXP/Freescale Vybrid platform. > > - Merge the DT defconfig with non-DT defconfig for Toradex > Colibri VF50/VF61 and drop the non-DT defconfig. > - Update the legacy defconfigs for N

Re: [U-Boot] [PATCH 1/2] fsl:usb: Make fsl usb device-tree fixup arch independent

2016-01-26 Thread Marek Vasut
On Tuesday, January 26, 2016 at 12:36:57 PM, Ramneek Mehresh wrote: > Move usb device-tree fixup from ehci drv so that it becomes > available to all ppc and arm platforms > > Signed-off-by: Ramneek Mehresh > --- > board/freescale/common/Makefile | 2 + > board/freescale/common/usb.c

Re: [U-Boot] [PATCH 2/2] include:configs: Add usb device-tree fixup for all fsl platforms

2016-01-26 Thread Marek Vasut
On Tuesday, January 26, 2016 at 12:36:58 PM, Ramneek Mehresh wrote: > Add usb device-tree fixup for all relevant fsl ppc and arm platforms > > Signed-off-by: Ramneek Mehresh > --- > board/freescale/b4860qds/b4860qds.c | 2 +- > board/freescale/bsc9131rdb/bsc9131rdb.c | 2 ++ > board/

[U-Boot] [PATCH 1/2] fsl:usb: Make fsl usb device-tree fixup arch independent

2016-01-26 Thread Ramneek Mehresh
Move usb device-tree fixup from ehci drv so that it becomes available to all ppc and arm platforms Signed-off-by: Ramneek Mehresh --- board/freescale/common/Makefile | 2 + board/freescale/common/usb.c| 203 board/freescale/corenet_ds/corene

[U-Boot] [PATCH 2/2] include:configs: Add usb device-tree fixup for all fsl platforms

2016-01-26 Thread Ramneek Mehresh
Add usb device-tree fixup for all relevant fsl ppc and arm platforms Signed-off-by: Ramneek Mehresh --- board/freescale/b4860qds/b4860qds.c | 2 +- board/freescale/bsc9131rdb/bsc9131rdb.c | 2 ++ board/freescale/bsc9132qds/bsc9132qds.c | 2 ++ board/freescale/corenet_ds/corenet_d

Re: [U-Boot] [PATCH 00/22] xilinx-ppc4xx: Cleanout and port to DM serial

2016-01-26 Thread Michal Simek
On 26.1.2016 11:24, Ricardo Ribalda Delgado wrote: > xilinx-ppc4xx made us of serial uartlite, which was ported to DM. > This patch moves port these boards to DM. > > Now that Kconfig works really well, there is no need to maintain > the specific boards (fx12mm, ml507 and v5fx30teval) or their fla

Re: [U-Boot] [PATCH 00/22] xilinx-ppc4xx: Cleanout and port to DM serial

2016-01-26 Thread Ricardo Ribalda Delgado
Hello Michal Thanks for your fast review :). Usually my patches were through Stefan Roese (sorry, I forgot to add you as cc in the patchset :( ) In this case, as it depends on yuour patches I do not know what should be the right path. Tom, Stefan what do you propose? Regards! On Tue, Jan 26, 2

Re: [U-Boot] [PATCH 01/22] ppc: xilinx-ppc440: Remove support for ml507

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado wrote: > ml507 is just a specialized version of the xilinx-ppc440-generic > > Signed-off-by: Ricardo Ribalda Delgado > --- > arch/powerpc/cpu/ppc4xx/Kconfig | 4 > board/xilinx/ml507/Kconfig | 12 > board/xilinx/m

Re: [U-Boot] [PATCH 02/22] ppc: xilinx-ppc405: Remove support for fx12mm

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado wrote: > It is just a specialized version of the xilinx-ppc405 > > Signed-off-by: Ricardo Ribalda Delgado > --- > arch/powerpc/cpu/ppc4xx/Kconfig | 4 > board/avnet/fx12mm/Kconfig | 12 -- > board/avnet/fx12mm/MAINTAIN

Re: [U-Boot] [PATCH 07/22] ppc: pp440-generic: Simplify Makefile

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado wrote: > As a result of the specific board removal, the Makefiles can be > simplified. > > Signed-off-by: Ricardo Ribalda Delgado > --- > board/xilinx/ppc440-generic/Makefile | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > R

Re: [U-Boot] [PATCH 08/22] ppc: ppc440: ppc440-generic_flash_defconfig

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado wrote: > Remove redundant defconfig file. Boot via flash can be configured via > Kconfig. > > Signed-off-by: Ricardo Ribalda Delgado > --- > configs/xilinx-ppc440-generic_flash_defconfig | 8 > 1 file changed, 8 deletions(-) > de

Re: [U-Boot] [PATCH 05/22] mailaddr: Update mail address

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado wrote: > The old mail address will stop working soon. > Update it all the files > > Signed-off-by: Ricardo Ribalda Delgado > --- > arch/powerpc/cpu/ppc4xx/interrupts.c| 2 +- > arch/powerpc/cpu/ppc4xx/uic.c

Re: [U-Boot] [PATCH 06/22] ppc: pp405-generic: Simplify Makefile

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado wrote: > As a result of the specific board removal, the Makefiles can be > simplified. > > Signed-off-by: Ricardo Ribalda Delgado > --- > board/xilinx/ppc405-generic/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Revie

Re: [U-Boot] [PATCH 04/22] .mailmap: Add all the mail alias for Ricardo Ribalda

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado wrote: > Signed-off-by: Ricardo Ribalda Delgado > --- > .mailmap | 3 +++ > 1 file changed, 3 insertions(+) > Reviewed-by: Bin Meng ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.den

Re: [U-Boot] [PATCH 09/22] ppc: ppc405: ppc405-generic_flash_defconfig

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado wrote: > Remove redundant defconfig file. Boot via flash can be configured via > Kconfig. > > Signed-off-by: Ricardo Ribalda Delgado > --- > configs/xilinx-ppc405-generic_flash_defconfig | 8 > 1 file changed, 8 deletions(-) > de

Re: [U-Boot] [PATCH 11/22] ppc: xilinx-ppc405-generic: Cleanout header files

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado wrote: > Now that there is only one header file for all ppc405 files, merge > header files. > > Signed-off-by: Ricardo Ribalda Delgado > --- > include/configs/xilinx-ppc405-generic.h | 5 - > include/configs/xilinx-ppc405.h |

Re: [U-Boot] [PATCH 17/22] ppc: xilinx_ppc405_generic: Remove weak attributes

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado wrote: > Now that the specific boards have been removed there is no need to > maintain the weak functions. > > Fix also CamelCase to make checkpatch happy > > Signed-off-by: Ricardo Ribalda Delgado > --- > .../xilinx/ppc405-generic/xilinx_

Re: [U-Boot] [PATCH 19/22] ppc: xilinx_ppc405_generic: Remove uncalled functions

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado wrote: > board_pre_init was not called because CONFIG_BOARD_EARLY_INIT_F was not > set. Remove unused function. > > Signed-off-by: Ricardo Ribalda Delgado > --- > board/xilinx/ppc405-generic/xilinx_ppc405_generic.c | 5 - > 1 file chan

Re: [U-Boot] [PATCH 20/22] ppc: xilinx_ppc440_generic: Remove uncalled functions

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado wrote: > board_pre_init was not called because CONFIG_BOARD_EARLY_INIT_F was not > set. Remove unused function. > > Signed-off-by: Ricardo Ribalda Delgado > --- > board/xilinx/ppc440-generic/xilinx_ppc440_generic.c | 5 - > 1 file chan

Re: [U-Boot] [PATCH 21/22] net: xilinx_ll_temac: Fix string overflow

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado wrote: > Size of this snprintf "lltemac.%lx" is bigger than 16 characters. > Replacing it with "ll_tem.%lx" > > Signed-off-by: Ricardo Ribalda Delgado > --- > drivers/net/xilinx_ll_temac.c | 3 ++- > 1 file changed, 2 insertions(+), 1 dele

Re: [U-Boot] [PATCH 18/22] ppc: xilinx_ppc440_generic: Remove weak attributes

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado wrote: > Now that the specific boards have been removed there is no need to > maintain the weak functions. > > Fix also CamelCase to make checkpatch happy > > Signed-off-by: Ricardo Ribalda Delgado > --- > board/xilinx/ppc440-generic/xilin

Re: [U-Boot] [PATCH 10/22] ppc: xilinx-ppc440-generic: Cleanout header files

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado wrote: > Now that there is only one header file for all ppc440 files, merge > header files. > > Signed-off-by: Ricardo Ribalda Delgado > --- > include/configs/xilinx-ppc440-generic.h | 3 ++- > include/configs/xilinx-ppc440.h | 17

Re: [U-Boot] [PATCH 13/22] ppc: dts: Add device tree for xilix-ppc4xx-generic

2016-01-26 Thread Bin Meng
Hi Ricardo, On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado wrote: > Add device tree example file for xilinx-ppc440-generic and > xilinx-ppc405-generic > > Signed-off-by: Ricardo Ribalda Delgado > --- > arch/powerpc/dts/Makefile | 2 ++ > arch/powerpc/dts/xilinx-ppc40

Re: [U-Boot] [PATCH 22/22] ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver

2016-01-26 Thread Bin Meng
Hi Ricardo, On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado wrote: > If the xparameters file contains a LL_TEMAC definition compile its > driver and the net commands. > > Signed-off-by: Ricardo Ribalda Delgado > --- > .../xilinx/ppc440-generic/xilinx_ppc440_generic.c | 22 > +

Re: [U-Boot] [PATCH 03/22] xilinx-ppc440: Remove support for v5fx30teval

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado wrote: > It is just a specialized version of xilinx-ppc440 > > Signed-off-by: Ricardo Ribalda Delgado > --- > arch/powerpc/cpu/ppc4xx/Kconfig | 4 > board/avnet/v5fx30teval/Kconfig | 12 --- > board/avnet/v5fx30te

Re: [U-Boot] [PATCH 13/22] ppc: dts: Add device tree for xilix-ppc4xx-generic

2016-01-26 Thread Ricardo Ribalda Delgado
On Tue, Jan 26, 2016 at 1:21 PM, Bin Meng wrote: > Hi Ricardo, > > On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado > wrote: >> Add device tree example file for xilinx-ppc440-generic and >> xilinx-ppc405-generic >> >> Signed-off-by: Ricardo Ribalda Delgado >> --- >> arch/powerpc/dts/Mak

Re: [U-Boot] [PATCH 22/22] ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver

2016-01-26 Thread Ricardo Ribalda Delgado
Hello Bin On Tue, Jan 26, 2016 at 1:21 PM, Bin Meng wrote: > Hi Ricardo, > > On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado > wrote: >> If the xparameters file contains a LL_TEMAC definition compile its >> driver and the net commands. >> >> Signed-off-by: Ricardo Ribalda Delgado >> --

[U-Boot] [PATCH v2 13/22] ppc: dts: Add device tree for xilix-ppc4xx-generic

2016-01-26 Thread Ricardo Ribalda Delgado
Add device tree example file for xilinx-ppc440-generic and xilinx-ppc405-generic Signed-off-by: Ricardo Ribalda Delgado --- arch/powerpc/dts/Makefile | 2 ++ arch/powerpc/dts/xilinx-ppc405-generic.dts | 15 +++ arch/powerpc/dts/xilinx-ppc440-generic.dts | 15 +++

[U-Boot] [PATCH v2 22/22] ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver

2016-01-26 Thread Ricardo Ribalda Delgado
If the xparameters file contains a LL_TEMAC definition compile its driver and the net commands. Signed-off-by: Ricardo Ribalda Delgado --- v2: Add whitespaces after /* and before*/ Credit-to: Bin Meng .../xilinx/ppc440-generic/xilinx_ppc440_generic.c | 22 ++ board/xi

Re: [U-Boot] [PATCH v2 13/22] ppc: dts: Add device tree for xilix-ppc4xx-generic

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 8:47 PM, Ricardo Ribalda Delgado wrote: > Add device tree example file for xilinx-ppc440-generic and > xilinx-ppc405-generic > > Signed-off-by: Ricardo Ribalda Delgado > --- > arch/powerpc/dts/Makefile | 2 ++ > arch/powerpc/dts/xilinx-ppc405-generic.dts

Re: [U-Boot] [PATCH v2 22/22] ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver

2016-01-26 Thread Bin Meng
On Tue, Jan 26, 2016 at 8:47 PM, Ricardo Ribalda Delgado wrote: > If the xparameters file contains a LL_TEMAC definition compile its > driver and the net commands. > > Signed-off-by: Ricardo Ribalda Delgado > --- > > v2: Add whitespaces after /* and before*/ > Credit-to: Bin Meng > > .../xi

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

2016-01-26 Thread Albert ARIBAUD
Hello Joe, On Mon, 25 Jan 2016 18:45:52 -0600, Joe Hershberger wrote: > On Mon, Dec 14, 2015 at 6:41 AM, Olliver Schinagl > wrote: > > +++ b/tools/gen_mac_addr.c > > This is not "generating a mac address", right? Its point is to create > a CRC for the user-supplied MAC address. > > Perhaps a

Re: [U-Boot] [PATCH 00/22] xilinx-ppc4xx: Cleanout and port to DM serial

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 01:14:44PM +0100, Ricardo Ribalda Delgado wrote: > Hello Michal > > Thanks for your fast review :). > > Usually my patches were through Stefan Roese (sorry, I forgot to add > you as cc in the patchset :( ) > In this case, as it depends on yuour patches I do not know what s

[U-Boot] [PATCH 1/2] imx: mx6sx: Fix issue in LCDIF clock enablement

2016-01-26 Thread Ye Li
Wrong checking for the base_addr paramter with LCDIF1 and LCDIF2. Always enter the -EINVAL return. Signed-off-by: Ye Li --- arch/arm/cpu/armv7/mx6/clock.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv7/mx6/clock.c b/arch/arm/cpu/armv7/mx6/clock.c i

[U-Boot] [PATCH 2/2] imx: mx6ul/sx: Fix issue in LCDIF clock dividers calculation

2016-01-26 Thread Ye Li
The checking with max frequency supported is not correct, because the temp is calculated by max pre and post dividers. We can decrease any divider to meet the max frequency limitation. Actually, the calculation below the codes is doing this way to find best pre and post dividers. Signed-off-by: Ye

Re: [U-Boot] [PATCH 00/22] xilinx-ppc4xx: Cleanout and port to DM serial

2016-01-26 Thread Stefan Roese
On 26.01.2016 14:55, Tom Rini wrote: On Tue, Jan 26, 2016 at 01:14:44PM +0100, Ricardo Ribalda Delgado wrote: Hello Michal Thanks for your fast review :). Usually my patches were through Stefan Roese (sorry, I forgot to add you as cc in the patchset :( ) In this case, as it depends on yuour pa

[U-Boot] [PATCH] imx: mx6sxsabresd: Add MCIMX28LCD display support

2016-01-26 Thread Ye Li
The i.MX6SX SABRESD board supports MCIMX28LCD (800x480x24) at LCDIF1 port, enable this display feature by adding relevant BSP codes and configurations. Signed-off-by: Ye Li --- board/freescale/mx6sxsabresd/mx6sxsabresd.c | 61 +++ include/configs/mx6sxsabresd.h

Re: [U-Boot] [PATCH 1/2] imx: mx6sx: Fix issue in LCDIF clock enablement

2016-01-26 Thread Stefano Babic
On 26/01/2016 15:01, Ye Li wrote: > Wrong checking for the base_addr paramter with LCDIF1 and LCDIF2. Always > enter the -EINVAL return. > > Signed-off-by: Ye Li > --- > arch/arm/cpu/armv7/mx6/clock.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/cpu/

Re: [U-Boot] [PATCH 2/2] imx: mx6ul/sx: Fix issue in LCDIF clock dividers calculation

2016-01-26 Thread Stefano Babic
On 26/01/2016 15:01, Ye Li wrote: > The checking with max frequency supported is not correct, because the temp > is calculated by max pre and post dividers. We can decrease any divider to > meet the max frequency limitation. Actually, the calculation below the codes > is doing this way to find best

Re: [U-Boot] [PATCH 00/22] xilinx-ppc4xx: Cleanout and port to DM serial

2016-01-26 Thread Michal Simek
On 26.1.2016 15:09, Stefan Roese wrote: > On 26.01.2016 14:55, Tom Rini wrote: >> On Tue, Jan 26, 2016 at 01:14:44PM +0100, Ricardo Ribalda Delgado wrote: >>> Hello Michal >>> >>> Thanks for your fast review :). >>> >>> Usually my patches were through Stefan Roese (sorry, I forgot to add >>> you as

Re: [U-Boot] [PATCH 22/22] ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver

2016-01-26 Thread Michal Simek
On 26.1.2016 13:43, Ricardo Ribalda Delgado wrote: > Hello Bin > > On Tue, Jan 26, 2016 at 1:21 PM, Bin Meng wrote: >> Hi Ricardo, >> >> On Tue, Jan 26, 2016 at 6:24 PM, Ricardo Ribalda Delgado >> wrote: >>> If the xparameters file contains a LL_TEMAC definition compile its >>> driver and the ne

Re: [U-Boot] [PATCH 22/22] ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver

2016-01-26 Thread Ricardo Ribalda Delgado
hello We are using the driver and can take a look if we can port it to DM. But it wont be in this or next week sorry. Regards! On Tue, Jan 26, 2016 at 3:20 PM, Michal Simek wrote: > On 26.1.2016 13:43, Ricardo Ribalda Delgado wrote: >> Hello Bin >> >> On Tue, Jan 26, 2016 at 1:21 PM, Bin Meng

Re: [U-Boot] [PATCH v2 1/2] mx6: soc: Add ENET2 mac address support

2016-01-26 Thread Joe Hershberger
On Tue, Jan 26, 2016 at 3:10 AM, Ye Li wrote: > The i.MX6SX and i.MX6UL has two ENET controllers, add support for reading > MAC address from fuse for ENET2. > > Signed-off-by: Ye Li > --- > Changes for v2: > - Add second MAC address to README.imx6. > - Rename mac_addr_low and mac_

Re: [U-Boot] [PATCH 21/22] net: xilinx_ll_temac: Fix string overflow

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 11:24:24AM +0100, Ricardo Ribalda Delgado wrote: > Size of this snprintf "lltemac.%lx" is bigger than 16 characters. > Replacing it with "ll_tem.%lx" > > Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Tom Rini ... and added to my TODO list to check over everyone e

Re: [U-Boot] [PATCH 02/22] ppc: xilinx-ppc405: Remove support for fx12mm

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 11:24:05AM +0100, Ricardo Ribalda Delgado wrote: > It is just a specialized version of the xilinx-ppc405 > > Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 01/22] ppc: xilinx-ppc440: Remove support for ml507

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 11:24:04AM +0100, Ricardo Ribalda Delgado wrote: > ml507 is just a specialized version of the xilinx-ppc440-generic > > Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH 03/22] xilinx-ppc440: Remove support for v5fx30teval

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 11:24:06AM +0100, Ricardo Ribalda Delgado wrote: > It is just a specialized version of xilinx-ppc440 > > Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH 04/22] .mailmap: Add all the mail alias for Ricardo Ribalda

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 11:24:07AM +0100, Ricardo Ribalda Delgado wrote: > Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.d

Re: [U-Boot] [PATCH 07/22] ppc: pp440-generic: Simplify Makefile

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 11:24:10AM +0100, Ricardo Ribalda Delgado wrote: > As a result of the specific board removal, the Makefiles can be > simplified. > > Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 06/22] ppc: pp405-generic: Simplify Makefile

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 11:24:09AM +0100, Ricardo Ribalda Delgado wrote: > As a result of the specific board removal, the Makefiles can be > simplified. > > Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 05/22] mailaddr: Update mail address

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 11:24:08AM +0100, Ricardo Ribalda Delgado wrote: > The old mail address will stop working soon. > Update it all the files > > Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH 09/22] ppc: ppc405: ppc405-generic_flash_defconfig

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 11:24:12AM +0100, Ricardo Ribalda Delgado wrote: > Remove redundant defconfig file. Boot via flash can be configured via > Kconfig. > > Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH 10/22] ppc: xilinx-ppc440-generic: Cleanout header files

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 11:24:13AM +0100, Ricardo Ribalda Delgado wrote: > Now that there is only one header file for all ppc440 files, merge > header files. > > Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH 11/22] ppc: xilinx-ppc405-generic: Cleanout header files

2016-01-26 Thread Tom Rini
On Tue, Jan 26, 2016 at 11:24:14AM +0100, Ricardo Ribalda Delgado wrote: > Now that there is only one header file for all ppc405 files, merge > header files. > > Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

  1   2   3   >