Re: [U-Boot] Makefile: Fix linking with modern binutils

2016-12-15 Thread Joel Stanley
On Tue, Dec 13, 2016 at 10:51 PM, Tom Rini wrote: > On Tue, Dec 13, 2016 at 03:31:24PM +1030, Joel Stanley wrote: >> Hello Tom, >> >> On Sat, Dec 10, 2016 at 12:53 AM, Tom Rini wrote: >> >> -LDFLAGS_u-boot += $(LDFLAGS_FINAL) >> >> +# Avoid Not enough room

[U-Boot] [PATCH v2] Makefile: Fix linking with modern binutils

2016-12-15 Thread Joel Stanley
Since Binutils 1a9ccd70f9a7[1] u-boot will not link targets that set CONFIG_SYS_TEXT_BASE=0 with the following error: LD u-boot arm-linux-gnueabi-ld.bfd: u-boot: Not enough room for program headers, try linking with -N arm-linux-gnueabi-ld.bfd: final link failed: Bad value The issue can

Re: [U-Boot] [PATCH] armv8: fsl-lsch2: enable snoopable usb read and write

2016-12-15 Thread Stuart Yoder
> -Original Message- > From: Changming Huang [mailto:jerry.hu...@nxp.com] > Sent: Thursday, December 15, 2016 1:45 AM > To: york sun ; u-boot@lists.denx.de; Stuart Yoder > > Cc: Jerry Huang > Subject: [PATCH] armv8:

Re: [U-Boot] [PATCH 2/2] spl: move RAM boot support in separate file

2016-12-15 Thread Stefan Roese
On 16.12.2016 03:00, Stefan Agner wrote: From: Stefan Agner Add a new top-level config option so support booting an image stored in RAM. This allows to move the RAM boot support into a sparate file and having a single condition to compile that file. Signed-off-by:

[U-Boot] [PATCH v2] armv8: fsl-lsch2: enable snoopable usb read and write

2016-12-15 Thread Changming Huang
By default the USB IP on the ls1012a/ls1043a/ls1046a SoCs does not generat coherent/snoopable transactions. Here enable it in the SCFG_SNPCNFGCR register. In addition, the dma-coherent property must be set in USB DTS nodes. Signed-off-by: Changming Huang --- Changes in v2:

[U-Boot] [PATCH 2/2] spl: move RAM boot support in separate file

2016-12-15 Thread Stefan Agner
From: Stefan Agner Add a new top-level config option so support booting an image stored in RAM. This allows to move the RAM boot support into a sparate file and having a single condition to compile that file. Signed-off-by: Stefan Agner ---

[U-Boot] [PATCH 1/2] Convert CONFIG_SPL_RAM_DEVICE to defconfig

2016-12-15 Thread Stefan Agner
From: Stefan Agner This converts the following to Kconfig: CONFIG_SPL_RAM_DEVICE Signed-off-by: Stefan Agner --- common/spl/Kconfig | 8 configs/apalis_t30_defconfig | 1 + configs/beaver_defconfig

[U-Boot] [PATCH 2/2] cmd: fdt: Print error message when fdt application fails

2016-12-15 Thread Stefan Agner
From: Stefan Agner There are lots of reason why a FDT application might fail, the error code might give an indication. Let the error code translate in a error string so users can try to understand what went wrong. Signed-off-by: Stefan Agner

[U-Boot] [PATCH 1/2] libfdt: overlay: Fix missing symbols condition

2016-12-15 Thread Stefan Agner
From: Stefan Agner When there is no symbols section in the device tree, overlay_fixup_phandles should return FDT_ERR_NOTFOUND instead of FDT_ERR_BADOFFSET. Signed-off-by: Stefan Agner --- lib/libfdt/fdt_overlay.c | 4 ++-- 1 file changed, 2

[U-Boot] [PATCH] udoo_neo: Use 'fdtfile' variable name

2016-12-15 Thread Fabio Estevam
From: Fabio Estevam 'fdtfile' is the preferred name for the variable that contains the device tree blob according to the README file. It also makes it consistent with other i.MX boards that use config_distro, so change it accordingly. Signed-off-by: Fabio Estevam

[U-Boot] [PATCH] cmd/Kconfig: Fix typo in CMD_MEMORY help text

