[U-Boot] [PATCH 3/3] imx: mx6ul_evk: convert to use Driver model for power and i2c

2016-03-08 Thread Peng Fan
Convert to use DM_PMIC/DM_REGULATOR/DM_I2C for mx6ul evk. To mx6ul_14x14_evk, there is no pmic on board, so only enable DM_I2C. Since we have PINCTRL driver and DM_I2C enabled, we could discard the pinmux setting in board file, but we can not do this, because still some dependency in

[U-Boot] [PATCH 2/3] imx: mx6ul_evk: default enable device tree support

2016-03-08 Thread Peng Fan
Default enable device tree for mx6ul_14x14_evk and mx6ul_9x9_evk board. And sort the defconfig file to be in alphabet order. Enable pinctrl driver for the two boards. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam ---

[U-Boot] [PATCH 0/3] imx6ul: convert to enable pinctrl/DM POWER

2016-03-08 Thread Peng Fan
This patch set is to covert to enable pinctrl driver and DM_PMIC and DM_REGULATOR for imx6ul 14x14/9x9 evk board. This patch set is only to add device tree for i.MX6UL and is just initial step to convert to support device tree for i.MX6/7, I just have an idea to discard the pinmux settings in

[U-Boot] [PATCH v2 2/3] armv8/ls1043aqds: Return i2c mux to default chennel

2016-03-08 Thread Wenbin Song
Return i2c mux to the default channel after accessing retimer. Signed-off-by: Wenbin Song --- Change for v2: -Rework the commit message and the subject --- board/freescale/ls1043aqds/ls1043aqds.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH v2 3/3] armv8/ls1043aqds: Enable ID_EEPROM support for ls1043aqds

2016-03-08 Thread Wenbin Song
Signed-off-by: Wenbin Song --- Changes for v2: -Rework the subject --- include/configs/ls1043aqds.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h index 158cf02..e269522 100644 ---

[U-Boot] [PATCH v2 1/3] freescale: vid: Return i2c mux to default channel

2016-03-08 Thread Wenbin Song
IR chip is on one of the channels on multiplexed I2C-bus. Reset to default channel after accessing. Signed-off-by: Wenbin Song --- Changes for v2: -Rework the commit message and the tag int the subject. --- board/freescale/common/vid.c | 12 +--- 1 file

[U-Boot] [PATCH] mmc: send CMD0 before CMD1 for some MMC cards

2016-03-08 Thread Yangbo Lu
When the MMC framework was added in u-boot, the mmc_go_idle was added before mmc_send_op_cond_iter in function mmc_send_op_cond annotating that some cards seemed to need this. Actually, we still need to do this in function mmc_complete_op_cond for those cards. This has been verified on Micron

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-03-08 Thread Huan Wang
Hi, Jagan, > On 03/03/2016 01:06 PM, york sun wrote: > > On 02/29/2016 04:26 AM, Jagan Teki wrote: > >> Hi York, > >> > >> On 27 February 2016 at 02:14, york sun wrote: > >>> On 02/22/2016 10:18 AM, Jagan Teki wrote: > > > > > Can you pls- test the dataflash

Re: [U-Boot] [RFC] armv8: layerscape: Add support of u-boot device tree fix-up

2016-03-08 Thread Prabhakar Kushwaha
> -Original Message- > From: Scott Wood [mailto:o...@buserror.net] > Sent: Wednesday, March 09, 2016 1:02 AM > To: Prabhakar Kushwaha ; u- > b...@lists.denx.de > Cc: york sun ; Priyanka Jain > Subject: Re: [RFC] armv8:

[U-Boot] [PATCH 1/2] defconfig: ls1021aqds_sdcard_qspi: Enable SPI-NOR

2016-03-08 Thread Alison Wang
As QSPI driver is supported in ls1021aqds_sdcard_qspi_defconfig, SPI-NOR with MTD uclass, CONFIG_MTD_DATAFLASH and new flash vendor config CONFIG_SPI_NOR_SPANSION need be enabled. Signed-off-by: Alison Wang --- configs/ls1021aqds_sdcard_qspi_defconfig | 7 +-- 1 file

[U-Boot] [PATCH 2/2] defconfig: ls1021atwr_sdcard_qspi: Enable CONFIG_MTD

2016-03-08 Thread Alison Wang
As QSPI driver is supported in ls1021atwr_sdcard_qspi_defconfig, CONFIG_MTD needs to be enabled for SPI-NOR with MTD uclass. Signed-off-by: Alison Wang --- configs/ls1021atwr_sdcard_qspi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-03-08 Thread Phil Reid
G'day George, On 3/03/2016 10:57 PM, George Broz wrote: On 2 March 2016 at 23:11, Phil Reid wrote: On 3/03/2016 2:49 PM, George Broz wrote: On 1 March 2016 at 19:49, Phil Reid wrote: On 2/03/2016 10:40 AM, George Broz wrote: Sorry for

