Re: [U-Boot] [PATCH] powerpc, mpc5xxx: fix missing bootflag init

2016-01-08 Thread Heiko Schocher
Hello Wolfgang, York, Am 07.01.2016 um 20:30 schrieb Wolfgang Denk: Dear York, In message you wrote: So board_init_f gets a undefined bootflag, currently the gd pointer address. Unfortunately this address sets the GD_FLG_SKIP_RELOC bit, so u-boot code gets not relocated and u-boot does no

[U-Boot] [PATCH] fs: handle the fileaddr variable in the same way as in the network case

2016-01-08 Thread David Müller
--- fs/fs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/fs.c b/fs/fs.c index b2d6a53..a2f1bf5 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -427,6 +427,7 @@ int do_load(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[], } puts("\n"); + setenv_hex("fileaddr", add

[U-Boot] [PATCH v2] fs: handle the fileaddr variable in the same way as in the network case

2016-01-08 Thread David Müller
Signed-off-by: David Müller --- fs/fs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/fs.c b/fs/fs.c index b2d6a53..a2f1bf5 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -427,6 +427,7 @@ int do_load(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[], } puts("\n"); +

[U-Boot] [PATCH 2/2] pci: layerscape: Adjust the return value when ls_pcie_addr_valid() fails

2016-01-08 Thread Bin Meng
When trying to access non-existent/unsupported PCI devices in ls_pcie_read_config(), when ls_pcie_addr_valid() fails it returns error code and fills in the result with 0x manually. But it really should return zero to upper layer codes. Signed-off-by: Bin Meng --- drivers/pci/pcie_layers

[U-Boot] [PATCH 1/2] pci: imx: Adjust the return value when imx_pcie_addr_valid() fails

2016-01-08 Thread Bin Meng
When trying to access non-existent/unsupported PCI devices in imx_pcie_read_config(), when imx_pcie_addr_valid() fails it returns error code and fills in the result with 0x manually. But it really should return zero to upper layer codes. Reported-by: Fabio Estevam Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH] arm: socfpga: set the fpga global bit to disable HPS to FPGA signals

2016-01-08 Thread Chin Liang See
On Thu, 2016-01-07 at 16:33 +0100, Marek Vasut wrote: > On Thursday, January 07, 2016 at 04:23:09 PM, Dinh Nguyen wrote: > > On 01/07/2016 09:03 AM, Dinh Nguyen wrote: > > > On 01/06/2016 09:20 PM, Marek Vasut wrote: > > > > On Thursday, January 07, 2016 at 03:50:00 AM, Dinh Nguyen > > > > wrote: >

Re: [U-Boot] [PATCH v7 3/9] armv8: Add Secure Monitor/Hypervisor Call (SMC/HVC) infrastructure

2016-01-08 Thread Michal Simek
On 7.1.2016 22:39, Mateusz Kulikowski wrote: > On 07.01.2016 16:06, Michal Simek wrote: >> On 6.1.2016 14:04, Mateusz Kulikowski wrote: >>> On 14.10.2015 18:55, Sergey Temerkhanov wrote: > [...] > >>> >>> Idea: perhaps after this series is merged we can add 2 new commands to >>> u-boot (SMC/HVC)

Re: [U-Boot] sf: About sandbox flash driver

2016-01-08 Thread Jagan Teki
Hi Simon, On 8 January 2016 at 01:19, Simon Glass wrote: > Hi Jagan, > > On 30 December 2015 at 10:03, Jagan Teki wrote: >> Hi Simon, >> >> Few question wrt sandbox flash driver - drivers/mtd/spi/sandbox.c >> >> 1) Does this driver used for creating flash emulation environment? or >> something e

[U-Boot] [PATCH v2 1/6] common/image-fdt.c: Make boot_get_fdt() perform a check for Android images

2016-01-08 Thread Jeffy Chen
Android images don't have a fdt. Signed-off-by: Jeffy Chen Acked-by: Simon Glass --- Changes in v2: None common/image-fdt.c | 4 1 file changed, 4 insertions(+) diff --git a/common/image-fdt.c b/common/image-fdt.c index 5e4e5bd..41aaa0d 100644 --- a/common/image-fdt.c +++ b/common/image

[U-Boot] [PATCH v2 0/6] rockchip: kylin: Boot with android boot image