2016-12-15 Thread Fabio Estevam
From: Fabio Estevam Fix "Memory" and "initialize" typos in the CMD_MEMORY help text. Signed-off-by: Fabio Estevam --- cmd/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index

[U-Boot] [PATCH v3] Kconfig: Move USE_ARCH_MEMCPY/MEMSET to Kconfig

2016-12-15 Thread Fabio Estevam
From: Fabio Estevam Move USE_ARCH_MEMCPY/MEMSET options to Kconfig. Make it "default y" for the ARMv7 architecture and make it depend on !ARM64 && !SPL. Signed-off-by: Fabio Estevam --- Changes since v2: - Move it to arch/arm/Kconfig - Change

[U-Boot] [PATCH v2] fat: fatwrite: fix the command for FAT12

2016-12-15 Thread Philipp Skadorov
The u-boot command fatwrite empties FAT clusters from the beginning till the end of the file. Specifically for FAT12 it fails to detect the end of the file and goes beyond the file bounds thus corrupting the file system. Additionally, FAT entry chaining-up into a file is not implemented for

Re: [U-Boot] Build failure in spi repo

2016-12-15 Thread Stephen Warren
On 12/15/2016 10:48 AM, Jagan Teki wrote: On Thu, Dec 15, 2016 at 6:24 PM, Stephen Warren wrote: Jagan, the latest content in u-boot-spi.git master branch fails to build for sandbox with: In file included from drivers/mtd/spi/spi_flash.c:12:0:

[U-Boot] [PATCH v2 3/4] Kconfig: Move USE_ARCH_MEMCPY/MEMSET to Kconfig

2016-12-15 Thread Fabio Estevam
Move USE_ARCH_MEMCPY/MEMSET options to Kconfig. Make it "default y" for the ARM architecture. Unset these options for uniphier and tegra to preserve the original behavior. Signed-off-by: Fabio Estevam --- Changes since v1: - Newly introduced Kconfig

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

2016-12-15 Thread Jagan Teki
On Thu, Dec 15, 2016 at 6:50 PM, Tom Rini wrote: > On Thu, Dec 15, 2016 at 05:05:05PM +0100, Jagan Teki wrote: > >> Hi Tom, >> >> Please pull this PR. >> >> Changes for v2: >> - Skip "spi: Zap mpc52xx_spi.c and config" patch due to dependencies. >> >> thanks! >> Jagan. >> >>

Re: [U-Boot] [PATCH v2 3/4] Kconfig: Move USE_ARCH_MEMCPY/MEMSET to Kconfig

2016-12-15 Thread Tom Rini
On Thu, Dec 15, 2016 at 04:00:12PM -0200, Fabio Estevam wrote: > Move USE_ARCH_MEMCPY/MEMSET options to Kconfig. > > Make it "default y" for the ARM architecture. > > Unset these options for uniphier and tegra to preserve the original > behavior. > > Signed-off-by: Fabio Estevam

[U-Boot] [PATCH v2 4/4] cmd: mem: Use memcpy for 'cp' command

2016-12-15 Thread Fabio Estevam
Simplify the 'cp' command implementation by using the memcpy() function, which brings the additional benefit of performance gain for those who have CONFIG_USE_ARCH_MEMCPY selected. Tested on a mx6qsabreauto board where a 5x gain in performance is seen when reading 10MB from the parallel NOR

[U-Boot] [PATCH v2 2/4] mx6qsabreauto: Pass the correct parallel NOR width

2016-12-15 Thread Fabio Estevam
On mx6qsabreauto the parallel NOR width is 16 bits, so pass configure CONFIG_SYS_FLASH_CFI_WIDTH correctly so that the CFI driver does not use 8 bits by default. Signed-off-by: Fabio Estevam --- Changes since v1: - None include/configs/mx6qsabreauto.h | 1 + 1 file

[U-Boot] [PATCH v2 1/4] mx6qsabreauto: Configure the WEIM controller like the kernel

2016-12-15 Thread Fabio Estevam
Do the same WEIM initialization as done in the Linux kernel according to arch/arm/boot/dts/imx6qdl-sabreauto.dtsi from kernel 4.9. Signed-off-by: Fabio Estevam --- Changes since v1: - None board/freescale/mx6qsabreauto/mx6qsabreauto.c | 16 1 file

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