Re: [U-Boot] [PATCH 3/3] include/crc.h: Remove unreferenced cyg_xxx() prototypes

2016-03-08 Thread Tom Rini
On Thu, Mar 03, 2016 at 09:34:13AM +0100, Stefan Roese wrote: > These cyg_ prototypes are not referenced anywhere in current mainline > U-Boot. So lets remove them. > > Signed-off-by: Stefan Roese Reviewed-by: Tom Rini -- Tom signature.asc Description:

Re: [U-Boot] [PATCH 2/3] lib/crc16.c: Rename cyg_crc16() to crc16_ccitt() and add crc start value

2016-03-08 Thread Tom Rini
On Thu, Mar 03, 2016 at 09:34:12AM +0100, Stefan Roese wrote: > The original name of this function is unclear. This patch renames this > CRC16 function to crc16_ccitt() matching its name with its > implementation. > > To make the usage of this function more flexible, lets add the CRC start >

Re: [U-Boot] [PATCH 1/3] lib/crc16.c: Coding-style cleanup

2016-03-08 Thread Tom Rini
On Thu, Mar 03, 2016 at 09:34:11AM +0100, Stefan Roese wrote: > lib/crc16.c is changed to match the common U-Boot coding-style. > > Signed-off-by: Stefan Roese Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] buildman for sandbox

2016-03-08 Thread Tom Rini
On Sun, Mar 06, 2016 at 07:39:30PM -0700, Simon Glass wrote: > Hi Joe, > > On 7 May 2015 at 03:17, Joe Hershberger wrote: > > Hi Simon, > > > > Is there a way to make buildman compile sandbox with a non-system tool > > chain? I've tried creating an alias from sandbox

Re: [U-Boot] [PATCH 02/69] arm: Add a 64-bit division routine to the private library

2016-03-08 Thread Tom Rini
On Sun, Mar 06, 2016 at 07:27:45PM -0700, Simon Glass wrote: > This is missing, with causes lldiv() to fail on boards with use the private > libgcc. Add the missing routine. > > Code is available for using the CLZ instruction but it is not enabled at > present. Mention the rev of coreboot we

Re: [U-Boot] [U-Boot,V2,2/2] malloc: remove !gd handling

2016-03-08 Thread Tom Rini
On Sat, Mar 05, 2016 at 10:30:53AM -0700, Stephen Warren wrote: > Following the previous patch, malloc() is never called before gd is set, > so we can remove the special-case check for this condition. > > This reverts commit 854d2b9753e4 "dlmalloc: ensure gd is set for early > alloc". > > Cc:

Re: [U-Boot] sandbox: Fix building with LLVM

2016-03-08 Thread Tom Rini
On Sat, Mar 05, 2016 at 02:07:44PM -0500, Tom Rini wrote: > - The macro __BIGGEST_ALIGNMENT__ is gcc-specific. If it is not defined > we'll just assume 16. This is correct for at least the common cases > and LLVM does not provide an equivalent macro. > - When linking U-Boot we're passing -T

Re: [U-Boot] [U-Boot,V2,1/2] malloc: use hidden visibility

2016-03-08 Thread Tom Rini
On Sat, Mar 05, 2016 at 10:30:52AM -0700, Stephen Warren wrote: > When running sandbox, the following phases occur, each with different > malloc implementations or behaviors: > > 1) Dynamic linker execution, using the dynamic linker's own malloc() > implementation. This is fully functional. > >

Re: [U-Boot] omap3: Use raw SPL by default for mmc1

2016-03-08 Thread Tom Rini
On Tue, Mar 01, 2016 at 09:56:34AM +0100, Alexander Graf wrote: > Now that we fall back to the FS code path when we don't find u-boot > at the raw sector offset, there is no good reason to not default to > raw boot. > > With this patch, I can successfully boot u-boot from a raw sector > offset

Re: [U-Boot] api: Export API structure address as an environment variable

2016-03-08 Thread Tom Rini
On Tue, Mar 01, 2016 at 02:19:04PM +0200, Stanislav Galabov wrote: > This patch makes the U-Boot api export its structure address as an environment > variable, so it can be used to directly hint FreeBSD's loader of api's > location. > > The relevant FreeBSD loader change is currently under

Re: [U-Boot] [U-Boot, 2/2] OMAP3: am3517_evm: Add NAND MTD partitions with UBI/UBIFS support

2016-03-08 Thread Tom Rini
On Sat, Mar 05, 2016 at 01:19:59PM -0600, Derald D. Woods wrote: > - Add required UBI/UBIFS config definitions > - Add reasonable MTD partition layout > - Remove JFFS2 config definitions > - Drop some CFI verbage and definitions > - Make comment 'one-liners' truly one line > - Improve readability

Re: [U-Boot] [U-Boot,1/2] OMAP3: am3517_evm: Use BCH8 ECC for NAND

