Re: [U-Boot] [PATCHv7 6/7] igep00x0: UBIize

2016-01-25 Thread Heiko Schocher
Hello Enric, Am 25.01.2016 um 08:26 schrieb Enric Balletbo Serra: Hi, 2016-01-25 7:39 GMT+01:00 Heiko Schocher : Hello Enric, Ladislav, Am 22.01.2016 um 23:35 schrieb Enric Balletbo Serra: Hi Ladis, Many thanks for your work on this, see some comments below ... Sorry, pull request is se

[U-Boot] [PATCH] powerpc: tqm834x: Fix build warnings in initdram()

2016-01-25 Thread Bin Meng
With gcc 4.9, it produces the following warnings: CC board/tqc/tqm834x/tqm834x.o board/tqc/tqm834x/tqm834x.c: In function 'initdram': board/tqc/tqm834x/tqm834x.c:325:12: warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations] (((base + size - 1) >> CSBN

Re: [U-Boot] [PATCH v2 3/8] drivers: net: keystone_net: convert driver to adopt device driver model

2016-01-25 Thread Mugunthan V N
On Saturday 23 January 2016 01:45 AM, Joe Hershberger wrote: > On Fri, Jan 22, 2016 at 2:23 AM, Mugunthan V N wrote: >> Adopt keystone_net driver to adopt device driver model >> >> Signed-off-by: Mugunthan V N >> Reviewed-by: Tom Rini >> --- >> drivers/net/keystone_net.c | 418 >> +

Re: [U-Boot] [PATCH v2 3/8] drivers: net: keystone_net: convert driver to adopt device driver model

2016-01-25 Thread Bin Meng
On Fri, Jan 22, 2016 at 4:23 PM, Mugunthan V N wrote: > Adopt keystone_net driver to adopt device driver model > > Signed-off-by: Mugunthan V N > Reviewed-by: Tom Rini > --- > drivers/net/keystone_net.c | 418 > - > 1 file changed, 376 insertions(+),

[U-Boot] [PATCH] net: eepro100: Fix build warnings

2016-01-25 Thread Bin Meng
When building katmai, it reports quite a lot warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Fix this by casting the dev->iobase with u_long. Signed-off-by: Bin Meng --- drivers/net/eepro100.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) di

Re: [U-Boot] [GIT PULL] Microblaze changes

2016-01-25 Thread Michal Simek
Hi, On 22.1.2016 19:34, Ricardo Ribalda Delgado wrote: > Hi > > My main concern is that the support for the board is not removed. I have > one active product based on virtex5 ppc440. > > Today I had to do some last minute support and now I am on a plane... > Otherwise the patchset would be on yo

[U-Boot] [PATCH] openrisc: Fix build errors

2016-01-25 Thread Bin Meng
With kernel.org toolchain, it reports: CC arch/openrisc/lib/board.o arch/openrisc/lib/board.c:56:2: error: 'console_init_f' undeclared here (not in a function) arch/openrisc/lib/board.c: In function 'board_init': arch/openrisc/lib/board.c:120:2: warning: implicit declaration of funct

Re: [U-Boot] [PATCH] openrisc: updating build tools naming convention

2016-01-25 Thread Bin Meng
Hi Guillaume, On Sun, Nov 8, 2015 at 10:37 PM, Guillaume REMBERT wrote: > Dear u-boot community, > > I just made a small change on the openrisc-generic platform > configuration to take in account the new naming convention (or1k instead > of or32, so the build process gets fine). > > Could you tak

[U-Boot] [PATCH] ARM: zynq: zynqmp: Line up checkboard message

2016-01-25 Thread Michal Simek
Use space instead of tab in checkboard print to aligned it with others boards. Signed-off-by: Michal Simek --- board/xilinx/zynq/board.c| 2 +- board/xilinx/zynqmp/zynqmp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/b

Re: [U-Boot] [PATCH] ARM: zynq: zynqmp: Line up checkboard message

2016-01-25 Thread Michal Simek
On 25.1.2016 11:08, Michal Simek wrote: > Use space instead of tab in checkboard print to aligned > it with others boards. > > Signed-off-by: Michal Simek > --- > > board/xilinx/zynq/board.c| 2 +- > board/xilinx/zynqmp/zynqmp.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) >

Re: [U-Boot] [PATCH v2 3/8] drivers: net: keystone_net: convert driver to adopt device driver model

2016-01-25 Thread Mugunthan V N
On Monday 25 January 2016 02:05 PM, Bin Meng wrote: > On Fri, Jan 22, 2016 at 4:23 PM, Mugunthan V N wrote: >> Adopt keystone_net driver to adopt device driver model >> >> Signed-off-by: Mugunthan V N >> Reviewed-by: Tom Rini >> --- >> drivers/net/keystone_net.c | 418 >> ++

Re: [U-Boot] [PATCH] ARM: zynq: zynqmp: Line up checkboard message

2016-01-25 Thread Moritz Fischer
Hi Michal, On Mon, Jan 25, 2016 at 11:09 AM, Michal Simek wrote: > On 25.1.2016 11:08, Michal Simek wrote: >> Use space instead of tab in checkboard print to aligned >> it with others boards. >> >> Signed-off-by: Michal Simek Reviewed-by: Moritz Fischer Cheers, Moritz _