2016-01-08 Thread Jeffy Chen
We are porting android to kylin board now. This series could let it boot up with android's boot image. Changes in v2: Add comments. Jeffy Chen (6): common/image-fdt.c: Make boot_get_fdt() perform a check for Android images ARM: bootm: Try to use relocated ramdisk rockchip: rk3036: Bind

[U-Boot] [PATCH v2 2/6] ARM: bootm: Try to use relocated ramdisk

2016-01-08 Thread Jeffy Chen
After boot_ramdisk_high(), ramdisk would be relocated to initrd_start & initrd_end, so use them instead of rd_start & rd_end. Signed-off-by: Jeffy Chen --- Changes in v2: Add comments. arch/arm/lib/bootm.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/a

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

2016-01-08 Thread Jeffy Chen
The android kernel is using appended dtb by default, and store ramdisk right after kernel & dtb. So we needs to relocate ramdisk, and use atags to pass params. Signed-off-by: Jeffy Chen Acked-by: Simon Glass --- Changes in v2: None include/configs/kylin_rk3036.h | 23 +++

[U-Boot] [PATCH v2 4/6] rockchip: kylin: Add default gpt partition table

2016-01-08 Thread Jeffy Chen
Add default android gpt partition table for kylin board. Use "gpt write mmc 0 $partitions" to apply. Signed-off-by: Jeffy Chen Acked-by: Simon Glass --- Changes in v2: None include/configs/kylin_rk3036.h | 29 + 1 file changed, 29 insertions(+) diff --git a/inclu

[U-Boot] [PATCH v2 3/6] rockchip: rk3036: Bind GPIO banks

2016-01-08 Thread Jeffy Chen
Call dm_scan_fdt_node() in rk3036 pinctrl uclass binding. Signed-off-by: Jeffy Chen Acked-by: Simon Glass --- Changes in v2: None drivers/pinctrl/rockchip/pinctrl_rk3036.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/pinctrl/rockchip/pinctrl_rk3036.c b/drivers/pinctrl/

[U-Boot] [PATCH v2 6/6] rockchip: kylin: Check fastboot request

2016-01-08 Thread Jeffy Chen
We will save boot mode flag in grf's os_reg[0], if fastboot requested or fastboot key pressed, try to enter fastboot mode at preboot stage. Signed-off-by: Jeffy Chen Acked-by: Simon Glass --- Changes in v2: None board/kylin/kylin_rk3036/kylin_rk3036.c | 32 in

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

2016-01-08 Thread Jeffy Chen
Hi Simon, On 2016-1-8 11:34, Simon Glass wrote: Hi Jeffy, On 4 January 2016 at 00:50, Jeffy Chen wrote: The android kernel is using appended dtb by default, and store ramdisk right after kernel & dtb. So we needs to relocate ramdisk, and use atags to pass params. Signed-off-by: Jeffy Chen -

Re: [U-Boot] [PATCH] fdt: fix address cell count checking in fdt_translate_address()

2016-01-08 Thread Przemyslaw Marczak
Hello Simon, On 01/07/2016 08:24 PM, Simon Glass wrote: +Stephen On 4 January 2016 at 17:59, Simon Glass wrote: Hi Przemyslaw, On 5 November 2015 at 23:47, Stefan Roese wrote: On 06.11.2015 04:16, Simon Glass wrote: Hi, On 3 November 2015 at 02:57, Przemyslaw Marczak wrote: Hello All

Re: [U-Boot] [PATCH] usb: Define USB_MAX_STOR_DEV in only one place

2016-01-08 Thread Marek Vasut
On Friday, January 08, 2016 at 04:34:44 AM, Simon Glass wrote: > Hi Marek, > > On 7 January 2016 at 15:50, Marek Vasut wrote: > > On Thursday, January 07, 2016 at 11:16:08 PM, Simon Glass wrote: > >> We can define this in the header file and use it in usb_storage.c. There > >> is no need to defin

Re: [U-Boot] [PATCH v5] colibri_vf: Add board_usb_phy_mode function

2016-01-08 Thread Marek Vasut
On Friday, January 08, 2016 at 06:50:41 AM, maitysancha...@gmail.com wrote: > Hello, > > On 16-01-07 22:12:29, Stefano Babic wrote: > > Hi, > > > > On 07/01/2016 21:02, maitysancha...@gmail.com wrote: > > > Hello Stefano, > > > > > > Ping? > > > > > > I just checked the master branch and this h

Re: [U-Boot] [PATCH 2/3] usb: Allow up to 7 storage devices

