[U-Boot] [PATCH v2 03/14] sparse: Refactor chunk parsing function

2015-10-15 Thread Maxime Ripard
The chunk parsing code was duplicating a lot of code among the various chunk types, while all of them could be covered by generic and simple functions. Refactor the current code to reuse as much code as possible and hopefully make the chunk parsing loop more readable and concise. Signed-off-by:

[U-Boot] [PATCH v2 04/14] sparse: Simplify multiple logic

2015-10-15 Thread Maxime Ripard
To check the alignment of the image blocks to the storage blocks, the current code uses a convoluted syntax, while a simple mod also does the work. Signed-off-by: Maxime Ripard --- common/aboot.c | 14 ++ 1 file changed, 10 insertions(+), 4

[U-Boot] [PATCH v2 10/14] fastboot: nand: Add pre erase and write hooks

2015-10-15 Thread Maxime Ripard
Some devices might need to do some per-partition initialization (ECC/Randomizer settings change for example) before actually accessing it. Add some hooks before the write and erase operations to let the boards define what they need to do if needed. Signed-off-by: Maxime Ripard

[U-Boot] [PATCH v2 14/14] sunxi: cubietruck: Enable the USB OTG controller

2015-10-15 Thread Maxime Ripard
The Cubietruck has a mini-USB connector that can be used to power up the board and as an OTG connector. Since we have already some USB host-only ports right beside this one, enable it in gadget mode Signed-off-by: Maxime Ripard --- configs/Cubietruck_defconfig

Re: [U-Boot] [U-Boot,v4] pci: pcie_imx: Fix hang on mx6qp

2015-10-15 Thread Tom Rini
On Tue, Oct 13, 2015 at 11:01:27AM -0300, Fabio Estevam wrote: > PCI driver currently hangs on mx6qp. > > Toggle the reset bit with the appropriate timings to fix the issue. > > Based on the FSL kernel driver implementation. > > Signed-off-by: Fabio Estevam >

Re: [U-Boot] [PATCH] drivers: gpio: omap: add support for parsing additional gpio parameters

2015-10-15 Thread Tom Rini
On Tue, Oct 13, 2015 at 01:57:16PM +0530, Mugunthan V N wrote: > With DM_GPIO, gpio parameters like ACTIVE_(LOW/HIGH) are to be > parsed in xlate gpio drivers-ops. Since xlate is not implemented > in omap_gpio driver, the driver considers all gpio to be > ACTIVE_HIGH which is the default case and

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

2015-10-15 Thread Tom Rini
On Thu, Oct 15, 2015 at 02:49:29PM +0200, Stefano Babic wrote: > Hi Tom, > > On 15/10/2015 14:43, Tom Rini wrote: > > On Thu, Oct 15, 2015 at 11:32:51AM +0200, Stefano Babic wrote: > > > >> Hi Tom, > >> > >> I have a couple of last-minute fixes for the vfr610twr. Please pull them > >> from

Re: [U-Boot] [PATCH] ARM: AM335x: mux: change mmc0 cd pinmux from mmc0_sdcd to gpio

2015-10-15 Thread Tom Rini
On Tue, Oct 13, 2015 at 02:02:29PM +0530, Mugunthan V N wrote: > Currently omap_hsmmc driver doesn't use sdcd pin to detect > whether the card is present or not. Instead the same pin is used > as GPIO to detect card presence. So change the pin mux mode from > mmc0_sdcd to gpio0_6. > >

[U-Boot] [Patch V5 09/17] net/fm: Add QSGMII PCS init

2015-10-15 Thread Gong Qianyu
From: Shaohui Xie QSGMII PCS needed to be programmed same as SGMII PCS, and there are four ports in QSGMII PCS, port 0, 1, 2, 3, all the four ports shared port 0's MDIO controller, so when programming port 0, we continue to program other three ports. Signed-off-by:

[U-Boot] [Patch V5 11/17] armv8/fsl_lsch3: Change arch to fsl-layerscape

2015-10-15 Thread Gong Qianyu
From: Mingkai Hu There are two LS series processors are built on ARMv8 Layersacpe architecture currently, LS2085A and LS1043A. They are based on ARMv8 core although use different chassis, so create fsl-layerscape to refactor the common code for the LS series processors

[U-Boot] [Patch V5 10/17] net/fm: fix MDIO controller base on FMAN2

2015-10-15 Thread Gong Qianyu
From: Shaohui Xie MDIO controller base on FMAN2 was defined as CONFIG_SYS_FSL_FM2_ADDR plus offset, but CONFIG_SYS_FSL_FM2_ADDR only defined when there are two FMANs, so we should only define MDIO controller base on FMAN2 when there is FMAN2. Signed-off-by: Shaohui

[U-Boot] [Patch V5 13/17] armv8/ls1043ardb: Add LS1043ARDB board support

2015-10-15 Thread Gong Qianyu
From: Mingkai Hu LS1043ARDB Specification: - Memory subsystem: * 2GByte DDR4 SDRAM (32bit bus) * 128 Mbyte NOR flash single-chip memory * 512 Mbyte NAND flash * 16 Mbyte high-speed SPI flash * SD connector to interface with the SD memory

[U-Boot] [Patch V5 14/17] armv8/ls1043ardb: Add nand boot support