2016-03-08 Thread Tom Rini
On Sat, Mar 05, 2016 at 01:19:58PM -0600, Derald D. Woods wrote: > Select 8-bit BCH ecc-scheme with s/w based error correction > - OMAP_ECC_BCH8_CODE_HW_DETECTION_SW > > Signed-off-by: Derald D. Woods > Reviewed-by: Tom Rini Applied to

Re: [U-Boot] [PATCH] spl: add a new stub spl_early_board_init() for early SoC-specific setup

2016-03-08 Thread Simon Glass
Hi Masahiro, On 8 March 2016 at 04:37, Masahiro Yamada wrote: > We are generally supposed to implement SoC/board-specific SPL init > code in spl_board_init(), but it is called after spl_init() where the > FDT is setup and devices are bound. > > This new stub

Re: [U-Boot] [PATCH] serial: pl01x: Add support for devices with the rate pre-configured.

2016-03-08 Thread Simon Glass
Hi Tom, On 7 March 2016 at 16:37, Tom Rini wrote: > On Sun, Mar 06, 2016 at 07:38:47PM -0700, Simon Glass wrote: >> Hi Stephen, >> >> On 5 March 2016 at 23:26, Stephen Warren wrote: >> > >> > On 02/05/2016 09:19 PM, Stephen Warren wrote: >> >> >> >> On

Re: [U-Boot] [PATCH] debug_uart: output CR along with LF

2016-03-08 Thread Simon Glass
On 8 March 2016 at 02:19, Masahiro Yamada wrote: > > The serial output from the debug UART carries on going far to the > right in the console. > > Signed-off-by: Masahiro Yamada > --- > > include/debug_uart.h | 4 +++- > 1 file

Re: [U-Boot] [PATCH V6] ARM: Various: Future-proof serial platdata

2016-03-08 Thread Simon Glass
On 7 March 2016 at 20:08, Adam Ford wrote: > A few boards still use ns16550_platdata structures, but assume the structure > is going to be in a specific order. By explicitly naming each entry, > this should also help 'future-proof' in the event the structure changes. > >

Re: [U-Boot] [PATCH v4] x86: baytrail: Configure FSP UPD from device tree

2016-03-08 Thread Simon Glass
Hi Stefan, On 8 March 2016 at 10:41, Stefan Roese wrote: > Hi Simon, > > On 08.03.2016 17:54, Simon Glass wrote: >> Hi Stefan, >> >> On 8 March 2016 at 09:45, Stefan Roese wrote: >>> Hi Simon, Hi Bin, >>> >>> On 12.08.2015 05:54, Simon Glass wrote: +Gabriel

Re: [U-Boot] [PATCH v2] arm: imx: Add support for GE Bx50v3 boards

2016-03-08 Thread Fabio Estevam
On Tue, Mar 8, 2016 at 7:48 PM, Akshay Bhat wrote: > If there are no further review comments, can this patch be applied in the > next merge window (for v2016.05)? > > Also I have couple updates to the bx50v3.c file. Should I wait for this > patch to be applied before

Re: [U-Boot] [PATCH] arm64: define _image_binary_end to fix SPL_OF_CONTROL