Re: [U-Boot] [PATCH] usb: xhci: Fix vendor command error if the request type is USB_REQ_SET_ADDRESS or USB_REQ_SET_CONFIGURATION.

2016-01-25 Thread Ted
Hi Marek, > -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Thursday, November 26, 2015 9:25 AM > To: Ted > Cc: swar...@nvidia.com; u-boot@lists.denx.de; > linux.am...@gmail.com; Hans de Goede > Subject: Re: [PATCH] usb: xhci: Fix vendor command error if > the req

[U-Boot] [Patch V3 1/3] qe: move drivers/qe/qe.h to include/fsl_qe.h

2016-01-25 Thread Gong Qianyu
As the QE firmware struct is shared with Fman, move the header file out of drivers/qe/. Signed-off-by: Gong Qianyu --- V3: - Move file changes about "qe.h" to this patch. V2: - New Patch. arch/powerpc/cpu/mpc85xx/cpu_init.c | 2 +- arch/powerpc/cpu/mpc85xx/fdt.c | 2 +- board/fre

[U-Boot] [Patch V3 3/3] armv8/fsl-layerscape: fdt: add fixup for Fman ucode

2016-01-25 Thread Gong Qianyu
Add fdt fixup to insert Fman firmware into the device tree. Signed-off-by: Gong Qianyu --- V3: - Remove fman clock fixup. - Revise commit message too. V2: - Removed the duplicated function. arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arc

[U-Boot] [Patch V3 2/3] fm: fdt: Move fman ucode fixup to Fman driver code

