[U-Boot] [v2, 4/4] mmc: fsl_esdhc: enable EVDD automatic control for SD/MMC Legacy Adapter Card

2015-09-17 Thread Yangbo Lu
When detecting SDHC Adapter Card Type 2(SD/MMC Legacy Adapter Card), enable EVDD automatic control via SDHC_VS. This could support SD card IO voltage switching for UHS-1 speed mode. Signed-off-by: Yangbo Lu --- board/freescale/common/qixis.h | 3 +++

[U-Boot] [v2, 2/4] powerpc/t1040qds: enable adapter card type identification support

2015-09-17 Thread Yangbo Lu
Signed-off-by: Yangbo Lu --- include/configs/T1040QDS.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h index a0390a8..8353b8f 100644 --- a/include/configs/T1040QDS.h +++ b/include/configs/T1040QDS.h @@ -599,6

[U-Boot] [v2, 1/4] mmc: fsl_esdhc: enable dat[4:7] for eMMC4.5 Adapter Card

2015-09-17 Thread Yangbo Lu
If adapter card type identification is supported for platform, we would enable dat[4:7] for eMMC4.5 Adapter Card. Signed-off-by: Yangbo Lu --- Changes for v2: - Modified the commit message - Added a patch enabling EVDD automatic control ---

[U-Boot] [v2, 3/4] powerpc/t1040qds: enable peripheral clock for eSDHC

2015-09-17 Thread Yangbo Lu
Signed-off-by: Yangbo Lu --- include/configs/T1040QDS.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h index 8353b8f..92bc295 100644 --- a/include/configs/T1040QDS.h +++ b/include/configs/T1040QDS.h @@ -593,6

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

2015-09-17 Thread Gong Qianyu
get_clocks() should not be limited by ESDHC. Signed-off-by: Gong Qianyu --- common/board_f.c | 2 +- include/configs/BSC9132QDS.h | 1 + include/configs/MPC8308RDB.h | 1 + include/configs/MPC837XEMDS.h | 1 +

[U-Boot] [Patch v2 16/16] armv8/ls1043ardb: Add cpld command to boot from sd

2015-09-17 Thread Gong Qianyu
Signed-off-by: Gong Qianyu --- board/freescale/ls1043ardb/cpld.c | 17 + board/freescale/ls1043ardb/cpld.h | 1 + 2 files changed, 18 insertions(+) diff --git a/board/freescale/ls1043ardb/cpld.c b/board/freescale/ls1043ardb/cpld.c index

[U-Boot] [Patch v2 11/16] armv8/ls1043ardb: Add nand boot support

2015-09-17 Thread Gong Qianyu
Signed-off-by: Gong Qianyu Signed-off-by: Hou Zhiqiang Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu --- V2: -Removed unecessary NAND_PAGE_SIZE in ls1043a_common.h. -Fixed "select

[U-Boot] [Patch v2 13/16] armv8/ls1043a: Add Fman support

2015-09-17 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 ---

[U-Boot] [Patch v2 12/16] armv8/ls1043ardb: Add cpld command to boot from nand

2015-09-17 Thread Gong Qianyu
Signed-off-by: Gong Qianyu --- board/freescale/ls1043ardb/cpld.c | 18 ++ board/freescale/ls1043ardb/cpld.h | 1 + 2 files changed, 19 insertions(+) diff --git a/board/freescale/ls1043ardb/cpld.c b/board/freescale/ls1043ardb/cpld.c index

[U-Boot] [Patch v2 14/16] armv8/ls1043ardb: esdhc: Add esdhc support for ls1043ardb

2015-09-17 Thread Gong Qianyu
From: Yangbo Lu This patch adds esdhc support for ls1043ardb. Signed-off-by: Yangbo Lu Signed-off-by: Gong Qianyu --- arch/arm/cpu/armv8/fsl-lsch2/cpu.c | 10 ++ arch/arm/cpu/armv8/fsl-lsch2/fdt.c | 6

Re: [U-Boot] U-boot UBI breaks build with -O0

2015-09-17 Thread Heiko Schocher
Hello Kevin, Am 16.09.2015 um 22:58 schrieb Kevin Smith: Some of the debug functions for UBI are preprocessed out for U-boot (ifndef __UBOOT__), but their calls are optimized out at higher optimization levels, so this does not cause a problem. When building with -O0, the linker gives an error:

[U-Boot] [Patch v2 01/16] ARMv7/ls1021a: move ns_access to common file

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

[U-Boot] [Patch v2 06/16] net/fm: Add QSGMII PCS init