2016-01-08 Thread Marek Vasut
On Friday, January 08, 2016 at 04:34:27 AM, Simon Glass wrote: > On 3 January 2016 at 14:23, Marek Vasut wrote: > > On Sunday, January 03, 2016 at 09:50:30 PM, Simon Glass wrote: > >> The current limit of 5 is not enough for the driver model USB tests. > >> Really we should not have a limit but th

Re: [U-Boot] [PATCH v5] colibri_vf: Add board_usb_phy_mode function

2016-01-08 Thread maitysanchayan
On 16-01-08 13:11:27, Marek Vasut wrote: > On Friday, January 08, 2016 at 06:50:41 AM, maitysancha...@gmail.com wrote: > > Hello, > > > > On 16-01-07 22:12:29, Stefano Babic wrote: > > > Hi, > > > > > > On 07/01/2016 21:02, maitysancha...@gmail.com wrote: > > > > Hello Stefano, > > > > > > > > P

Re: [U-Boot] [PATCH 1/3] usb: host: ehci-vf: Remove hardcoded USB host client configuration

2016-01-08 Thread maitysanchayan
Hello Stefano / Marek, Can you pick this up? - Sanchayan. On 15-10-26 18:28:49, Sanchayan Maity wrote: > The current ehci-vf USB driver for Vybrid hardcodes the USB host > and client functionality. Remove this. > > Reported-by: Santhosh Kumar Janardhanam > Signed-off-by: Sanchayan Maity > --

Re: [U-Boot] [PATCH v5] colibri_vf: Add board_usb_phy_mode function

2016-01-08 Thread Marek Vasut
On Friday, January 08, 2016 at 01:18:46 PM, maitysancha...@gmail.com wrote: > On 16-01-08 13:11:27, Marek Vasut wrote: > > On Friday, January 08, 2016 at 06:50:41 AM, maitysancha...@gmail.com wrote: > > > Hello, > > > > > > On 16-01-07 22:12:29, Stefano Babic wrote: > > > > Hi, > > > > > > > > On

Re: [U-Boot] [PATCH 2/3] usb: host: ehci-vf: Implement board_usb_phy_mode weak function

2016-01-08 Thread maitysanchayan
Hello Stefano / Marek, Can you pick this up? - Sanchayan. On 15-10-26 18:28:50, Sanchayan Maity wrote: > Add board_usb_phy_mode weak function on similar lines to ehci-mx6. > However since Vybrid USB does not have a true OTG, make this weak > functon just return 0. The function is supposed to be

Re: [U-Boot] [PATCH 1/3] usb: host: ehci-vf: Remove hardcoded USB host client configuration

2016-01-08 Thread Marek Vasut
On Friday, January 08, 2016 at 01:20:23 PM, maitysancha...@gmail.com wrote: > Hello Stefano / Marek, > > Can you pick this up? I can, but only for next. Is that fine ? > - Sanchayan. > > On 15-10-26 18:28:49, Sanchayan Maity wrote: > > The current ehci-vf USB driver for Vybrid hardcodes the USB

Re: [U-Boot] [PATCH 1/3] usb: host: ehci-vf: Remove hardcoded USB host client configuration

2016-01-08 Thread maitysanchayan
Hello Marek, On 16-01-08 13:26:32, Marek Vasut wrote: > On Friday, January 08, 2016 at 01:20:23 PM, maitysancha...@gmail.com wrote: > > Hello Stefano / Marek, > > > > Can you pick this up? > > I can, but only for next. Is that fine ? Yes it's fine. Thank you. - Sanchayan. > > > > On 15-10-26

Re: [U-Boot] [PATCH v1 08/18] MIPS: pic32: Add driver for Microchip PIC32 flash controller.

2016-01-08 Thread Purna Chandra Mandal
On 12/21/2015 08:50 PM, Stefan Roese wrote: > On 21.12.2015 15:58, Daniel Schwierzeck wrote: >> >> >> Am 17.12.2015 um 18:30 schrieb Purna Chandra Mandal: >>> From: Cristian Birsan >>> >>> Signed-off-by: Cristian Birsan >>> Signed-off-by: Purna Chandra Mandal >>> --- >>> >>> arch/mips/mach-pic

Re: [U-Boot] [PATCH v1 08/18] MIPS: pic32: Add driver for Microchip PIC32 flash controller.