2016-03-08 Thread Tom Rini
On Tue, Mar 08, 2016 at 08:34:44PM +0900, Masahiro Yamada wrote: > To make SPL_OF_CONTROL work on ARM64 SoCs, _image_binary_end must be > defined in the linker script. > > LD spl/u-boot-spl > lib/built-in.o: In function `fdtdec_setup': > lib/fdtdec.c:1186: undefined reference to

Re: [U-Boot] [PATCH] spl: add a new stub spl_early_board_init() for early SoC-specific setup

2016-03-08 Thread Tom Rini
On Tue, Mar 08, 2016 at 08:37:16PM +0900, Masahiro Yamada wrote: > We are generally supposed to implement SoC/board-specific SPL init > code in spl_board_init(), but it is called after spl_init() where the > FDT is setup and devices are bound. > > This new stub spl_early_board_init() would be

Re: [U-Boot] [PATCH v2] arm: imx: Add support for GE Bx50v3 boards

2016-03-08 Thread Akshay Bhat
Hi Stefano, On 01/29/2016 11:07 PM, Peng Fan wrote: Hi Akshay, On Fri, Jan 29, 2016 at 03:16:40PM -0500, Akshay Bhat wrote: Add support for GE B450v3, B650v3 and B850v3 boards. The boards are based on Advantech BA16 module which has a i.MX6D processor. The boards support: - FEC Ethernet - USB

Re: [U-Boot] [PATCH] sunxi: fix DCDC2 output in CHIP_defconfig

2016-03-08 Thread Maxime Ripard
On Mon, Mar 07, 2016 at 03:50:11PM +0200, Siarhei Siamashka wrote: > On Mon, 7 Mar 2016 13:44:11 +0100 > Maxime Ripard wrote: > > > From: Boris Brezillon > > > > Unlike the datasheet recommendation, the R8 SoC requires a

[U-Boot] [PATCH 1/7 v5] armv8: ls2080a: remove obsolete stream ID partitioning support

2016-03-08 Thread Stuart Yoder
From: Stuart Yoder Remove stream ID partitioning support that has been made obsolete by upstream device tree bindings that specify how representing how PCI requester IDs are mapped to MSI specifiers and SMMU stream IDs. Signed-off-by: Stuart Yoder

[U-Boot] [PATCH 2/7 v5] armv8: ls2080a: update stream ID partitioning info

2016-03-08 Thread Stuart Yoder
From: Stuart Yoder -update comments around how stream IDs are partitioned -stream IDs allocated to PCI are no longer divided up by controller, but are instead a contiguous range Signed-off-by: Stuart Yoder --- -v5: no change

[U-Boot] [PATCH 6/7 v5] pci/layerscape: fdt: function to set msi-map entries

2016-03-08 Thread Stuart Yoder
From: Stuart Yoder msi-map properties are used to tell an OS how PCI requester IDs are mapped to ARM SMMU stream IDs. This patch defines a function to append a single msi-map entry to a given PCI controller device tree node. Signed-off-by: Stuart Yoder

[U-Boot] [PATCH 4/7 v5] pci/layerscape: add support for LUT

2016-03-08 Thread Stuart Yoder
From: Stuart Yoder The per-PCI controller LUT (Look-Up-Table) is a 32-entry table that maps PCI requester IDs (bus/dev/fun) to a stream ID. This patch implements infrastructure to enable LUT initialization: -define registers offsets -add an index to 'struct ls_pcie' to

Re: [U-Boot] [PATCH] ARM: DRA72-evm: Update mux and VIRTUAL/MANUAL mode timings

2016-03-08 Thread Tom Rini
On Tue, Mar 08, 2016 at 10:10:20AM +0530, Lokesh Vutla wrote: > All the mux configurations needs to be done as part of the IODelay > sequence to avoid glitch. Adding all the mux configuration, MANUAL/VIRTUAL > mode configuration as needed for DRA72-evm. > > Also update the mux for SD card detect

Re: [U-Boot] pull request: u-boot-uniphier/master

2016-03-08 Thread Tom Rini
On Wed, Mar 09, 2016 at 01:18:19AM +0900, Masahiro Yamada wrote: > Hi Tom, > > This is probably the last PR from me for the v2016.03 release. > It includes some bug fixes and a minor document update. > > > The following changes since commit 08b24722f0ac9159697360faed35d12852592eb3: > >

Re: [U-Boot] [PATCH 4/7 v4] pci/layerscape: add support for LUT

2016-03-08 Thread Stuart Yoder
> -Original Message- > From: york sun > Sent: Tuesday, March 08, 2016 1:46 PM > To: Stuart Yoder ; u-boot@lists.denx.de > Cc: Prabhakar Kushwaha ; Yang-Leo Li > > Subject: Re: [PATCH 4/7 v4] pci/layerscape: add

Re: [U-Boot] [PATCH 4/7 v4] pci/layerscape: add support for LUT

2016-03-08 Thread Stuart Yoder
> -Original Message- > From: york sun > Sent: Tuesday, March 08, 2016 11:30 AM > To: Stuart Yoder ; u-boot@lists.denx.de > Cc: Prabhakar Kushwaha ; Yang-Leo Li > > Subject: Re: [PATCH 4/7 v4] pci/layerscape: add

Re: [U-Boot] [PATCH 4/7 v4] pci/layerscape: add support for LUT

2016-03-08 Thread york sun
On 03/08/2016 11:36 AM, Stuart Yoder wrote: > > >> -Original Message- >> From: york sun >> Sent: Tuesday, March 08, 2016 11:30 AM >> To: Stuart Yoder ; u-boot@lists.denx.de >> Cc: Prabhakar Kushwaha ; Yang-Leo Li >>

Re: [U-Boot] [RFC] armv8: layerscape: Add support of u-boot device tree fix-up

2016-03-08 Thread Scott Wood
On Tue, 2016-02-23 at 04:09 +, Prabhakar Kushwaha wrote: > > -Original Message- > > From: Scott Wood [mailto:o...@buserror.net] > > Sent: Tuesday, February 23, 2016 6:52 AM > > To: Prabhakar Kushwaha ; u- > > b...@lists.denx.de > > Cc: york sun

Re: [U-Boot] rockchip: make configure_emmc() empty for Firefly-RK3288

2016-03-08 Thread Vagrant Cascadian
On 2016-03-05, FUKAUMI Naoki wrote: > on v2016.03-rc3, size of SPL image compiled by gcc 5.3.0 is too large for > Firefly-RK3288. (it's fine for Rock2) ... > to reduce size of SPL image, this patch makes configure_emmc() empty for > Firefly-RK3288 as same as Rock2. > > Signed-off-by: FUKAUMI Naoki

Re: [U-Boot] [PATCH 2/2] driver/ddr/fsl: Add workaround for erratum A-009803

2016-03-08 Thread york sun
Shengzhou, On 03/07/2016 10:01 PM, Shengzhou Liu wrote: > During the initial DDR training, false parity errors may be detected. > This can lead to the ERR_DETECT[APE], ERR_DETECT[MME] bits getting > set during DDR training and the DDR could enter a bad state to try > and recover since it thinks a

Re: [U-Boot] [PATCH 1/2] driver/ddr/fsl: add command/address parity for DDR4 UDIMM

2016-03-08 Thread york sun
Shengzhou, Subject is inaccurate. Not only UDIMM for DDR4. On 03/07/2016 10:01 PM, Shengzhou Liu wrote: > Add support of command/address parity for DDR4 UDIMM or discrete memory. > It requires to configurate corresponding MR5[2:0] and TIMING_CFG_7[PAR_LAT]. > Parity can be turned on/off by

Re: [U-Boot] [PATCH v4] x86: baytrail: Configure FSP UPD from device tree

2016-03-08 Thread Stefan Roese
Hi Simon, On 08.03.2016 17:54, Simon Glass wrote: > Hi Stefan, > > On 8 March 2016 at 09:45, Stefan Roese wrote: >> Hi Simon, Hi Bin, >> >> On 12.08.2015 05:54, Simon Glass wrote: >>> +Gabriel >>> >>> Hi Andrew, >>> >>> On 11 August 2015 at 09:20, Andrew Bradford

Re: [U-Boot] [PATCH 4/7 v4] pci/layerscape: add support for LUT

2016-03-08 Thread york sun
On 03/08/2016 07:56 AM, Stuart Yoder wrote: > From: Stuart Yoder > > The per-PCI controller LUT (Look-Up-Table) is a 32-entry table > that maps PCI requester IDs (bus/dev/fun) to a stream ID. > > This patch implements infrastructure to enable LUT initialization: >

Re: [U-Boot] [PATCH v4] x86: baytrail: Configure FSP UPD from device tree

2016-03-08 Thread Simon Glass
Hi Stefan, On 8 March 2016 at 09:45, Stefan Roese wrote: > Hi Simon, Hi Bin, > > On 12.08.2015 05:54, Simon Glass wrote: >> +Gabriel >> >> Hi Andrew, >> >> On 11 August 2015 at 09:20, Andrew Bradford >> wrote: >>> Hi Simon, >>> >>> On 08/11 08:06,

Re: [U-Boot] [PATCH v4] x86: baytrail: Configure FSP UPD from device tree

2016-03-08 Thread Stefan Roese
Hi Simon, Hi Bin, On 12.08.2015 05:54, Simon Glass wrote: > +Gabriel > > Hi Andrew, > > On 11 August 2015 at 09:20, Andrew Bradford > wrote: >> Hi Simon, >> >> On 08/11 08:06, Simon Glass wrote: >>> Hi Andrew, >>> >>> On 11 August 2015 at 06:08, Andrew Bradford

[U-Boot] pull request: u-boot-uniphier/master

2016-03-08 Thread Masahiro Yamada
Hi Tom, This is probably the last PR from me for the v2016.03 release. It includes some bug fixes and a minor document update. The following changes since commit 08b24722f0ac9159697360faed35d12852592eb3: Merge branch 'master' of git://git.denx.de/u-boot-usb (2016-03-04 20:53:50 -0500) are

Re: [U-Boot] [PATCH] ARM: uniphier: allow debug_ll_init() to do nothing for unknown SoCs

2016-03-08 Thread Masahiro Yamada
2016-03-07 20:29 GMT+09:00 Masahiro Yamada : > This function should just return for unknown SoCs rather than writing > unexpected values to registers. > > Signed-off-by: Masahiro Yamada Applied to u-boot-uniphier/master. -- Best

Re: [U-Boot] [PATCH] pinctrl: uniphier: guard uniphier directory with CONFIG_PINCTRL_UNIPHIER

2016-03-08 Thread Masahiro Yamada
2016-03-04 15:56 GMT+09:00 Masahiro Yamada : > CONFIG_PINCTRL_UNIPHIER is more suitable than CONFIG_ARCH_UNIPHIER > to guard the drivers/pinctrl/uniphier directory. > > The current CONFIG_PINCTRL_UNIPHIER_CORE is a bit long, so rename it > into

Re: [U-Boot] [PATCH] pinctrl: uniphier: set input-enable before pin-muxing

2016-03-08 Thread Masahiro Yamada
2016-03-04 15:56 GMT+09:00 Masahiro Yamada : > While IECTRL is disabled, input signals are pulled-down internally. > If pin-muxing is set up first, glitch signals (Low to High transition) > might be input to hardware blocks. > > Bad case scenario: > [1] The hardware

Re: [U-Boot] [PATCH] ARM: uniphier: fix build error when CONFIG_CMD_DDRMPHY_DUMP=y

2016-03-08 Thread Masahiro Yamada
2016-03-04 15:54 GMT+09:00 Masahiro Yamada : > The build fails if compiled with CONFIG_CMD_DDRMPHY_DUMP=y since commit > 46abfcc99e04 ("ARM: uniphier: rework struct uniphier_board_data"). > > Fixes: 46abfcc99e04 ("ARM: uniphier: rework struct uniphier_board_data") >

Re: [U-Boot] [PATCH] ARM: uniphier: document how-to-build for Ace and Sanji boards

2016-03-08 Thread Masahiro Yamada
2016-03-01 13:10 GMT+09:00 Masahiro Yamada : > Signed-off-by: Masahiro Yamada Applied to u-boot-uniphier/master. -- Best Regards Masahiro Yamada ___ U-Boot mailing list

Re: [U-Boot] [PATCH] ARM: DRA72-evm: Update mux and VIRTUAL/MANUAL mode timings

2016-03-08 Thread Tom Rini
On Tue, Mar 08, 2016 at 10:10:20AM +0530, Lokesh Vutla wrote: > All the mux configurations needs to be done as part of the IODelay > sequence to avoid glitch. Adding all the mux configuration, MANUAL/VIRTUAL > mode configuration as needed for DRA72-evm. > > Also update the mux for SD card detect

[U-Boot] [PATCH 3/7 v4] pci: make pci_get_hose_head() available to external users

2016-03-08 Thread Stuart Yoder
From: Stuart Yoder put pci_get_hose_head() prototype in header so it is available to external users-- allowing them to find and iterate over all pci controllers Signed-off-by: Stuart Yoder --- -v4: no changes include/pci.h |1 + 1 file changed,

[U-Boot] [PATCH 4/7 v4] pci/layerscape: add support for LUT

2016-03-08 Thread Stuart Yoder
From: Stuart Yoder The per-PCI controller LUT (Look-Up-Table) is a 32-entry table that maps PCI requester IDs (bus/dev/fun) to a stream ID. This patch implements infrastructure to enable LUT initialization: -define registers offsets -add an index to 'struct ls_pcie' to

[U-Boot] [PATCH 0/7 v4] support mapping PCI device ids to stream ids for MSIs

2016-03-08 Thread Stuart Yoder
From: Stuart Yoder A binding for PCI nodes has been finalized specifying how PCI device IDs can be mapped to MSI specifiers. See Documentation/devicetree/bindings/pci/pci-msi.txt in the kernel. For ls2080a and similar Layerscape SoCs, the MSI specifier is the stream id.

[U-Boot] [PATCH 1/7 v4] armv8: ls2080a: remove obsolete stream ID partitioning support

2016-03-08 Thread Stuart Yoder
From: Stuart Yoder Remove stream ID partitioning support that has been made obsolete by upstream device tree bindings that specify how representing how PCI requester IDs are mapped to MSI specifiers and SMMU stream IDs. Signed-off-by: Stuart Yoder

[U-Boot] [PATCH 7/7 v4] pci/layerscape: set LUT and msi-map for discovered PCI devices

2016-03-08 Thread Stuart Yoder
From: Stuart Yoder for all PCI devices discovered in a system: -allocate a LUT (look-up-table) entry in that PCI controller -allocate a stream ID for the device -program and enable a LUT entry (maps PCI requester id to stream ID) -set the msi-map property on the

[U-Boot] [PATCH 5/7 v4] pci/layerscape: add stream ID allocator

2016-03-08 Thread Stuart Yoder
From: Stuart Yoder add a function to return the next available stream ID for PCI Signed-off-by: Stuart Yoder --- -v4: no changes drivers/pci/pcie_layerscape.c | 11 +++ 1 file changed, 11 insertions(+) diff --git

[U-Boot] [PATCH 6/7 v4] pci/layerscape: fdt: function to set msi-map entries

2016-03-08 Thread Stuart Yoder
From: Stuart Yoder msi-map properties are used to tell an OS how PCI requester IDs are mapped to ARM SMMU stream IDs. This patch defines a function to append a single msi-map entry to a given PCI controller device tree node. Signed-off-by: Stuart Yoder

Re: [U-Boot] [PATCH 5/6] arm: am57xx: Enable 8-bit eMMC access on AM57XX EVM

2016-03-08 Thread Tom Rini
On Tue, Mar 08, 2016 at 06:42:27PM +0700, Semen Protsenko wrote: > From: Sam Protsenko > > Use 8-bit access instead of 4-bit to speed up eMMC flashing speed. > > Signed-off-by: Sam Protsenko Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH 4/6] arm: am57xx: Set serial# variable

2016-03-08 Thread Tom Rini
On Tue, Mar 08, 2016 at 06:42:26PM +0700, Semen Protsenko wrote: > From: Sam Protsenko > > serial# variable is used to correctly display device ID in > "fastboot devices". > > Signed-off-by: Sam Protsenko Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH 3/6] arm: am57xx: Define Android partition table

2016-03-08 Thread Tom Rini
On Tue, Mar 08, 2016 at 06:42:25PM +0700, Semen Protsenko wrote: > From: Sam Protsenko > > "fastboot oem format" command reuses "gpt write" command, which in turn > requires correct partitions defined in $partitions variable. This patch > adds such definition of

Re: [U-Boot] [PATCH 4/7 v3] pci/layerscape: add support for LUT

2016-03-08 Thread Stuart Yoder
> -Original Message- > From: york sun > Sent: Monday, March 07, 2016 4:32 PM > To: Stuart Yoder ; u-boot@lists.denx.de > Cc: Prabhakar Kushwaha ; Mingkai Hu > ; > Minghuan Lian ; Yang-Leo Li

Re: [U-Boot] [PATCH 2/6] arm: am57xx: Enable Fastboot

2016-03-08 Thread Tom Rini
On Tue, Mar 08, 2016 at 06:42:24PM +0700, Semen Protsenko wrote: > From: Sam Protsenko > > Enable fastboot by default for AM57XX EVM. > > This is based on following patch modified accordingly: >

Re: [U-Boot] [PATCH 0/6] arm: am57xx: Add Fastboot support to AM57XX EVM

2016-03-08 Thread Tom Rini
On Tue, Mar 08, 2016 at 06:42:22PM +0700, Semen Protsenko wrote: > > Hi All, > > This patch series add Fastboot support to TexasInstruments AM57XX EVM board > and > improves eMMC support. The most of code was borrowed from DRA7 EVM (since > this board is very similar to DRA7 EVM). > > Next

Re: [U-Boot] [PATCH 5/6] arm: am57xx: Enable 8-bit eMMC access on AM57XX EVM

2016-03-08 Thread Lokesh Vutla
On Tuesday 08 March 2016 05:12 PM, Semen Protsenko wrote: > From: Sam Protsenko > > Use 8-bit access instead of 4-bit to speed up eMMC flashing speed. Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > > Signed-off-by: Sam Protsenko

Re: [U-Boot] [PATCH 2/6] arm: am57xx: Enable Fastboot

2016-03-08 Thread Lokesh Vutla
On Tuesday 08 March 2016 05:12 PM, Semen Protsenko wrote: > From: Sam Protsenko > > Enable fastboot by default for AM57XX EVM. > > This is based on following patch modified accordingly: >

Re: [U-Boot] [PATCH 1/6] arm: am57xx: Enable USB gadget in AM57XX

2016-03-08 Thread Lokesh Vutla
On Tuesday 08 March 2016 05:12 PM, Semen Protsenko wrote: > From: Sam Protsenko > > Enable dwc3, dwc3-omap and PHY for dwc3. > Also enable USB gadget. Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > > Signed-off-by: Sam Protsenko

[U-Boot] [PATCH 2/3] armv8/ls1043aqds: Return the default chennel

2016-03-08 Thread Wenbin Song
In order to avoid effecting some i2c devices mounted on default channel, return the default channel after retimer initialization. Signed-off-by: Wenbin Song --- board/freescale/ls1043aqds/ls1043aqds.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 1/3] vid: Return to default channel of the i2c multiplexer

2016-03-08 Thread Wenbin Song
If the IR chip is connected to one of the channel of I2C-bus multiplexer, Set to the default channel after accessing the IR chip. Signed-off-by: Wenbin Song --- board/freescale/common/vid.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH 3/3] armv8/ls1043aqds: Add SYS_EEPROM support

2016-03-08 Thread Wenbin Song
Signed-off-by: Wenbin Song --- include/configs/ls1043aqds.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h index 158cf02..e269522 100644 --- a/include/configs/ls1043aqds.h +++

Re: [U-Boot] [PATCH 0/4] ARM: DRA7: emif: Miscellaneous bug fixes

2016-03-08 Thread Tom Rini
On Tue, Mar 08, 2016 at 09:07:28AM +0530, Lokesh Vutla wrote: > On Tuesday 08 March 2016 05:06 AM, Tom Rini wrote: > > On Sat, Mar 05, 2016 at 05:32:27PM +0530, Lokesh Vutla wrote: > > > >> This series fixes miscellaneous bugs for the emif driver. > >> > >> Lokesh Vutla (4): > >> ARM: DRA7:

Re: [U-Boot] [PATCH 6/6] arm: am57xx: Keep environment in eMMC

2016-03-08 Thread Lokesh Vutla
On Tuesday 08 March 2016 05:12 PM, Semen Protsenko wrote: > From: Sam Protsenko > > Use eMMC (instead of SD card) to store U-Boot environment. Any specific reason why you want this change? Thanks and regards, Lokesh > > Signed-off-by: Sam Protsenko

[U-Boot] [PATCH 5/6] arm: am57xx: Enable 8-bit eMMC access on AM57XX EVM

2016-03-08 Thread Semen Protsenko
From: Sam Protsenko Use 8-bit access instead of 4-bit to speed up eMMC flashing speed. Signed-off-by: Sam Protsenko --- include/configs/am57xx_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/am57xx_evm.h

[U-Boot] [PATCH 6/6] arm: am57xx: Keep environment in eMMC

2016-03-08 Thread Semen Protsenko
From: Sam Protsenko Use eMMC (instead of SD card) to store U-Boot environment. Signed-off-by: Sam Protsenko --- include/configs/am57xx_evm.h | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH 4/6] arm: am57xx: Set serial# variable

2016-03-08 Thread Semen Protsenko
From: Sam Protsenko serial# variable is used to correctly display device ID in "fastboot devices". Signed-off-by: Sam Protsenko --- board/ti/am57xx/board.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/ti/am57xx/board.c

[U-Boot] [PATCH 0/6] arm: am57xx: Add Fastboot support to AM57XX EVM

2016-03-08 Thread Semen Protsenko
Hi All, This patch series add Fastboot support to TexasInstruments AM57XX EVM board and improves eMMC support. The most of code was borrowed from DRA7 EVM (since this board is very similar to DRA7 EVM). Next commands were tested: - fastboot devices - fastboot getvar - fastboot oem format

[U-Boot] [PATCH 3/6] arm: am57xx: Define Android partition table

2016-03-08 Thread Semen Protsenko
From: Sam Protsenko "fastboot oem format" command reuses "gpt write" command, which in turn requires correct partitions defined in $partitions variable. This patch adds such definition of Android partitions for AM57XX EVM board. By default $partitions variable

[U-Boot] [PATCH 2/6] arm: am57xx: Enable Fastboot

2016-03-08 Thread Semen Protsenko
From: Sam Protsenko Enable fastboot by default for AM57XX EVM. This is based on following patch modified accordingly: http://git.omapzoom.org/?p=repo/u-boot.git;a=commit;h=b2e04f92b5d91c708b6fd6b79d2266966ac51f4b Signed-off-by: Sam Protsenko

[U-Boot] [PATCH 1/6] arm: am57xx: Enable USB gadget in AM57XX

2016-03-08 Thread Semen Protsenko
From: Sam Protsenko Enable dwc3, dwc3-omap and PHY for dwc3. Also enable USB gadget. Signed-off-by: Sam Protsenko --- include/configs/am57xx_evm.h | 14 ++ 1 file changed, 14 insertions(+) diff --git

[U-Boot] [PATCH] spl: add a new stub spl_early_board_init() for early SoC-specific setup

2016-03-08 Thread Masahiro Yamada
We are generally supposed to implement SoC/board-specific SPL init code in spl_board_init(), but it is called after spl_init() where the FDT is setup and devices are bound. This new stub spl_early_board_init() would be useful to put something really SoC-specific, for example, debug_uart_init().

[U-Boot] [PATCH] arm64: define _image_binary_end to fix SPL_OF_CONTROL

2016-03-08 Thread Masahiro Yamada
To make SPL_OF_CONTROL work on ARM64 SoCs, _image_binary_end must be defined in the linker script. LD spl/u-boot-spl lib/built-in.o: In function `fdtdec_setup': lib/fdtdec.c:1186: undefined reference to `_image_binary_end' lib/fdtdec.c:1186: undefined reference to `_image_binary_end'

Re: [U-Boot] Olimex-A20-EVB ethernet stops working with latest U-boot, works with tag v2016.01

2016-03-08 Thread Hans de Goede
Hi, On 25-02-16 08:31, Ing. Damiano Bolla wrote: Good morning Peng I did revert the commit, see attached image showing git repository status Unfortunately the result is still negative, see the following log U-Boot 2016.03-rc2-00117-gde889c0 (Feb 25 2016 - 08:12:50 +0100) Allwinner

Re: [U-Boot] Ethernet not found on Arria 5.

2016-03-08 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Marek, > What do you mean by this ? Is your ethernet controller synthesised in > the FPGA ? The arriaV socdk u-boot uses the top-side ethernet port, > which is connected to the ethernet controller in the HPS. I managed to get it working. Right after configuring fpga from Linux I made a soft

Re: [U-Boot] [PATCH] debug_uart: output CR along with LF

2016-03-08 Thread Stefan Roese
On 08.03.2016 10:19, Masahiro Yamada wrote: The serial output from the debug UART carries on going far to the right in the console. Signed-off-by: Masahiro Yamada Yes, this has bugged me as well a few times as well. Thanks! Reviewed-by: Stefan Roese

[U-Boot] [PATCH] debug_uart: output CR along with LF

2016-03-08 Thread Masahiro Yamada
The serial output from the debug UART carries on going far to the right in the console. Signed-off-by: Masahiro Yamada --- include/debug_uart.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/debug_uart.h b/include/debug_uart.h