2016-01-25 Thread Gong Qianyu
Both Freescale Layerscape and powerpc/mpc85xx platforms are using fdt_fixup_fman_firmware() to insert Fman ucode blob into the device tree. So move the function to driver code. Signed-off-by: Gong Qianyu --- V3: - Remove file changes about "qe.h". (Should be put in the first patch of this pat

[U-Boot] mmc rescan problem!

2016-01-25 Thread rick
Hi Pantelis Please review this patch of attached. Thank you very much. Rick -Original Message- From: Tom Rini [mailto:tr...@konsulko.com] Sent: Monday, January 25, 2016 11:05 AM To: Rick Jian-Zhi Chen(陳建志) Subject: Re: mmc rescan problem! On Mon, Jan 25, 2016 at 02:43:03AM +, r...@

Re: [U-Boot] [PATCH] nand: mxs: fix error handling for mxs_nand_init

2016-01-25 Thread Peng Fan
Hi Scott, Gentle ping.. it's a few weeks since patch sent out. Thanks, Peng. On Sat, Jan 09, 2016 at 09:23:53PM +0800, Peng Fan wrote: >From: Peng Fan > >Fix error handling for mxs_nand_init. > >The original error handling is wrong for err2 and err1. >Should first free desc[x], then free desc.

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

2016-01-25 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! The following changes since commit 12f229ea8f6c8e20f8fd07906eafc853c4c354a9: Merge git://git.denx.de/u-boot-fdt (2016-01-22 17:01:22 -0500) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git master for you to fetch c

[U-Boot] CONFIG_DISPLAY causes build error on microblaze-generic

2016-01-25 Thread Bin Meng
Hi Simon, Anatolij, At present CONFIG_DISPLAY is set to y by default when driver model is on. This causes the following building error on microblaze-generic. drivers/built-in.o: In function 'display_read_timing': drivers/video/display-uclass.c:45: undefined reference to 'edid_get_timing' I t

Re: [U-Boot] buildman errors

2016-01-25 Thread Tom Rini
On Mon, Jan 25, 2016 at 11:18:26AM +0800, Bin Meng wrote: > Hi Tom, > > On Mon, Jan 25, 2016 at 11:05 AM, Tom Rini wrote: > > On Mon, Jan 25, 2016 at 10:34:16AM +0800, Bin Meng wrote: > >> Hi Tom, > >> > >> On Mon, Jan 25, 2016 at 12:19 AM, Tom Rini wrote: > >> > On Sun, Jan 24, 2016 at 12:00:42

Re: [U-Boot] [PATCH] net: eepro100: Fix build warnings

2016-01-25 Thread Joe Hershberger
On Mon, Jan 25, 2016 at 3:26 AM, Bin Meng wrote: > When building katmai, it reports quite a lot > > warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > > Fix this by casting the dev->iobase with u_long. > > Signed-off-by: Bin Meng Acked-by: Joe Hershberger ___

Re: [U-Boot] [PATCH V2] net: bootp: Ignore packets whose yiaddr is 0

2016-01-25 Thread Joe Hershberger
On Thu, Jan 7, 2016 at 1:28 AM, Peng Fan wrote: > From: Peng Fan > > When doing `dhcp`, there is a bad dhcp server in my network > which always reply dhcp request with yiaddr 0, which cause > uboot can not successfully get ipaddr from the good dhcp server. > But the Linux PC can get the ip addres

Re: [U-Boot] [PATCHv7 6/7] igep00x0: UBIize

2016-01-25 Thread Tom Rini
On Mon, Jan 25, 2016 at 07:39:10AM +0100, Heiko Schocher wrote: > Hello Enric, Ladislav, > > Am 22.01.2016 um 23:35 schrieb Enric Balletbo Serra: > >Hi Ladis, > > > >Many thanks for your work on this, see some comments below ... > > Sorry, pull request is sent with this patch, see: > > http://li

Re: [U-Boot] [GIT PULL] Microblaze changes

2016-01-25 Thread Tom Rini
On Mon, Jan 25, 2016 at 10:24:20AM +0100, Michal Simek wrote: > Hi, > > On 22.1.2016 19:34, Ricardo Ribalda Delgado wrote: > > Hi > > > > My main concern is that the support for the board is not removed. I have > > one active product based on virtex5 ppc440. > > > > Today I had to do some last m

Re: [U-Boot] CONFIG_DISPLAY causes build error on microblaze-generic

2016-01-25 Thread Tom Rini
On Mon, Jan 25, 2016 at 10:08:20PM +0800, Bin Meng wrote: > Hi Simon, Anatolij, > > At present CONFIG_DISPLAY is set to y by default when driver model is > on. This causes the following building error on microblaze-generic. > > drivers/built-in.o: In function 'display_read_timing': > drivers

Re: [U-Boot] CONFIG_DISPLAY causes build error on microblaze-generic

2016-01-25 Thread Anatolij Gustschin
Hi Bin, > Hi Simon, Anatolij, > > At present CONFIG_DISPLAY is set to y by default when driver model is > on. This causes the following building error on microblaze-generic. > > drivers/built-in.o: In function 'display_read_timing': > drivers/video/display-uclass.c:45: undefined reference to

Re: [U-Boot] [PATCHv7 6/7] igep00x0: UBIize

2016-01-25 Thread Heiko Schocher
Hello Tom, Am 25.01.2016 um 16:13 schrieb Tom Rini: On Mon, Jan 25, 2016 at 07:39:10AM +0100, Heiko Schocher wrote: Hello Enric, Ladislav, Am 22.01.2016 um 23:35 schrieb Enric Balletbo Serra: Hi Ladis, Many thanks for your work on this, see some comments below ... Sorry, pull request is se

Re: [U-Boot] [PATCH v3 0/7] Determine Boot mode at run time

2016-01-25 Thread Tom Rini
On Fri, Jan 22, 2016 at 04:37:21PM +0530, Aneesh Bansal wrote: > There are two phases in Secure Boot > 1. ISBC: In BootROM, validate the BootLoader (U-Boot). > 2. ESBC: In U-Boot, continuing the Chain of Trust by > validating and booting LINUX. > > For ESBC phase, there is no difference

Re: [U-Boot] [PATCHv7 6/7] igep00x0: UBIize

2016-01-25 Thread Ladislav Michl
Hi Enric, On Mon, Jan 25, 2016 at 08:26:23AM +0100, Enric Balletbo Serra wrote: > The ROM boot on OMAP reads the first 4 blocks searching for the SPL, > in production is a practice flash the SPL 4 times. OneNAND/NAND > devices can have different block sizes and the OMAP ROM boot supports > block s

Re: [U-Boot] [PATCH] arm: cache: Implement cache range check for v7

2016-01-25 Thread Tom Rini
On Sun, Jan 24, 2016 at 06:28:12PM +0100, Marek Vasut wrote: > On Monday, December 28, 2015 at 04:23:46 PM, Marek Vasut wrote: > > On Friday, December 11, 2015 at 05:36:15 AM, Marek Vasut wrote: > > > On Tuesday, December 01, 2015 at 06:23:17 PM, Marek Vasut wrote: > > > > On Monday, July 27, 2015

Re: [U-Boot] [PATCH] nds32: fix mmc rescan hang problem.

2016-01-25 Thread Tom Rini
On Mon, Jan 25, 2016 at 01:08:15PM +0800, Andes wrote: > From: rick > > When execute mmc rescan command, system will hang. > > Signed-off-by: rick > --- > common/cmd_mmc.c |9 + > common/env_common.c |3 +++ > include/environment.h |3 +++ > 3 files changed, 15 inse

[U-Boot] [PATCH] video: add CONFIG_I2C_EDID and disable CONFIG_DISPLAY by default

2016-01-25 Thread Anatolij Gustschin
Enabling CONFIG_DISPLAY breaks building for some architectures (microblaze-generic), so we disable CONFIG_DISPLAY in Kconfig by default and enable this option in defconfigs. CONFIG_DISPLAY depends on CONFIG_I2C_EDID, so add and enable it in defconfigs, too. Signed-off-by: Anatolij Gustschin Repor

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

2016-01-25 Thread york sun
On 01/24/2016 08:09 PM, Yao Yuan wrote: > On 01/25/2016 04:16 AM, York Sun wrote: >> On 01/22/2016 07:43 AM, Scott Wood wrote: >>> On 01/21/2016 09:35 PM, Qianyu Gong wrote: > -Original Message- > From: Scott Wood > Sent: Friday, January 22, 2016 3:30 AM > To: Qianyu Go

[U-Boot] [PATCH REPOST] checkpatch: ignore request to use ether_addr_copy()

2016-01-25 Thread Stephen Warren
From: Stephen Warren The Linux kernel, from which checkpatch originates, contains function ether_addr_copy() to copy Ethernet MAC addresses, and checkpatch warns that it should be used in preference to memcpy() where appropriate. U-Boot doesn't contain ether_addr_copy(), so tell checkpatch not to

Re: [U-Boot] [PATCH 1/2] test/py: move find_ram_base() into u_boot_utils

2016-01-25 Thread Stephen Warren
On 01/22/2016 03:30 PM, Wolfgang Denk wrote: Dear Stephen, In message <1453417531-23669-1-git-send-email-swar...@wwwdotorg.org> you wrote: find_ram_base() is a shared utility function, not a core part of the U-Boot console interaction. On which boards did you test this feature? Eventually A

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

2016-01-25 Thread york sun
On 01/25/2016 09:01 AM, Scott Wood wrote: > On 01/25/2016 10:47 AM, york sun wrote: >> On 01/24/2016 08:09 PM, Yao Yuan wrote: >>> On 01/25/2016 04:16 AM, York Sun wrote: On 01/22/2016 07:43 AM, Scott Wood wrote: > On 01/21/2016 09:35 PM, Qianyu Gong wrote: >> >>> -Original Mes

Re: [U-Boot] [PATCH v4 5/6] rockchip: kylin: Enable boot with android boot image

2016-01-25 Thread Tom Rini
On Fri, Jan 15, 2016 at 04:42:21PM +0100, Daniel Schwierzeck wrote: > Am Freitag, den 15.01.2016, 09:42 -0500 schrieb Tom Rini: > > On Fri, Jan 15, 2016 at 10:20:43AM +0800, Jeffy Chen wrote: > > > Hi Tom, > > > > > > On 2016-1-15 8:59, Tom Rini wrote: > > > > On Fri, Jan 15, 2016 at 08:53:06AM +0

Re: [U-Boot] [PATCHv7 6/7] igep00x0: UBIize

2016-01-25 Thread Enric Balletbo Serra
Hi Ladis, 2016-01-25 16:56 GMT+01:00 Ladislav Michl : > Hi Enric, > > On Mon, Jan 25, 2016 at 08:26:23AM +0100, Enric Balletbo Serra wrote: >> The ROM boot on OMAP reads the first 4 blocks searching for the SPL, >> in production is a practice flash the SPL 4 times. OneNAND/NAND >> devices can have

[U-Boot] [PATCHv2 2/8] arm: colibri-vf: Enable serial support

2016-01-25 Thread Bhuvanchandra DV
- Enable lpuart support on Toradex Colibri VF50/VF61 - Use UART0 for stdout. Signed-off-by: Bhuvanchandra DV --- 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 7a8e9bee..13a1dba 100644 --

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

2016-01-25 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] [PATCHv2 4/8] dm: vybrid_gpio: Drop legacy code

