Re: [U-Boot] [U-Boot, v3] regulator: pbias: Add PBIAS regulator for proper voltage switching on MMC1

2017-08-17 Thread Jaehoon Chung
Dear JJ, On 08/07/2017 06:43 PM, Jean-Jacques Hiblot wrote: > In the TI SOCs a PBIAS cell exists to provide a bias voltage to the MMC1 > IO cells. Without this bias voltage these I/O cells can not function > properly. The PBIAS cell is controlled by software. > > Signed-off-by: Jean-Jacques Hiblo

[U-Boot] [GIT PULL V2] Please pull u-boot-mmc master

2017-08-17 Thread Jaehoon Chung
Dear Tom, Could you pull these patches to u-boot/master? Sorry for late about reviewing patches. Because of my late reviewing, some guys can't keep going their progress. I had tested the buildman about all..As i see, there is no issue. If there is any issue, let me know, plz. Changelog on V2: Dr

Re: [U-Boot] [GIT PULL] Please pull u-boot-mmc master

2017-08-17 Thread Jaehoon Chung
Dear Tom, I will resend the PR. Discard this PR. Best Regards, Jaehoon Chung On 08/18/2017 02:39 PM, Jaehoon Chung wrote: > Dear Tom, > > Could you pull these patches to u-boot/master? > Sorry for late about reviewing patches. > Because of my late reviewing, some guys can't keep going their pro

Re: [U-Boot] [PATCH v2 0/5] rockchip: rk3229: add sdram and sd support

2017-08-17 Thread Kever Yang
Philipp, On 08/17/2017 04:34 PM, Dr. Philipp Tomsich wrote: On 17 Aug 2017, at 09:17, Kever Yang wrote: Add sdram driver for rk3229 and other fix like pinctrl and sd node. Changes in v2: - split this patch in two patches Kever Yang (5): rockchip: rk322x: update dram bank size rockchip

[U-Boot] [PATCH v4 3/3] armv8: ls1088aqds: Add support of LS1088AQDS

2017-08-17 Thread Ashish Kumar
This patch add support of LS1088AQDS platform. The LS1088A QorIQTM Development System (QDS) is a high-performance computing, evaluation, and development platform that supports the LS1088A QorIQ Architecture processor. Signed-off-by: Prabhakar Kushwaha Signed-off-by: Shaohui Xie Signed-off-by: A

[U-Boot] [PATCH v4 2/3] armv8: ls1088ardb: Add support for LS1088ARDB platform

2017-08-17 Thread Ashish Kumar
LS1088A is an ARMv8 implementation. The LS1088ARDB is an evaluatoin platform that supports the LS1088A family SoCs. This patch add basic support of the platform. Signed-off-by: Alison Wang Signed-off-by: Prabhakar Kushwaha Signed-off-by: Ashish Kumar Signed-off-by: Raghav Dogra Signed-off-by:

[U-Boot] [PATCH v4 1/3] armv8: ls1088a: Add NXP LS1088A SoC support

2017-08-17 Thread Ashish Kumar
The QorIQ LS1088A processor is built on the Layerscape architecture combining eight ARM A53 processor cores with advanced, high-performance datapath acceleration and networks, peripheral interfaces required for networking, wireless infrastructure, and general-purpose embedded applications. LS1088A

[U-Boot] [GIT PULL] Please pull u-boot-mmc master

2017-08-17 Thread Jaehoon Chung
Dear Tom, Could you pull these patches to u-boot/master? Sorry for late about reviewing patches. Because of my late reviewing, some guys can't keep going their progress. I had tested the buildman about all..As i see, there is no issue. If there is any issue, let me know, plz. The following chang

[U-Boot] [PATCH] armv8: fsl-layerscape: Put SATA code under SATA configs

2017-08-17 Thread Ashish Kumar
It is not necessary for every SoC to have 2 SATA controller. So put SATA1, SATA2 code under respective defines. Signed-off-by: Prabhakar Kushwaha Signed-off-by: Ashish Kumar --- arch/arm/cpu/armv8/fsl-layerscape/soc.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/cpu/armv8/fs

[U-Boot] [PATCH] armv8: fsl-lsch3: Make CCN-504 related code conditional

2017-08-17 Thread Ashish Kumar
LS2080 family has CCN-504 cache coherent interconnet. Other SoCs from LSCH3 may have differnt interconnect like LS1088. Signed-off-by: Ashish Kumar Signed-off-by: Prabhakar Kushwaha --- For clean git am this "http://patchwork.ozlabs.org/patch/800408/"; should be applied first README

[U-Boot] [PATCH 2/3] rockchip: firefly-rk3399: add FIT for rk3399

2017-08-17 Thread Kever Yang
Enable SPL_FIT_GENERATOR with path for it. With this patch you can get u-boot.itb for rk3399-evb with: > make u-boot.itb Signed-off-by: Kever Yang --- configs/firefly-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/firefly-rk3399_defconfig b/configs/firefly-rk3399_d

[U-Boot] [PATCH 3/3] rockchip: evb-rk3399: update document for board bring up

2017-08-17 Thread Kever Yang
Since we support ATF in SPL and add script for it, let's make the document up to date. Signed-off-by: Kever Yang --- board/rockchip/evb_rk3399/README | 79 1 file changed, 63 insertions(+), 16 deletions(-) diff --git a/board/rockchip/evb_rk3399/README b