2016-12-15 Thread Tom Rini
On Thu, Dec 15, 2016 at 05:05:05PM +0100, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > Changes for v2: > - Skip "spi: Zap mpc52xx_spi.c and config" patch due to dependencies. > > thanks! > Jagan. > > The following changes since commit 53e8ca22538c2cec691fe74098684a359302688c: > >

Re: [U-Boot] Build failure in spi repo

2016-12-15 Thread Jagan Teki
On Thu, Dec 15, 2016 at 6:24 PM, Stephen Warren wrote: > Jagan, the latest content in u-boot-spi.git master branch fails to build for > sandbox with: > >> In file included from drivers/mtd/spi/spi_flash.c:12:0: >> drivers/mtd/spi/spi_flash.c: In function ‘set_quad_mode’: >>

[U-Boot] [PATCH v2] Revert "sf: Fix quad bit set for micron devices"

2016-12-15 Thread Jagan Teki
From: Cyrille Pitchen This reverts commit c56ae7519f141523ba1248b22b5b5169b21772fe. Once the 'Quad Enable' bit is cleared in their Enhanced Volatile Configuration Register (EVCR), Micron memories expect ALL commands to use the SPI 4-4-4 protocol. Commands using SPI

Re: [U-Boot] [PATCH] zynq: spi: Honour the activation / deactivation delay

2016-12-15 Thread Michal Simek
On 15.12.2016 17:57, Moritz Fischer wrote: > Michal, > > On Wed, Dec 14, 2016 at 11:23 PM, Michal Simek > wrote: >> On 14.12.2016 20:13, Moritz Fischer wrote: >>> Whoops, >>> >>> On Thu, Dec 8, 2016 at 12:11 PM, Moritz Fischer >>> wrote:

Re: [U-Boot] [PATCH 1/2] armv8: Enable CPUECTLR.SMPEN for coherency

2016-12-15 Thread Tom Rini
On Thu, Dec 15, 2016 at 05:22:38PM +, york sun wrote: > On 12/15/2016 09:17 AM, Tom Rini wrote: > > On Thu, Dec 15, 2016 at 04:55:44PM +, york sun wrote: > >> > >> Would it be a good idea to detect the core and apply this setting at run > >> time, instead of using Kconfig option? Check the

[U-Boot] Build failure in spi repo