2016-01-25 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

[U-Boot] [PATCHv2 6/8] arm: vf610-twr: Add device tree file's

2016-01-25 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] [PATCHv2 5/8] arm: vybrid: Drop enabling GPIO, UART and SPI in legacy mode

2016-01-25 Thread Bhuvanchandra DV
Remove the legacy way of enabling UART, GPIO and SPI 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] [PATCHv2 8/8] arm: vybrid: Update defconfig's

2016-01-25 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] [PATCHv2 7/8] arm: pcm052: Add device tree file's

2016-01-25 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] U-Boot as a next bootloader in a chain - reading the kernel boot args provided by the previous stage bootlader?

2016-01-25 Thread Wael Almattar
Hi, How do you suggest to implement such functionality? Do you want to make u-boot able to modify kernel args which has been sent by start.elf? or you want during u-boot stage to press a hotkey which give you the opportunity to edit previous bootargs? Please explain how do you expect u-boot to be

[U-Boot] [PATCH]: net: Wrong Initialization in davinci-emac driver

2016-01-25 Thread Vishwas Srivastava
Author: Vishwas Srivastava Date: Mon Jan 25 21:28:17 2016 +0530 Wrong Initialization in davinci emac driver emac module of the davinci platform supports only 8 tx and 8 rx channels (total 16). emac driver for davinci platform, however, while doing initialization of the dma desc

Re: [U-Boot] [PATCH] pci: restore initialization for DM_PCI

2016-01-25 Thread Stephen Warren
On 01/22/2016 03:00 PM, Simon Glass wrote: Hi Stephen, On 22 January 2016 at 14:58, Stephen Warren wrote: On 01/22/2016 02:50 PM, Simon Glass wrote: Hi Stephen, On 22 January 2016 at 14:48, Stephen Warren wrote: On 01/22/2016 01:32 PM, Simon Glass wrote: Hi Stephen, On 22 January 201

[U-Boot] [PATCHv2 1/8] arm: vybrid: Enable lpuart support

2016-01-25 Thread Bhuvanchandra DV
- Add device tree node's for lpuart on Vybrid platform - Update the license string. Signed-off-by: Bhuvanchandra DV --- arch/arm/dts/vf.dtsi | 47 +- arch/arm/dts/vf500-colibri.dts | 5 - arch/arm/dts/vf610-colibri.dts | 5 - 3 files ch

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

2016-01-25 Thread Bhuvanchandra DV
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 support. - Reordered defconfig's using defconfig via savedefconfig. - Use one patch to update all Vybrid based board

Re: [U-Boot] [Patch V3 2/3] fm: fdt: Move fman ucode fixup to Fman driver code

2016-01-25 Thread Scott Wood
On Mon, 2016-01-25 at 19:37 +0800, Gong Qianyu wrote: > Both Freescale Layerscape and powerpc/mpc85xx platforms are using > fdt_fixup_fman_firmware() to insert Fman ucode blob into the device > tree. So move the function to driver code. > > Signed-off-by: Gong Qianyu > --- > V3: > - Remove file