2016-01-08 Thread Stefan Roese
On 08.01.2016 14:53, Purna Chandra Mandal wrote: On 12/21/2015 08:50 PM, Stefan Roese wrote: On 21.12.2015 15:58, Daniel Schwierzeck wrote: Am 17.12.2015 um 18:30 schrieb Purna Chandra Mandal: From: Cristian Birsan Signed-off-by: Cristian Birsan Signed-off-by: Purna Chandra Mandal ---

[U-Boot] Please pull u-boot-dm

2016-01-08 Thread Simon Glass
Hi Tom, This gets the driver-model tests running properly again (including disabling the SPI and SPI flash ones which are still broken). It also includes Przemyslaw's temporary patch to fix dev_get_addr(). We can get a better solution in after the release. The following changes since commit 3861

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

2016-01-08 Thread Stefano Babic
Hi Tom, just a few fixes for release. Pleas epull from u-boot-imx, thanks ! The following changes since commit 3861d784b1a470570a0098ac5c25d79e3073c0d9: Merge git://git.denx.de/u-boot-mpc85xx (2016-01-07 11:24:27 -0500) are available in the git repository at: git://www.denx.de/git/u-boot-

[U-Boot] [PATCH 2/6] arm: socfpga: add reset manager defines for Arria10

2016-01-08 Thread dinguyen
From: Dinh Nguyen Add the Arria10 reset manager defines that is used in Linux. Change the license to SPDX. Signed-off-by: Dinh Nguyen --- include/dt-bindings/reset/altr,rst-mgr-a10.h | 103 +++ 1 file changed, 103 insertions(+) create mode 100644 include/dt-bindings/re

[U-Boot] [PATCH 1/6] arm: socfpga: wrap system manager functions for A5/C5 devices

2016-01-08 Thread dinguyen
From: Dinh Nguyen The system manager on Arria10 is not used for pin muxing duties, so wrap these functions for GEN5 devices only. Signed-off-by: Dinh Nguyen --- arch/arm/mach-socfpga/system_manager.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-socfpga/system_manager.c

[U-Boot] [PATCH 3/6] arm: socfpga: arria10: update dwmac reset function to support Arria10

2016-01-08 Thread dinguyen
From: Dinh Nguyen On the Arria10, the EMAC phy mode configuration for each EMACs is located in separate registers versus being in 1 register for the GEN5 devices. The Arria10 also has 3 EMACs compared to 2 for the GEN5 devices. Update the dwmac_deassert_reset function to support both GEN5 and Ar

[U-Boot] [PATCH 5/6] arm: socfpga: arria10 fpga does not have bridges mapped

2016-01-08 Thread dinguyen
From: Dinh Nguyen On the Arria10 device, the bridges are not mapped through the interconnect. Signed-off-by: Dinh Nguyen --- drivers/fpga/socfpga.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/fpga/socfpga.c b/drivers/fpga/socfpga.c index 4448250..75368e6 100644 --- a/drivers/

[U-Boot] [PATCH 0/6] arm: socfpga: arria10: more a10 enablement

2016-01-08 Thread dinguyen
From: Dinh Nguyen Hi, This is another round of patches for the Arria10 device. There are still some build failures that related to the clocking, FPGA manager, and bridge support. Thanks, Dinh Nguyen (6): arm: socfpga: wrap system manager functions for A5/C5 devices arm: socfpga: add reset

[U-Boot] [PATCH 6/6] arm: socfpga: arria10: remove board_init and s_init

2016-01-08 Thread dinguyen
From: Dinh Nguyen These functions are already in arch/arm/mach-socfpga/board.c Signed-off-by: Dinh Nguyen --- board/altera/arria10-socdk/socfpga.c | 17 - 1 file changed, 17 deletions(-) diff --git a/board/altera/arria10-socdk/socfpga.c b/board/altera/arria10-socdk/socfpga.c

Re: [U-Boot] [PATCH] image: check "bootm_low" and "bootm_size" if "initrd_high" is missing

2016-01-08 Thread Masahiro Yamada
Hi Tom, 2016-01-05 4:59 GMT+09:00 Tom Rini : > On Thu, Dec 17, 2015 at 05:19:35PM +0900, Masahiro Yamada wrote: > >> To boot Linux, we should prevent Initramdisk and FDT from going too >> high. > > OK, why? I could be entirely wrong here but I had thought for some > reason that if the ramdisk wa

[U-Boot] [PATCH 4/6] arm: socfpga: arria10: don't build GEN5 sdram for arria10