2015-09-17 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 v2 04/16] net/fm: bug fix when CONFIG_PHYLIB not defined

2015-09-17 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 --- drivers/net/fm/eth.c | 2 ++ 1

[U-Boot] [Patch v2 03/16] net/fm: Fix the endian issue of ucode uploading to IRAM

2015-09-17 Thread Gong Qianyu
From: Shaohui Xie Remove the redundant byte swap of the ucode before uploading to IRAM. Signed-off-by: Hou Zhiqiang Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu Signed-off-by: Gong

[U-Boot] [Patch v2 08/16] net/fm: fix compile warnings for 64-bit platform

2015-09-17 Thread Gong Qianyu
This patch fixes such compile warnings: drivers/net/fm/eth.c: In function 'fm_eth_recv': drivers/net/fm/eth.c:549:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] data = (u8 *)in_be32(>buf_ptr_lo); drivers/net/fm/fm.c: In function 'fm_muram_alloc':

[U-Boot] [Patch v2 07/16] net/fm: fix MDIO controller base on FMAN2

2015-09-17 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 v2 15/16] armv8/ls1043ardb: Add sd boot support

2015-09-17 Thread Gong Qianyu
Signed-off-by: Gong Qianyu --- board/freescale/ls1043ardb/ls1043ardb.c | 8 +++ board/freescale/ls1043ardb/ls1043ardb_rcw_sd.cfg | 7 ++ configs/ls1043ardb_sdcard_defconfig | 4 include/configs/ls1043a_common.h | 30

[U-Boot] [Patch v2 05/16] net: Move some header files to include/

2015-09-17 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 v2 09/16] ARMv8/FSL_LSCH2: Add FSL_LSCH2 SoC

2015-09-17 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

[U-Boot] [Patch v2 10/16] ARMv8/ls1043ardb: Add LS1043ARDB board support

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

[U-Boot] [PATCH] imx6, aristaintetos2: add me as maintainer

2015-09-17 Thread Heiko Schocher
Add me as Maintainer for the aristainetos2b board. Signed-off-by: Heiko Schocher --- board/aristainetos/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/aristainetos/MAINTAINERS b/board/aristainetos/MAINTAINERS index 78c9b69..b463f7b 100644 ---

Re: [U-Boot] [PATCH] arm: socfpga: Fix cache configuration

2015-09-17 Thread Marek Vasut
On Thursday, September 17, 2015 at 05:30:29 PM, Stefan Roese wrote: > By not defining CONFIG_SYS_ARM_CACHE_WRITEALLOC, the WRITEBACK cache > policy is selected. This leads to much better performance on the SoCFPGA. > A quick network test shows this: > > Without this patch: > => tftp 10

Re: [U-Boot] [PATCH] FIX: fat: Provide correct return code from disk_{read|write} to upper layers