Re: [U-Boot] [PATCH 1/7] driver: net: fsl-mc: Add version check for MC objects

2016-01-25 Thread york sun
On 12/24/2015 02:02 AM, Prabhakar Kushwaha wrote: > Check and compare version of management complex's object with the version > supported by Freescale ldpaa2 ethernet driver. > > Signed-off-by: Prabhakar Kushwaha > --- > drivers/net/fsl-mc/mc.c | 51 >

Re: [U-Boot] [PATCH 5/7] driver: net: ldpaa: Increase num of buffers for a pool

2016-01-25 Thread york sun
On 12/24/2015 02:03 AM, Prabhakar Kushwaha wrote: > Management Complex FW 9.0 set the hardware depletion to be 20 buffers > in order to support multiple pools in DPNI. This requires driver to fill > the pool with at least 21 to be able to receive frames. > > So, Increase number of buffers for a po

Re: [U-Boot] [PATCHv2 2/8] arm: colibri-vf: Enable serial support

2016-01-25 Thread Stefan Agner
On 2016-01-25 09:03, Bhuvanchandra DV wrote: > - Enable lpuart support on Toradex Colibri VF50/VF61 > - Use UART0 for stdout. Compared to the previous commit, I would say here it is fine, since those two changes are really connected. Acked-by: Stefan Agner -- Stefan > > Signed-off-by: Bhuvanc

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

2016-01-25 Thread Stefan Agner
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 (bisectability...) I would recommend to first mo

Re: [U-Boot] [PATCH v4 5/6] rockchip: kylin: Enable boot with android boot image

2016-01-25 Thread Tom Rini
On Fri, Jan 15, 2016 at 10:20:43AM +0800, Jeffy Chen wrote: > Hi Tom, > > On 2016-1-15 8:59, Tom Rini wrote: > >On Fri, Jan 15, 2016 at 08:53:06AM +0800, Jeffy Chen wrote: > >>Hi Tom, > >> > >>On 2016-1-15 0:22, Tom Rini wrote: > >>>On Thu, Jan 14, 2016 at 10:31:34AM +0800, Jeffy Chen wrote: > >>>

[U-Boot] [PATCH] .travis.yml: rework according to new travis-ci infra

2016-01-25 Thread Roger Meier
- install using addons.apt - remove MAKEALL - split mpc85xx boards - remove TEST_CONFIG_CMD, just info - fetch mips toolchain via buildman - remove --list-error-boards param - conditional script - use TOOLCHAIN instead of INSTALL_TOOLCHAIN - add aarch64 - enable notifications via email Signed-off-

Re: [U-Boot] [PATCH][v2] powerpc: mpc85xx: Move set_liodns, setup_portals to common boot seq

2016-01-25 Thread york sun
On 01/22/2016 01:05 AM, Prabhakar Kushwaha wrote: > Users migrating Freescale's PowerPC SoC U-Boot code to their custom > board, often overlook the need to execute set_liodns() and > setup_portals() being called by platform files. > > So Move set_liodns() and setup_portals() to common u-boot boot

[U-Boot] [PATCH 0/7] fdt: Replace u-boot-dtb.bin with u-boot.bin

2016-01-25 Thread Simon Glass
At present u-boot.bin holds the plain U-Boot binary without the device tree. This is somewhat annoying since you need either u-boot.bin or u-boot-dtb.bin depending on whether device tree is used. This series adjusts the build such that u-boot.bin includes a device tree, and the plain binary is in

[U-Boot] [PATCH 3/7] fdt: Build an SPL binary without device tree

2016-01-25 Thread Simon Glass
At present u-boot-spl.bin holds the plain SPL binary without the device tree. This is somewhat annoying since you need either u-boot-spl.bin or u-boot-spl-dtb.bin depending on whether device tree is used. Adjust the build such that u-boot-spl.bin includes a device tree, and the plain binary is in

[U-Boot] [PATCH 4/7] tegra: Always build a boot image with the same filename

2016-01-25 Thread Simon Glass
Adjust the Makefile to build u-boot-tegra.bin which contains a device tree if OF_CONTROL is enabled, and does not if not. This mirrors U-Boot's new approach of using u-boot.bin to handle both cases. Signed-off-by: Simon Glass --- Makefile | 12 +--- 1 file changed, 5 insertions(+), 7 de

[U-Boot] [PATCH 5/7] socfpga: Simplify Makefile filenames

2016-01-25 Thread Simon Glass
We don't need the -dtb suffix anymore, so drop it. Signed-off-by: Simon Glass --- Makefile | 10 +- scripts/Makefile.spl | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index fa55c71..66e96cb 100644 --- a/Makefile +++ b/Makefil

[U-Boot] [PATCH 7/7] Makefile: Drop unnecessary -dtb suffixes

2016-01-25 Thread Simon Glass
When OF_CONTROL is enabled, u-boot-dtb.* files are the same as u-boot.* files. So we can use the latter for simplicity. Signed-off-by: Simon Glass --- Makefile | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index d432000..c15a5ac 100644 ---

[U-Boot] [PATCH 1/7] tegra: Drop generation of -nodtb file with OF_CONTROL