2015-10-15 Thread Gong Qianyu
Signed-off-by: Gong Qianyu Signed-off-by: Hou Zhiqiang Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu --- V5: - No change. V4: - Add enable_layerscape_ns_access() in

[U-Boot] [Patch V5 12/17] armv8/fsl_lsch2: Add fsl_lsch2 SoC

2015-10-15 Thread Gong Qianyu
From: Mingkai Hu Freescale LayerScape with Chassis Generation 2 is a set of SoCs with ARMv8 cores and 2rd generation of Chassis. Signed-off-by: Li Yang Signed-off-by: Hou Zhiqiang Signed-off-by: Mingkai Hu

Re: [U-Boot] [PATCH 1/1] imx: mx6sabresd discard PHYS_SDRAM_SIZE

2015-10-15 Thread Fabio Estevam
On Thu, Oct 15, 2015 at 7:05 AM, Peng Fan wrote: > This macro is not needed, since gd->ram_size is assigned value using > function imx_ddr_size(). > > Signed-off-by: Peng Fan > Cc: Stefano Babic > Cc: Fabio Estevam

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

2015-10-15 Thread Stefano Babic
Hi Tom, On 15/10/2015 14:43, Tom Rini wrote: > On Thu, Oct 15, 2015 at 11:32:51AM +0200, Stefano Babic wrote: > >> Hi Tom, >> >> I have a couple of last-minute fixes for the vfr610twr. Please pull them >> from u-boot-imx, thanks ! >> >> The following changes since commit

Re: [U-Boot] [PATCH v4] pci: pcie_imx: Fix hang on mx6qp

2015-10-15 Thread Stefano Babic
On 15/10/2015 14:23, Fabio Estevam wrote: > Hi Stefano, > > On Thu, Oct 15, 2015 at 5:50 AM, Stefano Babic wrote: > >> Thanks Fabio - as fix, I pick it up for the release. > > I don't see this one included in your pull request for Tom. > Aargh ! Thanks for noting this, I am

[U-Boot] [Patch V5 17/17] armv8/ls1043ardb: Add sd boot support

2015-10-15 Thread Gong Qianyu
Signed-off-by: Gong Qianyu --- V5: - No change. V4: - No change. V3: - Squash the add cpld command patch to it. V2: - No change. board/freescale/ls1043ardb/README| 1 + board/freescale/ls1043ardb/cpld.c| 18 ++

[U-Boot] [Patch V5 15/17] armv8/ls1043a: Add Fman support

2015-10-15 Thread Gong Qianyu
From: Shaohui Xie Signed-off-by: Hou Zhiqiang Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- V5: - No change. V4: - Change

[U-Boot] [Patch V5 16/17] armv8/ls1043ardb: esdhc: Add esdhc support for ls1043ardb

2015-10-15 Thread Gong Qianyu
From: Yangbo Lu This patch adds esdhc support for ls1043ardb. Signed-off-by: Yangbo Lu Signed-off-by: Gong Qianyu --- V5: - No change. V4: - Use CONFIG_FSL_ESDHC to enable get_sdhc_freq(). - Merge lsch2 and lsch3

[U-Boot] [PATCH 1/1] imx: mx6sabresd: add i.MX6DQP Sabresd support

2015-10-15 Thread Peng Fan
Add i.MX6DQP-Sabresd board support: 1. set fdt_file according to board_rev which is set at runtime. 2. Add mx6dqp_ddr_ioregs and calibration value for this board. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam

[U-Boot] [PATCH 1/1] imx: ddr: drop duplicated debug info

2015-10-15 Thread Peng Fan
Drop duplicated debug info for tcl. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/cpu/armv7/mx6/ddr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/cpu/armv7/mx6/ddr.c b/arch/arm/cpu/armv7/mx6/ddr.c index 6b039e4..567ddc4 100644

[U-Boot] [PATCH 1/1] imx: mx6sabresd discard PHYS_SDRAM_SIZE

2015-10-15 Thread Peng Fan
This macro is not needed, since gd->ram_size is assigned value using function imx_ddr_size(). Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- include/configs/mx6sabresd.h | 1 - 1 file changed, 1 deletion(-)

Re: [U-Boot] [PATCH v4] pci: pcie_imx: Fix hang on mx6qp

2015-10-15 Thread Fabio Estevam
Hi Stefano, On Thu, Oct 15, 2015 at 5:50 AM, Stefano Babic wrote: > Thanks Fabio - as fix, I pick it up for the release. I don't see this one included in your pull request for Tom. Thanks ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] x86: Pass correct cpu_index to ap_init()

2015-10-15 Thread Simon Glass
Hi Bin, On 14 October 2015 at 03:01, Bin Meng wrote: > > In sipi_vector.S, cpu_index (passed as %eax) is wrongly overwritten > by the ap_init() function address. Correct it. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/sipi_vector.S | 4 ++-- > 1

Re: [U-Boot] ARM: uniphier: fix address mapping in README.uniphier

2015-10-15 Thread Tom Rini
On Wed, Sep 30, 2015 at 09:15:58PM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

[U-Boot] [Patch V5 05/17] net/fm: Add support for 64-bit platforms