2015-09-17 Thread Lukasz Majewski
Hi Tom,, > Hi, > > > It is very common that FAT code is using following pattern: > > if (disk_{read|write}() < 0) > > return -1; > > > > Up till now the above code was dead, since disk_{read|write) could > > only return value >= 0. > > As a result some errors from medium layer (i.e.

[U-Boot] [PATCH] arm: socfpga: Fix cache configuration

2015-09-17 Thread Stefan Roese
By not defining CONFIG_SYS_ARM_CACHE_WRITEALLOC, the WRITEBACK cache policy is selected. This leads to much better performance on the SoCFPGA. A quick network test shows this: Without this patch: => tftp 10 big-40mb Speed: 1000, full duplex Using dwmac.ff702000 device TFTP from server

Re: [U-Boot] [PATCH 1/2] mmc: dw_mmc: Increase timeout to 20 seconds

2015-09-17 Thread Lukasz Majewski
Hi Tom, > On Monday, September 14, 2015 at 01:22:20 PM, Lukasz Majewski wrote: > > Hi Alexey, > > > > > Hi Marek, Lukasz, > > > > > > On Sun, 2015-09-13 at 16:00 +0200, Marek Vasut wrote: > > > > On Sunday, September 13, 2015 at 12:03:18 PM, Lukasz Majewski > > > > wrote: > > > > > Hi Marek, >

Re: [U-Boot] [U-Boot, v5, 2/9] armv8: New MMU setup code allowing to use 48+ bits PA/VA

2015-09-17 Thread Sergei Temerkhanov
On Tue, Sep 15, 2015 at 10:04 PM, Tom Rini wrote: > On Mon, Sep 07, 2015 at 06:18:15PM +0300, Sergey Temerkhanov wrote: > >> This patch adds code which sets up 2-level page tables on ARM64 thus >> extending available VA space. CPUs implementing 64k translation >> granule are

Re: [U-Boot] [PATCH v2 2/3] sunxi: retrieve FEL-provided values to environment variables

2015-09-17 Thread Bernhard Nortmann
Hi! Am 16.09.2015 um 03:00 schrieb Siarhei Siamashka: On Mon, 14 Sep 2015 15:15:29 +0200 Bernhard Nortmann wrote: This patch extends the misc_init_r() function on sunxi boards to test for the presence of a suitable "sunxi" SPL header. If found, and the loader ("fel"

Re: [U-Boot] Trying to load old kernel with new u-boot

2015-09-17 Thread DaveKucharczyk
Fabio Estevam-2 wrote > I meant "different parents for the uart clock" Fabio, that would make sense why it doesn't work when setting 2014 u-boot CSCDR1 to the value in 2009 u-boot. I can check all the combinations of clock division I want and it's never going to work since the parent is

[U-Boot] [PATCH 2/3][v3] Data types defined for 64 bit physical address

2015-09-17 Thread Aneesh Bansal
Data types and I/O functions have been defined for 64 bit physical addresses in arm. Signed-off-by: Aneesh Bansal --- Changes in v3: Corrected the definition of virt_to_phys() and definition of phys_addr_t. arch/arm/include/asm/io.h| 4 ++--

[U-Boot] [PATCH 1/3][v3] Pointers in ESBC header made 32 bit

2015-09-17 Thread Aneesh Bansal
For the Chain of Trust, the esbc_validate command supports 32 bit fields for location of the image. In the header structure definition, these were declared as pointers which made them 64 bit on a 64 bit core. Signed-off-by: Aneesh Bansal --- Changes in v3: Patch

Re: [U-Boot] [PATCH] arm: mvebu: timer.c: Explicitly move "init_done" var to data section

2015-09-17 Thread Simon Guinot
On Thu, Sep 03, 2015 at 12:47:07PM +0200, Stefan Roese wrote: > As reported by Simon Guinot, commit ade741b3 > "arm: mvebu: Call timer_init early before PHY and DDR init" breaks > Kirkwood platforms. As the static variable "init_done" is not > available at that early boot time. This patch moves it

[U-Boot] [PATCH 3/3][v3] crypto/fsl: SEC driver cleanup for 64 bit and endianness

2015-09-17 Thread Aneesh Bansal
The SEC driver code has been cleaned up to work for 64 bit physical addresses and systems where endianess of SEC block is different from the Core. Changes: 1. Descriptor created on Core is modified as per SEC block endianness before the job is submitted. 2. The read/write of physical addresses

[U-Boot] [PATCH v3 3/4] sunxi: retrieve FEL-provided values to environment variables

2015-09-17 Thread Bernhard Nortmann
This patch extends the misc_init_r() function on sunxi boards to test for the presence of a suitable "sunxi" SPL header. If found, and the loader ("fel" utility) provided a non-zero value for the boot.scr address, then the corresponding environment variable fel_scriptaddr gets set. misc_init_r()

[U-Boot] [PATCH v3 1/4] sunxi: move SPL-related definitions to platform-specific include

2015-09-17 Thread Bernhard Nortmann
The sunxi platform currently doesn't seem to make any use of the asm/arch-sunxi/spl.h file. This patch moves some declarations from tools/mksunxiboot.c into it. This enables us to reuse those definitions when extending the sunxi board code (boards/sunxi/boards.c). Signed-off-by: Bernhard

[U-Boot] [PATCH v3 0/4] sunxi: support FEL-provided environment vars and "fel" boot target

2015-09-17 Thread Bernhard Nortmann
This patch series builds upon http://lists.denx.de/pipermail/u-boot/2015-September/226515.html http://lists.denx.de/pipermail/u-boot/2015-September/226688.html v2 combines the previous submissions, and adds some suggested fixes/changes. v3 introduces another patch at the start of the series to

[U-Boot] [PATCH v3 2/4] sunxi: (mksunxiboot) signature to indicate "sunxi" SPL variant

2015-09-17 Thread Bernhard Nortmann
This patch follows up on a discussion of ways to improve support for the sunxi FEL ("USB boot") mechanism, especially with regard to boot scripts, see: https://groups.google.com/d/msg/linux-sunxi/wBEGUoLNRro/rHGq6nSYCQAJ The idea is to convert the (currently unused) "pad" bytes in the SPL header

Re: [U-Boot] [Patch v2 05/16] net: Move some header files to include/

2015-09-17 Thread Scott Wood
On Thu, 2015-09-17 at 15:06 +0800, Gong Qianyu wrote: > 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

Re: [U-Boot] [PATCH v2 6/8] x86: galileo: Add PCIe root port IRQ routing

2015-09-17 Thread Simon Glass
On 10 September 2015 at 00:20, Bin Meng wrote: > Now we have enabled PCIe root port on Quark SoC, add its PIRQ > routing information in the device tree as well. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > --- > > Changes in

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

2015-09-17 Thread Simon Glass
Hi Tom, Here are the rest of the quark networkng support, plus fixes for Linux booting, etc. The following changes since commit fa43ce842c3026c2abf19d4234d02cd4c62eeec0: Merge git://git.denx.de/u-boot-fdt (2015-09-16 09:53:37 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH v5 1/4] dm: pci: Add an inline API to test if a device is on a PCI bus

2015-09-17 Thread Simon Glass
On 15 September 2015 at 07:51, Simon Glass wrote: > On 11 September 2015 at 04:24, Bin Meng wrote: >> Introduce device_is_on_pci_bus() which can be utilized by driver >> to test if a device is on a PCI bus. >> >> Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH v5 2/4] net: designware: Add support to PCI designware devices

2015-09-17 Thread Simon Glass
On 15 September 2015 at 08:20, Bin Meng wrote: > Hi Simon, > > On Tue, Sep 15, 2015 at 9:51 PM, Simon Glass wrote: >> On 11 September 2015 at 04:24, Bin Meng wrote: >>> The Designware ethernet controller is also seen on PCI bus, e.g.

Re: [U-Boot] [PATCH v5 3/4] x86: Convert to use driver model eth on quark/galileo

2015-09-17 Thread Simon Glass
On 11 September 2015 at 04:24, Bin Meng wrote: > Convert to use DM version of Designware ethernet driver on Intel > quark/galileo. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > > --- > > Changes in v5: None > Changes in v3: None

Re: [U-Boot] [PATCH v5 4/4] x86: quark: Add PCIe/USB static register programming after memory init

2015-09-17 Thread Simon Glass
On 11 September 2015 at 04:24, Bin Meng wrote: > This adds static register programming for PCIe and USB after memory > init as required by Quark firmware writer guide. Although not doing > this did not cause any malfunction, just do it for safety. > > Signed-off-by: Bin Meng

Re: [U-Boot] [Patch v2 07/16] net/fm: fix MDIO controller base on FMAN2

2015-09-17 Thread Scott Wood
On Thu, 2015-09-17 at 15:06 +0800, Gong Qianyu wrote: > 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

[U-Boot] [PATCH 3/3] cgtqmx6eval: Add USB Mass Storage support

2015-09-17 Thread Otavio Salvador
=> ums 0 mmc 0 (Mounts the micro SD) => ums 0 mmc 1 (Mounts the eMMC) => ums 0 mmc 2 (Mounts the big SD) Signed-off-by: Otavio Salvador --- include/configs/cgtqmx6eval.h | 14 ++ 1 file changed, 14 insertions(+) diff --git a/include/configs/cgtqmx6eval.h

[U-Boot] [PATCH v3 4/4] sunxi: add "fel" boot target

2015-09-17 Thread Bernhard Nortmann
This patch makes use of the previous changes to add a new "fel" boot target for sunxi boards. When booting via FEL, it's often desirable to work around the absence of other (usable) boot devices - or to be able to override them, deviating from the standard boot sequence. To achieve this, the

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

2015-09-17 Thread Simon Glass
Hi Tom, The following changes since commit fa43ce842c3026c2abf19d4234d02cd4c62eeec0: Merge git://git.denx.de/u-boot-fdt (2015-09-16 09:53:37 -0400) are available in the git repository at: git://git.denx.de/u-boot-dm.git for you to fetch changes up to

Re: [U-Boot] [PATCH v2 8/8] x86: doc: Add DMI to the TODO list

2015-09-17 Thread Simon Glass
On 10 September 2015 at 00:20, Bin Meng wrote: > Desktop Management Interface (DMI) is not supported by U-Boot now. > Add it to the TODO list. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > --- > > Changes in v2: None > >

Re: [U-Boot] [PATCH v2 5/8] x86: quark: Initialize thermal sensor properly

2015-09-17 Thread Simon Glass
On 10 September 2015 at 00:20, Bin Meng wrote: > Thermal sensor on Quark SoC needs to be properly initialized per > Quark firmware writer guide, otherwise when booting Linux kernel, > it triggers system shutdown because of wrong temperature in the > thermal sensor is detected

Re: [U-Boot] [PATCH v2 1/8] x86: galileo: Enable random mac address for Quark

2015-09-17 Thread Simon Glass
On 10 September 2015 at 00:20, Bin Meng wrote: > Not like other Intel Ethernet controllers (e.g.: E1000), Intel Quark > SoC integrated designware Ethernet controller does not have a chipset > defined way to store/restore mac address. Enable random mac address > so that we can

Re: [U-Boot] [PATCH v2 7/8] x86: doc: Document some porting hints about Intel Quark

2015-09-17 Thread Simon Glass
On 10 September 2015 at 00:20, Bin Meng wrote: > Document porting considerations for Intel Quark based board, > including MRC parameters and PCIe initialization. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > > --- > > Changes in

Re: [U-Boot] [PATCH] x86: quark: Configure MTRR to enable cache

2015-09-17 Thread Simon Glass
On 14 September 2015 at 19:54, Simon Glass wrote: > On 14 September 2015 at 01:07, Bin Meng wrote: >> Quark SoC does not support MSR MTRRs. Fixed and variable range MTRRs >> are accessed indirectly via the message port and not the traditional >> MSR

Re: [U-Boot] [PATCH v2 4/8] x86: quark: Lock HMBOUND register before jumping to kernel

2015-09-17 Thread Simon Glass
On 10 September 2015 at 00:20, Bin Meng wrote: > When Linux kernel boots, it hangs at: > > [0.829408] Intel Quark side-band driver registered > > This happens when Quark kernel Isolated Memory Region (IMR) driver > tries to lock an IMR register to protect kernel's text and

Re: [U-Boot] [PATCH v2 2/8] x86: quark: Add clrbits, setbits, clrsetbits macros for message port access

2015-09-17 Thread Simon Glass
On 10 September 2015 at 00:20, Bin Meng wrote: > On Intel Quark, lots of registers on the message port need be > programmed. Add handy clrbits, setbits, clrsetbits macros for > message port access. > > Signed-off-by: Bin Meng > Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v2 3/8] x86: quark: Convert to use clrbits, setbits, clrsetbits macros