2016-01-25 Thread Simon Glass
It seems clear that the intent is to generate u-boot-nodtb-tegra.bin only when OF_CONTROL is not set. But due to the way the rules are set up, this file is always generated. Fix this. Signed-off-by: Simon Glass --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 6/7] Makefile: Make u-boot.img the same as u-boot-dtb.img

2016-01-25 Thread Simon Glass
When OF_CONTROL is enabled, u-boot.img has no purpose since it does not include the required device tree binary. The correct image to use is u-boot-dtb.img with OF_CONTROL but u-boot.img without OF_CONTROL. Create u-boot.img even when OF_CONTROL is enabled, so that this file can be used in both ca

Re: [U-Boot] [PATCH 2/2 v2] x86: BayTrail: Add option to disable the internal UART to setup_early_uart()

2016-01-25 Thread Simon Glass
On 24 January 2016 at 19:50, Bin Meng wrote: > Hi Simon, > > On Tue, Jan 19, 2016 at 9:24 PM, Stefan Roese wrote: >> This patch adds a parameter to the function setup_early_uart() to either >> enable or disable the internal BayTrail legacy UART. Since the name >> setup_early_uart() does not match

[U-Boot] [PATCH 2/7] fdt: Build a U-Boot binary without device tree

2016-01-25 Thread Simon Glass
At present u-boot.bin holds the plain U-Boot binary without the device tree. This is somewhat annoying since you need either u-boot.bin or u-boot-dtb.bin depending on whether device tree is used. Adjust the build such that u-boot.bin includes a device tree, and the plain binary is in u-boot-nodtb.

Re: [U-Boot] [PATCH 2/2 v3] board/t4240rdb: VID support

2016-01-25 Thread york sun
On 01/21/2016 09:48 PM, ying.zh...@freescale.com wrote: > From: Ying Zhang > > The fuse status register provides the values from on-chip > voltage ID efuses programmed at the factory. > These values define the voltage requirements for > the chip. u-boot reads FUSESR and translates the values > in

Re: [U-Boot] [PATCH][v2] arch/powperpc: Fix start_align due to use of __ffs64() instead ffs64()

2016-01-25 Thread york sun
On 01/22/2016 02:20 AM, Ashish Kumar wrote: > Return value of ffs64() different to that of __ffs64(), > ffs64(0x8000) = 0x20 > __ffs64(0x8000) = 0x1f, >as result of this change -1 from start_align needs to be removed. > Incorrect DDR law was created in case of B4860qds > > Si

[U-Boot] Please pull u-boot-mpc85xx master

2016-01-25 Thread york sun
Tom, The following changes since commit 12f229ea8f6c8e20f8fd07906eafc853c4c354a9: Merge git://git.denx.de/u-boot-fdt (2016-01-22 17:01:22 -0500) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git master for you to fetch changes up to 2f66a828f7621958b6925fc763380

Re: [U-Boot] [PATCH 5/7] socfpga: Simplify Makefile filenames

2016-01-25 Thread Marek Vasut
On Monday, January 25, 2016 at 09:30:29 PM, Simon Glass wrote: > We don't need the -dtb suffix anymore, so drop it. > > Signed-off-by: Simon Glass > --- You should also fix the MCV: $ git grep u-boot-with-spl-dtb.sfp ... include/configs/socfpga_mcvevk.h: "update_filename=u-boot-with-spl-dtb.sf

Re: [U-Boot] [PATCH 1/2 v3] VID: support IR chip is used in Intel mode

2016-01-25 Thread york sun
On 01/21/2016 09:48 PM, ying.zh...@freescale.com wrote: > From: Ying Zhang > > IR chip on all the boards support VID are required to be > used in Intel mode. > the VDD will not be adjusted while IR chip is not used in > Intel mode. > > Signed-off-by: Ying Zhang > --- > Changed from v2: > -

Re: [U-Boot] [PATCH REPOST] checkpatch: ignore request to use ether_addr_copy()

2016-01-25 Thread Marek Vasut
On Monday, January 25, 2016 at 05:48:00 PM, Stephen Warren wrote: > From: Stephen Warren > > The Linux kernel, from which checkpatch originates, contains function > ether_addr_copy() to copy Ethernet MAC addresses, and checkpatch warns > that it should be used in preference to memcpy() where appr

Re: [U-Boot] [PATCH v3] usb: add clock support for generic EHCI

2016-01-25 Thread Marek Vasut
On Monday, January 25, 2016 at 07:00:36 AM, Masahiro Yamada wrote: > This driver is designed in a generic manner, so clocks should be > handled genericly as well. > > Signed-off-by: Masahiro Yamada Applied, thanks! Best regards, Marek Vasut ___ U-Boot

Re: [U-Boot] [PATCH] usb: xhci: Fix vendor command error if the request type is USB_REQ_SET_ADDRESS or USB_REQ_SET_CONFIGURATION.

2016-01-25 Thread Marek Vasut
On Monday, January 25, 2016 at 12:11:59 PM, Ted wrote: > Hi Marek, Hi Ted, > > -Original Message- > > From: Marek Vasut [mailto:ma...@denx.de] > > Sent: Thursday, November 26, 2015 9:25 AM > > To: Ted > > Cc: swar...@nvidia.com; u-boot@lists.denx.de; > > linux.am...@gmail.com; Hans de Goe

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