Re: [U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-08-17 Thread Bo Shen
Hi Vikas, Try to remove this magic (press 'c' on the keyboard when at the boot time), I'd suggest to add a follow-up patch to move all the selected SPL related configuration from "arch/arm/mach-stm32/Kconfig" under STM32F7 to default configuration file (stm32f746-disco_defconfig). Then if th

[U-Boot] [PATCH 1/3] rockchip: rk3399-evb: add script for atf fit

2017-08-17 Thread Kever Yang
Add a script to generate binaries from bl31.elf, and generate u-boot.its file for FIT image including u-boot, dtb and atf binaries. Signed-off-by: Kever Yang --- board/rockchip/evb_rk3399/mk_fit_atf.sh | 110 1 file changed, 110 insertions(+) create mode 100755

Re: [U-Boot] [PATCH v2 00/40] dm: sata: Complete driver-model support for SATA

2017-08-17 Thread Jaehoon Chung
Hi Simon, On 08/17/2017 11:44 PM, Simon Glass wrote: > Hi Jaehoon, > > On 17 August 2017 at 01:40, Jaehoon Chung wrote: >> >> Hi Simon, >> >> On 07/30/2017 02:34 AM, Simon Glass wrote: >>> Note: This series is rebased to u-boot-mmc/master with a fix-up patch >>> for a broken patch there. >>> >>>

Re: [U-Boot] [PATCH 0/5] configs: at91: Remove value of CONFIG_SYS_EXTRA_OPTIONS option

2017-08-17 Thread Yang, Wenyou
Hi All, Do you have any comments on this patch set? Best Regards, Wenyou Yang On 2017/8/4 9:20, Wenyou Yang wrote: The CONFIG_SYS_EXTRA_OPTIONS option is deprecated, remove the value of this option from the board default config files. Wenyou Yang (5): ARM: at91: Move CONFIG_AT91FAMILY op

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

2017-08-17 Thread Angelo Dureghello
The following changes since commit 336aee50cf55d4d98ddf3a4412c18286e7f0a4c0: Merge git://git.denx.de/u-boot-tegra (2017-08-16 18:12:58 -0400) are available in the git repository at: git://git.denx.de/u-boot-coldfire.git master for you to fetch changes up to a373024e7f70a04b7fed1c11be1fcd50

[U-Boot] [PATCH] doc: license: Add license header to the README.dfutftp file

2017-08-17 Thread Lukasz Majewski
Signed-off-by: Lukasz Majewski --- doc/README.dfutftp | 8 1 file changed, 8 insertions(+) diff --git a/doc/README.dfutftp b/doc/README.dfutftp index 0257f0d..66901e1 100644 --- a/doc/README.dfutftp +++ b/doc/README.dfutftp @@ -1,3 +1,11 @@ +# +# Copyright (C) 2015 +# +# Lukasz Majews

Re: [U-Boot] [PATCH] fb_mmc.c: Correct blk_dread() return value checks

2017-08-17 Thread Łukasz Majewski
On 08/15/2017 03:00 AM, Tom Rini wrote: The function blk_dread will return -ENOSYS on failure or on success the number of blocks read, which must be the number asked to read (otherwise it failed somewhere). Correct this check. Cc: Lukasz Majewski Signed-off-by: Tom Rini --- common/fb_mmc.c |

[U-Boot] [PATCH] cmd: spl: provide address and size of prepared FDT in environment

2017-08-17 Thread Anatolij Gustschin
Writing prepared FDT to persistent storage should be possible in scripts. Create environment variables containing address and size of the updated FDT. Scripts can use these variables after running 'spl export fdt ...' command to write the new blob to persistent storage. Signed-off-by: Anatolij Gus

Re: [U-Boot] No environment driver for location 14

2017-08-17 Thread Simon Glass
Hi Pawel, On 17 August 2017 at 12:48, Paweł Jarosz wrote: > Simon, > > > I had CONFIG_ENV_IS_NOWHERE set in wrong place (rk3066_common.h) > > Moving this config to board defconfig resolves the issue. > > Sorry for the confusion and thanks for the reply. Ah OK, that's great! Thanks for letting me

Re: [U-Boot] No environment driver for location 14

2017-08-17 Thread Paweł Jarosz
Simon, I had CONFIG_ENV_IS_NOWHERE set in wrong place (rk3066_common.h) Moving this config to board defconfig resolves the issue. Sorry for the confusion and thanks for the reply. Regards Paweł W dniu 17.08.2017 o 19:46, Simon Glass pisze: Hi Pawel, On 17 August 2017 at 11:22, Paweł Jar

Re: [U-Boot] [PATCH] common/board_f.c: remove CONFIG_SYS_GENERIC_GLOBAL_DATA

2017-08-17 Thread Vladimir Zapolskiy
On 08/16/2017 12:11 AM, Thomas Petazzoni wrote: > CONFIG_SYS_GENERIC_GLOBAL_DATA is no longer used by any board or > platform, so support for it can be dropped. > > Signed-off-by: Thomas Petazzoni Reviewed-by: Vladimir Zapolskiy > --- > README | 6 -- > common/board

Re: [U-Boot] No environment driver for location 14

2017-08-17 Thread Paweł Jarosz
W dniu 17.08.2017 o 19:46, Simon Glass pisze: Hi Pawel, On 17 August 2017 at 11:22, Paweł Jarosz wrote: Hi, i'm getting a error with last env patches (u-boot-rockchip repo). U-boot booting halts on env_init() with message: env_driver_lookup_default: No environment driver for location 14

Re: [U-Boot] Initializing global_data on SuperH before board_init_f() ?

2017-08-17 Thread Vladimir Zapolskiy
Hello Thomas, On 08/16/2017 12:07 AM, Thomas Petazzoni wrote: > Hello, > > As you probably noticed with the few patches I sent late July, I am > porting U-Boot to an old SH7786 platform. nice, as time passes by, more and more U-Boot/SH users appear, now there are two of us :) Are you going to u

