[U-Boot] [PATCH] arm: socfpga: fix trivial header preprocessor for socfpga_common.h

2015-12-03 Thread dinguyen
From: Dinh Nguyen Replace__CONFIG_SOCFPGA_CYCLONE5_COMMON_H__ with __CONFIG_SOCFPGA_OMMON_H__ as the file is now called socfpga_common.h Signed-off-by: Dinh Nguyen --- include/configs/socfpga_common.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/soc

Re: [U-Boot] [PATCHv4 2/9] arm: socfpga: arria10: add system manager defines

2015-12-03 Thread Dinh Nguyen
On 12/02/2015 08:42 PM, Marek Vasut wrote: > On Wednesday, December 02, 2015 at 08:31:26 PM, > dingu...@opensource.altera.com > wrote: >> From: Dinh Nguyen >> >> Add system manager defines for Arria10. >> >> Signed-off-by: Dinh Nguyen >> --- >> v4: none >> v3: combine system_manager_a10.h into

[U-Boot] [PATCH] driver: net: fsl-mc: remove MC firmware version check

2015-12-03 Thread Stuart Yoder
The MC version numbers provide no meaningful information about binary interface compatibility, so remove the check which refuses to start the MC unless a specific version is found. Version checking is supposed to be done at the individual object level, and individual drivers are responsible for th

[U-Boot] [PATCH] mkimage : Fix generating multi and script images

2015-12-03 Thread Philippe De Swert
Seems 92a655c3 broke creating multi and script type images. Since the file1:file2:file3 string does not get split up, it fails on trying to open an non-existing file. mkimage -A arm -O linux -T multi -C none -d zImage:splash.bmp:device.dtb uimage tools/mkimage: Can't open zImage:splash.bmp:device

Re: [U-Boot] [U-Boot,v3,09/13] ns16550: unify serial_tegra

2015-12-03 Thread Stephen Warren
On 12/03/2015 02:43 PM, Simon Glass wrote: Hi Stephen, On 3 December 2015 at 14:33, Stephen Warren wrote: On 11/22/2015 08:53 AM, Tom Rini wrote: On Thu, Nov 19, 2015 at 09:48:11PM +0800, Thomas Chou wrote: Unify serial_tegra, and use the generic binding. Signed-off-by: Thomas Chou Revie

Re: [U-Boot] [PATCHv4 2/9] arm: socfpga: arria10: add system manager defines

2015-12-03 Thread Marek Vasut
On Thursday, December 03, 2015 at 11:08:59 PM, Dinh Nguyen wrote: > On 12/02/2015 08:42 PM, Marek Vasut wrote: > > On Wednesday, December 02, 2015 at 08:31:26 PM, > > dingu...@opensource.altera.com > > > > wrote: > >> From: Dinh Nguyen > >> > >> Add system manager defines for Arria10. > >> > >>

[U-Boot] [PATCH] ARMv7l: fix MAX_TFTP_PATH_LEN size for nixos compatibility

2015-12-03 Thread Joachim Schiele
hey, i've been using the master branch of u-boot on the odroid xu4 now! i had to write this patch in order to make it work with NIXOS. would be great if you could apply it. please review it, not 100% sure if it is correct. best wishes, joachim MAX_TFTP_PATH_LEN-increase.patch A patch to mak

Re: [U-Boot] [PATCH 2/2] arm: socfpga: add define for bootinfo bsel bit shift

2015-12-03 Thread Marek Vasut
On Thursday, December 03, 2015 at 09:07:18 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > On arria5/cyclone5 parts, the bsel bits are at shift 0, while for arria10, > the bsel bits are at shift 12. Add SYSMGR_BOOTINFO_BSEL_SHIFT define so > that the reading the bsel can generi

Re: [U-Boot] [PATCH] arm: socfpga: fix trivial header preprocessor for socfpga_common.h

