Re: [U-Boot] [PATCH v3 0/6] sunxi: video: Add support for HDMI output on A64/H3/H5

2017-04-21 Thread Maxime Ripard
Hi Jernej, On Mon, Mar 27, 2017 at 07:22:28PM +0200, Jernej Skrabec wrote: > This series implements support for HDMI output. This is done using > DM video framework and sharing the HDMI controller code with RK3288. > > Patch 1 splits out TCON code which is completely reusable on > all Allwinner S

Re: [U-Boot] AM335x Falcon Mode

2017-04-21 Thread Andy Pont
Heiko wrote... > > Thanks for the answer, I figured out what the problem is, in the fact I > > was using a zImage, using an uImage format solve the problem :-) > > It should maybe added to the documentation ;-) > > Patches are welcome! I don't know that part of the code well enough to know wheth

Re: [U-Boot] U-boot-sunxi status?

2017-04-21 Thread Maxime Ripard
On Mon, Apr 17, 2017 at 10:38:03AM +0800, Chen-Yu Tsai wrote: > Hi, > > (Resent from my main email address.) > > What's the current status of u-boot-sunxi? There are still some > patch series floating around. Some of them have been around for > a while now, listed here in no particular order: >

Re: [U-Boot] [PATCH 0/7] Add basic support for Rockchip RK3368 SOC

2017-04-21 Thread Kever Yang
Hi Andy, 1. no base address definition in header file, like CRU, GRF base; 2. some comment style need to fix; 3. patches for Makefile seems not correct; Thanks, - Kever On 04/21/2017 10:29 AM, Andy Yan wrote: The RK3368 is an octa-core Cortex-A53 SoC from Rockchip. This adds basic support

Re: [U-Boot] [U-Boot, 1/2, RFT] sunxi: power: Add AXP806 and AXP808 support

2017-04-21 Thread Jaehoon Chung
Hi Rask, On 02/27/2017 04:01 AM, Rask Ingemann Lambertsen wrote: > An X-Powers AXP806 or AXP808 PMIC is usually found on boards using the > Allwinner A80 ARM SoC. This patch adds support for the PMIC's regulators > and sets up the runtime address and master/slave mode in pmic_bus_init(). > > AXP8

Re: [U-Boot] [U-Boot, 4/8] power: axp209: Define the chip version mask

2017-04-21 Thread Jaehoon Chung
Hi Olliver, On 03/01/2017 09:52 PM, Olliver Schinagl wrote: > Use a define for the chip version mask on the axp209. I missed this patch...Could you resend the patch with other patches? (on latest u-boot version.) There is conflict. Best Regards, Jaehoon Chung > > Signed-off-by: Olliver Schina

Re: [U-Boot] [U-Boot, 1/2] include: config: am335x: disable DM_MMC_OPS if DM_MMC is disabled

2017-04-21 Thread Jaehoon Chung
Hi, On 04/15/2017 02:50 AM, Jean-Jacques Hiblot wrote: > Signed-off-by: Jean-Jacques Hiblot > Reviewed-by: Simon Glass Applied to u-boot-mmc. Thanks! Best Regards, Jaehoon Chung > --- > include/configs/am335x_evm.h | 1 + > include/configs/am335x_shc.h | 1 + > include/configs/chiliboard.h |

Re: [U-Boot] [U-Boot,2/2] drivers: omap_hsmmc: move to DM_MMC_OPS

2017-04-21 Thread Jaehoon Chung
Hi, On 04/15/2017 02:50 AM, Jean-Jacques Hiblot wrote: > Signed-off-by: Jean-Jacques Hiblot > Reviewed-by: Simon Glass Applied to u-boot-mmc. Thanks! Best Regards, Jaehoon Chung > --- > drivers/mmc/Kconfig | 1 + > drivers/mmc/omap_hsmmc.c | 39 --- >

[U-Boot] [PATCH] arc: arcv1: Disable master/slave check