2016-12-15 Thread Stephen Warren
Jagan, the latest content in u-boot-spi.git master branch fails to build for sandbox with: In file included from drivers/mtd/spi/spi_flash.c:12:0: drivers/mtd/spi/spi_flash.c: In function ‘set_quad_mode’: drivers/mtd/spi/spi_flash.c:906:49: error: ‘idcode0’ undeclared (first use in this

Re: [U-Boot] [PATCH 1/2] armv8: Enable CPUECTLR.SMPEN for coherency

2016-12-15 Thread york sun
On 12/15/2016 09:17 AM, Tom Rini wrote: > On Thu, Dec 15, 2016 at 04:55:44PM +, york sun wrote: >> >> Would it be a good idea to detect the core and apply this setting at run >> time, instead of using Kconfig option? Check the macro >> branch_if_a53_core, branch_if_a57_core for example. >> > >

Re: [U-Boot] [PATCH 1/2] armv8: Enable CPUECTLR.SMPEN for coherency

2016-12-15 Thread Tom Rini
On Thu, Dec 15, 2016 at 04:55:44PM +, york sun wrote: > On 12/14/2016 10:22 PM, Zhiqiang Hou wrote: > > From: Mingkai Hu > > > > For A53, data coherency is enabled only when the CPUECTLR.SMPEN bit is > > set. The SMPEN bit should be set before enabling the data cache. > >

Re: [U-Boot] [PATCH] zynq: spi: Honour the activation / deactivation delay

2016-12-15 Thread Moritz Fischer
Michal, On Wed, Dec 14, 2016 at 11:23 PM, Michal Simek wrote: > On 14.12.2016 20:13, Moritz Fischer wrote: >> Whoops, >> >> On Thu, Dec 8, 2016 at 12:11 PM, Moritz Fischer >> wrote: >>> This is not currently implemented. Add support for this so

[U-Boot] [PATCH 3/3] mx6: Select CONFIG_USE_ARCH_MEMCPY

2016-12-15 Thread Fabio Estevam
The CONFIG_USE_ARCH_MEMCPY option builds an assembly optimized version of memcpy, so select it to gain performance. Signed-off-by: Fabio Estevam --- include/configs/mx6_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/mx6_common.h

[U-Boot] [PATCH 1/3] mx6qsabreauto: Configure the WEIM controller like the kernel

2016-12-15 Thread Fabio Estevam
Do the same WEIM initialization as done in the Linux kernel according to arch/arm/boot/dts/imx6qdl-sabreauto.dtsi from kernel 4.9. Signed-off-by: Fabio Estevam --- board/freescale/mx6qsabreauto/mx6qsabreauto.c | 16 1 file changed, 12 insertions(+), 4

Re: [U-Boot] Problem with qspi when using micron devices

2016-12-15 Thread Jagan Teki
On Thu, Dec 15, 2016 at 11:45 AM, Phil Edworthy wrote: > Hi Jagan, > > On 07 December 2016 08:03, Phil Edworthy wrote: >> Hi Jagan, >> >> When using Micron devices, SPI flash with quad mode does not work since >> commit >> c56ae7519f141523ba1248b22b5b5169b21772fe "sf:

Re: [U-Boot] [PATCH 1/2] armv8: Enable CPUECTLR.SMPEN for coherency

2016-12-15 Thread york sun
On 12/14/2016 10:22 PM, Zhiqiang Hou wrote: > From: Mingkai Hu > > For A53, data coherency is enabled only when the CPUECTLR.SMPEN bit is > set. The SMPEN bit should be set before enabling the data cache. > If not enabled, the cache is not coherent with other cores and > data

Re: [U-Boot] Environment storage format stability

2016-12-15 Thread Kristian Amlie
On 15/12/16 17:21, Wolfgang Denk wrote: > Dear Kristian, > > In message <7f7560f1-5b05-1f0c-8bf0-fd0458f9d...@mender.io> you wrote: >> I have a question about the format of the environment when stored on >> persistent storage: Is this format considered stable? > > Yes, it is. It has never been

[U-Boot] [PATCH] spi: Zap mpc52xx_spi.c, config and related code

2016-12-15 Thread Jagan Teki
armada100_spi.c, related config options and related codes are zapping becuase of "no DM conversion". Cc: Werner Pfister Signed-off-by: Jagan Teki Reviewed-by: Tom Rini --- Changes for v2: - Remove cmd_mtc and related code.

Re: [U-Boot] Environment storage format stability

2016-12-15 Thread Wolfgang Denk
Dear Kristian, In message <7f7560f1-5b05-1f0c-8bf0-fd0458f9d...@mender.io> you wrote: > I have a question about the format of the environment when stored on > persistent storage: Is this format considered stable? Yes, it is. It has never been changed since it has been invented in the first days

[U-Boot] [RFC PATCH] pcf2127: add watchdog support

2016-12-15 Thread Sean Nyekjaer
Signed-off-by: Sean Nyekjaer --- - I have just noticed that the RTC driver for this device have been merged, should the watchdog part be included in the rtc driver or standalone? - The hw_watchdog_reset is called far too often the device here is on i2c, with what i

[U-Boot] Environment storage format stability

2016-12-15 Thread Kristian Amlie
I have a question about the format of the environment when stored on persistent storage: Is this format considered stable? The reason I'm asking is whether it is a reasonable assumption that upgraded user space tools (fw_setenv and fw_printenv) will agree on the format with an older boot loader.

[U-Boot] "Error reading cluster"

2016-12-15 Thread Hai, Mr. Dinh Tuan
Hi, I am using a switch (Dell S4810-ON), which comes with U-Boot preinstalled. When I tried to install a new OS for the switch, I always get the message as below: Partition Map for MMC device 0 -- Partition Type: DOS PartStart SectorNum Sectors UUIDType 1 16

[U-Boot] [BUG report] imx6: CACHE Misaligned operation

2016-12-15 Thread Francesco Dolcini
Dear all, I am trying current U-Boot master on solidrun microsom i.MX6 and I get a CACHE error when accessing SD device: U-Boot SPL 2017.01-rc1-00066-ge5209e3-dirty (Dec 14 2016 - 10:55:06) Trying to boot from MMC1** First descriptor is NOT a primary desc on 0:1 ** U-Boot

Re: [U-Boot] [linux-sunxi] Re: [RFC PATCH 0/3] sunxi: video: Add support for HDMI output on H3

2016-12-15 Thread Chen-Yu Tsai
On Wed, Dec 14, 2016 at 5:16 AM, Icenowy Zheng wrote: > > > 14.12.2016, 04:29, "Simon Glass" : >> Hi, >> >> On 12 December 2016 at 19:36, Jernej Skrabec wrote: >>> This patch series add support for HDMI output. Support for other, >>>

[U-Boot] Altera Cyclone5 - U-Boot SPL looping

2016-12-15 Thread Léo Serre
Hi all! I'm using U-Boot 2016.09.01 through Buildroot to make my De0-Nano-SoC (powered by Altera Cyclone5 SoCFPGA) working. I have signed correctly the SPL and it boot but in loop, looking like it fails to find U-Boot (which is placed on the same partition as the SPL but 256K after the

[U-Boot] Question re vendor check in drivers/pci/pci.c

2016-12-15 Thread Gregory Fong
Hello all, In pci_hose_scan_bus(), there is this check: if (vendor == 0x || vendor == 0x) continue; The test against the special invalid vendor value of 0x is definitely correct. But is it necessarily wrong for a vendor ID to be 0? Of course it's not used in the PCI

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

2016-12-15 Thread Jagan Teki
Hi Tom, Please pull this PR. Changes for v2: - Skip "spi: Zap mpc52xx_spi.c and config" patch due to dependencies. thanks! Jagan. The following changes since commit 53e8ca22538c2cec691fe74098684a359302688c: MAINTAINERS: DFU: Change e-mail address for DFU maintainer (2016-12-12 13:03:15

[U-Boot] [PATCH] tools: mxsimage: Fix build with OpenSSL 1.1.x

2016-12-15 Thread Marek Vasut
The EVP_MD_CTX and EVP_CIPHER_CTX are made opaque since 1.1.x , so instead of embedding them directly into struct sb_image_ctx and initializing them using EVP_*_CTX_init(), we use pointers and allocate the crypto contexts using EVP_*_CTX_new(). Signed-off-by: Marek Vasut Cc: Tom

[U-Boot] [PATCH] ARM: mxs: Remove unused variable warning

2016-12-15 Thread Marek Vasut
Shuffle the macros around a little to remove the following warning when building for i.MX28: arch/arm/cpu/arm926ejs/mxs/spl_boot.c:44:26: warning: ‘iomux_boot’ defined but not used [-Wunused-const-variable=] static const iomux_cfg_t iomux_boot[] = { ^~

Re: [U-Boot] Many unused variable warnings

2016-12-15 Thread Marek Vasut
On 12/15/2016 04:55 AM, Masahiro Yamada wrote: > Hi. > > The recent GCC versions catch unused variables. > > This makes build testing noisy. > > Of course, we could use old GCC when running Buildman, > but it would be nicer to eliminate the root causes. > > I got the following when I recently

[U-Boot] [PATCH 2/3] mx6qsabreauto: Pass the correct parallel NOR width

2016-12-15 Thread Fabio Estevam
On mx6qsabreauto the parallel NOR width is 16 bits, so configure CONFIG_SYS_FLASH_CFI_WIDTH correctly so that the CFI driver does not use 8-bit withd by default. Signed-off-by: Fabio Estevam --- include/configs/mx6qsabreauto.h | 1 + 1 file changed, 1 insertion(+) diff

[U-Boot] [RFC] cmd: mem: Allow 'cp' to use the optimized memcpy

2016-12-15 Thread Fabio Estevam
If CONFIG_USE_ARCH_MEMCPY is selected, let's use the assembly optimized memcpy implementation for the 'cp' command. Currently only Blackfin uses memcpy for the 'cp' command, so extend this to the CONFIG_USE_ARCH_MEMCPY users. Tested on a mx6qsabreauto board where a 5x gain in performance is seen

Re: [U-Boot] [PATCH 3/3] mx6: Select CONFIG_USE_ARCH_MEMCPY

2016-12-15 Thread Tom Rini
On Thu, Dec 15, 2016 at 01:23:14PM -0200, Fabio Estevam wrote: > The CONFIG_USE_ARCH_MEMCPY option builds an assembly optimized version > of memcpy, so select it to gain performance. > > Signed-off-by: Fabio Estevam > --- > include/configs/mx6_common.h | 2 ++ > 1 file

Re: [U-Boot] [RFC] cmd: mem: Allow 'cp' to use the optimized memcpy

2016-12-15 Thread Tom Rini
On Thu, Dec 15, 2016 at 01:23:15PM -0200, Fabio Estevam wrote: > If CONFIG_USE_ARCH_MEMCPY is selected, let's use the assembly optimized > memcpy implementation for the 'cp' command. > > Currently only Blackfin uses memcpy for the 'cp' command, so extend > this to the CONFIG_USE_ARCH_MEMCPY

Re: [U-Boot] Many unused variable warnings

2016-12-15 Thread Tom Rini
On Thu, Dec 15, 2016 at 12:55:36PM +0900, Masahiro Yamada wrote: > Hi. > > The recent GCC versions catch unused variables. > > This makes build testing noisy. > > Of course, we could use old GCC when running Buildman, > but it would be nicer to eliminate the root causes. > > I got the

[U-Boot] [PATCH 2/2] armv8: ls1012a: Add support of PPA

2016-12-15 Thread Prabhakar Kushwaha
The PPA implements PSCI which requires for power managment. Added support of PPA for LS1012AQDS, LS1012ARDB and LS1012AFRDM. Signed-off-by: Hou Zhiqiang Signed-off-by: Abhimanyu Saini Signed-off-by: Prabhakar Kushwaha

Re: [U-Boot] [PATCH 0/3] Add generic FDT memory bank decoding and gd initialization

2016-12-15 Thread Michal Simek
On 15.12.2016 08:21, Michal Simek wrote: > On 14.12.2016 16:00, Mike Looijmans wrote: >> >>> I am not marketing guy to say how often there are designs with only >>> different DDR size like Mike's example but in fpga world you are not >>> buying this chip to have only static part but you want to

Re: [U-Boot] Rockchip RK3288 regulator device table problem

2016-12-15 Thread Jaehoon Chung
On 12/13/2016 01:57 AM, Rick Bronson wrote: > Hi Simon, > >> >> On 9 December 2016 at 18:12, Rick Bronson wrote: >>> Hi All, >>> >>> How do I enable a particular regulator upon boot? I have two >>> identically set LDO entries: >>> >>> vccio_en: LDO_REG1 {

Re: [U-Boot] Problem with qspi when using micron devices

2016-12-15 Thread Marek Vasut
On 12/15/2016 11:45 AM, Phil Edworthy wrote: > Hi Jagan, > > On 07 December 2016 08:03, Phil Edworthy wrote: >> Hi Jagan, >> >> When using Micron devices, SPI flash with quad mode does not work since >> commit >> c56ae7519f141523ba1248b22b5b5169b21772fe "sf: Fix quad bit set for micron >>

[U-Boot] [PATCHv2] power: change from meaningless value to error number

2016-12-15 Thread Jaehoon Chung
'-1' is absolutely meaningless value. This patch changed from meaningless value to error number. Signed-off-by: Jaehoon Chung --- Changelog on V2 - Fixes the missing error number in exynos-tmu.c drivers/power/axp152.c | 2 +- drivers/power/axp209.c

[U-Boot] [PATCH] power: change from meaningless value to error number

2016-12-15 Thread Jaehoon Chung
'-1' is absolutely meaningless value. This patch changed from meaningless value to error number. Signed-off-by: Jaehoon Chung --- drivers/power/axp152.c | 2 +- drivers/power/axp209.c | 2 +- drivers/power/battery/bat_trats2.c | 2

Re: [U-Boot] Problem with qspi when using micron devices

2016-12-15 Thread Phil Edworthy
Hi Jagan, On 07 December 2016 08:03, Phil Edworthy wrote: > Hi Jagan, > > When using Micron devices, SPI flash with quad mode does not work since > commit > c56ae7519f141523ba1248b22b5b5169b21772fe "sf: Fix quad bit set for micron > devices". > > This has been pointed out before, details about

[U-Boot] [PATCH] armv8: fsl-lsch2: enable snoopable usb read and write

2016-12-15 Thread Changming Huang
By default the USB IP on the ls1012a/ls1043a/ls1046a SoCs does not generat coherent/snoopable transactions. Here enable it in the SCFG_SNPCNFGCR register. In addition, the dma-coherent property must be set in USB DTS nodes. Signed-off-by: Changming Huang ---

[U-Boot] [PATCH 1/2] board: freescale: ls1012a: Enable secure DDR on LS1012A platforms

2016-12-15 Thread Prabhakar Kushwaha
PPA binary needs to be relocated on secure DDR, hence marking out a portion of DDR as secure if CONFIG_SYS_MEM_RESERVE_SECURE flag is set Signed-off-by: Hou Zhiqiang Signed-off-by: Abhimanyu Saini Signed-off-by: Prabhakar Kushwaha

[U-Boot] [PATCH] mmc: Extend dependencies for zynq sdhci

2016-12-15 Thread Michal Simek
There is hard dependency on BLK and DM_MMC which is also used by ATMEL and ROCKCHIP. Signed-off-by: Michal Simek --- drivers/mmc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index

Re: [U-Boot] [PATCH v2 0/6] cleanup and enhancements for Colibri VFxx

2016-12-15 Thread Stefano Babic
Hi Stefan, On 14/12/2016 01:57, Stefan Agner wrote: > On 2016-11-30 13:41, Stefan Agner wrote: >> From: Stefan Agner >> >> This patchset cleans up the board file, speeds up NAND slightly >> and enhances the board support with device tree MTD partition >> support. >> >>

[U-Boot] [PATCH 1/3] power: pmic: add the max8998 controller for DM

2016-12-15 Thread Jaehoon Chung
Add the max8998 controller for Driver model. Samsung S5P series are using max8998 pmic controller. In future, it should be supported the regulator framework. Signed-off-by: Jaehoon Chung --- drivers/power/pmic/Kconfig | 7 + drivers/power/pmic/Makefile | 1 +

[U-Boot] [PATCH 3/3] configs: enable the DM_PMIC and DM_I2C_GPIO for max8998 pmic

2016-12-15 Thread Jaehoon Chung
Enable the DM_PMIC and DM_I2C_GPIO for using max8998 pmic. Signed-off-by: Jaehoon Chung --- configs/s5p_goni_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/s5p_goni_defconfig b/configs/s5p_goni_defconfig index 4cbf022..aa61ef4 100644 ---

[U-Boot] [PATCH 0/3] dm: goni: support the DM PMIC

2016-12-15 Thread Jaehoon Chung
This patchest is for supporting pmic driver-model on Goni board. (Goni board is S5PC110.) For using that, add the new file as max8998.c for only driver-model. pmic_max8998.c is remained for legacy. In future, it might be removed. Instead, max8998 should be used. *dm tree serial [ + ]

[U-Boot] [PATCH 2/3] arm: dts: s5pc1xx-goni: add the pmic node for using DM

2016-12-15 Thread Jaehoon Chung
To use driver-model adds the pmic node for max8998. This is used as kerel device-tree in Linux. Signed-off-by: Jaehoon Chung --- arch/arm/dts/s5pc1xx-goni.dts | 165 ++ 1 file changed, 165 insertions(+) diff --git

Re: [U-Boot] [PATCH v4 2/2] splash: add support for loading splash from a FIT image

2016-12-15 Thread Igor Grinberg
Hi Tomas, On 12/14/16 16:23, Tomas Melin wrote: > Hi Simon, Igor, > > On 12/14/2016 02:53 PM, Igor Grinberg wrote: >> On 12/13/16 22:29, Simon Glass wrote: >> >> I think two above debug() are very legitimate - no need to shout if no >> FIT image >> or no splash in it... >>

[U-Boot] [PATCH] gpio: zynq: Remove empty line

2016-12-15 Thread Michal Simek
Trivial coding style fix. Signed-off-by: Michal Simek --- drivers/gpio/zynq_gpio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpio/zynq_gpio.c b/drivers/gpio/zynq_gpio.c index 8a448c9a41ca..64579a1b6c17 100644 --- a/drivers/gpio/zynq_gpio.c +++