2015-10-15 Thread Gong Qianyu
From: Hou Zhiqiang The FMan IM driver is developed for 32-bit platfroms and isn't friendly to 64-bit platforms, so do the minimal refactor: 1. Refine the MURAM management and access. 2. Correct the initialization and operations for QDs and BDs. Signed-off-by: Hou Zhiqiang

[U-Boot] [Patch V5 07/17] net/fm: bug fix when CONFIG_PHYLIB not defined

2015-10-15 Thread Gong Qianyu
From: Shaohui Xie phy_shutdown should be wrapped by CONFIG_PHYLIB. Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- V5: - No change. V4: - No

[U-Boot] [Patch V5 08/17] net: Move some header files to include/

2015-10-15 Thread Gong Qianyu
From: Shaohui Xie The fsl_dtsec.h & fsl_tgec.h & fsl_fman.h can be shared on both ARM and PPC, move it out of ppc to include/, and change the path in drivers accordingly. Signed-off-by: Shaohui Xie Signed-off-by: Gong Qianyu

[U-Boot] [Patch V5 04/17] net/fm/eth: Use mb() to be compatible for both ARM and PowerPC

2015-10-15 Thread Gong Qianyu
From: Shaohui Xie Use mb() instead of sync() to be compatible for both ARM and PowerPC. Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- V5: - No

[U-Boot] [Patch V5 06/17] net/fm: Make the return value logic consistent with convention

2015-10-15 Thread Gong Qianyu
From: Hou Zhiqiang In convention, the '0' is a normal return value indicating there isn't an error. While some functions of FMan IM driver treat '0' as an error return value. Signed-off-by: Hou Zhiqiang Signed-off-by: Gong Qianyu

[U-Boot] [PATCH 1/2] armv8: LS2080A: Rename LS2085A to reflect LS2080A

2015-10-15 Thread root
LS2080A is a prime personality of Freescale’s LS2085A. It is a non-AIOP personality without support of DP-DDR, L2 switch, 1588, PCIe endpoint etc. So renaming existing LS2085A code base to reflect LS2080A (Prime personality) Signed-off-by: Pratiyush Mohan Srivastava

[U-Boot] [PATCH v2] arm: ls102xa: enable snooping for CAAM transactions

2015-10-15 Thread Horia Geantă
Enable snooping for CAAM read & write transactions by programming the SCFG snoop configuration register: SCFG_SNPCNFGCR[SECRDSNP] SCFG_SNPCNFGCR[SECWRSNP] Signed-off-by: Horia Geantă Reviewed-by: Zhengxiong Jin --- v2 - moved initialization

Re: [U-Boot] [PATCH] arm: ls102xa: enable snooping for CAAM transactions

2015-10-15 Thread Horia Geantă
On 10/14/2015 11:54 PM, York Sun wrote: > > > On 09/16/2015 03:22 AM, Horia Geantă wrote: >> Enable snooping for CAAM read & write transactions by >> programming the SCFG snoop configuration register: >> SCFG_SNPCNFGCR[SECRDSNP] >> SCFG_SNPCNFGCR[SECWRSNP] >> >> Signed-off-by: Horia Geantă

[U-Boot] [PATCH v2 13/14] sunxi: A13-Olinuxino: Enable the USB OTG controller

2015-10-15 Thread Maxime Ripard
The A13-Olinuxino has a mini-USB connector that can be used to power up the board and as an OTG connector. Since we have already some USB host-only ports right beside this one, enable it in gadget mode Signed-off-by: Maxime Ripard ---

[U-Boot] [PATCH v2 11/14] sparse: Rename the file and header

2015-10-15 Thread Maxime Ripard
The Android sparse image format is currently supported through a file called aboot, which isn't really such a great name, since the sparse image format is only used for transferring data with fastboot. Rename the file and header to a file called "sparse", which also makes it consistent with the

[U-Boot] [PATCH v2 12/14] sunxi: Add support for android boot image

2015-10-15 Thread Maxime Ripard
When using the fastboot boot command, the image sent to U-Boot will be an Android boot image. If the support is missing, that won't obviously work, so we need it in our configuration. Signed-off-by: Maxime Ripard --- include/configs/sunxi-common.h | 1 + 1 file

[U-Boot] [Patch V5 00/17] Add LS1043A platform support

2015-10-15 Thread Gong Qianyu
Hi all, Here are the main changes for v5, please help to review. - Wrap up the in_be32 and in_le32 to gur_in32/scfg_in32 for GUR/SCFG block - Move DDR related macros moved out of #ifdef in config.h - Move the mmu table to cpu.h - Change commit message for patch: armv8/fsl_lsch3: Change arch

[U-Boot] [Patch V5 03/17] net/fm: Fix the endian issue to support both endianness platforms

2015-10-15 Thread Gong Qianyu
From: Hou Zhiqiang The Frame Manager(FMan) is a big-endian peripheral, so the registers, internal MURAM and BDs, which are allocated in main memory and used to communication between core and FMan, should be accessed in big-endian. The big-endian platforms can access them

[U-Boot] [Patch V5 01/17] armv7/ls1021a: move ns_access to common file

2015-10-15 Thread Gong Qianyu
From: Mingkai Hu Config Security Level Register is different between different SoCs, so put the CSL register definition into the arch specific directory. Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- V5:

[U-Boot] [Patch V5 02/17] common/board_f.c: modify the macro to use get_clocks() more common