2016-01-08 Thread dinguyen
From: Dinh Nguyen The Arria10 device will not be able to re-use the GEN5 SDRAM controller, so we shouldn't build the driver. Move CONFIG_ALTERA_SDRAM to Kconfig option in drivers/ddr/altera/Kconfig. Signed-off-by: Dinh Nguyen --- drivers/Kconfig | 2 ++ drivers/ddr/Kconfig

Re: [U-Boot] [PATCH v6 06/10] ns16550: add support for mips

2016-01-08 Thread Daniel Schwierzeck
Am Montag, den 04.01.2016, 19:14 +0800 schrieb Wills Wang: > MIPS archtecture have no "in_le32/in_be32/out_le32/out_be32" macro, > but usually define CONFIG_SYS_BIG_ENDIAN, this patch use readl/writel > for register operation in mips when define CONFIG_SYS_NS16550_MEM32. > > Signed-off-by: Wills W

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

2016-01-08 Thread Jagan Teki
On 8 January 2016 at 12:56, Gong Qianyu wrote: > From: Gong Qianyu > > In current driver everytime we memcpy 4 bytes to the dest memory > regardless of the remaining length. > This patch adds checking the remaining length before memcpy. > If the length is shorter than 4 bytes, memcpy the actual l

[U-Boot] [PATCH 4/7] ARM: uniphier: move headers out of include/mach directory

2016-01-08 Thread Masahiro Yamada
These headers are only included locally in arch/arm/mach-uniphier/. There is no reason to export them by putting in the mach/ directory. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/{include/mach => }/arm-mpcore.h | 0 arch/arm/mach-uniphier/bcu/bcu-ph1-ld4.c

[U-Boot] [PATCH 6/7] ARM: uniphier: add dump command for DDR Multi PHY registers

2016-01-08 Thread Masahiro Yamada
The ProXstream2/PH1-LD6b is integrated with a new IP for DDR PHY which is not register-compatible with the former SoCs. Add a new command to support the register dump of this IP. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/Kconfig | 9 + arch/arm/mach-uniphier/cmd_ddrmphy.

[U-Boot] [PATCH 5/7] ARM: uniphier: add DRAM init code for ProXstream2/PH1-LD6b

2016-01-08 Thread Masahiro Yamada
As mentioned in the log of commit 019df879a93e2 (ARM: uniphier: add ProXstream2 and PH1-LD6b support), the DRAM init code was missing for a long time. Finally, here it is. SPL works now. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/dram/Makefile | 2 + arch/arm/mach-u

[U-Boot] [PATCH 7/7] ARM: uniphier: fix recommended board setting in document

2016-01-08 Thread Masahiro Yamada
The mem_is_flash() in arch/arm/mach-uniphier/micro-support_card.c writes/reads the tail of each NOR flash bank to check if the device really resides there. If CS1_SPLIT were enabled, the support card would always require two NOR flash devices to be inserted for the correct NOR detection. This is n

[U-Boot] [PATCH 0/7] ARM: uniphier: changes for v2016.04-rc1

2016-01-08 Thread Masahiro Yamada
This series includes a set of clean-ups, new features. I want to merge them when the merge window opens. Masahiro Yamada (7): ARM: uniphier: kill bogus header includes ARM: uniphier: move cmd_ddrphy.c to dram subdirectory ARM: uniphier: move cmd_pinmon.c to boot-mode subdirectory ARM: un

[U-Boot] [PATCH 1/7] ARM: uniphier: kill bogus header includes

2016-01-08 Thread Masahiro Yamada
These includes are not necessary. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/boot-mode/boot-mode-ph1-ld4.c | 1 - arch/arm/mach-uniphier/boot-mode/boot-mode-ph1-pro5.c| 1 - arch/arm/mach-uniphier/boot-mode/boot-mode-ph1-sld3.c| 1 - arch/arm/mach-uniphier/boot-mode/b

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

2016-01-08 Thread Jagan Teki
On 8 January 2016 at 12:56, Gong Qianyu wrote: > From: Gong Qianyu > > In current driver, we always copy 4 bytes to the dest memory. > Actually the dest memory may be shorter than 4 bytes. > Add an argument to indicate the dest memory length. > Avoid writing memory outside of the bounds. > > Sign

[U-Boot] [PATCH 3/7] ARM: uniphier: move cmd_pinmon.c to boot-mode subdirectory