Re: [U-Boot] [PATCH 1/1] efi_loader: allow return value in EFI_CALL

2017-08-17 Thread Rob Clark
On Thu, Aug 17, 2017 at 12:57 PM, Heinrich Schuchardt wrote: > On 08/17/2017 01:49 PM, Rob Clark wrote: >> On Tue, Aug 15, 2017 at 3:42 PM, Heinrich Schuchardt >> wrote: >>> Macro EFI_CALL was introduced to call an UEFI function. >>> Unfortunately is did not support return values. >>> Most UEFI

Re: [U-Boot] No environment driver for location 14

2017-08-17 Thread Simon Glass
Hi Pawel, On 17 August 2017 at 11:22, Paweł Jarosz wrote: > Hi, > > > i'm getting a error with last env patches (u-boot-rockchip repo). > > U-boot booting halts on env_init() with message: > > > env_driver_lookup_default: No environment driver for location 14 > > ... > > env_driver_lookup_default

[U-Boot] No environment driver for location 14

2017-08-17 Thread Paweł Jarosz
Hi, i'm getting a error with last env patches (u-boot-rockchip repo). U-boot booting halts on env_init() with message: env_driver_lookup_default: No environment driver for location 14 ... env_driver_lookup_default: No environment driver for location 14 initcall sequence 60445dc8 failed at c

[U-Boot] [PATCH 1/1] efi_loader: efi_set_watchdog_timer return EFI_SUCCESS

2017-08-17 Thread Heinrich Schuchardt
The UEFI standard requires a watchdog timer that is preset to five minutes. After this period the system is reset. The watchdog shall be disabled by ExitBootServices. An EFI application can call efi_set_watchdog_timer to either reset the watchdog timer or disable it. This may be necessary if the

[U-Boot] [PATCH 1/1] efi_loader: do not cast return value in EFI_EXIT

2017-08-17 Thread Heinrich Schuchardt
UEFI API functions have different return types. Some return a value of type EFI_STATUS other don't. We therefore should not cast the return value of EFI_EXIT to another type than the expression passed to EFI_EXIT. Signed-off-by: Heinrich Schuchardt --- include/efi_loader.h | 4 ++-- 1 file chan

Re: [U-Boot] [PATCH 1/1] efi_loader: allow return value in EFI_CALL

2017-08-17 Thread Heinrich Schuchardt
On 08/17/2017 01:49 PM, Rob Clark wrote: > On Tue, Aug 15, 2017 at 3:42 PM, Heinrich Schuchardt > wrote: >> Macro EFI_CALL was introduced to call an UEFI function. >> Unfortunately is did not support return values. >> Most UEFI functions have a return value. >> >> So let's rename EFI_CALL to EFI_

[U-Boot] MUSB driver vs MUSB-NEW Confusion/Questions

2017-08-17 Thread Adam Ford
It seems like we have two similar drivers for the same MUSB device. Looking through the code, it appears as if mostly OMAP3 related boards use the older MUSB driver, but other boards use the MUSB-NEW driver which lead me to a few questions. What is the differrence between them? Is there a reason

Re: [U-Boot] [PATCH v3 3/3] config: move USB_FUNCTION_MASS_STORAGE

2017-08-17 Thread Łukasz Majewski
Hi Philipp, On 26 July 2017 at 05:22, Philipp Tomsich wrote: With both an imply from CMD_USB to USB_FUNCTION_MASS_STORAGE and with USB_FUNCTION_MASS_STORAGE moved to Kconfig, we can now run moveconfig. Signed-off-by: Philipp Tomsich --- Changes in v3: None Changes in v2: None configs/CHI

Re: [U-Boot] [PATCH v2 00/40] dm: sata: Complete driver-model support for SATA

2017-08-17 Thread Simon Glass
Hi Jaehoon, On 17 August 2017 at 01:40, Jaehoon Chung wrote: > > Hi Simon, > > On 07/30/2017 02:34 AM, Simon Glass wrote: > > Note: This series is rebased to u-boot-mmc/master with a fix-up patch > > for a broken patch there. > > > > This series completes the conversion of SATA to driver model. >

Re: [U-Boot] [PATCH v2 2/8] usb: gadget: add SDP driver

2017-08-17 Thread Łukasz Majewski
On 08/17/2017 03:54 PM, Marek Vasut wrote: On 08/17/2017 03:49 PM, Stefano Babic wrote: On 16/08/2017 20:00, Stefan Agner wrote: From: Stefan Agner Add SDP (Serial Downloader Protocol) implementation for U-Boot. The protocol is used in NXP SoC's boot ROM and allows to download program images.

Re: [U-Boot] [PATCH v2 2/8] usb: gadget: add SDP driver

2017-08-17 Thread Stefano Babic
On 17/08/2017 15:54, Marek Vasut wrote: > On 08/17/2017 03:49 PM, Stefano Babic wrote: >> On 16/08/2017 20:00, Stefan Agner wrote: >>> From: Stefan Agner >>> >>> Add SDP (Serial Downloader Protocol) implementation for U-Boot. The >>> protocol is used in NXP SoC's boot ROM and allows to download pr

Re: [U-Boot] [PATCH v2 2/8] usb: gadget: add SDP driver

2017-08-17 Thread Marek Vasut
On 08/17/2017 03:49 PM, Stefano Babic wrote: > On 16/08/2017 20:00, Stefan Agner wrote: >> From: Stefan Agner >> >> Add SDP (Serial Downloader Protocol) implementation for U-Boot. The >> protocol is used in NXP SoC's boot ROM and allows to download program >> images. Beside that, it can also be us

Re: [U-Boot] [PATCH v2 2/8] usb: gadget: add SDP driver