2015-10-15 Thread Gong Qianyu
get_clocks() should not be limited by ESDHC. Signed-off-by: Gong Qianyu --- V5: - No change. V4: - No change. V3: - Removed defines in PPC configs that have no need to use. V2: - No change. common/board_f.c | 2 +- include/configs/colibri_vf.h

[U-Boot] [PATCH v2] arm: ls1021a: Add QSPI or IFC support in SD boot

2015-10-15 Thread Alison Wang
As QSPI and IFC are pin-multiplexed on LS1021A, only IFC is supported in SD boot now. For the customer's demand, QSPI needs to be supported in SD boot too. This patch adds QSPI or IFC support in SD boot according to the corresponding defconfig. For detail, ls1021atwr_sdcard_ifc_defconfig is used

[U-Boot] [PATCH v2 02/14] sparse: Move main header parsing to a function of its own

2015-10-15 Thread Maxime Ripard
The current sparse image format parser is quite tangled, with a lot of code duplication. Start refactoring it by moving the header parsing function to a function of its own. Signed-off-by: Maxime Ripard Reviewed-by: Tom Rini ---

[U-Boot] [PATCH v2 06/14] sparse: Implement storage abstraction

2015-10-15 Thread Maxime Ripard
The current sparse image parser relies heavily on the MMC layer, and doesn't allow any other kind of storage medium to be used. Rework the parser to support any kind of storage medium, as long as there is an implementation for it. Signed-off-by: Maxime Ripard

[U-Boot] [PATCH v2 05/14] fastboot: Move fastboot response functions to fastboot core

2015-10-15 Thread Maxime Ripard
The functions and a few define to generate a fastboot message to be sent back to the host were so far duplicated among the users. Move them all to a common place. Signed-off-by: Maxime Ripard --- common/aboot.c | 32

[U-Boot] [PATCH v2 00/14] Implement fastboot over NAND and sparse transfers

2015-10-15 Thread Maxime Ripard
Hi everyone, Here is the second attempt at getting fastboot flashing functions working on top of a NAND, for arbitraly large images. While the NAND support itself was quite easy to do, the support for the Android sparse images was quite difficult to add, and ended up being a quite huge

[U-Boot] [PATCH v2 09/14] fastboot: Implement NAND backend

2015-10-15 Thread Maxime Ripard
So far the fastboot code was only supporting MMC-backed devices for its flashing operations (flash and erase). Add a storage backend for NAND-backed devices. Signed-off-by: Maxime Ripard --- common/Makefile | 7 +- common/fb_nand.c

[U-Boot] [PATCH v2 07/14] fastboot: Implement flashing session counter

2015-10-15 Thread Maxime Ripard
The fastboot flash command that writes an image to a partition works in several steps: 1 - Retrieve the maximum size the device can download through the "max-download-size" variable 2 - Retrieve the partition type through the "partition-type:%s" variable, that indicates whether or not

[U-Boot] [PATCH v2 08/14] sparse: Implement several chunks flashing

2015-10-15 Thread Maxime Ripard
The fastboot client will split the sparse images into several chunks if the image that it tries to flash is bigger than what the device can handle. In such a case, the bootloader is supposed to retain the last offset to which it wrote to, so that it can resume the writes at the right offset when

[U-Boot] [PATCH v2 01/14] mtd: uboot: Add meaningful error message

2015-10-15 Thread Maxime Ripard
The current error message in get_part if CONFIG_MTDPARTS is disabled is "offset is not a number" which is confusing and doesn't help at all. Change that for something that might give a hint on what's going on. Signed-off-by: Maxime Ripard Reviewed-by: Tom Rini

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

2015-10-15 Thread Tom Rini
On Thu, Oct 15, 2015 at 11:32:51AM +0200, Stefano Babic wrote: > Hi Tom, > > I have a couple of last-minute fixes for the vfr610twr. Please pull them > from u-boot-imx, thanks ! > > The following changes since commit 61903b759aa336d798da49d884467219796817ff: > > imximage: fix commands other

Re: [U-Boot] [PATCH 1/3] armv8/mmu: Clean up TCR programming

2015-10-15 Thread Albert ARIBAUD
Hello Thierry, On Thu, 20 Aug 2015 11:52:13 +0200, Thierry Reding wrote: > From: Thierry Reding > > Use the inner shareable attribute for memory, which makes more sense > considering that this code is called when caches are being enabled. > > Cc:

Re: [U-Boot] [PATCH v2] arm: vf610twr: improve memory layout

2015-10-15 Thread Stefano Babic
Hi Stefan, On 14/10/2015 19:58, Stefan Agner wrote: > Currently, the device tree relocation is disabled, likely to > keep some DDR3 RAM at the end for Cortex-M4 firmwares. This > can be archived using bootm_size, which limits the image > processing range of the boot commands. > > Move the device

Re: [U-Boot] [ANN] U-Boot v2015.10-rc5 released

2015-10-15 Thread Wolfgang Denk
Dear Tom, In message <20151015004002.GX23893@bill-the-cat> you wrote: > > I'm just not sure what to do about CONFIG_API some days. I know one use > case is for GRUB but I'd like to move away from that if possible > (distros should be doing the generic distro bits and extlinux.conf). > After

Re: [U-Boot] [PATCH] configs: ls1021atwr: Enable ID EEPROM for SD boot