2015-12-03 Thread Marek Vasut
On Thursday, December 03, 2015 at 11:05:59 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Replace__CONFIG_SOCFPGA_CYCLONE5_COMMON_H__ with > __CONFIG_SOCFPGA_OMMON_H__ as the file is now called socfpga_common.h COMMON, not OMMON ... please be more careful next time. > Signed

Re: [U-Boot] [PATCH] imx: mx7dsabresd: Add QSPI support

2015-12-03 Thread Peng Fan
Hi Jagan, On Thu, Dec 03, 2015 at 05:21:09PM +0530, Jagan Teki wrote: >On 30 November 2015 at 15:31, Stefano Babic wrote: >> On 30/11/2015 10:45, Peng Fan wrote: >>> Support qspi flashes for mx7dsabresd >>> 1. introduce pin mux settings >>> 2. enable qspi clock >>> 3. introduce related macro defin

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-12-03 Thread Huan Wang
> On Thursday 03 December 2015 09:49:40, Huan Wang wrote: > > [Alison Wang] I could not reproduce the issue. Maybe I don't have the > > external watchdog which will reset after ~1.5s as Alexander mentioned. > > Could you try to set the internal watchdog to 1s timeout? This should be > more or less

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-12-03 Thread Huan Wang
> On 12/03/2015 01:49 AM, Wang Huan-B18965 wrote: > > > > >> > >> The actual command which results in a watchdog reset is 'sf read > >> 0x8104 0x20 0x40'. Please note that this uses an external > >> watchdog which is enabled by default and resets after ~1.5s. The > >> command itself

[U-Boot] [PATCH 03/24] usb: s3c-otg: Rename struct s3c_usbotg_reg to dwc2_usbotg_reg

2015-12-03 Thread Marek Vasut
The driver is actually for the Designware DWC2 controller. This patch renames struct s3c_usbotg_reg to struct dwc2_usbotg_reg to make things more obvious and clear. Signed-off-by: Marek Vasut --- drivers/usb/gadget/s3c_udc_otg.c | 4 ++-- drivers/usb/gadget/s3c_udc_otg_regs.h | 2 +- 2 file

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

2015-12-03 Thread Marek Vasut
The driver is for the dwc2 otg block , so rename it accordingly finally. Marek Vasut (24): usb: s3c-otg: Rename regs-otg.h to s3c_udc_otg_regs.h usb: s3c-otg: Rename struct s3c_udc to dwc2_udc usb: s3c-otg: Rename struct s3c_usbotg_reg to dwc2_usbotg_reg usb: s3c-otg: Split private bits fr

[U-Boot] [PATCH 06/24] usb: s3c-otg: Rename struct s3c_dev_*_ep

2015-12-03 Thread Marek Vasut
The driver is actually for the Designware DWC2 controller. This patch renames struct s3c_dev_*_ep to reflect this. Signed-off-by: Marek Vasut --- drivers/usb/gadget/s3c_udc_otg_regs.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/gadget/s3c_udc_otg_regs.

[U-Boot] [PATCH 07/24] usb: s3c-otg: Rename struct s3c_ep

2015-12-03 Thread Marek Vasut
The driver is actually for the Designware DWC2 controller. This patch renames struct s3c_ep to reflect this. Signed-off-by: Marek Vasut --- drivers/usb/gadget/s3c_udc_otg.c | 38 drivers/usb/gadget/s3c_udc_otg_priv.h | 6 ++-- drivers/usb/gadget/s3c_udc_otg

[U-Boot] [PATCH 12/24] usb: s3c-otg: Rename s3c_ep_*() functions

2015-12-03 Thread Marek Vasut
The driver is actually for the Designware DWC2 controller. This patch renames the s3c_ep_*() functions to reflect this. Signed-off-by: Marek Vasut --- drivers/usb/gadget/s3c_udc_otg.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/usb/gadget/

[U-Boot] [PATCH 09/24] usb: s3c-otg: Staticize s3c_udc_ep_set_stall