2016-01-08 Thread Masahiro Yamada
This command shows the boot mode pins, so it would be more at home in the boot-mode subdirectory. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/Makefile | 1 - arch/arm/mach-uniphier/boot-mode/Makefile | 2 ++ arch/arm/mach-uniphier/{ => boot-mode}/cmd_

[U-Boot] [PATCH 2/7] ARM: uniphier: move cmd_ddrphy.c to dram subdirectory

2016-01-08 Thread Masahiro Yamada
This command shows the register dump of the DDR PHY, so it would be more at home in the dram subdirectory. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/Makefile| 1 - arch/arm/mach-uniphier/dram/Makefile | 2 ++ arch/arm/mach-uniphier/{ => dram}/cmd_ddrphy

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

2016-01-08 Thread Jagan Teki
On 8 January 2016 at 12:57, Gong Qianyu wrote: > From: Gong Qianyu > > It might be missed when converting spi_flash_probe() in cmd_sf.c. > > This commit refers to fbb099183e3a53f77a975964cdf2e73d11e565af. > > Signed-off-by: Gong Qianyu > --- > V3: > - Remove redundant operations for saveenv() >

[U-Boot] [PATCH 2/2] ARM: uniphier: add bootm_low environment

2016-01-08 Thread Masahiro Yamada
The load address of the kernel can be changed via "kernel_addr_r" environment. The device tree and the initramdisk should be relocated according to the kernel location. The "bootm_low" should be calculated by masking the lower bits (TEXT_OFFSET part) of the "kernel_addr_r" environment value. Sig

[U-Boot] [PATCH 1/2] ARM: uniphier: define CONFIG_SYS_BOOTMAPSZ

2016-01-08 Thread Masahiro Yamada
U-Boot relocates the device tree and the initramdisk to the tail of the memory region before booting the kernel. Some UniPhier boards are equipped with a large amount of memory. For those boards, the device tree and the initramdisk are placed out of the the kernel causing a kernel panic. Add CONF

Re: [U-Boot] [PATCH 1/3] usb: host: ehci-vf: Remove hardcoded USB host client configuration

2016-01-08 Thread Marek Vasut
On Friday, January 08, 2016 at 01:20:23 PM, maitysancha...@gmail.com wrote: > Hello Stefano / Marek, > > Can you pick this up? > Applied, will be in next MW. Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/m

Re: [U-Boot] [PATCH 2/3] usb: host: ehci-vf: Implement board_usb_phy_mode weak function

2016-01-08 Thread Marek Vasut
On Friday, January 08, 2016 at 01:22:07 PM, maitysancha...@gmail.com wrote: > Hello Stefano / Marek, > > Can you pick this up? > > - Sanchayan. > Applied. Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mai

[U-Boot] Please pull u-boot-rockchip

2016-01-08 Thread Simon Glass
Hi Tom, Here are a few final rockchip fixes for the release. The following changes since commit 3861d784b1a470570a0098ac5c25d79e3073c0d9: Merge git://git.denx.de/u-boot-mpc85xx (2016-01-07 11:24:27 -0500) are available in the git repository at: git://git.denx.de/u-boot-rockchip.git for

Re: [U-Boot] [PATCH V3 1/7] test/py: Implement pytest infrastructure

2016-01-08 Thread Stephen Warren
On 01/05/2016 03:58 PM, Stephen Warren wrote: This tool aims to test U-Boot by executing U-Boot shell commands using the console interface. A single top-level script exists to execute or attach to the U-Boot console, run the entire script of tests against it, and summarize the results. Advantages

Re: [U-Boot] [PATCH V3 1/7] test/py: Implement pytest infrastructure

2016-01-08 Thread Michal Simek
On 8.1.2016 19:13, Stephen Warren wrote: > On 01/05/2016 03:58 PM, Stephen Warren wrote: >> This tool aims to test U-Boot by executing U-Boot shell commands using >> the >> console interface. A single top-level script exists to execute or attach >> to the U-Boot console, run the entire script of te

Re: [U-Boot] [v2] mmc: fsl_esdhc: fix mmc read/write error on T4080

2016-01-08 Thread Andy Fleming
On Thu, Jan 7, 2016 at 2:50 AM, Yangbo Lu wrote: > Fill the right command type when using CMD12 to stop data transfer. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: > - Removed fix for T4160 because other patch had done that > --- > drivers/mmc/fsl_esdhc.c | 2 +- > 1 file changed

Re: [U-Boot] am335x_evm: Don't undef CONFIG_BOOTDELAY