2017-08-17 Thread Stefano Babic
On 16/08/2017 20:00, Stefan Agner wrote: > From: Stefan Agner > > Add SDP (Serial Downloader Protocol) implementation for U-Boot. The > protocol is used in NXP SoC's boot ROM and allows to download program > images. Beside that, it can also be used to read/write registers and > download complete

Re: [U-Boot] [PATCH] usb: ehci: Convert CONFIG_USB_EHCI_PCI to Kconfig

2017-08-17 Thread Bin Meng
Hi Marek, On Wed, Aug 9, 2017 at 4:49 PM, Marek Vasut wrote: > On 08/09/2017 09:21 AM, Bin Meng wrote: >> This converts CONFIG_USB_EHCI_PCI to a Kconfig option, and updates >> all boards that use it. >> >> Signed-off-by: Bin Meng > > Applied, thanks > Will this patch be in v2017.09? Regards, B

[U-Boot] [PATCH v4 15/19] mmc: dw_mmc: rockchip: add support for rk3066 sdmmc

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
This patch enables support for the Rockchip RK3066 SD/MMC controller, which is based on Designware IP. The device supports SD, SDIO, MMC and eMMC. Signed-off-by: Paweł Jarosz --- Changes since v1: - dropped OF_PLATDATA Changes since v2: - none Changes since v3: - none drivers/mmc/rockchip_dw

[U-Boot] [PATCH v4 19/19] mtd: nand: spl: allow build nand_bbt, nand_ids and nand_util

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
This patch allows building of nand_bbt, nand_ids, nand_util for nand drivers that need it. Signed-off-by: Paweł Jarosz --- Changes since v1: - none Changes since v2: - none Changes since v3: - none drivers/mtd/nand/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/n

[U-Boot] [PATCH v4 13/19] ARM: dts: rockchip: prefer u-boot, dm-pre-reloc rather than u-boot, dm-spl

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
rk3xxx.dtsi is used by rk3188 and rk3066. rk3188 uses alocated data in spl but rk3066 needs it in tpl. Signed-off-by: Paweł Jarosz --- Changes since v1: - none Changes since v2: - none Changes since v3: - none arch/arm/dts/rk3xxx.dtsi | 8 1 file changed, 4 insertions(+), 4 deletion

[U-Boot] [PATCH v4 17/19] rockchip: sysreset: deduplicate rk3066 and rk3188 sysreset drivers

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
Sysreset drivers for rk3066 and rk3188 contain common elements which can be reused. Signed-off-by: Paweł Jarosz --- Changes since v1: - none Changes since v2: - none Changes since v3: - none .../include/asm/arch-rockchip/sysreset_common.h| 20 +++ arch/arm/mach-rockchip/Makefile

[U-Boot] [PATCH v4 16/19] armv7: support rk3066 early back to bootrom in vector.S

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
Rockchip bootrom first reads 1KB data from nand at offset 0x10080C00 and executes it. Then waits for back to bootrom and loads another 32KB to sram which also executes. Sdram initialisation code needs to be in one of these two steps. Then bootloader loads another ~200KB of data at offset 0x6000

[U-Boot] [PATCH v4 18/19] dfu: fix spl build

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
In current state dfu depends on cmd/mtdparts.c which isn't build in SPL. This patch resolves it by cutting out unwanted code in SPL build. Signed-off-by: Paweł Jarosz --- Changes since v1: - none Changes since v2: - none Changes since v3: - removed unneded space drivers/dfu/dfu_nand.c | 5 +++

[U-Boot] [PATCH v4 09/19] mtd: nand: add support for the Sandisk SDTNQGAMA chip

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
Sandisk SDTNQGAMA is a 8GB size, 3.3V 8 bit chip with 16KB page size, 1KB write size and 40 bit ecc support Signed-off-by: Paweł Jarosz --- Changes since v1: - none Changes since v2: - none Changes since v3: - none drivers/mtd/nand/nand_ids.c | 3 +++ 1 file changed, 3 insertions(+) diff --

[U-Boot] [PATCH v4 14/19] mmc: dw_mmc: support transfer mode autodetection

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
dw_mmc supports two transfer modes in u-boot: idma and fifo. This patch adds autodetection of transfer mode and eliminates setting this in host config struct Signed-off-by: Paweł Jarosz --- Changes since v1: - none Changes since v2: - none Changes since v3: - none drivers/mmc/dw_mmc.c | 8 ++

[U-Boot] [PATCH v4 12/19] rockchip: board: rk3066: convert board_usb_init to live tree functions

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
Use live tree functions to fill dwc2_plat_otg_data structure in board_usb_init. Signed-off-by: Paweł Jarosz --- Changes since v1: - none Changes since v2: - none Changes since v3: - none arch/arm/mach-rockchip/rk3066-board.c | 52 +-- 1 file changed, 7 insertio

[U-Boot] [PATCH v4 11/19] rockchip: mkimage: add support for rockchip nand boot image

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
The Rockchip boot ROM requires a particular file format for booting from NAND: * It starts with 512-byte, rc4 encoded header and is aligned to nand page size * Then first 2KB of first stage loader (tpl) aligned to nand page size * n empty pages * second 2KB of first stage loader (tpl) aligned to

[U-Boot] [PATCH v4 10/19] mtd: nand: add the rockchip nand controller driver

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
Add basic Rockchip nand driver. Driver in current state has 16, 24, 40, 60 per 1024B BCH/ECC ability and 8 bit asynchronous flash interface support. Other features will come later. Signed-off-by: Paweł Jarosz --- Changes since v1: - none Changes since v2: - fixed correct ecc checking Changes