2015-12-03 Thread Marek Vasut
This function is local to s3c_udc_otg_xfer_dma.c , staticize it. Signed-off-by: Marek Vasut --- drivers/usb/gadget/s3c_udc_otg_priv.h | 2 -- drivers/usb/gadget/s3c_udc_otg_xfer_dma.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/gadget/s3c_udc_otg_priv.h

[U-Boot] [PATCH 19/24] usb: s3c-otg: Rename remaining macros

2015-12-03 Thread Marek Vasut
The driver is actually for the Designware DWC2 controller. This patch renames the remaining S3C_* macros to match the DWC2 naming. Signed-off-by: Marek Vasut --- drivers/usb/gadget/dwc2_udc_otg.c | 14 +++--- drivers/usb/gadget/dwc2_udc_otg_priv.h | 6 +++--- drivers/usb/ga

[U-Boot] [PATCH 18/24] usb: s3c-otg: Rename sources to dwc2_*c

2015-12-03 Thread Marek Vasut
The driver is actually for the Designware DWC2 controller. This patch renames the local source files to dwc2_*c and adjusts the Makefile to use the new names. Signed-off-by: Marek Vasut --- drivers/usb/gadget/Makefile | 4 ++-- drivers/usb/gadget/{s3c_ud

[U-Boot] [PATCH 17/24] usb: s3c-otg: Rename local headers to dwc2_*h

2015-12-03 Thread Marek Vasut
The driver is actually for the Designware DWC2 controller. This patch renames the local header files to dwc2_*h and adjusts the sources to use the new names. Signed-off-by: Marek Vasut --- drivers/usb/gadget/bcm_udc_otg_phy.c | 2 +- drivers/usb/gadget/{s3c_udc_otg_priv

[U-Boot] [PATCH 21/24] usb: s3c-otg: Rename USB_GADGET_S3C_UDC_OTG* to USB_GADGET_DWC2_OTG*

2015-12-03 Thread Marek Vasut
The s3c-otg IP block is in fact a DWC2 OTG one, so finally rename the config option to make it less misleading. No functional change, just a mechanical change done using the following script: git grep USB_GADGET_S3C_UDC_OTG | cut -d : -f 1 | sort -u | \ while read line ; do sed -i "s/USB_G

[U-Boot] [PATCH 04/24] usb: s3c-otg: Split private bits from s3c_udc.h

2015-12-03 Thread Marek Vasut
Most of the functions are local to the s3c_udc driver, remove them from the s3c_udc.h header to stop those bits from propagating all over the place. Instead, move all the private stuff into new private s3c_udc_otg_priv.h header. Signed-off-by: Marek Vasut --- drivers/usb/gadget/bcm_udc_otg_phy.c

[U-Boot] [PATCH 05/24] usb: s3c-otg: Rename struct s3c_usbotg_phy to dwc2_usbotg_phy

2015-12-03 Thread Marek Vasut
The driver is actually for the Designware DWC2 controller. This patch renames struct s3c_usbotg_phy to struct dwc2_usbotg_phy to make things more obvious and clear. Signed-off-by: Marek Vasut --- drivers/usb/gadget/s3c_udc_otg_phy.c | 8 drivers/usb/gadget/s3c_udc_otg_regs.h | 2 +- 2

[U-Boot] [PATCH 13/24] usb: s3c-otg: Rename s3c_udc_*() functions

2015-12-03 Thread Marek Vasut
The driver is actually for the Designware DWC2 controller. This patch renames the s3c_ep_*() functions to reflect this. The function s3c_udc_probe() is a special case and is not renamed by this patch yet. Signed-off-by: Marek Vasut --- drivers/usb/gadget/s3c_udc_otg.c | 18 dri

[U-Boot] [PATCH 23/24] usb: s3c-otg: Rename s3c_udc_probe() function

2015-12-03 Thread Marek Vasut
The driver is actually for the Designware DWC2 controller. This patch is the second and final to rename global symbol, the s3c_udc_probe() function. The rename is done automatically: $ sed -i "s/s3c_udc_probe/dwc2_udc_probe/g" \ `git grep s3c_udc_probe | cut -d : -f 1` Sig

[U-Boot] [PATCH 20/24] usb: s3c-otg: Tweak the comments

2015-12-03 Thread Marek Vasut
The driver is actually for the Designware DWC2 controller. Tweak the comments in the driver to reflect this fact. Signed-off-by: Marek Vasut --- drivers/usb/gadget/dwc2_udc_otg.c | 2 +- drivers/usb/gadget/dwc2_udc_otg_phy.c | 2 +- drivers/usb/gadget/dwc2_udc_otg_priv.h | 2 +-

[U-Boot] [PATCH 24/24] usb: s3c-otg: Rename usb/s3c_udc.h to usb/dwc2_udc.h

2015-12-03 Thread Marek Vasut
The driver is actually for the Designware DWC2 controller. This patch renames the global s3c_udc.h header to dwc2_udc.h. The rename is done automatically: $ sed -i "s/s3c_udc\.h/dwc2_udc.h/g" \ `git grep "s3c_udc\.h" | cut -d : -f 1` Signed-off-by: Marek Vasut --- board/

[U-Boot] [PATCH 08/24] usb: s3c-otg: Rename struct s3c_request

2015-12-03 Thread Marek Vasut
The driver is actually for the Designware DWC2 controller. This patch renames struct s3c_request to reflect this. Signed-off-by: Marek Vasut --- drivers/usb/gadget/s3c_udc_otg.c | 18 drivers/usb/gadget/s3c_udc_otg_priv.h | 2 +- drivers/usb/gadget/s3c_udc_otg_xfer

[U-Boot] [PATCH 22/24] usb: s3c-otg: Rename struct s3c_plat_otg_data

2015-12-03 Thread Marek Vasut
The driver is actually for the Designware DWC2 controller. This patch is the first to rename global symbol, the struct s3c_plat_otg_data. The rename is done automatically: $ sed -i "s/s3c_plat_otg_data/dwc2_plat_otg_data/g" \ `git grep s3c_plat_otg_data | cut -d : -f 1` Si

[U-Boot] [PATCH 16/24] usb: s3c-otg: Change the driver name to dwc2-udc

2015-12-03 Thread Marek Vasut
Just change the driver name. Signed-off-by: Marek Vasut --- drivers/usb/gadget/s3c_udc_otg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/s3c_udc_otg.c b/drivers/usb/gadget/s3c_udc_otg.c index a960eff..9cb6849 100644 --- a/drivers/usb/gadget/s3c_ud

[U-Boot] [PATCH 11/24] usb: s3c-otg: Rename s3c_ep0_*() functions

2015-12-03 Thread Marek Vasut
The driver is actually for the Designware DWC2 controller. This patch renames the s3c_ep0_*() functions to reflect this. Signed-off-by: Marek Vasut --- drivers/usb/gadget/s3c_udc_otg.c | 6 +++--- drivers/usb/gadget/s3c_udc_otg_xfer_dma.c | 22 +++--- 2 files changed, 1

[U-Boot] [PATCH 14/24] usb: s3c-otg: Rename remaining local s3c_*() functions

2015-12-03 Thread Marek Vasut
The driver is actually for the Designware DWC2 controller. This patch renames the remaining local s3c_*() functions to reflect this. Signed-off-by: Marek Vasut --- drivers/usb/gadget/s3c_udc_otg.c | 36 +++ drivers/usb/gadget/s3c_udc_otg_xfer_dma.c | 10 -

[U-Boot] [PATCH 15/24] usb: s3c-otg: Zap useless externs

2015-12-03 Thread Marek Vasut
The extern statements are useless, remove them. Also remove the extern ... controller, which is completely useless. Signed-off-by: Marek Vasut --- drivers/usb/gadget/s3c_udc_otg_priv.h | 6 ++ include/usb/s3c_udc.h | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) dif

[U-Boot] [PATCH 10/24] usb: s3c-otg: Staticize functions in s3c_udc_otg_xfer_dma.c

2015-12-03 Thread Marek Vasut
Just staticize the functions, they are not used outside of the file. Signed-off-by: Marek Vasut --- drivers/usb/gadget/s3c_udc_otg_xfer_dma.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/usb/gadget/s3c_udc_otg_xfer_dma.c b/drivers/usb/gadget/s3c_udc

[U-Boot] [PATCH 01/24] usb: s3c-otg: Rename regs-otg.h to s3c_udc_otg_regs.h

2015-12-03 Thread Marek Vasut
Rename the header file, so it's obvious which driver it's part of. No functional change. Signed-off-by: Marek Vasut --- drivers/usb/gadget/s3c_udc_otg.c | 2 +- drivers/usb/gadget/s3c_udc_otg_phy.c | 2 +- drivers/usb/gadget/{regs-otg.h => s3c_udc_otg_regs.h

[U-Boot] [PATCH 02/24] usb: s3c-otg: Rename struct s3c_udc to dwc2_udc

2015-12-03 Thread Marek Vasut
The driver is actually for the Designware DWC2 controller. This patch renames struct s3c_udc to struct dwc2_udc to make things more obvious and clear. Signed-off-by: Marek Vasut --- drivers/usb/gadget/bcm_udc_otg_phy.c | 4 +-- drivers/usb/gadget/s3c_udc_otg.c | 46 +++

Re: [U-Boot] [PATCH v5] arm: Add sata support on Layerscape ARMv8 board

2015-12-03 Thread Yuantian Tang
Hi York, Please see my explanation inline. > -Original Message- > From: York Sun [mailto:york...@freescale.com] > Sent: Friday, December 04, 2015 12:27 AM > To: Tang Yuantian-B29983 > Cc: u-boot@lists.denx.de; si...@writeme.com > Subject: Re: [PATCH v5] arm: Add sata support on Layerscap

Re: [U-Boot] [PATCH] imx: mx7dsabresd: Add QSPI support

2015-12-03 Thread Jagan Teki
On 4 December 2015 at 06:41, Peng Fan wrote: > Hi Jagan, > On Thu, Dec 03, 2015 at 05:21:09PM +0530, Jagan Teki wrote: >>On 30 November 2015 at 15:31, Stefano Babic wrote: >>> On 30/11/2015 10:45, Peng Fan wrote: Support qspi flashes for mx7dsabresd 1. introduce pin mux settings 2.

Re: [U-Boot] [PATCH] spi: ti_qspi: Use 4-byte opcode for mmap read

2015-12-03 Thread Vignesh R
On 12/03/2015 05:55 PM, Jagan Teki wrote: > On Thursday 03 December 2015 05:51 PM, Vignesh R wrote: >> >> >> On 12/03/2015 05:25 PM, Jagan Teki wrote: >>> On 23 November 2015 at 17:43, Vignesh R wrote: ti-qspi driver currently uses 3-byte addressing mode(and opcodes) for memory-mapped

Re: [U-Boot] [linux-sunxi] [PATCH 1/2] sunxi: twi: enable clocks on sun7i

2015-12-03 Thread Julian Calaby
Hi Oliver, On Fri, Dec 4, 2015 at 9:57 AM, Julian Calaby wrote: > Hi Oliver, > > On Fri, Dec 4, 2015 at 3:49 AM, Olliver Schinagl wrote: >> From: Olliver Schinagl >> >> Commit 6c739c5d added code to enable i2c bus 4 and 5 on the sun7i SoC >> but forgot to enable the clocks for these 2 i2c busse

Re: [U-Boot] [linux-sunxi] [PATCH 1/2] sunxi: twi: enable clocks on sun7i

2015-12-03 Thread Julian Calaby
Hi Oliver, On Fri, Dec 4, 2015 at 3:49 AM, Olliver Schinagl wrote: > From: Olliver Schinagl > > Commit 6c739c5d added code to enable i2c bus 4 and 5 on the sun7i SoC > but forgot to enable the clocks for these 2 i2c busses. > > This patch enables the clocks for i2c bus 4 and 5 on sun7i. > > Sign

[U-Boot] [PATCH] net: fm: disables unused FM1-DTSEC1 MAC node in DTS

2015-12-03 Thread shh.xie
From: Shaohui Xie We don't disable unused FM1-DTSEC1 MAC node in FMAN v2 since its used for MDIO, in FMAN v3, MDIO uses dedicated controller, so we can disable the unused FM1-DTSEC1 MAC node to avoid it's being probed in kernel. Signed-off-by: Shaohui Xie --- drivers/net/fm/init.c | 4 1

Re: [U-Boot] [PATCH v3] dm: core: Enable optional use of fdt_translate_address()

2015-12-03 Thread Bin Meng
Hi Stefan, On Thu, Dec 3, 2015 at 10:12 PM, Stefan Roese wrote: > Hi Bin, > > > On 03.12.2015 14:34, Bin Meng wrote: >> >> Hi Stefan, Simon, >> >> On Mon, Oct 19, 2015 at 7:16 AM, Simon Glass wrote: >>> >>> On 29 September 2015 at 23:00, Stefan Roese wrote: The current "simple" addres

Re: [U-Boot] [PATCH v3] dm: core: Enable optional use of fdt_translate_address()

2015-12-03 Thread Bin Meng
Hi, On Fri, Dec 4, 2015 at 1:31 PM, Bin Meng wrote: > Hi Stefan, > > On Thu, Dec 3, 2015 at 10:12 PM, Stefan Roese wrote: >> Hi Bin, >> >> >> On 03.12.2015 14:34, Bin Meng wrote: >>> >>> Hi Stefan, Simon, >>> >>> On Mon, Oct 19, 2015 at 7:16 AM, Simon Glass wrote: On 29 September 2015

Re: [U-Boot] [PATCH v3 12/14] net: gem: Move driver to DM

2015-12-03 Thread Bin Meng
On Thu, Dec 3, 2015 at 10:48 PM, Michal Simek wrote: > - Enable DM_ETH by default for Zynq and ZynqMP > - Remove board_eth_init code > - Change miiphy_read function to return value instead of error code > based on DM requirement > - Do not enable EMIO DT support by default > > Signed-off-by: Mic

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-03 Thread Stefan Roese
Hi Simon, On 03.12.2015 18:21, Simon Glass wrote: > Hi Stefan, > > On 3 December 2015 at 04:31, Stefan Roese wrote: >> >> Hi Simon, >> >> On 02.12.2015 18:45, Simon Glass wrote: >>> Hi Stefan, >>> >>> On 2 December 2015 at 10:43, Stefan Roese wrote: Hi Simon, ( Last mail for toni

Re: [U-Boot] [PATCH v3 02/14] ARM: zynq: Remove CONFIG_API

2015-12-03 Thread Michal Simek
On 3.12.2015 17:09, Jagan Teki wrote: > On 3 December 2015 at 20:17, Michal Simek wrote: >> CONFIG_API is causing compilation error when DM_ETH is enabled because >> eth_get_dev() is not available. > > Then how come, freebsd elf generate w/o CONFIG_API? missing DM support there. Thanks, Michal

Re: [U-Boot] [PATCH v3] dm: core: Enable optional use of fdt_translate_address()

2015-12-03 Thread Stefan Roese
Hi Bin, On 04.12.2015 07:17, Bin Meng wrote: Hi, On Fri, Dec 4, 2015 at 1:31 PM, Bin Meng wrote: Hi Stefan, On Thu, Dec 3, 2015 at 10:12 PM, Stefan Roese wrote: Hi Bin, On 03.12.2015 14:34, Bin Meng wrote: Hi Stefan, Simon, On Mon, Oct 19, 2015 at 7:16 AM, Simon Glass wrote: On 29

<    1   2