2016-01-08 Thread Vagrant Cascadian
On 2015-12-12, matwey.korni...@gmail.com wrote: > config_distro_defaults.h is already included in configs/ti_am335x_common.h > (by means of ti_armv7_common.h) > We don't need to #undef CONFIG_BOOTDELAY because it drops default bootdelay > which already defined on this line. Is it still possible

Re: [U-Boot] Please pull u-boot-dm

2016-01-08 Thread Tom Rini
On Fri, Jan 08, 2016 at 07:55:13AM -0700, Simon Glass wrote: > Hi Tom, > > This gets the driver-model tests running properly again (including > disabling the SPI and SPI flash ones which are still broken). It also > includes Przemyslaw's temporary patch to fix dev_get_addr(). We can > get a bette

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

2016-01-08 Thread Tom Rini
On Fri, Jan 08, 2016 at 04:08:28PM +0100, Stefano Babic wrote: > Hi Tom, > > just a few fixes for release. Pleas epull from u-boot-imx, thanks ! > > The following changes since commit 3861d784b1a470570a0098ac5c25d79e3073c0d9: > > Merge git://git.denx.de/u-boot-mpc85xx (2016-01-07 11:24:27 -05

Re: [U-Boot] Please pull u-boot-rockchip

2016-01-08 Thread Tom Rini
On Fri, Jan 08, 2016 at 10:55:24AM -0700, Simon Glass wrote: > Hi Tom, > > Here are a few final rockchip fixes for the release. > > > > The following changes since commit 3861d784b1a470570a0098ac5c25d79e3073c0d9: > > Merge git://git.denx.de/u-boot-mpc85xx (2016-01-07 11:24:27 -0500) > > ar

Re: [U-Boot] include: Correct "requset" typoes in misc.h

2016-01-08 Thread Tom Rini
On Mon, Dec 14, 2015 at 06:28:51AM -0500, Robert P. J. Day wrote: > Signed-off-by: Robert P. J. Day > Acked-by: Thomas Chou > > diff --git a/include/misc.h b/include/misc.h > index 7e9badf..2b78814 100644 Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] arm, Makefile: correct compilation flag for u-boot-dtb

2016-01-08 Thread Tom Rini
On Wed, Dec 23, 2015 at 02:16:23PM +0530, Aneesh Bansal wrote: > The compilation of u-boot-dtb.img should be controlled by > CONFIG_OF_CONTROL and not CONFIG_DM. > CONFIG_DM may be defined even without Device Tree requirement. > > This was added in commit 947cee1127c5fa97529c8cda4f0b48d141f92560.

Re: [U-Boot] doc: Tidy up first part of top-level README file

2016-01-08 Thread Tom Rini
On Sat, Dec 19, 2015 at 07:16:10AM -0500, Robert P. J. Day wrote: > First (small) pass at tidying up the README file, including: > > * remove references to obsolete CREDITS file > * remove (some) references to obsolete boards.cfg file > * remove at least one reference to a "scrapped" board >

Re: [U-Boot] powerpc: Various typo fixes under arch/powerpc/cpu/mpc83xx

2016-01-08 Thread Tom Rini
On Wed, Dec 16, 2015 at 12:25:42PM -0500, Robert P. J. Day wrote: > Signed-off-by: Robert P. J. Day Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx

Re: [U-Boot] bootcount: Correct #endif comment to match, other aesthetics

2016-01-08 Thread Tom Rini
On Tue, Dec 22, 2015 at 07:15:14AM -0500, Robert P. J. Day wrote: > Correct mismatched comment on #endif to agree with its #if defined(). > > Also add some missing #endif comments for consistency, take out > extraneous blank lines for readability. > > rday > > diff --git a/drivers/bootcount/boo

Re: [U-Boot] net: remove scary warning about EEPROM provided MAC address

2016-01-08 Thread Tom Rini
On Mon, Jan 04, 2016 at 03:48:22PM +, Andre Przywara wrote: > In many parts of the computing world having a unique MAC address > sitting in some on-NIC storage is considered the normal case. > Remove the warning to not scare the user unnecessarily. > This applies to Highbank/Midway and ARM's J

Re: [U-Boot] arm64: Juno/FVP: adjust kernel load address

2016-01-08 Thread Tom Rini
On Mon, Jan 04, 2016 at 03:43:36PM +, Andre Przywara wrote: > The default kernel load offset for an arm64 kernel is 0x8, so > U-Boot takes cares of moving the loaded kernel to a matching memory > location just before booting it. > Since we run with caches off, this takes a while for any de