2015-09-17 Thread Simon Glass
On 10 September 2015 at 00:20, Bin Meng wrote: > Change existing codes to use clrbits, setbits, clrsetbits macros. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > --- > > Changes in v2: None > > arch/x86/cpu/quark/quark.c | 72 >

[U-Boot] [PATCH 1/3] cgtqmx6eval: Fit into a single line

2015-09-17 Thread Otavio Salvador
The printf can be put in a single line of code, so make it simpler Signed-off-by: Otavio Salvador --- board/congatec/cgtqmx6eval/cgtqmx6eval.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/board/congatec/cgtqmx6eval/cgtqmx6eval.c

Re: [U-Boot] [Patch v2 08/16] net/fm: fix compile warnings for 64-bit platform

2015-09-17 Thread Scott Wood
On Thu, 2015-09-17 at 15:06 +0800, Gong Qianyu wrote: > This patch fixes such compile warnings: > > drivers/net/fm/eth.c: In function 'fm_eth_recv': > drivers/net/fm/eth.c:549:11: warning: cast to pointer from integer of > different size [-Wint-to-pointer-cast] > data = (u8

[U-Boot] [PATCH 2/3] cgtqmx6eval: Add a maintainer entry

2015-09-17 Thread Otavio Salvador
Add me as the board maintainer and move the status to 'Maintained'. Signed-off-by: Otavio Salvador --- board/congatec/cgtqmx6eval/MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/congatec/cgtqmx6eval/MAINTAINERS

Re: [U-Boot] [PATCH 09/14] armv8/ls1043ardb: Add nand boot support

2015-09-17 Thread Scott Wood
On Wed, 2015-09-16 at 04:25 -0500, Gong Qianyu-B52263 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, September 16, 2015 6:33 AM > > To: Gong Qianyu-B52263 > > Cc: u-boot@lists.denx.de; Xie Shaohui-B21989; Hou Zhiqiang-B48286; Hu > > Mingkai-B21284; Song

[U-Boot] [PATCH 1/3] ti_omap4_common.h: Switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL

2015-09-17 Thread Tom Rini
Tested on Pandaboard Signed-off-by: Tom Rini --- include/configs/ti_omap4_common.h |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h index 1cd7dae..741f71f 100644 ---

[U-Boot] [PATCH V3 4/4] test: Add basic tests for remoteproc

2015-09-17 Thread Nishanth Menon
Use the sandbox environment for the basic tests. Reviewed-by: Simon Glass Tested-by: Simon Glass Signed-off-by: Nishanth Menon --- Changes since V1: - Comment cleanup (dropped '..') - Picked up Simon's Tested and Reviewed tags

[U-Boot] [PATCH 2/3] ti_omap5_common.h: Switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL

2015-09-17 Thread Tom Rini
Tested on J6Eco EVM Signed-off-by: Tom Rini --- include/configs/ti_omap5_common.h |4 1 file changed, 4 insertions(+) diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h index 189ea7e..9fc33aa 100644 ---

Re: [U-Boot] [Patch v2 11/16] armv8/ls1043ardb: Add nand boot support

2015-09-17 Thread Scott Wood
On Thu, 2015-09-17 at 15:06 +0800, Gong Qianyu wrote: > > > +/* NAND SPL */ > +#ifdef CONFIG_NAND_BOOT > +#define CONFIG_SPL_PBL_PAD > +#define CONFIG_SPL_FRAMEWORK > +#define CONFIG_SPL_LDSCRIPT "arch/arm/cpu/armv8/u-boot-spl.lds" > +#define CONFIG_SPL_TARGET

[U-Boot] [PATCH 3/3] dra72_evm: Switch to DM_SERIAL

2015-09-17 Thread Tom Rini
Tested on J6Eco EVM. Signed-off-by: Tom Rini --- configs/dra72_evm_defconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/dra72_evm_defconfig b/configs/dra72_evm_defconfig index 3205e72..dbf65d0 100644 --- a/configs/dra72_evm_defconfig +++

[U-Boot] [PATCH V3 1/4] drivers: Introduce a simplified remoteproc framework

2015-09-17 Thread Nishanth Menon
Many System on Chip(SoC) solutions are complex with multiple processors on the same die dedicated to either general purpose of specialized functions. Many examples do exist in today's SoCs from various vendors. Typical examples are micro controllers such as an ARM M3/M0 doing a offload of specific

[U-Boot] [PATCH V3 2/4] remoteproc: Introduce a sandbox dummy driver

2015-09-17 Thread Nishanth Menon
Introduce a dummy driver for sandbox that allows us to verify basic functionality. This is not meant to do anything functional - but is more or less meant as a framework plumbing debug helper. The sandbox remoteproc driver maintains absolutey no states and is a simple driver which just is filled

[U-Boot] [PATCH V3 3/4] sandbox: Introduce dummy remoteproc nodes

2015-09-17 Thread Nishanth Menon
Introduce dummy devices for sandbox remoteproc device and enable it by default Reviewed-by: Simon Glass Signed-off-by: Nishanth Menon --- Changes since V2: - Picked up Simon's reviewed-by from V2. V2: https://patchwork.ozlabs.org/patch/511750/ V1:

[U-Boot] [PATCH V3 0/4] drivers/sandbox: Introduce a simplified remoteproc framework

2015-09-17 Thread Nishanth Menon
Many System on Chip(SoC) solutions are complex with multiple processors on the same die dedicated to either general purpose of specialized functions. Many examples do exist in today's SoCs from various vendors. Typical examples are micro controllers such as an ARM M3/M0 doing a offload of specific

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

2015-09-17 Thread Tom Rini
On Thu, Sep 17, 2015 at 12:56:04PM -0600, Simon Glass wrote: > Hi Tom, > > Here are the rest of the quark networkng support, plus fixes for Linux > booting, etc. > > > The following changes since commit fa43ce842c3026c2abf19d4234d02cd4c62eeec0: > > Merge git://git.denx.de/u-boot-fdt

Re: [U-Boot] [PATCH v3 3/4] sunxi: retrieve FEL-provided values to environment variables

2015-09-17 Thread Hans de Goede
Hi, On 09/17/2015 12:52 PM, Bernhard Nortmann wrote: This patch extends the misc_init_r() function on sunxi boards to test for the presence of a suitable "sunxi" SPL header. If found, and the loader ("fel" utility) provided a non-zero value for the boot.scr address, then the corresponding

Re: [U-Boot] [PATCH v3 0/4] sunxi: support FEL-provided environment vars and "fel" boot target

2015-09-17 Thread Hans de Goede
Hi, On 09/17/2015 12:52 PM, Bernhard Nortmann wrote: This patch series builds upon http://lists.denx.de/pipermail/u-boot/2015-September/226515.html http://lists.denx.de/pipermail/u-boot/2015-September/226688.html v2 combines the previous submissions, and adds some suggested fixes/changes. v3

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

2015-09-17 Thread Tom Rini
On Thu, Sep 17, 2015 at 12:53:35PM -0600, Simon Glass wrote: > Hi Tom, > > The following changes since commit fa43ce842c3026c2abf19d4234d02cd4c62eeec0: > > Merge git://git.denx.de/u-boot-fdt (2015-09-16 09:53:37 -0400) > > are available in the git repository at: > >

[U-Boot] [PATCH v2 4/5] ubifs: Add generic fs support

2015-09-17 Thread Hans de Goede
Add generic fs support, so that commands like ls, load and test -e can be used on ubifs. Signed-off-by: Hans de Goede Reviewed-by: Heiko Schocher --- Changes in v2: -Do not allow building in both hostfs and ubifs support as both use NULL as magic blkdev ---

[U-Boot] [PATCH v2 3/5] ubifs: Add functions for generic fs use

2015-09-17 Thread Hans de Goede
Implement the necessary functions for implementing generic fs support for ubifs. Signed-off-by: Hans de Goede Reviewed-by: Heiko Schocher --- Changes in v2: -Use debug rather then printf in ubifs_set_blk_dev() to avoid false positive error messages when using

[U-Boot] [PATCH v2 2/5] ubifs: Modify ubifs u-boot wrapper function prototypes for generic fs use

2015-09-17 Thread Hans de Goede
Modify the ubifs u-boot wrapper function prototypes for generic fs use, and give them their own header file. This is a preparation patch for adding ubifs support to the generic fs code from fs/fs.c. Signed-off-by: Hans de Goede Reviewed-by: Heiko Schocher ---

[U-Boot] [PATCH v2 1/5] disk/part: Only build hostfs special handling when CONFIG_SANDBOX is set

2015-09-17 Thread Hans de Goede
This is not necessary / useful when not building with CONFIG_SANDBOX and with the addition of ubifs support to the generic fs commands it actually gets in the way, since both operate on a fake / NULL blkdev. Signed-off-by: Hans de Goede --- Changes in v2: -New patch in v2 of

[U-Boot] [PATCH v2 5/5] distro_bootcmd: Add support for booting from ubifs

2015-09-17 Thread Hans de Goede
From: Roy Spliet Under the assumptions of having a UBI volume called boot, containing a ubifs filesystem. Signed-off-by: Roy Spliet Signed-off-by: Hans de Goede Acked-by: Stephen Warren --- Changes in v2:

Re: [U-Boot] [PATCH 1/2] mmc: dw_mmc: Increase timeout to 20 seconds

2015-09-17 Thread Tom Rini
On Thu, Sep 17, 2015 at 04:43:33PM +0200, Lukasz Majewski wrote: > Hi Tom, > > > On Monday, September 14, 2015 at 01:22:20 PM, Lukasz Majewski wrote: > > > Hi Alexey, > > > > > > > Hi Marek, Lukasz, > > > > > > > > On Sun, 2015-09-13 at 16:00 +0200, Marek Vasut wrote: > > > > > On Sunday,

[U-Boot] [PATCH] nios2: convert altera_uart to driver model

2015-09-17 Thread Thomas Chou
Convert altera_uart to driver model. Signed-off-by: Thomas Chou --- arch/nios2/dts/3c120_devboard.dts | 1 + drivers/serial/Kconfig| 6 ++ drivers/serial/altera_uart.c | 153 ++ include/configs/nios2-generic.h |

Re: [U-Boot] [PATCH 1/8] ARM: hikey: Update README with various corrections

2015-09-17 Thread Simon Glass
Hi Peter, On 9 September 2015 at 15:13, Peter Griffin wrote: > The README had a few mistakes, and one of the URL's > had changed. Also update the boot log with the latest > boot trace from ATF, which now includes the mcuimage.bin. > > Signed-off-by: Peter Griffin

Re: [U-Boot] [PATCH v2 6/8] ARM: hikey: Select DM, DM_GPIO from Kconfig

2015-09-17 Thread Simon Glass
On 10 September 2015 at 14:55, Peter Griffin wrote: > Most platforms enable these options from Kconfig rather > than the configs header file. > > Signed-off-by: Peter Griffin > --- > arch/arm/Kconfig| 2 ++ > include/configs/hikey.h |

Re: [U-Boot] [PATCH v2 3/8] ARM: hikey: Use linux/sizes.h for malloc size

2015-09-17 Thread Simon Glass
On 10 September 2015 at 14:55, Peter Griffin wrote: > Use the #defines in linux/sizes for malloc size as it is > more readable. Debatable, but it's your board :-) Reviewed-by: Simon Glass > > Signed-off-by: Peter Griffin

Re: [U-Boot] [PATCH] nios2: convert altera_uart to driver model

2015-09-17 Thread Marek Vasut
On Friday, September 18, 2015 at 05:24:18 AM, Thomas Chou wrote: > Convert altera_uart to driver model. > > Signed-off-by: Thomas Chou > --- Hi! minor nitpicks below :) > -typedef volatile struct { > +struct altera_uart_regs { > unsignedrxdata; /*

Re: [U-Boot] [Patch v2 11/16] armv8/ls1043ardb: Add nand boot support

2015-09-17 Thread Gong Q . Y .
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, September 18, 2015 4:16 AM > To: Gong Qianyu-B52263 > Cc: u-boot@lists.denx.de; Hu Mingkai-B21284; Sun York-R58495; Hou > Zhiqiang-B48286; Song Wenbin-B53747; Xie Shaohui-B21989; Wood Scott- > B07421 > Subject: Re: [Patch v2

Re: [U-Boot] [PATCH v2 8/8] ARM: hikey: Adjust SDRAM_1_SIZE to 0x3EFFFFFF

2015-09-17 Thread Simon Glass
On 10 September 2015 at 14:55, Peter Griffin wrote: > DRAM region 0x3f00 - 0x3fff is reserved for OP-TEE. Touching > 0x3f00 memory location from unsecure world causes the board > to hang. > > Signed-off-by: Peter Griffin > --- >

Re: [U-Boot] [PATCH v2 7/8] ARM: hikey: hi6220: Migrate over to DM_SERIAL and use UART3 by default.

2015-09-17 Thread Simon Glass
Hi Peter, On 10 September 2015 at 14:55, Peter Griffin wrote: > Use DM for the pl01x serial driver on hikey. Also allow UART0 or > UART3 to be chosen via Kconfig. > > By default we now output to UART3 as the latest version of ATF outputs > to this UART. Also UART3 comes

Re: [U-Boot] [PATCH] nios2: convert altera_uart to driver model

2015-09-17 Thread Simon Glass
Hi, On 17 September 2015 at 21:29, Marek Vasut wrote: > > On Friday, September 18, 2015 at 05:24:18 AM, Thomas Chou wrote: > > Convert altera_uart to driver model. > > > > Signed-off-by: Thomas Chou > > --- > > Hi! > > minor nitpicks below :) Looks good to

Re: [U-Boot] [PATCH v2 4/8] ARM: hi6220: Add UART0 and UART3 base addresses

2015-09-17 Thread Simon Glass
On 10 September 2015 at 14:55, Peter Griffin wrote: > Signed-off-by: Peter Griffin > --- > arch/arm/include/asm/arch-hi6220/hi6220.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/include/asm/arch-hi6220/hi6220.h >

Re: [U-Boot] [PATCH v2 5/8] ARM: hikey: Remove resetting gd->flags in board_init()

2015-09-17 Thread Simon Glass
On 10 September 2015 at 14:55, Peter Griffin wrote: > This causes exceptions and other strange behaviour > when enabling CONFIG_SYS_MALLOC_F_LEN which is required to > migrate the serial driver over to DM_SERIAL. > > As GD_FLG_FULL_MALLOC_INIT flag gets reset, after

Re: [U-Boot] [PATCH 2/8] ARM: hikey: Add ATF makefile referenced by README

2015-09-17 Thread Simon Glass
Hi Peter, On 9 September 2015 at 15:13, Peter Griffin wrote: > Rather than relying on an external URL in the README > include the Makefile in the hikey directory. > > Signed-off-by: Peter Griffin > --- > board/hisilicon/hikey/build-tf.mak |

Re: [U-Boot] [Patch v2 07/16] net/fm: fix MDIO controller base on FMAN2

2015-09-17 Thread Scott Wood
On Thu, 2015-09-17 at 22:49 -0500, Xie Shaohui-B21989 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Friday, September 18, 2015 2:05 AM > > To: Gong Qianyu-B52263 > > Cc: u-boot@lists.denx.de; Hu Mingkai-B21284; Sun York-R58495; Hou > > Zhiqiang-B48286; Song

Re: [U-Boot] [Patch v2 11/16] armv8/ls1043ardb: Add nand boot support

2015-09-17 Thread Scott Wood
On Thu, 2015-09-17 at 22:36 -0500, Gong Qianyu-B52263 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Friday, September 18, 2015 4:16 AM > > To: Gong Qianyu-B52263 > > Cc: u-boot@lists.denx.de; Hu Mingkai-B21284; Sun York-R58495; Hou > > Zhiqiang-B48286; Song