2015-10-15 Thread Yao Yuan
Hi york, The earlier SoC is just LS1021a rev1.0, but rev1.0 haven't delivery to the customer. Also the rev1.0 has since gone out of production. So we don't have necessary to support rev1.0 because no one will or possibly to use rev1.0. Best Regards, Yuan Yao > -Original Message- >

Re: [U-Boot] [PATCH v4] pci: pcie_imx: Fix hang on mx6qp

2015-10-15 Thread Stefano Babic
On 13/10/2015 16:01, Fabio Estevam wrote: > PCI driver currently hangs on mx6qp. > > Toggle the reset bit with the appropriate timings to fix the issue. > > Based on the FSL kernel driver implementation. > > Signed-off-by: Fabio Estevam > --- > Changes since v3: >

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

2015-10-15 Thread Stefano Babic
Hi Tom, I have a couple of last-minute fixes for the vfr610twr. Please pull them from u-boot-imx, thanks ! The following changes since commit 61903b759aa336d798da49d884467219796817ff: imximage: fix commands other than write_data (2015-10-07 13:43:15 +0200) are available in the git repository

Re: [U-Boot] [PATCH] colibri_vf: Fix bstlen field

2015-10-15 Thread Stefano Babic
On 14/10/2015 04:54, Fabio Estevam wrote: > From: Fabio Estevam > > Commit 3f353cecc ("vf610: refactor DDRMC code") changed the original > bstlen field from 3 to 0. > > Restore the original value for proper behaviour. > > Based on the patch from Anthony Felice

[U-Boot] [PATCH 2/2] armv8: ls2085a: Add support of LS2085A SoC

2015-10-15 Thread Prabhakar Kushwaha
From: Pratiyush Mohan Srivastava Freescale's LS2085A is a another personality of LS2080A SoC with support of AIOP and DP-DDR. This Patch adds support of LS2085A Personality. Signed-off-by: Pratiyush Mohan Srivastava ---

Re: [U-Boot] [ANN] U-Boot v2015.10-rc5 released

2015-10-15 Thread Rafal Jaworowski
Hi Wolfgang, Tom, On Thu, Oct 15, 2015 at 9:28 AM, Wolfgang Denk wrote: > Dear Tom, > > In message <20151015004002.GX23893@bill-the-cat> you wrote: >> >> I'm just not sure what to do about CONFIG_API some days. I know one use >> case is for GRUB but I'd like to move away from that

[U-Boot] [PATCH 1/2] armv8: LS2080A: Rename LS2085A to reflect LS2080A

2015-10-15 Thread Prabhakar Kushwaha
From: Pratiyush Mohan Srivastava LS2080A is a prime personality of Freescale’s LS2085A. It is a non-AIOP personality without support of DP-DDR, L2 switch, 1588, PCIe endpoint etc. So renaming existing LS2085A code base to reflect LS2080A (Prime personality)

Re: [U-Boot] [PATCH] ARM: uniphier: fix address mapping in README.uniphier

2015-10-15 Thread Masahiro Yamada
Hi Tom, Now, this is the only patch I want in the v2015.10 release. http://patchwork.ozlabs.org/patch/524369/ This is a simple fix of a README file. It should be safe. I am not inclined to send a pull-req just for one patch. Could you pick it up directly into u-boot/master, please?

Re: [U-Boot] [PATCH] mtd: nand: vf610_nfc: resync with upstream Linux version

2015-10-15 Thread Stefano Babic
On 15/10/2015 06:00, Scott Wood wrote: > On Wed, 2015-10-14 at 13:27 +0200, Albert ARIBAUD wrote: >> On Wed, 14 Oct 2015 13:21:41 +0200, Albert ARIBAUD (3ADEV) >> wrote: >>> Hello Stefan, >>> >>> On Tue, 13 Oct 2015 22:11:42 -0700, Stefan Agner >>>

Re: [U-Boot] [PATCH v4 01/16] spi: Add zynq qspi controller driver