2016-01-25 Thread Stephen Warren
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 that the allocation // tak

Re: [U-Boot] [PATCH][v2] arch/powperpc: Fix start_align due to use of __ffs64() instead ffs64()

2016-01-25 Thread york sun
On 01/22/2016 02:20 AM, Ashish Kumar wrote: > Return value of ffs64() different to that of __ffs64(), > ffs64(0x8000) = 0x20 > __ffs64(0x8000) = 0x1f, >as result of this change -1 from start_align needs to be removed. > Incorrect DDR law was created in case of B4860qds > > Si

Re: [U-Boot] [PATCH 1/7] tegra: Drop generation of -nodtb file with OF_CONTROL

2016-01-25 Thread Stephen Warren
On 01/25/2016 01:30 PM, Simon Glass wrote: It seems clear that the intent is to generate u-boot-nodtb-tegra.bin only when OF_CONTROL is not set. But due to the way the rules are set up, this file is always generated. Fix this. Nak, this file is used by our flashing tools, so needs to be kept ar

[U-Boot] [PATCH] usb: kbd: Prevent out of bound access

2016-01-25 Thread Marek Vasut
Scan code 0x39 is CapsLock, which is not a printable character and thus is not covered by either usb_kbd_numkey_shifted[] or usb_kbd_numkey[]. Fix the scan code check to avoid looking it up in either of the arrays. Signed-off-by: Marek Vasut --- common/usb_kbd.c | 2 +- 1 file changed, 1 inserti

Re: [U-Boot] [PATCH 2/7] fdt: Build a U-Boot binary without device tree

2016-01-25 Thread Stephen Warren
On 01/25/2016 01:30 PM, Simon Glass wrote: At present u-boot.bin holds the plain U-Boot binary without the device tree. This is somewhat annoying since you need either u-boot.bin or u-boot-dtb.bin depending on whether device tree is used. Adjust the build such that u-boot.bin includes a device t

Re: [U-Boot] [PATCH 1/7] tegra: Drop generation of -nodtb file with OF_CONTROL

2016-01-25 Thread Simon Glass
Hi Stephen, On 25 January 2016 at 14:08, Stephen Warren wrote: > > On 01/25/2016 01:30 PM, Simon Glass wrote: >> >> It seems clear that the intent is to generate u-boot-nodtb-tegra.bin only >> when OF_CONTROL is not set. But due to the way the rules are set up, this >> file is always generated. F

Re: [U-Boot] [PATCH 5/7] socfpga: Simplify Makefile filenames

2016-01-25 Thread Simon Glass
Hi Marek, On 25 January 2016 at 13:43, Marek Vasut wrote: > On Monday, January 25, 2016 at 09:30:29 PM, Simon Glass wrote: >> We don't need the -dtb suffix anymore, so drop it. >> >> Signed-off-by: Simon Glass >> --- > > You should also fix the MCV: > > $ git grep u-boot-with-spl-dtb.sfp > ... >

Re: [U-Boot] [PATCH 2/7] fdt: Build a U-Boot binary without device tree

2016-01-25 Thread Simon Glass
Hi Stephen, On 25 January 2016 at 14:14, Stephen Warren wrote: > On 01/25/2016 01:30 PM, Simon Glass wrote: >> >> At present u-boot.bin holds the plain U-Boot binary without the device >> tree. >> This is somewhat annoying since you need either u-boot.bin or >> u-boot-dtb.bin >> depending on whet

Re: [U-Boot] [PATCH 4/7] tegra: Always build a boot image with the same filename

2016-01-25 Thread Stephen Warren
On 01/25/2016 01:30 PM, Simon Glass wrote: Adjust the Makefile to build u-boot-tegra.bin which contains a device tree if OF_CONTROL is enabled, and does not if not. This mirrors U-Boot's new approach of using u-boot.bin to handle both cases. For Tegra, we need: u-boot-nodtb-tegra.bin Required

Re: [U-Boot] [PATCH] arm: cache: Implement cache range check for v7

2016-01-25 Thread Albert ARIBAUD
Hello Tom, On Mon, 25 Jan 2016 11:04:59 -0500, Tom Rini wrote: > On Sun, Jan 24, 2016 at 06:28:12PM +0100, Marek Vasut wrote: > > On Monday, December 28, 2015 at 04:23:46 PM, Marek Vasut wrote: > > > On Friday, December 11, 2015 at 05:36:15 AM, Marek Vasut wrote: > > > > On Tuesday, December 01,

Re: [U-Boot] [PATCH 4/7] tegra: Always build a boot image with the same filename

2016-01-25 Thread Simon Glass
Hi Stephen, On 25 January 2016 at 14:20, Stephen Warren wrote: > On 01/25/2016 01:30 PM, Simon Glass wrote: >> >> Adjust the Makefile to build u-boot-tegra.bin which contains a device tree >> if OF_CONTROL is enabled, and does not if not. This mirrors U-Boot's new >> approach of using u-boot.bin

Re: [U-Boot] [PATCH 1/7] tegra: Drop generation of -nodtb file with OF_CONTROL

2016-01-25 Thread Stephen Warren
On 01/25/2016 02:18 PM, Simon Glass wrote: Hi Stephen, On 25 January 2016 at 14:08, Stephen Warren wrote: On 01/25/2016 01:30 PM, Simon Glass wrote: It seems clear that the intent is to generate u-boot-nodtb-tegra.bin only when OF_CONTROL is not set. But due to the way the rules are set up,