[U-Boot] [PATCH v4 08/19] rockchip: rk3066: add sdram driver

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
Add rockchip rk3066 sdram driver Signed-off-by: Paweł Jarosz Acked-by: Simon Glass Acked-by: Philipp Tomsich --- Changes since v1: - use common rockchip_sdram_size - moved sdram init from sdram_init.c Changes since v2: - none Changes since v3: - none arch/arm/mach-rockchip/rk3066/Makefile

[U-Boot] [PATCH v4 07/19] rockchip: rk3066: add mk808 board files

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
mk808 is a tv stick with two usb ports, micro sd card slot, hdmi and nand onboard. Signed-off-by: Paweł Jarosz Acked-by: Simon Glass Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich --- Changes since v1: - added nand support - dropped spl of-platdata Changes since v2: - fixed dfu ram co

[U-Boot] [PATCH v4 06/19] rockchip: rk3066: add core support

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
Add core skeleton for rk3066 Signed-off-by: Paweł Jarosz Acked-by: Philipp Tomsich --- Changes since v1: - updated to shifted masks - moved syscon.h below spl.h - changed error to debug and return error reason - changed Cortex-A7 to Cortex-A9 - added nand support - added dfu support - removed dr

[U-Boot] [PATCH v4 05/19] rockchip: rk3066: add rk3066 platform devicetree file

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
rk3066 peripherials include usb, i2c, pwm, gpio, sdio, sdmmc, emmc, spi, watchdog and uart Signed-off-by: Paweł Jarosz Reviewed-by: Simon Glass Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich --- Changes since v1: - added nand dts node Changes since v2: - none Changes since v3: - none

[U-Boot] [PATCH v4 03/19] rockchip: rk3066: add sysreset driver

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
Add support for system reset for rk3066 socs. Signed-off-by: Paweł Jarosz Reviewed-by: Simon Glass Acked-by: Philipp Tomsich --- Changes since v1: - updated to shifted masks Changes since v2: - none Changes since v3: - none drivers/sysreset/Makefile | 1 + drivers/sysreset/sysrese

[U-Boot] [PATCH v4 04/19] rockchip: rk3066: add clock driver for rk3066 soc

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
Add clock driver for rk3066 platform. Signed-off-by: Paweł Jarosz Acked-by: Philipp Tomsich --- Changes since v1: - updated to shifted masks - moved clk init to tpl Changes since v2: - none Changes since v3: - none arch/arm/include/asm/arch-rockchip/cru_rk3066.h | 189 drivers/clk/r

[U-Boot] [PATCH v4 02/19] rockchip: rk3066: add rk3066 pinctrl driver

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
Add driver supporting pin multiplexing on rk3066 platform. Signed-off-by: Paweł Jarosz Acked-by: Philipp Tomsich --- Changes since v1: - updated to shifted masks - added nand support Changes since v2: - none Changes since v3: - none arch/arm/include/asm/arch-rockchip/periph.h | 1 + driver

[U-Boot] [PATCH v4 01/19] rockchip: rk3066: add grf header file

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
grf is needed by various drivers for rk3066 soc. Signed-off-by: Paweł Jarosz Acked-by: Philipp Tomsich --- Changes since v1: - updated to shifted masks Changes since v2: - none Changes since v3: - none arch/arm/include/asm/arch-rockchip/grf_rk3066.h | 621 1 file cha

[U-Boot] [PATCH v4 00/19] add support for rk3066 platform.

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
This patch serie adds support for Rockchip RK3066 processor. Paweł Jarosz (19): rockchip: rk3066: add grf header file rockchip: rk3066: add rk3066 pinctrl driver rockchip: rk3066: add sysreset driver rockchip: rk3066: add clock driver for rk3066 soc rockchip: rk3066: add rk3066 platform

Re: [U-Boot] [PATCH V2] imx: fix licensing in i.MX files

2017-08-17 Thread Wolfgang Denk
Dear Stefano, In message <1502970920-25167-1-git-send-email-sba...@denx.de> you wrote: > Some files for i.MX do not yet have the SPDX ID to reference the correct > license. > > Signed-off-by: Stefano Babic > --- > > Changes: > - mmc_host_def.h is GplV2 and not GPLv2 or later (W. Denk) > > arc

Re: [U-Boot] [PATCH 1/5] mmc: uniphier-sd: Factor out register IO

2017-08-17 Thread Marek Vasut
On 08/17/2017 09:01 AM, Masahiro Yamada wrote: > 2017-08-17 15:39 GMT+09:00 Jaehoon Chung : >> On 08/13/2017 01:55 AM, Marek Vasut wrote: >>> On 08/10/2017 09:49 AM, Masahiro Yamada wrote: Hi. 2017-08-07 17:30 GMT+09:00 Marek Vasut : > On 08/07/2017 04:30 AM, Masahiro Yamada

[U-Boot] [PATCH V2] imx: fix licensing in i.MX files

2017-08-17 Thread Stefano Babic
Some files for i.MX do not yet have the SPDX ID to reference the correct license. Signed-off-by: Stefano Babic --- Changes: - mmc_host_def.h is GplV2 and not GPLv2 or later (W. Denk) arch/arm/include/asm/arch-mx35/mmc_host_def.h | 18 +- arch/arm/include/asm/arch-mx5/iomux-mx51

Re: [U-Boot] [PATCH] imx: fix licensing in i.MX files

2017-08-17 Thread Stefano Babic
On 17/08/2017 12:56, Wolfgang Denk wrote: > Dear Stefano > > In message <1502957972-18085-1-git-send-email-sba...@denx.de> you wrote: >> Some files for i.MX do not yet have the SPDX ID to reference the correct >> license. > > Be careful to use identical mappings! > >> --- a/arch/arm/include/asm/

Re: [U-Boot] [PATCH 1/1] efi_loader: allow return value in EFI_CALL