Re: [U-Boot] [U-Boot, v3] serial: zynq: Use static inline for _debug_uart_init()

2016-01-08 Thread Tom Rini
On Tue, Jan 05, 2016 at 12:49:21PM +0100, Michal Simek wrote: > Mark _debug_uart_init() as static to avoid sparse warning and > inline it to debug_uart_init(). > > Reported-by: Thomas Chou > Signed-off-by: Michal Simek > Reviewed-by: Thomas Chou > Reviewed-by: Simon Glass > Reviewed-by: Bin M

Re: [U-Boot] MAINTAINERS, .mailmap: Update my email address

2016-01-08 Thread Tom Rini
On Tue, Jan 05, 2016 at 09:48:45AM -0800, York Sun wrote: > Change from york...@freescale.com to york@nxp.com. > > Signed-off-by: York Sun Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing

Re: [U-Boot] am33xx/am43xx: Add platform data for GPIOs

2016-01-08 Thread Tom Rini
On Tue, Jan 05, 2016 at 12:17:15PM -0500, Tom Rini wrote: > On these platforms we have many cases of boards that enable device model > and GPIO support but do not enable OF_CONTROL and pass in a device tree > with the binary. We need to bring in the platform data here as well. > > Tested on Beag

Re: [U-Boot] cyrus: Enable STDIO deregister

2016-01-08 Thread Tom Rini
On Wed, Jan 06, 2016 at 03:34:50PM -0600, Andy Fleming wrote: > If CONFIG_SYS_STDIO_DEREGISTER is not enabled, usb reset > will fail every time. Enabling it allows usb reset to > work. > > Signed-off-by: Andy Fleming Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digita

Re: [U-Boot] [U-Boot, RFC, v2] get_maintainer: fix perl 5.22/5.24 deprecated/incompatible "\C" use

2016-01-08 Thread Tom Rini
On Thu, Jan 07, 2016 at 01:45:38PM +0100, Heiko Schocher wrote: > from linux commit ce8155f7a3d5: > > Perl 5.22 emits a deprecated message when "\C" is used in a regex. Perl > 5.24 will disallow it altogether. > > Fix it by using [A-Z] instead of \C. > > >From linux adapted to U-Boot by: > Sig

Re: [U-Boot] [U-Boot, v2] fs: handle the fileaddr variable in the same way as in the network case

2016-01-08 Thread Tom Rini
On Fri, Jan 08, 2016 at 09:39:20AM +0100, David Müller (ELSOFT AG) wrote: > Signed-off-by: David Müller Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.

Re: [U-Boot] fix always succesful memory test

2016-01-08 Thread Tom Rini
On Thu, Jan 07, 2016 at 11:36:04AM +0100, Rasmus Villemoes wrote: > Since 51209b1f42cb ("Use common mtest iteration counting"), > do_mem_mtest has always reported 0 errors and hence returned 0, even > if errors were detected. Fix the helpers mem_test_alt() and > mem_test_quick() to return the numb

Re: [U-Boot] [U-Boot, 2/2] pci: layerscape: Adjust the return value when ls_pcie_addr_valid() fails

2016-01-08 Thread Tom Rini
On Fri, Jan 08, 2016 at 01:03:21AM -0800, Bin Meng wrote: > When trying to access non-existent/unsupported PCI devices in > ls_pcie_read_config(), when ls_pcie_addr_valid() fails it returns > error code and fills in the result with 0x manually. But it > really should return zero to upper l

Re: [U-Boot] [U-Boot, 1/2] pci: imx: Adjust the return value when imx_pcie_addr_valid() fails

2016-01-08 Thread Tom Rini
On Fri, Jan 08, 2016 at 01:03:20AM -0800, Bin Meng wrote: > When trying to access non-existent/unsupported PCI devices in > imx_pcie_read_config(), when imx_pcie_addr_valid() fails it returns > error code and fills in the result with 0x manually. But it > really should return zero to upper

Re: [U-Boot] [PATCH v3 00/10] sf: Add flash_ids inside Core

2016-01-08 Thread Jagan Teki
On 6 January 2016 at 20:03, Jagan Teki wrote: > On 31 December 2015 at 14:51, Jagan Teki wrote: >> This series handle flash_ids stuff inside spi_flash core. >> >> Changes for v3: >> - Updated SNOR_F_SST_WRITE at sf_probe.c >> - two patches, wrt sanbox newly added >> >> Changes for