2015-10-15 Thread Hannes Schmelzer
Hi Jagan, during bringing up QSPI within SPL on my ZYNQ ZC702 board i made some review of your code. Have a look. On 01.09.2015 08:11, Jagan Teki wrote: Added zynq qspi controller driver for Xilinx Zynq APSOC, this driver is driver-model driven with devicetree support. (...) + +/* zynq

Re: [U-Boot] [PATCH 1/2] pl310: arm: fix up define typo for the share override bit

2015-10-15 Thread Dinh Nguyen
On Wed, Oct 14, 2015 at 11:31 AM, Pavel Machek wrote: > On Mon 2015-10-12 09:59:56, dingu...@opensource.altera.com wrote: >> From: Dinh Nguyen >> >> s/L310_SHARED_ATT_OVERRIDE_ENABLE/PL310_SHARED_ATT_OVERRIDE_ENABLE >> >> Signed-off-by: Dinh Nguyen

[U-Boot] [PATCHv2] arm: socfpga: enable data/inst prefetch and shared override in the L2

2015-10-15 Thread dinguyen
From: Dinh Nguyen Update the L2 AUX CTRL settings for the SoCFPGA. Enabling D and I prefetch bits helps improve SDRAM performance on the platform. Also, we need to enable bit 22 of the L2. By not having bit 22 set in the PL310 Auxiliary Control register (shared

Re: [U-Boot] [PATCH 2/2] arm: socfpga: enable data/inst prefetch and shared override in the L2

2015-10-15 Thread Dinh Nguyen
On 10/15/2015 09:32 AM, Marek Vasut wrote: > On Wednesday, October 14, 2015 at 06:32:42 PM, Pavel Machek wrote: >> On Mon 2015-10-12 09:59:57, dingu...@opensource.altera.com wrote: >>> From: Dinh Nguyen >>> >>> Update the L2 AUX CTRL settings for the SoCFPGA. >>>

Re: [U-Boot] Relocation issue - need help!

2015-10-15 Thread Joakim Tjernlund
On Tue, 2015-10-06 at 11:17 +, Joakim Tjernlund wrote: > On Thu, 2015-10-01 at 08:57 +, Joakim Tjernlund wrote: > > On Wed, 2015-09-30 at 21:35 +0200, Marek Vasut wrote: > > > On Wednesday, September 30, 2015 at 08:24:10 PM, Andy Fleming wrote: > > > > > > Hi! > > > > > > > On Thu, Oct

Re: [U-Boot] [PATCH 1/2] vexpress64: Juno: Declare all 8GB of RAM and make them visible to the kernel.

2015-10-15 Thread Linus Walleij
On Fri, Oct 9, 2015 at 3:09 PM, Liviu Dudau wrote: > Juno comes with 8GB RAM, but U-Boot only passes 2GB to the kernel. > Declare a secondary memory bank and set the sizes correctly. > > Signed-off-by: Liviu Dudau Reviewed-by: Linus Walleij

[U-Boot] [PATCH v2 1/2] sunxi: Fix sorting of boards in MAINTAINERS

2015-10-15 Thread Hans de Goede
Signed-off-by: Hans de Goede --- board/sunxi/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS index c6371ea..dd27487 100644 --- a/board/sunxi/MAINTAINERS +++ b/board/sunxi/MAINTAINERS @@ -29,11

Re: [U-Boot] [PATCH] drivers: gpio: omap: add support for parsing additional gpio parameters

2015-10-15 Thread Simon Glass
On 13 October 2015 at 02:27, Mugunthan V N wrote: > With DM_GPIO, gpio parameters like ACTIVE_(LOW/HIGH) are to be > parsed in xlate gpio drivers-ops. Since xlate is not implemented > in omap_gpio driver, the driver considers all gpio to be > ACTIVE_HIGH which is the default

Re: [U-Boot] [PATCH v3] env: export fdt_blob to the environment variable

2015-10-15 Thread Simon Glass
Hi, On Monday, 12 October 2015, Thomas Chou wrote: > > Export fdt_blob to the environment variable. So that we may > use it to boot Linux. > > Signed-off-by: Thomas Chou > --- > v2 > move the code to per board, nios2-generic.c. > v3 > move the

Re: [U-Boot] [PATCH 2/2] arm: socfpga: enable data/inst prefetch and shared override in the L2

2015-10-15 Thread Marek Vasut
On Wednesday, October 14, 2015 at 06:32:42 PM, Pavel Machek wrote: > On Mon 2015-10-12 09:59:57, dingu...@opensource.altera.com wrote: > > From: Dinh Nguyen > > > > Update the L2 AUX CTRL settings for the SoCFPGA. > > > > Enabling D and I prefetch bits helps

[U-Boot] [PATCH v2 2/2] sunxi: Add defconfig for the Sinovoip BPI-M2 board

2015-10-15 Thread Hans de Goede
The Sinovoip BPI-M2 is a SBC board based on the A31s SoC it features 1G RAM, a microsd slot, Gbit ethernet, 4 usb-a USB-2 ports, ir receiver, stereo headphone jack and hdmi video output. The dts changes are identical to the dts files submitted upstream. A few notes on the use if dldo and aldo

Re: [U-Boot] [PATCH] arm: mmu: Add missing volatile for reading SCTLR register

2015-10-15 Thread Albert ARIBAUD
Hello Alison, Sorry for the late comment. On Wed, 9 Sep 2015 10:22:02 +0800, Alison Wang wrote: > When building u-boot with the latest Linaro toolchain, such as > gcc-linaro-4.9, u-boot will hang at PCIE init on LS1021A platform. > The issue is reported on >

Re: [U-Boot] [PATCH 2/2] vexpress64: Juno: Add initialisation code for Juno R1 PCIe host bridge.

2015-10-15 Thread Linus Walleij
On Fri, Oct 9, 2015 at 3:09 PM, Liviu Dudau wrote: > Juno R1 has an XpressRICH3 PCIe host bridge that needs to be initialised > in order for the Linux kernel to be able to enumerate the bus. Add > support code here that enables the host bridge, trains the links and >

Re: [U-Boot] [PATCH 1/2] armv8: LS2080A: Rename LS2085A to reflect LS2080A

2015-10-15 Thread Kushwaha Prabhakar
> -Original Message- > From: York Sun [mailto:york...@freescale.com] > Sent: Thursday, October 15, 2015 9:56 PM > To: Kushwaha Prabhakar-B32579 ; u- > b...@lists.denx.de > Cc: Srivastava Pratiyush-B46174 > Subject: Re: [PATCH

Re: [U-Boot] [ANN] U-Boot v2015.10-rc5 released

2015-10-15 Thread Tom Rini
On Fri, Oct 16, 2015 at 01:50:47AM +0100, Peter Robinson wrote: > On Thu, Oct 15, 2015 at 9:55 PM, Tom Rini wrote: > > On Thu, Oct 15, 2015 at 03:52:08AM +0200, Andreas Färber wrote: > >> Am 15.10.2015 um 02:40 schrieb Tom Rini: > >> > On Thu, Oct 15, 2015 at 02:28:34AM +0200,

Re: [U-Boot] [PATCH] net: change the env name to use const

2015-10-15 Thread Josh Wu
Hi, Joe On 9/4/2015 11:34 PM, Joe Hershberger wrote: On Tue, Sep 1, 2015 at 5:22 AM, Josh Wu wrote: As we don't modify the 'name' parameter, so change it to const. Signed-off-by: Josh Wu Acked-by: Joe Hershberger Thanks for

[U-Boot] [PATCH v4] env: export fdt_blob to the environment variable

2015-10-15 Thread Thomas Chou
Export fdt_blob to the environment variable. So that we may use it to boot Linux. Signed-off-by: Thomas Chou --- v2 move the code to per board, nios2-generic.c. v3 move the code to generic, board_r.c. v4 use fdtcontroladdr as Simon suggested. common/board_r.c

Re: [U-Boot] [ANN] U-Boot v2015.10-rc5 released

2015-10-15 Thread Peter Robinson
>> >> >>> If you have a regression, speak up. >> >> >> >> >> >> For -rc4 I had reported that CONFIG_API is broken for sunxi among >> >> >> others. I was told this was fallout of the new Driver Model. Has anyone >> >> >> thought about how to fix this? Is that already a lost cause for >> >> >>

Re: [U-Boot] [ANN] U-Boot v2015.10-rc5 released

2015-10-15 Thread Peter Robinson
On Thu, Oct 15, 2015 at 9:55 PM, Tom Rini wrote: > On Thu, Oct 15, 2015 at 03:52:08AM +0200, Andreas Färber wrote: >> Am 15.10.2015 um 02:40 schrieb Tom Rini: >> > On Thu, Oct 15, 2015 at 02:28:34AM +0200, Andreas Färber wrote: >> >> Am 12.10.2015 um 17:18 schrieb Tom Rini: >>

Re: [U-Boot] [Patch V5 02/17] common/board_f.c: modify the macro to use get_clocks() more common

2015-10-15 Thread Kushwaha Prabhakar
> -Original Message- > From: Gong Qianyu [mailto:qianyu.g...@freescale.com] > Sent: Thursday, October 15, 2015 6:32 PM > To: u-boot@lists.denx.de > Cc: Hu Mingkai-B21284 ; Sun York-R58495 > ; Hou Zhiqiang-B48286 ; >

[U-Boot] [PATCH v2 7/7] sunxi: Add CHIP support

2015-10-15 Thread Maxime Ripard
The C.H.I.P. is a small SBC with an Allwinner R8, 8GB of NAND, 512MB of RAM, USB host and OTG, a wifi / bluetooth combo chip, an audio/video jack and two connectors to plug additional boards on top of it. The DT is identical to the DT submitted to the upstream kernel. Signed-off-by: Maxime

[U-Boot] [PATCH v2 3/7] sunxi: board: Only try to use the MMC related functions if enabled

2015-10-15 Thread Maxime Ripard
So far, even if CONFIG_MMC was not enabled the board code was trying to use the MMC-related functions, resulting in linker errors. Protect those calls by an ifdef. Signed-off-by: Maxime Ripard --- arch/arm/cpu/armv7/sunxi/board.c | 6 +- 1 file changed, 5

[U-Boot] [PATCH v2 6/7] axp209: Sync the DTSI with the kernel

2015-10-15 Thread Maxime Ripard
Linux had a number of changes to the AXP209 DTSI. Sync ours. Signed-off-by: Maxime Ripard --- arch/arm/dts/axp209.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/axp209.dtsi b/arch/arm/dts/axp209.dtsi index 24c935c72e5e..051ab3ba9a65

[U-Boot] [PATCH v2 0/7] ARM: sunxi: Introduce CHIP support

2015-10-15 Thread Maxime Ripard
Hi, Here is a serie introducing the support for the Allwinner R8 and the Nextthing's CHIP. The only missing parts for now are the display on the composite output and the NAND support that will come in due time. Everything else should work just fine, including the USB gadget and host support.

[U-Boot] [PATCH v2 2/7] mmc: Add generic Kconfig option

2015-10-15 Thread Maxime Ripard
Add a generic Kconfig option for the CONFIG_MMC option that was used before in the configuration headers. Since all the architectures need to be converted to that first, depend on an non-existent config option that will be extended with architectures that use that option. Signed-off-by: Maxime

Re: [U-Boot] Pull request: u-boot-arm/master

2015-10-15 Thread Tom Rini
On Thu, Oct 15, 2015 at 11:19:58PM +0200, Albert ARIBAUD wrote: > Hello, > > The following changes since commit 297faccca2235e359012118495b9b73451d54bb9: > > Merge branch 'master' of git://www.denx.de/git/u-boot-imx (2015-10-13 > 08:37:38 -0400) > > are available in the git repository at: >

Re: [U-Boot] [PATCH] configs: ls1021atwr: Enable ID EEPROM for SD boot

2015-10-15 Thread Sinan Akman
Hi Yuan On 15/10/15 12:40 PM, York Sun wrote: On 10/15/2015 12:55 AM, Yuan Yao-B46683 wrote: Hi york, The earlier SoC is just LS1021a rev1.0, but rev1.0 haven't delivery to the customer. Also the rev1.0 has since gone out of production. So we don't have necessary to support rev1.0

Re: [U-Boot] [ANN] U-Boot v2015.10-rc5 released

2015-10-15 Thread Tom Rini
On Thu, Oct 15, 2015 at 03:52:08AM +0200, Andreas Färber wrote: > Am 15.10.2015 um 02:40 schrieb Tom Rini: > > On Thu, Oct 15, 2015 at 02:28:34AM +0200, Andreas Färber wrote: > >> Am 12.10.2015 um 17:18 schrieb Tom Rini: > >>> If you have a regression, speak up. > >> > >> For -rc4 I had reported

[U-Boot] Pull request: u-boot-arm/master

2015-10-15 Thread Albert ARIBAUD
Hello, The following changes since commit 297faccca2235e359012118495b9b73451d54bb9: Merge branch 'master' of git://www.denx.de/git/u-boot-imx (2015-10-13 08:37:38 -0400) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes up to

Re: [U-Boot] [PATCH 2/3] gpt: add optional parameter guid in gpt command

2015-10-15 Thread Tom Rini
On Thu, Oct 15, 2015 at 03:58:24PM -0500, Rob Herring wrote: > On Tue, Oct 13, 2015 at 9:23 AM, Patrick Delaunay > wrote: > > code under flag CONFIG_PARTITION_TYPE_GUID > > add parameter guid to select partition type guid > > > > example of use with gpt command : > >

[U-Boot] [PATCH v2 1/7] fastboot: Implement OEM format only when we have MMC support

2015-10-15 Thread Maxime Ripard
The current fastboot support assumes that CONFIG_FASTBOOT_FLASH implies that we have an MMC in our system, which might not be the case if we have some other storage device. Change the configuration option protecting that call to FASTBOOT_FLASH_MMC_DEV, that makes much more sense. Signed-off-by:

[U-Boot] [PATCH v2 4/7] sunxi: Use Kconfig CONFIG_MMC

2015-10-15 Thread Maxime Ripard
Not all sunxi boards have an MMC embedded. Switching to the Kconfig option will allow to enable or disable the support in each boards' defconfig. Signed-off-by: Maxime Ripard --- board/sunxi/Kconfig| 4 drivers/mmc/Kconfig| 2 +-

[U-Boot] [PATCH v2 5/7] sun5i: Sync the DTSI with the kernel

2015-10-15 Thread Maxime Ripard
Add the latest kernel changes to the sun5i family DTSI. Signed-off-by: Maxime Ripard --- arch/arm/dts/sun5i-a10s.dtsi | 47 --- arch/arm/dts/sun5i-a13.dtsi | 28 - arch/arm/dts/sun5i-r8.dtsi | 59

Re: [U-Boot] [PATCH 2/3] gpt: add optional parameter guid in gpt command

2015-10-15 Thread Rob Herring
On Tue, Oct 13, 2015 at 9:23 AM, Patrick Delaunay wrote: > code under flag CONFIG_PARTITION_TYPE_GUID > add parameter guid to select partition type guid > > example of use with gpt command : > > partitions = uuid_disk=${uuid_gpt_disk};name=boot,start=0x4400, >

Re: [U-Boot] Relocation issue - need help!

2015-10-15 Thread Tom Rini
On Thu, Oct 15, 2015 at 03:56:09PM +, Joakim Tjernlund wrote: > On Tue, 2015-10-06 at 11:17 +, Joakim Tjernlund wrote: > > On Thu, 2015-10-01 at 08:57 +, Joakim Tjernlund wrote: > > > On Wed, 2015-09-30 at 21:35 +0200, Marek Vasut wrote: > > > > On Wednesday, September 30, 2015 at

Re: [U-Boot] [PATCH 2/2] arm: socfpga: enable data/inst prefetch and shared override in the L2

2015-10-15 Thread Marek Vasut
On Thursday, October 15, 2015 at 08:18:43 PM, Dinh Nguyen wrote: > On Thu, Oct 15, 2015 at 1:08 PM, Marek Vasut wrote: > > On Thursday, October 15, 2015 at 05:04:38 PM, Dinh Nguyen wrote: > > > > Hi! > > > >> >>> diff --git a/arch/arm/include/asm/pl310.h > >> >>>

Re: [U-Boot] [Patch V5 07/17] net/fm: bug fix when CONFIG_PHYLIB not defined

2015-10-15 Thread Kushwaha Prabhakar
> -Original Message- > From: Gong Qianyu [mailto:qianyu.g...@freescale.com] > Sent: Thursday, October 15, 2015 6:33 PM > To: u-boot@lists.denx.de > Cc: Hu Mingkai-B21284 ; Sun York-R58495 > ; Hou Zhiqiang-B48286 ; > Xie

  1   2   >