2017-08-17 Thread Rob Clark
On Tue, Aug 15, 2017 at 3:42 PM, Heinrich Schuchardt wrote: > Macro EFI_CALL was introduced to call an UEFI function. > Unfortunately is did not support return values. > Most UEFI functions have a return value. > > So let's rename EFI_CALL to EFI_CALL_VOID and introduce a > new EFI_CALL macro that

Re: [U-Boot] [PATCH] ARM: mvebu: set correct mem_size for db-88f6820-amc

2017-08-17 Thread Stefan Roese
On 17.08.2017 12:27, Chris Packham wrote: The db-88f6820-amc has four chips with 2Gb density giving a total of 1GB DRAM. Update the board_topology_map to reflect the correct configuration. Signed-off-by: Chris Packham --- When I setup this board I misinterpreted 2 Gigabits as 2 Gigabytes. It ha

Re: [U-Boot] [PATCH] imx: fix licensing in i.MX files

2017-08-17 Thread Wolfgang Denk
Dear Stefano In message <1502957972-18085-1-git-send-email-sba...@denx.de> you wrote: > Some files for i.MX do not yet have the SPDX ID to reference the correct > license. Be careful to use identical mappings! > --- a/arch/arm/include/asm/arch-mx35/mmc_host_def.h > +++ b/arch/arm/include/asm/arc

Re: [U-Boot] [PATCH v3 18/19] dfu: fix spl build

2017-08-17 Thread Łukasz Majewski
Hi Paweł, In current state dfu depends on cmd/mtdparts.c which isn't build in SPL. This patch resolves it by cutting out unwanted code in SPL build. Signed-off-by: Paweł Jarosz --- Changes since v1: - none Changes since v2: - none drivers/dfu/dfu_nand.c | 6 +- 1 file changed, 5 inserti

[U-Boot] [PATCH] ARM: mvebu: set correct mem_size for db-88f6820-amc

2017-08-17 Thread Chris Packham
The db-88f6820-amc has four chips with 2Gb density giving a total of 1GB DRAM. Update the board_topology_map to reflect the correct configuration. Signed-off-by: Chris Packham --- When I setup this board I misinterpreted 2 Gigabits as 2 Gigabytes. It happened to work so I never noticed it was wro

Re: [U-Boot] [PATCH v2 7/8] apalis/colibri_imx6: use independent USB PID for SPL

2017-08-17 Thread Łukasz Majewski
On 08/16/2017 08:00 PM, Stefan Agner wrote: From: Stefan Agner Use a completely independent USB Product ID for SPL. This allows to differentiate a SDP running in SPL and SDP running in a U-Boot which could not read the config block successfully. Reviewed-by: Łukasz Majewski Signed-off-by:

Re: [U-Boot] [PATCH v2 6/8] doc: add Serial Download Protocol documentation

2017-08-17 Thread Łukasz Majewski
Hi Stefan, From: Stefan Agner Document the U-Boot Serial Download Protocol implementation and some typical use cases. Thanks for providing the description :-) Reviewed-by: Łukasz Majewski Signed-off-by: Stefan Agner --- This ended up to be almost more a imx_usb documentation. But there

Re: [U-Boot] [PATCH v2 5/8] spl: add serial download protocol (SDP) support

2017-08-17 Thread Łukasz Majewski
On 08/16/2017 08:00 PM, Stefan Agner wrote: From: Stefan Agner Add USB serial download protocol support to SPL. If the SoC started in recovery mode the SPL will immediately switch to SDP and wait for further downloads/commands from the host side. Reviewed-by: Łukasz Majewski Signed-off-by

Re: [U-Boot] [PATCH v2 2/8] usb: gadget: add SDP driver

2017-08-17 Thread Łukasz Majewski
On 08/16/2017 08:00 PM, Stefan Agner wrote: From: Stefan Agner Add SDP (Serial Downloader Protocol) implementation for U-Boot. The protocol is used in NXP SoC's boot ROM and allows to download program images. Beside that, it can also be used to read/write registers and download complete Device

[U-Boot] [PATCH] imx: mx7: psci: add copyright and license

2017-08-17 Thread Peng Fan
Add copyright and license header. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/mach-imx/mx7/psci-mx7.c | 7 +++ arch/arm/mach-imx/mx7/psci.S | 7 +++ 2 files changed, 14 insertions(+) diff --git a/arch/arm/mach-imx/mx7/psci-mx7.c b/arch/arm/mach-imx/mx7/psci-mx7.c index 5

Re: [U-Boot] mmc: Support generic PCI SD host controller

2017-08-17 Thread Bin Meng
Hi Jaehoon, On Thu, Aug 17, 2017 at 5:01 PM, Jaehoon Chung wrote: > On 08/09/2017 04:21 PM, Bin Meng wrote: >> This changes pci_mmc driver to use PCI_CLASS_SYSTEM_SDHCI instead of >> individual vendor id & device id pair to support generic PCI SD host >> controller. >> >> Signed-off-by: Bin Meng

Re: [U-Boot] [linux-sunxi] Re: [PATCH] ARM: sun8i: a83t: Add device tree for Sinovoip Bananapi BPI-M3

2017-08-17 Thread Chen-Yu Tsai
On Thu, Aug 17, 2017 at 1:11 PM, wrote: > 在 2017-08-17 11:40,Chen-Yu Tsai 写道: >> >> The BPI-M3 is an Allwinner A83T based SBC in the Bananapi/Bpi family. >> It is roughly the same form factor as the BPI-M1+, with roughly the >> same peripherals and connectors: >> >> - 2GB LPDDR3 DRAM >> - 8GB