2017-04-21 Thread Alexey Brodkin
ARCompact cores are not supposed to be used in SMP designs (this doesn't stop people from creation of heterogeneous chips, for an example keep reading) so there's no point in checking ARCNUM and halting somebody if we build for ARC700. Moreover on AXS101 board we have ARC770 in the ASIC together w

[U-Boot] [PATCH] axs101: Enable data cache

2017-04-21 Thread Alexey Brodkin
There's no reason to keep data cache disabled in axs101 board any longer, enabling it. Signed-off-by: Alexey Brodkin --- configs/axs101_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/axs101_defconfig b/configs/axs101_defconfig index 1af505d9ebc4..b9ea1c6dea21 100644 --- a/c

[U-Boot] [PATCH] axs10x: Add support of Ext2/4 FS

2017-04-21 Thread Alexey Brodkin
Those could be easily used on USB flash drives or on SD/MMC cards. Signed-off-by: Alexey Brodkin --- configs/axs101_defconfig | 3 +++ configs/axs103_defconfig | 3 +++ 2 files changed, 6 insertions(+) diff --git a/configs/axs101_defconfig b/configs/axs101_defconfig index b9ea1c6dea21..9d7dc7f7

[U-Boot] [PATCH] boards: axs10x, nsim, tb100: Enable cmdline history

2017-04-21 Thread Alexey Brodkin
Enable shell commands history on ARC boards for more convenience of users. Signed-off-by: Alexey Brodkin --- include/configs/axs10x.h | 1 + include/configs/nsim.h | 1 + include/configs/tb100.h | 1 + 3 files changed, 3 insertions(+) diff --git a/include/configs/axs10x.h b/include/configs/a

[U-Boot] [PATCH] imx-common: rdc-sema: correct return value

2017-04-21 Thread Peng Fan
When unlock, if caller is not the sema owner, return -EACCES, not 1. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/imx-common/rdc-sema.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/imx-common/rdc-sema.c b/arch/arm/imx-common/rdc-sema.c index 5df4e02..1d

[U-Boot] [PATCH] board: freescale: ls2080ardb: Enable SD interface for RevF board

2017-04-21 Thread Priyanka Jain
LS2080ARDB/LS2088ARDB RevF board has smart voltage translator which needs to be programmed to enable high speed SD interface by setting GPIO4_10 output to zero Signed-off-by: Priyanka Jain Signed-off-by: Santan Kumar --- .../include/asm/arch-fsl-layerscape/immap_lsch3.h |3 +++ board/frees

Re: [U-Boot] [PATCH v2 0/8] drivers: i2c: davinci_i2c: Convert driver to DM

2017-04-21 Thread Vignesh R
On Friday 21 April 2017 09:38 AM, Vignesh R wrote: > Hi Franklin, > > On Thursday 20 April 2017 08:55 PM, Franklin S Cooper Jr wrote: >> This patch series converts the davinci i2c driver to use device model. >> This updated driver has been verified on both Keystone K2G and Keystone >> K2L evms b

Re: [U-Boot] [PATCH v6 13/16] arm: socfpga: Add SPL support for Arria 10

2017-04-21 Thread Ley Foon Tan
On Fri, Apr 21, 2017 at 4:00 AM, Dalon Westergreen wrote: > On Thu, 2017-04-20 at 07:12 -0700, Dalon Westergreen wrote: >> On Wed, 2017-04-19 at 23:58 -0500, Dinh Nguyen wrote: >> > >> > On Wed, Apr 19, 2017 at 6:21 PM, Dalon Westergreen >> > wrote: >> > > >> > > >> > > On Wed, 2017-04-19 at 13:5

[U-Boot] [PATCH v4 1/7] scsi: dm: split scsi_scan()

2017-04-21 Thread Jean-Jacques Hiblot
The DM version of scsi_scan() is becoming a bit long, it can be split: scsi_scan() iterates over the IDs and LUNs and for each id/lun pair calls do_scsi_scan_one() to do the work of: - detecting an attached drive - creating the associated block device if a drive is found. Signed-off-by: Jean-Jac

[U-Boot] [PATCH v4 4/7] drivers: phy: add PIPE3 phy driver

2017-04-21 Thread Jean-Jacques Hiblot
This phy is found on omap platforms with sata capabilities. Except for the part related to the DM and the PHY framework, the code is basically a copy paste from arch/arm/mach-omap2/pipe3-phy.c Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- changes since v

[U-Boot] [PATCH v4 2/7] drivers: phy: add generic PHY framework

2017-04-21 Thread Jean-Jacques Hiblot
The PHY framework provides a set of APIs to control a PHY. This API is derived from the linux version of the generic PHY framework. Currently the API supports init(), deinit(), power_on, power_off() and reset(). The framework provides a way to get a reference to a phy from the device-tree. Signed-

[U-Boot] [PATCH v4 6/7] drivers: block: dwc_ahci: Implement a driver for Synopsys DWC sata device

2017-04-21 Thread Jean-Jacques Hiblot
Implement a sata driver for Synopsys DWC sata device based on U-boot driver model. Signed-off-by: Mugunthan V N Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- drivers/block/Kconfig| 10 + drivers/block/Makefile | 1 + drivers/block/dwc_ahci.

[U-Boot] [PATCH v4 3/7] dm: test: Add tests for the generic PHY uclass

2017-04-21 Thread Jean-Jacques Hiblot
Those tests check: - the ability for a phy-user to get a phy based on its name or its index - the ability of a phy device (provider) to manage multiple ports - the ability to perform operations on the phy (init,deinit,on,off) - the behavior of the uclass when optional operations are not implemented

[U-Boot] [PATCH v4 5/7] dra7: dtsi: mark ocp2scp bus compatible with "simple-bus"

2017-04-21 Thread Jean-Jacques Hiblot
This is needed to probe devices under that bus such as the SATA PHY. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini --- arch/arm/dts/omap5-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/omap5-u-boot.dtsi b/arch/arm/dts/omap5-u-boot.dtsi index 6305f57.

[U-Boot] [PATCH v4 0/7] OMAP: Move SATA to use block driver model and introduce a new framework for PHY management

2017-04-21 Thread Jean-Jacques Hiblot
This series adds support for SATA using the driver model on omap platforms. It is based on the work of Mugunthan V N in Feb 2016 In the process it adds a new framework to manage PHY devices changes since v3: * Add a patch to split scsi_scan() as discussed in https://patchwork.ozlabs.org/patch/74

[U-Boot] [PATCH v4 7/7] defconfig: dra7xx_evm: enable CONFIG_BLK and disk driver model for SCSI

2017-04-21 Thread Jean-Jacques Hiblot
Enable disk driver model for dra7xx_evm as dwc_ahci supports driver model. As a consequence we must also enable CONFIG_BLK and CONFIG_DM_USB. Signed-off-by: Mugunthan V N Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini --- configs/dra7xx_evm_defconfig| 12 +++- configs/dra

[U-Boot] [PATCH] travisci: Add support for ARC

2017-04-21 Thread Alexey Brodkin
Finally adding support for ARC boards in TravisCI. To build for ARC boards we need to install Synopsys prebuilt toolchain which we do here. Signed-off-by: Alexey Brodkin Cc: Tom Rini --- .travis.yml | 8 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index f68

Re: [U-Boot] [PATCH v4 01/11] rockchip: include: grf: Add GRF register declaration for mipi dsi

2017-04-21 Thread Dr. Philipp Tomsich
Reviewed-by: Philipp Tomsich mailto:philipp.toms...@theobroma-systems.com>> > On 20 Apr 2017, at 06:45, Eric Gao wrote: > > Signed-off-by: Eric Gao > > --- > > Changes in v4: None > Changes in v3: > -Split GRF changes as a single patch > > Changes in v2: None > > arch/arm/include/asm/arch-r

[U-Boot] [PATCH 1/2][v3] board: freescale: ls2080ardb: Update QIXIS code

2017-04-21 Thread Priyanka Jain
Update QIXIS related code to be executed only if CONFIG_FSL_QIXIS flag is enabled Signed-off-by: Priyanka Jain --- board/freescale/ls2080ardb/ls2080ardb.c | 19 --- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/board/freescale/ls2080ardb/ls2080ardb.c b/board/

[U-Boot] [PATCH 2/2][v3] nxp/ls2080ardb: Add QSPI-boot support

2017-04-21 Thread Priyanka Jain
QSPI-boot is verified on LS20080ARDB RevF board with LS2088A SoC. LS2088ARDB RevF Board has limitation that QIXIS can not be access, so QIXIS flag is kept disabled Signed-off-by: Priyanka Jain Signed-off-by: Suresh Gupta --- Changes for v3:Udated README Changes for v2: Incorporated Sun York's

Re: [U-Boot] [PATCH v4 01/11] rockchip: include: grf: Add GRF register declaration for mipi dsi

2017-04-21 Thread Dr. Philipp Tomsich
Eric, I’d like to request another minor edit (see below) … sorry for sending this as two separate mails, but I only just spotted this. > On 20 Apr 2017, at 06:45, Eric Gao wrote: > > Signed-off-by: Eric Gao > > --- > > Changes in v4: None > Changes in v3: > -Split GRF changes as a single pa

Re: [U-Boot] [PATCH v6 13/16] arm: socfpga: Add SPL support for Arria 10

2017-04-21 Thread Marek Vasut
On 04/21/2017 11:45 AM, Ley Foon Tan wrote: > On Fri, Apr 21, 2017 at 4:00 AM, Dalon Westergreen > wrote: >> On Thu, 2017-04-20 at 07:12 -0700, Dalon Westergreen wrote: >>> On Wed, 2017-04-19 at 23:58 -0500, Dinh Nguyen wrote: On Wed, Apr 19, 2017 at 6:21 PM, Dalon Westergreen wrot

Re: [U-Boot] [PATCH 4/4] power: regulator: rk808: add rk818 support

2017-04-21 Thread Wadim Egorov
Hi Jacob, Am 21.04.2017 um 05:34 schrieb Jacob Chen: > Add support for the rk818 regulator. The regulator module consists > of 4 DCDCs, 9 LDOs, 1 switch and 1 BOOST converter which is used to > power OTG and HDMI5V. > > TODO: I don't know how to deal with BOOST and LDO9, > so just ignore them now

Re: [U-Boot] [PATCH 2/4] power: pmic: rk808: add RK818 support

2017-04-21 Thread Wadim Egorov
Hi Jacob, Am 21.04.2017 um 05:34 schrieb Jacob Chen: > The RK818 chip is a Power Management IC (PMIC) for multimedia and handheld > devices. > > For boards use rk818, the input current should be set in the early stage, > before > ddr initialization. > > To use rk818,below configs should be enabl

[U-Boot] Armada 385: PEX detection pulse width

2017-04-21 Thread Stefan Eichenberger
Dear Adam, On the mainline u-boot we found a commit which helps to fix a problem regarding PCIe and the Armada 370: http://git.denx.de/?p=u-boot.git;a=commit;h=6bbe0924a799d33c1a8c9de38b60a5e0251f2aea We currently facing a similar problem with the Armada 385 and PCIe. The problem also appears wit

Re: [U-Boot] [PATCH] travisci: Add support for ARC

2017-04-21 Thread Tom Rini
On Fri, Apr 21, 2017 at 01:35:43PM +0300, Alexey Brodkin wrote: > Finally adding support for ARC boards in TravisCI. > > To build for ARC boards we need to install Synopsys prebuilt toolchain > which we do here. > > Signed-off-by: Alexey Brodkin > Cc: Tom Rini Reviewed-by: Tom Rini -- Tom

Re: [U-Boot] [PATCH] travisci: Add support for ARC

2017-04-21 Thread Alexey Brodkin
Hi Tom, On Fri, 2017-04-21 at 09:13 -0400, Tom Rini wrote: > On Fri, Apr 21, 2017 at 01:35:43PM +0300, Alexey Brodkin wrote: > > > > > Finally adding support for ARC boards in TravisCI. > > > > To build for ARC boards we need to install Synopsys prebuilt toolchain > > which we do here. > > > >

Re: [U-Boot] [PATCH] travisci: Add support for ARC

2017-04-21 Thread Tom Rini
On Fri, Apr 21, 2017 at 01:14:23PM +, Alexey Brodkin wrote: > Hi Tom, > > On Fri, 2017-04-21 at 09:13 -0400, Tom Rini wrote: > > On Fri, Apr 21, 2017 at 01:35:43PM +0300, Alexey Brodkin wrote: > > > > > > > > Finally adding support for ARC boards in TravisCI. > > > > > > To build for ARC bo

Re: [U-Boot] [PATCH v6 13/16] arm: socfpga: Add SPL support for Arria 10

2017-04-21 Thread Dalon Westergreen
On Fri, 2017-04-21 at 14:17 +0200, Marek Vasut wrote: > On 04/21/2017 11:45 AM, Ley Foon Tan wrote: > > > > On Fri, Apr 21, 2017 at 4:00 AM, Dalon Westergreen > > wrote: > > > > > > On Thu, 2017-04-20 at 07:12 -0700, Dalon Westergreen wrote: > > > > > > > > On Wed, 2017-04-19 at 23:58 -0500, Di

Re: [U-Boot] [PATCH] travisci: Add support for ARC

2017-04-21 Thread Alexey Brodkin
Hi Tom, On Fri, 2017-04-21 at 09:17 -0400, Tom Rini wrote: > On Fri, Apr 21, 2017 at 01:14:23PM +, Alexey Brodkin wrote: > > > > Hi Tom, > > > > On Fri, 2017-04-21 at 09:13 -0400, Tom Rini wrote: > > > > > > On Fri, Apr 21, 2017 at 01:35:43PM +0300, Alexey Brodkin wrote: > > > > > > > > >

Re: [U-Boot] [PATCH v6 13/16] arm: socfpga: Add SPL support for Arria 10

2017-04-21 Thread Marek Vasut
On 04/21/2017 03:17 PM, Dalon Westergreen wrote: > On Fri, 2017-04-21 at 14:17 +0200, Marek Vasut wrote: >> On 04/21/2017 11:45 AM, Ley Foon Tan wrote: >>> >>> On Fri, Apr 21, 2017 at 4:00 AM, Dalon Westergreen >>> wrote: On Thu, 2017-04-20 at 07:12 -0700, Dalon Westergreen wrote: >

[U-Boot] [PATCH v2 00/22] x86: Add ACPI S3 resume support

2017-04-21 Thread Bin Meng
This adds ACPI S3 (suspend to ram) resume capability in U-Boot. With S3 support within U-Boot, the board wakes up and resumes to OS very quickly. This so far is enabled and tested on Intel MinnowMax board. Please check README.x86 for how to test it with a plain Linux kernel. Linux (w/ or w/o SeaBI

[U-Boot] [PATCH v2 02/22] x86: baytrail: acpi: Add APIs for determining/clearing sleep state

2017-04-21 Thread Bin Meng
This adds APIs for determining previous sleep state from ACPI I/O registers, as well as clearing sleep state on BayTrail SoC. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: None arch/x86/cpu/baytrail/acpi.c | 47 ++ arch/x86/inclu

[U-Boot] [PATCH v2 01/22] x86: acpi: Add Kconfig option and header file for ACPI resume

2017-04-21 Thread Bin Meng
This introduces a Kconfig option for ACPI S3 resume, as well as a header file to include anything related to ACPI S3 resume. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: - fixed several nits in CONFIG_HAVE_ACPI_RESUME Kconfig help text - return -EINVAL instead of -1 in a

[U-Boot] [PATCH v2 06/22] x86: baytrail: Conditionally report S3 in the ACPI table

2017-04-21 Thread Bin Meng
When U-Boot is built without ACPI S3 support, it should not report S3 in the ACPI table otherwise when kernel does STR it won't work. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: None arch/x86/include/asm/arch-baytrail/acpi/sleepstates.asl | 2 ++ arch/x86/include/asm/g

[U-Boot] [PATCH v2 07/22] x86: fsp: Mark memory used by U-Boot as reserved in the E820 table for S3

2017-04-21 Thread Bin Meng
U-Boot itself as well as everything that is consumed by U-Boot (like heap, stack, dtb, etc) needs to be reserved and reported in the E820 table when S3 resume is on. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: None arch/x86/Kconfig| 8 arch/x86/li

[U-Boot] [PATCH v2 15/22] x86: apci: Change PM1_CNT register access to RMW

2017-04-21 Thread Bin Meng
In enter_acpi_mode() PM1_CNT register is changed to PM1_CNT_SCI_EN directly without preserving its previous value. Update to change the register access to read-modify-write (RMW). Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: None arch/x86/lib/acpi_table.c | 4 +++- 1 fi

[U-Boot] [PATCH v2 12/22] x86: fsp: Save stack address to CMOS for next S3 boot

2017-04-21 Thread Bin Meng
At the end of pre-relocation phase, save the new stack address to CMOS and use it as the stack on next S3 boot for fsp_init() continuation function. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: - add a function comment block for fsp_save_s3_stack() - check error on calli

[U-Boot] [PATCH v2 21/22] x86: minnowmax: Enable ACPI S3 resume

2017-04-21 Thread Bin Meng
This turns on ACPI S3 resume for minnowmax board. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: None configs/minnowmax_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/minnowmax_defconfig b/configs/minnowmax_defconfig index 8dac1d7..aa50e88 100644 --

[U-Boot] [PATCH v2 09/22] x86: acpi: Add one API to find OS wakeup vector

2017-04-21 Thread Bin Meng
This adds one API acpi_find_wakeup_vector() to locate OS wakeup vector from the ACPI FACS table, to be used in the S3 boot path. Signed-off-by: Bin Meng --- Changes in v2: - add a function comment block for acpi_find_wakeup_vector() arch/x86/include/asm/acpi_table.h | 10 ++ arch/x86/incl

[U-Boot] [PATCH v2 18/22] x86: acpi: Turn on ACPI mode for S3

2017-04-21 Thread Bin Meng
Before jumping to OS waking up vector, we need turn on ACPI mode for S3, just like what we do for a normal boot. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: None arch/x86/lib/acpi_s3.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/lib/acpi_s3.c b/arch

[U-Boot] [PATCH v2 22/22] x86: Document ACPI S3 support

2017-04-21 Thread Bin Meng
Now that we have ACPI S3 support on Intel MinnowMax board, document some generic information of S3 and how to test it. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: - add some notes about testing S3 resume on Windows - rebase on u-boot/master doc/README.x86 | 24 +++

[U-Boot] [PATCH v2 14/22] x86: Adjust board_final_cleanup() order

2017-04-21 Thread Bin Meng
Call board_final_cleanup() before write_tables(), so that anything done in board_final_cleanup() on a normal boot path is also done on an S3 resume path. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: None arch/x86/cpu/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 de

[U-Boot] [PATCH v2 10/22] x86: acpi: Resume OS if resume vector is found

2017-04-21 Thread Bin Meng
In an S3 resume path, U-Boot does everything like a cold boot except in the last_stage_init() it jumps to the OS resume vector. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: None arch/x86/cpu/cpu.c | 8 arch/x86/include/asm/acpi_s3.h | 10 ++

[U-Boot] [PATCH v2 19/22] x86: pci: Allow conditionally run VGA rom in S3

2017-04-21 Thread Bin Meng
Introduce a new CONFIG_S3_VGA_ROM_RUN option so that U-Boot can bypass executing VGA roms in S3. Signed-off-by: Bin Meng --- Changes in v2: None arch/x86/Kconfig | 12 drivers/pci/pci_rom.c | 14 ++ 2 files changed, 26 insertions(+) diff --git a/arch/x86/Kconfig

[U-Boot] [PATCH v2 04/22] x86: fsp: acpi: Pass different boot mode to FSP init

2017-04-21 Thread Bin Meng
When ACPI S3 resume is turned on, we should pass different boot mode to FSP init instead of default BOOT_FULL_CONFIG. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: None arch/x86/include/asm/acpi_s3.h | 18 ++ arch/x86/lib/fsp/fsp_common.c | 26 ++

[U-Boot] [PATCH v2 20/22] x86: acpi: Fix Windows S3 resume failure

2017-04-21 Thread Bin Meng
U-Boot sets up the real mode interrupt handler stubs starting from address 0x1000. In most cases, the first 640K (0x0 - 0x9) system memory is reported as system RAM in E820 table to the OS. (see install_e820_map() implementation for each platform). So OS can use these memories whatever it w

[U-Boot] [PATCH v2 03/22] x86: Add post codes for OS resume

2017-04-21 Thread Bin Meng
This adds OS_RESUME (0x40) and RESUME_FAILURE (0xed) post codes. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: None arch/x86/include/asm/post.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/include/asm/post.h b/arch/x86/include/asm/post.h index 6b774bd..

[U-Boot] [PATCH v2 13/22] x86: Do not clear high table area for S3

2017-04-21 Thread Bin Meng
When SeaBIOS is being used, U-Boot reserves a memory area to be used for configuration tables like ACPI. But it should not be cleared otherwise ACPI table will be missing. Signed-off-by: Bin Meng --- Changes in v2: - new patch "Do not clear high table area for S3" - drop patch "x86: fsp: Mark t

[U-Boot] [PATCH v2 08/22] x86: acpi: Add wake up assembly stub

2017-04-21 Thread Bin Meng
This adds a wake up stub before jumping to OS wake up vector. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: - add brackets around the second x in RELOCATED(x) macro - word-wrap to use more columns - change to use present tense in the comments arch/x86/cpu/Makefile

[U-Boot] [PATCH v2 05/22] x86: Store and display previous sleep state

2017-04-21 Thread Bin Meng
Add one member in the global data to store previous sleep state, and display the state during boot in print_cpuinfo(). Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: - add a function comment block for acpi_ss_string() - use a string array for sleep state string - add a des

[U-Boot] [PATCH v2 11/22] x86: Add an early CMOS access library

2017-04-21 Thread Bin Meng
This adds a library that provides CMOS (inside RTC SRAM) access at a very early stage when driver model is not available yet. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: None arch/x86/include/asm/early_cmos.h | 43 + arch/x86/lib/Makefil

[U-Boot] [PATCH v2 17/22] x86: acpi: Refactor acpi_resume()

2017-04-21 Thread Bin Meng
To do something more in acpi_resume() like turning on ACPI mode, we need locate ACPI FADT table pointer first. But currently this is done in acpi_find_wakeup_vector(). This changes acpi_resume() signature to accept ACPI FADT pointer as the parameter. A new API acpi_find_fadt() is introduced, and a

[U-Boot] [PATCH v2 16/22] x86: acpi: Make enter_acpi_mode() public

2017-04-21 Thread Bin Meng
enter_acpi_mode() is useful on other boot path like S3 resume, so make it public. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: - add a function comment block for enter_acpi_mode() arch/x86/include/asm/acpi_table.h | 9 + arch/x86/lib/acpi_table.c | 2 +-

[U-Boot] [PATCH v2] Kconfig: Enable FIT support by default for TI platforms

2017-04-21 Thread Andrew F. Davis
Almost all TI defconfigs enable this already, add this as a default and remove the explicit assignment. Signed-off-by: Andrew F. Davis --- Changes from v1: - Use imply instead of default arch/arm/Kconfig | 2 ++ configs/am335x_baltos_defconfig| 1 - confi

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

2017-04-21 Thread Daniel Schwierzeck
Hi Tom, please pull two bugfixes for qemu_mips, thanks. The following changes since commit f6c1df44b815a08585e7fd3805a1db51a5955d09: Prepare v2017.05-rc2 (2017-04-17 18:16:49 -0400) are available in the git repository at: git://git.denx.de/u-boot-mips.git master for you to fetch changes

[U-Boot] [PATCH v1 0/2] DS1307 RTC update

2017-04-21 Thread Chris Packham
The first patch is the addition of a KConfig option for the date command. I haven't updated any boards to use the new option due to the sheer number of boards that would affect. It's probably better if board maintainers switch if/when they're ready. The second patch is the change I really want to

[U-Boot] [PATCH v1 1/2] cmd: add Kconfig option for 'date' command

2017-04-21 Thread Chris Packham
Signed-off-by: Chris Packham --- cmd/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index 13dc46a..1aaf8c5 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -676,6 +676,12 @@ config CMD_LED with led on/off/togle/blink. Any LED drivers can be con

[U-Boot] [PATCH v1 2/2] rtc: Add DM support to ds1307

2017-04-21 Thread Chris Packham
Add an implementation of the ds1307 driver that uses the driver model i2c APIs. Signed-off-by: Chris Packham --- drivers/rtc/Kconfig | 7 ++ drivers/rtc/ds1307.c | 196 ++- 2 files changed, 184 insertions(+), 19 deletions(-) diff --git a/driv

Re: [U-Boot] [PATCH v6 13/16] arm: socfpga: Add SPL support for Arria 10

2017-04-21 Thread Dalon Westergreen
On Fri, 2017-04-21 at 15:31 +0200, Marek Vasut wrote: > On 04/21/2017 03:17 PM, Dalon Westergreen wrote: > > > > On Fri, 2017-04-21 at 14:17 +0200, Marek Vasut wrote: > > > > > > On 04/21/2017 11:45 AM, Ley Foon Tan wrote: > > > > > > > > > > > > On Fri, Apr 21, 2017 at 4:00 AM, Dalon Westergre

Re: [U-Boot] [PATCH v6 13/16] arm: socfpga: Add SPL support for Arria 10

2017-04-21 Thread Marek Vasut
On 04/21/2017 06:37 PM, Dalon Westergreen wrote: [...] > My proposal is revert back to its original code, revert > socfpga_bridges_reset() return type to void and don't check error from > fpgamgr_test_fpga_ready(). So, we can support Gen5 boot without > program FPGA. Isn

Re: [U-Boot] [PATCH v2] rockchip: tinker: set ethaddr in late init

2017-04-21 Thread Jonas Karlman
Hi Simon, On 2017-04-20 23:04, Simon Glass wrote: > Hi Jonas, > > On 20 April 2017 at 12:23, Jonas Karlman wrote: >> Set ethernet mac address in late init for Tinker Board, >> prevents getting a random mac address each boot. >> >> Read mac address from eeprom, first 6 bytes from m24c08@50. >> Sa

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

2017-04-21 Thread Masahiro Yamada
Hi Tom, Here is a small pull request for UniPhier SoCs. Please pull! - Add USB PHY settings - Use PSCI system reset when used with ARM Trusted Firmware - Improve boot log to show SCP status - Sync DT with Linux The following changes since commit 3c476d841daa491f87c8f07851038afbdf4d90a8: Merg

Re: [U-Boot] [PATCH] ARM: uniphier: setup EHCI PHY paramters for LD11

2017-04-21 Thread Masahiro Yamada
2017-04-14 11:30 GMT+09:00 Masahiro Yamada : > Set the same PHY parameters as the Boot ROM uses. > > Signed-off-by: Masahiro Yamada Applied to u-boot-uniphier/master. -- Best Regards Masahiro Yamada ___ U-Boot mailing list U-Boot@lists.denx.de https:

Re: [U-Boot] [PATCH 0/3] ARM: uniphier: UniPhier changes for v2017.05

2017-04-21 Thread Masahiro Yamada
2017-04-20 16:54 GMT+09:00 Masahiro Yamada : > > > Masahiro Yamada (3): > ARM: uniphier: enable PSCI sysreset for uniphier_v8_defconfig > ARM: uniphier: show STM (SCP) status on boot and pinmon command > ARM: dts: uniphier: sync Device Tree with Linux > > arch/arm/dts/uniphier-ld11.dtsi

Re: [U-Boot] [PATCH v3 0/6] sunxi: video: Add support for HDMI output on A64/H3/H5

2017-04-21 Thread Jernej Škrabec
Dne petek, 21. april 2017 ob 09:04:13 CEST je Maxime Ripard napisal(a): > Hi Jernej, > > On Mon, Mar 27, 2017 at 07:22:28PM +0200, Jernej Skrabec wrote: > > This series implements support for HDMI output. This is done using > > DM video framework and sharing the HDMI controller code with RK3288. >

Re: [U-Boot] [PATCH v2 2/3] fsl: PPA: add support PPA image validation from NAND and SD

2017-04-21 Thread York Sun
On 04/19/2017 05:16 AM, Sumit Garg wrote: Signed-off-by: Sumit Garg Signed-off-by: Udit Agarwal Tested-by: Vinitha Pillai --- Changes in v2: Changed order of patch 1 & 2. Also moved assignment of ppa_esbc_hdr to CONFIG_SYS_LS_PPA_ESBC_ADDR in XIP space as it's not required in case of SD/NAND.

Re: [U-Boot] [PATCH v2 2/3] fsl: PPA: add support PPA image validation from NAND and SD

2017-04-21 Thread Sumit Garg
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Saturday, April 22, 2017 1:03 AM > To: Sumit Garg ; u-boot@lists.denx.de > Cc: Ruchika Gupta ; Prabhakar Kushwaha > ; Vini Pillai ; Udit > Agarwal > Subject: Re: [PATCH v2 2/3] fsl: PPA: add support PPA image validatio

Re: [U-Boot] [PATCH v4 3/3] board: at91sam9263ek: Enable early debug UART

2017-04-21 Thread sjg
Hi Simon, The patches has been rebased on the master branch of u-boot-dm git tree Could you help take them? Best Regards, Wenyou Yang On 2017/4/18 15:31, Wenyou Yang wrote: > Enable the early debug UART to debug problems when an ICE or other > debug mechanism is not available. > > Signed-off-

Re: [U-Boot] [PATCH v4 2/3] board: at91sam9263ek: Clean up code

2017-04-21 Thread sjg
Because the introduction of the pinctrl and clk drivers and the device tree files, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None board/atmel/at91sam9263ek/at91sam

Re: [U-Boot] [PATCH v4 2/3] board: at91sam9rlek: Clean up code

2017-04-21 Thread sjg
Since the introduction of the pinctrl and clk drivers and the device tree files, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None board/atmel/at91sam9rlek/at91sam9rl

Re: [U-Boot] [PATCH v4 1/3] configs: at91sam9m10g45ek: Update to support DM/DT

2017-04-21 Thread sjg
Update the configuration files to support the device tree and driver model. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Because the limitation of internal SRAM size, the SPL with driver model can't be supported, disable the SPL option. Si

Re: [U-Boot] [PATCH v5 1/3] configs: at91sam9260ek/9g20ek: Update for DT and DM

2017-04-21 Thread sjg
Update the configuration files to support the device tree and driver model. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v5: - Adjust CONFIG_ENV_OFFSET for NAND to avoid

Re: [U-Boot] [PATCH v4 3/3] board: at91sam9rlek: Enable early debug UART

2017-04-21 Thread sjg
Hi Simon, The patches has been rebased on the master branch of u-boot-dm git tree Could you help take them? Best Regards, Wenyou Yang On 2017/4/18 15:28, Wenyou Yang wrote: > Enable the early debug UART to debug problems when an ICE or other > debug mechanism is not available. > > Signed-off-

Re: [U-Boot] [PATCH v4 3/3] board: at91sam9n12ek: Enable early debug UART

2017-04-21 Thread sjg
Hi Simon, The patches has been rebased on the master branch of u-boot-dm git tree Could you help take them? Best Regards, Wenyou Yang On 2017/4/18 14:54, Wenyou Yang wrote: > Enable the early debug UART to debug problems when an ICE or other > debug mechanism is not available. > > Signed-off-

Re: [U-Boot] [PATCH v4 3/3] board: at91sam9m10g45ek: Enable early debug UART

2017-04-21 Thread sjg
Hi Simon, The patches has been rebased on the master branch of u-boot-dm git tree Could you help take them? Best Regards, Wenyou Yang On 2017/4/18 15:15, Wenyou Yang wrote: > Enable the early debug UART to debug problems when an ICE or other > debug mechanism is not available. > > Signed-off-

Re: [U-Boot] [PATCH v4 1/3] configs: at91sam9rlek: Update for DT and DM support

2017-04-21 Thread sjg
Update the configuration files to support the device tree and driver model. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: - Adjust CONFIG_ENV_OFFSET for NAND to avoid

Re: [U-Boot] [PATCH v4 1/3] configs: at91sam9263ek: Update for DT and DM support

2017-04-21 Thread sjg
Update the configuration files to support the device tree and driver model. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: - Adjust CONFIG_ENV_OFFSET for NAND to avoid

Re: [U-Boot] [PATCH v4 2/3] board: at91sam9m10g45ek: Clean up code

2017-04-21 Thread sjg
Since the introduction of the pinctrl and clk drivers and the device tree files, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None board/atmel/at91sam9m10g45ek/at91sa

Re: [U-Boot] [PATCH v3 1/2] net: macb: Add remove callback

2017-04-21 Thread sjg
To avoid the failure of mdio_register(), add the remove callback to unregister the mii_dev when removing the ethernet device. Signed-off-by: Wenyou Yang Acked-by: Joe Hershberger --- Changes in v3: None Changes in v2: - Rebase on v2017.03. drivers/net/macb.c | 45

Re: [U-Boot] [PATCH v3 6/6] ARM: dts: at91: Add dts files for at91sam9263ek

2017-04-21 Thread sjg
The device tree source files of at91sam9263ek boards are copied from the Linux v4.10, do the changes as below. - Add the reg property for the pinctrl node. - Move the gpio (pioA, pioB, pioC, pioD, pioE) nodes as the pinctrl's slibling nodes, instead of the child nodes. - Add the "u-boot,dm-pr

Re: [U-Boot] [PATCH v5 1/3] configs: at91sam9x5ek: Update to support DM/DT

2017-04-21 Thread sjg
Update the configuration files to support the device tree and driver model. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Because the limitation of internal SRAM size, the SPL with driver model can't be supported, disable the SPL option. Si

Re: [U-Boot] [PATCH v3 1/6] ARM: dts: at91: Add dts files for at91sam9x5ek

2017-04-21 Thread sjg
The device tree source files of at91sam9x5ek board are copied from the Linux v4.10, do the changes below. - Add the reg property for the pinctrl node. - Move the gpio (pioA, pioB, pioC ...) nodes as the pinctrl's slibling nodes, instead of the child nodes. - Add the "u-boot,dm-pre-reloc" prop

Re: [U-Boot] [PATCH v4 2/3] clk: at91: Align clk-master compatibles with kernel

2017-04-21 Thread sjg
Add the compatible "atmel,at91rm9200-clk-master" to align with the kernel. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: - Add the Reviewed-by tags. drivers/clk/at91/clk-master.c | 1 + 1 file changed, 1 insertion(+) Applied t

Re: [U-Boot] [PATCH 7/7] configs: sama5d2_xplained: update for SPL

2017-04-21 Thread sjg
Enable config options to support the SPL, increase the malloc memory size for the SPL and board_init_f stage and increase the memory space for the SPL binary. Signed-off-by: Wenyou Yang --- configs/sama5d2_xplained_mmc_defconfig | 8 +++- configs/sama5d2_xplained_spiflash_defconfig | 7

Re: [U-Boot] [PATCH v4 1/3] clk: at91: Enhance the peripheral clock

2017-04-21 Thread sjg
Enhance the peripheral clock to support both at9sam9x5's and at91rm9200's peripheral clock via the different compatibles. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: - Use an enum with a descriptive name to denote the clock typ

Re: [U-Boot] [PATCH v5 2/3] board: at91sam9x5ek: Clean up code

2017-04-21 Thread sjg
Since the introduction of the pinctrl and clock driver and the device tree files, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: - Remove Atmel mci related code. Change

Re: [U-Boot] [PATCH v4 1/3] configs: at91sam9n12ek: Update for DT and DM support

2017-04-21 Thread sjg
Update the configuration files to support the device tree and driver model. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Because the limitation of internal SRAM size, the SPL with driver model can't be supported, disable the SPL option. Si

Re: [U-Boot] [PATCH 6/7] board: sama5d2_xplained: remove unnecessary header files

2017-04-21 Thread sjg
Remove the unnecessary header files. Signed-off-by: Wenyou Yang --- board/atmel/sama5d2_xplained/sama5d2_xplained.c | 2 -- 1 file changed, 2 deletions(-) Applied to u-boot-dm/next, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.d

Re: [U-Boot] [PATCH v3 5/6] ARM: dts: at91: Add dts files for at91sam9rlek

2017-04-21 Thread sjg
The device tree source files of at91sam9rlek boards are copied from the Linux v4.10, do the changes as below. - Add the reg property for the pinctrl node. - Move the gpio (pioA, pioB, pioC, pioD) nodes as the pinctrl's slibling nodes, instead of the child nodes. - Add the "u-boot,dm-pre-reloc

Re: [U-Boot] [PATCH v4 2/3] board: at91sam9n12ek: Clean up code

2017-04-21 Thread sjg
Since the introduction of the pinctrl and clk driver and the device tree files, remove unneeded related code from the board file. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None board/atmel/at91sam9n12ek/at91sam9n12ek.c | 53

Re: [U-Boot] [PATCH v5 3/3] board: at91sam9260ek/9g20ek: Enable early debug UART

2017-04-21 Thread sjg
Hi Simon, The patches has been rebased on the master branch of u-boot-dm git tree Could you help take them? Best Regards, Wenyou Yang On 2017/4/18 15:18, Wenyou Yang wrote: > Enable the early debug UART to debug problems when an ICE or other > debug mechanism is not available. > > Signed-off-

  1   2   >