Re: [U-Boot] [U-Boot, 1/2] checkpatch: ignore request to use ether_addr_copy()

2016-01-25 Thread Tom Rini
On Fri, Nov 13, 2015 at 09:03:00AM -0700, Stephen Warren wrote: > From: Stephen Warren > > The Linux kernel, from which checkpatch originates, contains function > ether_addr_copy() to copy Ethernet MAC addresses, and checkpatch warns > that it should be used in preference to memcpy() where appro

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

2016-01-25 Thread Tom Rini
On Mon, Jan 25, 2016 at 03:07:33PM +0100, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > The following changes since commit 12f229ea8f6c8e20f8fd07906eafc853c4c354a9: > > Merge git://git.denx.de/u-boot-fdt (2016-01-22 17:01:22 -0500) > > are available in the git

Re: [U-Boot] [U-Boot, v2, 2/2] ns16550: zap the rockchip serial compatible string

2016-01-25 Thread Tom Rini
On Mon, Dec 14, 2015 at 08:45:09PM +0800, Thomas Chou wrote: > Zap the rockchip serial compatible string, because rockchip > serial has "snps,dw-apb-uart" compatible string in the dts. > > Signed-off-by: Thomas Chou > Acked-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature

Re: [U-Boot] [U-Boot, v2, 1/2] ns16550: replace with binding files from Linux kernel

2016-01-25 Thread Tom Rini
On Mon, Dec 14, 2015 at 08:45:08PM +0800, Thomas Chou wrote: > Replace ns16550.txt with binding files from Linux kernel. As suggested > by Stephen Warren, we should keep the directory structure, filenames, > and file content identical to the bindings in the Linux kernel. > > Signed-off-by: Thomas

Re: [U-Boot] [U-Boot, 2/2] Remove the cmd_ prefix from command files

2016-01-25 Thread Tom Rini
On Sun, Jan 17, 2016 at 08:53:52PM -0700, Simon Glass wrote: > Now that they are in their own directory, we can remove this prefix. > This makes it easier to find a file since the prefix does not get in the > way. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > Reviewed-by: Heiko Schoc

Re: [U-Boot] [U-Boot, 1/2] Move all command code into its own directory

2016-01-25 Thread Tom Rini
On Sun, Jan 17, 2016 at 08:53:51PM -0700, Simon Glass wrote: > There are a lot of unrelated files in common, including all of the commands. > Moving them into their own directory makes them easier to find and is more > logical. > > Some commands include non-command code, such as cmd_scsi.c. This

Re: [U-Boot] [U-Boot, 2/2] arm, powerpc: Update cc-version tests to check for cc-name as well

2016-01-25 Thread Tom Rini
On Tue, Jan 19, 2016 at 08:39:02PM -0500, Tom Rini wrote: > For compatibility clang will report some gcc version. However since we > are checking gcc versions in order to then fail to build, we should > limit these tests only to when we are using gcc and not clang. > > Signed-off-by: Tom Rini

Re: [U-Boot] bootm: fix size arg of flush_cache() in bootm_load_os().

2016-01-25 Thread Tom Rini
On Wed, Jan 20, 2016 at 02:07:39PM +0530, Purna Chandra Mandal wrote: > Variable _load_end_ points to end address of uncompressed buffer > (*not* uncomress_buffer_end / sizeof(ulong)), so multipling uncompressed > size with sizeof(ulong) is grossly incorrect in flush_cache(). > It might lead to ac

Re: [U-Boot] [U-Boot,1/2] kbuild: Add clang detection

2016-01-25 Thread Tom Rini
On Tue, Jan 19, 2016 at 08:39:01PM -0500, Tom Rini wrote: > Adapted from: > > >From 5631d9c429857194bd55d7bcd8fa5bdd1a9899a3 Mon Sep 17 00:00:00 2001 > From: Michal Marek > Date: Wed, 19 Aug 2015 17:36:41 +0200 > Subject: [PATCH 1/1] kbuild: Fix clang detection > > We cannot detect clang before

Re: [U-Boot] part: Drop duplication declaration of block_dev_desc_t

2016-01-25 Thread Tom Rini
On Wed, Jan 20, 2016 at 08:12:07PM -0700, Simon Glass wrote: > This is already defined in ide.h, which part.h includes. So we don't need > the duplicate typedef. At least with my old blackfin gcc 4.3.5 tool chain, > this causes an error. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng >

Re: [U-Boot] OMAP: Define CONFIG_OMAP3_GPIO_6 on omap3_logic

2016-01-25 Thread Tom Rini
On Fri, Jan 22, 2016 at 04:40:58AM -0600, Adam Ford wrote: > Since we are manipulating GPIO 189 to determine the board type, we > need to enable the GPIO Bank 6. > > Signed-off-by: Adam Ford > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, v2] common/console.c: Remove unused inline functions

2016-01-25 Thread Tom Rini
On Thu, Jan 21, 2016 at 09:10:26AM -0500, Tom Rini wrote: > clang-3.8 reports that these functions are unused, remove them. As this > is the last part of CONFIG_MODEM_SUPPORT_DEBUG, drop that from README. > > Reviewed-by: Bin Meng > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -

  1   2   >