Re: [U-Boot] [U-Boot, v3] regulator: pbias: Add PBIAS regulator for proper voltage switching on MMC1

2017-08-17 Thread Jaehoon Chung
On 08/07/2017 06:43 PM, Jean-Jacques Hiblot wrote: > In the TI SOCs a PBIAS cell exists to provide a bias voltage to the MMC1 > IO cells. Without this bias voltage these I/O cells can not function > properly. The PBIAS cell is controlled by software. > > Signed-off-by: Jean-Jacques Hiblot > Revie

Re: [U-Boot] mmc: Support generic PCI SD host controller

2017-08-17 Thread Jaehoon Chung
On 08/09/2017 04:21 PM, Bin Meng wrote: > This changes pci_mmc driver to use PCI_CLASS_SYSTEM_SDHCI instead of > individual vendor id & device id pair to support generic PCI SD host > controller. > > Signed-off-by: Bin Meng Sorry for late. Applied to u-boot-mmc. Thanks! Best Regards, Jaehoon Ch

Re: [U-Boot] mmc: Support generic PCI SD host controller

2017-08-17 Thread Jaehoon Chung
On 08/09/2017 04:21 PM, Bin Meng wrote: > This changes pci_mmc driver to use PCI_CLASS_SYSTEM_SDHCI instead of > individual vendor id & device id pair to support generic PCI SD host > controller. > > Signed-off-by: Bin Meng > --- > > drivers/mmc/pci_mmc.c | 7 +-- > 1 file changed, 1 insert

Re: [U-Boot] [PATCH 11/12] ARM: dts: dra7-evm: sync DT with latest Linux

2017-08-17 Thread Lokesh Vutla
On Tuesday 15 August 2017 02:58 AM, Tom Rini wrote: > On Sat, Aug 12, 2017 at 11:59:32AM +0530, Lokesh Vutla wrote: > >> Signed-off-by: Lokesh Vutla >> --- >> arch/arm/dts/dra7-evm.dts | 276 >> -- >> 1 file changed, 23 insertions(+), 253 deletions(

Re: [U-Boot] [PATCH v2 0/5] rockchip: rk3229: add sdram and sd support

2017-08-17 Thread Dr. Philipp Tomsich
> On 17 Aug 2017, at 09:17, Kever Yang wrote: > > > Add sdram driver for rk3229 and other fix like pinctrl and sd node. > > > Changes in v2: > - split this patch in two patches > > Kever Yang (5): > rockchip: rk322x: update dram bank size > rockchip: rk322x: add sdram driver > rockchip: r

Re: [U-Boot] rk3288: 32KB SPL size restriction

2017-08-17 Thread Dr. Philipp Tomsich
Jagan, > On 17 Aug 2017, at 08:39, Kever Yang wrote: > > Hi Jagan, > > > On 08/10/2017 05:07 PM, Jagan Teki wrote: >> Hi Simon/Philipp or any, >> >> I believe rk3288 has 20KB BootRom and 100KB internal SRAM and current >> u-boot can archive the maximum size of u-boot-spl-dtb.bin which the >>

Re: [U-Boot] [PATCH] rockchip: rk3288: update the mmc number for fastboot

2017-08-17 Thread Dr. Philipp Tomsich
> On 17 Aug 2017, at 09:51, Kever Yang wrote: > > Hi Philipp, > > > On 07/27/2017 09:09 PM, Dr. Philipp Tomsich wrote: >>> On 27 Jul 2017, at 15:04, Kever Yang wrote: >>> >>> Philipp, >>> >>> >>> On 07/27/2017 08:16 PM, Dr. Philipp Tomsich wrote: Kever, > On 27 Jul 2017, at

[U-Boot] [PATCH] imx: fix licensing in i.MX files

2017-08-17 Thread Stefano Babic
Some files for i.MX do not yet have the SPDX ID to reference the correct license. Signed-off-by: Stefano Babic --- arch/arm/include/asm/arch-mx35/mmc_host_def.h | 18 +- arch/arm/include/asm/arch-mx5/iomux-mx51.h| 7 +-- arch/arm/include/asm/arch-mxs/iomux-mx23.h| 7

[U-Boot] [GIT PULL] Please pull u-boot-rockchip/master

2017-08-17 Thread Dr. Philipp Tomsich
Tom, there's a (trivial) fix for some fallout from f94e643 (spl: consistently use $(SPL_TPL_) to select features for SPL and TPL builds) (and one unrelated trivial DTS change) in u-boot-rockchip/master ready for you. Please pull. Regards, Philipp. The following changes since commit 3

Re: [U-Boot] spl: fix Makefile for NOR, XIP and YMODEM

2017-08-17 Thread Philipp Tomsich
> During the the conversion to $(SPL_TPL_), the SPL_ fragment was > left over for the NOR, XIP and YMODEM boot methods in SPL, making > these unselectable. > > This commit fixes this by dropping the spurious 'SPL_' fragment > from each line. > > Signed-off-by: Philipp Tomsich > Reported-by: Bo S

[U-Boot] [PATCH] spl: fix Makefile for NOR, XIP and YMODEM

2017-08-17 Thread Philipp Tomsich
During the the conversion to $(SPL_TPL_), the SPL_ fragment was left over for the NOR, XIP and YMODEM boot methods in SPL, making these unselectable. This commit fixes this by dropping the spurious 'SPL_' fragment from each line. Signed-off-by: Philipp Tomsich Reported-by: Bo Shen Fixes: f94e64

Re: [U-Boot] Missing licenses in i.MX7 code

2017-08-17 Thread Peng Fan
Hi Stefano, > -Original Message- > From: Stefano Babic [mailto:sba...@denx.de] > Sent: Thursday, August 17, 2017 4:09 PM > To: Peng Fan ; U-Boot@lists.denx.de; Fabio Estevam > > Subject: Missing licenses in i.MX7 code > > Hi Peng, > > there are two files for i.MX7 that were merged witho

[U-Boot] SPDX License status

2017-08-17 Thread Wolfgang Denk
Dear Tom, a quick check reveals that we have a very large number (4,300+) files in the U-Boot tree have no SPDX license tags, or - even worse - no license information at all. I think this should be cleaned up. And I am aware that this would be a lot of effort, and there will be discussions where

[U-Boot] Missing licenses in i.MX7 code

2017-08-17 Thread Stefano Babic
Hi Peng, there are two files for i.MX7 that were merged without any license information. Rather I have not seen this before. They are: arch/arm/mach-imx/mx7/psci-mx7.c arch/arm/mach-imx/mx7/psci.S and they were added with: commit 7de4703691498e18c58f375d724818e4d0db6223 Author: Peng Fan Date:

[U-Boot] [PATCH 2/2] x86: baytrail: Fix turbo enable

2017-08-17 Thread Bin Meng
CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED must be turned on for Baytrail. Signed-off-by: Bin Meng --- arch/x86/cpu/baytrail/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/cpu/baytrail/Kconfig b/arch/x86/cpu/baytrail/Kconfig index 9374c12..9f9c924 100644 --- a/arch/x86/cpu/baytrai

[U-Boot] [PATCH 1/2] x86: Convert CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED to Kconfig

2017-08-17 Thread Bin Meng
This converts CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED to a Kconfig option. Signed-off-by: Bin Meng --- arch/x86/Kconfig | 7 +++ arch/x86/cpu/turbo.c | 2 +- scripts/config_whitelist.txt | 1 - 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/x86/Kconfig b/

[U-Boot] [PATCH v2 2/2] armv8: mmu: add space around operator

2017-08-17 Thread Andy Yan
Add space around operator "+", make it match the coding style. Signed-off-by: Andy Yan --- Changes in v2: None arch/arm/include/asm/armv8/mmu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/armv8/mmu.h b/arch/arm/include/asm/armv8/mmu.h index 7752741.

[U-Boot] [PATCH v2 1/2] armv8: mmu: remove unused macro definition

2017-08-17 Thread Andy Yan
Macro VA_BITS and PTE_BLOCK_BITS are not used in the code, so remove them. Signed-off-by: Andy Yan Reviewed-by: Philipp Tomsich --- Changes in v2: - remove CONFIG_SYS_PTL2_BITS from the whitelist arch/arm/include/asm/armv8/mmu.h | 9 - scripts/config_whitelist.txt | 2 -- 2 files

[U-Boot] [PATCH v3 5/8] armv7: Add workaround for USB erratum A-009008

2017-08-17 Thread Ran Wang
USB High Speed (HS) EYE Height Adjustment USB HS speed eye diagram fails with the default value at many corners, particularly at a high temperature Optimal eye at TXVREFTUNE value to 1001 is ovserved, change set the same value. Signed-off-by: Sriram Dash Signed-off-by: Suresh Gupta Signed-off-b

Re: [U-Boot] [PATCH] rockchip: rk3288: update the mmc number for fastboot

2017-08-17 Thread Kever Yang
Hi Philipp, On 07/27/2017 09:09 PM, Dr. Philipp Tomsich wrote: On 27 Jul 2017, at 15:04, Kever Yang wrote: Philipp, On 07/27/2017 08:16 PM, Dr. Philipp Tomsich wrote: Kever, On 27 Jul 2017, at 13:47, Kever Yang wrote: The emmc number is 0, correct it for fastboot parameter. I provided

[U-Boot] [PATCH v3 7/8] armv7: Add workaround for USB erratum A-008997

2017-08-17 Thread Ran Wang
Low Frequency Periodic Singaling (LFPS) Peak-to-Peak Differential Output Voltage Test Compliance fails using default transmitter settings Change settings required for transmitter signal swings to pass compliance tests. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat Signed-off-by: Sures

Re: [U-Boot] cmd: mmc: add mmc partconf read capability

2017-08-17 Thread Jaehoon Chung
On 08/01/2017 09:27 PM, Anatolij Gustschin wrote: > From: Angelo Dureghello > > This patch allows to show the EXT_CSD[179] partition_config > register info, just by specifying the dev param: > > U-Boot> mmc partconf 0 > EXT_CSD[179], PARTITION_CONFIG: > BOOT_ACK: 0x0 > BOOT_PARTITION_ENA

[U-Boot] [PATCH v3 8/8] armv7: Add workaround for USB erratum A-009007

2017-08-17 Thread Ran Wang
Rx Compliance tests may fail intermittently at high jitter frequencies using default register values Changes identified in test setup makes the Rx compliance test pass Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat Signed-off-by: Suresh Gupta Signed-off-by: Ran Wang --- Change in v3:

[U-Boot] [PATCH v3 6/8] armv7: Add workaround for USB erratum A-009798

2017-08-17 Thread Ran Wang
The default setting for USB High Speed Squelch Threshold results in a threshold close to or lower than 100mV. This leads to Receive Compliance test failure for a 100mV threshold. The changes shift the threshold from ~100mV towards ~130mV resulting in passing of USB High Speed Receiver Sensitivity

[U-Boot] [PATCH v3 3/8] armv8: Add workaround for USB erratum A-008997

2017-08-17 Thread Ran Wang
Low Frequency Periodic Signaling(LFPS) Peak-to-Peak Differential Output Voltage Test Compliance fails using default transmitter settings Change setting required for transmitter signal swings to pass compliance tests. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat Signed-off-by: Suresh

  1   2   >