Re: [U-Boot] [PATCH 14/17] x86: Add a forward struct declaration in coreboot_tables.h

2019-05-19 Thread Bin Meng
On Sun, May 19, 2019 at 2:00 AM Simon Glass wrote: > > This struct is not defined in this header file. Add a forward declaration > so that it can be included in any context. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/coreboot_tables.h | 2 ++ > 1 file changed, 2 insertions(+)

Re: [U-Boot] [PATCH 1/2] pci: renesas: Add RCar Gen3 PCIe controller driver

2019-05-19 Thread Bin Meng
On Sun, May 19, 2019 at 6:24 AM Marek Vasut wrote: > > Add driver for the Renesas RCar PCIe controller present on Gen3 SoCs. > The PCIe on Gen3 is used both to connect external PCIe peripherals. > > Signed-off-by: Marek Vasut > Cc: Bin Meng > Cc: Nobuhiro Iwamatsu > --- > drivers/pci/Kconfig

Re: [U-Boot] [PATCH] nvme: Fix warning of cast from pointer to integer of different size

2019-05-19 Thread Bin Meng
On Wed, May 15, 2019 at 11:38 PM Bin Meng wrote: > > When dma_addr_t is u32 in 64-bit, there are some warnings when > building NVME driver. Fix it by doing an additional (long) cast. > > Signed-off-by: Bin Meng > --- > > drivers/nvme/nvme.c | 4 ++-- > drivers/nvme/nvme_show.c | 4 ++-- > 2

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

2019-05-19 Thread Bin Meng
Hi Tom, This PR includes the following updates to U-Boot x86 support: - Allow coreboot to process unhandled tags - Enable NVMe on QEMU x86_64 target The following changes since commit 98b3156b0df4b0df9cb3a0bbfc240d0c4edd2638: Merge branch 'master' of git://git.denx.de/u-boot-samsung (2019-05-

Re: [U-Boot] [PATCH] x86: qemu-x86_64: Enable NVMe

2019-05-19 Thread Bin Meng
On Sun, May 19, 2019 at 12:33 AM Simon Glass wrote: > > On Wed, 15 May 2019 at 09:52, Bin Meng wrote: > > > > NVMe was turned on in qemu-x86 but somehow we missed it for 64-bit. > > > > Signed-off-by: Bin Meng > > --- > > > > configs/qemu-x86_64_defconfig | 1 + > > 1 file changed, 1 insertion(

[U-Boot] [PATCH v2 0/5] Add initial support for Pine64 Rock64 board

2019-05-19 Thread Matwey V. Kornilov
This series adds initial basic support for Pine64 Rock64 board. The ROCK64 is a credit card size SBC based on Rockchip RK3328 Quad-Core ARM Cortex A53. This series allow building u-boot SPL and u-boot.itb for Rock64 board. Unfortunately, proprietary TPL is stil required for deploy: ./tools/mkim

[U-Boot] [PATCH v2 4/5] rockchip: dts: rk3328: add rk3328-rock64.dts

2019-05-19 Thread Matwey V. Kornilov
rk3328-rock64.dts has been taken from Linux kernel commit cff6d1d6f88b ("arm64: dts: rockchip: enable HS200 for eMMC on rock64") with minor modifications (drop nodes not known by rk3328.dtsi). Signed-off-by: Matwey V. Kornilov --- arch/arm/dts/Makefile | 3 +- arch/arm/d

[U-Boot] [PATCH v2 1/5] rockchip: rk3328: add SPL board file support

2019-05-19 Thread Matwey V. Kornilov
From: Kever Yang rk3328 SPL is locate at dram, so do not have strict size limit, suppose to enable storage media controller driver, load ATF and U-Boot, then boot into ATF. Signed-off-by: Kever Yang [cherry picked from https://github.com/rockchip-linux/u-boot/commit/4ebe3968b683190cb8e5741aa72

[U-Boot] [PATCH v2 2/5] rockchip: rk3328: add SPL support

2019-05-19 Thread Matwey V. Kornilov
From: Kever Yang Add SPL support for rk3328, default with of-platdata enabled. Signed-off-by: Kever Yang [cherry picked from https://github.com/rockchip-linux/u-boot/commit/cb2b7a1bc75ebb116b1eb9b0ae0223e84d86fc4b with minor modifications] Signed-off-by: Matwey V. Kornilov --- include/confi

[U-Boot] [PATCH v2 3/5] rockchip: Kconfig: enable SPL support for rk3328

2019-05-19 Thread Matwey V. Kornilov
From: Kever Yang Enable SPL support and some related option in Kconfig. Signed-off-by: Kever Yang [cherry picked from https://github.com/rockchip-linux/u-boot/commit/430b01462bf3f24aaf7920ae2587a6943c39ab5d with minor modifications] Signed-off-by: Matwey V. Kornilov --- arch/arm/mach-rockch

[U-Boot] [PATCH v2 5/5] rockchip: rk3328: add rock64-rk3328_defconfig

2019-05-19 Thread Matwey V. Kornilov
The ROCK64 is a credit card size SBC based on Rockchip RK3328 Quad-Core ARM Cortex A53. This series allow building u-boot SPL and u-boot.itb for Rock64 board. The proprietary TPL is stil required for deploy: ./tools/mkimage -n rk3328 -T rksd \ -d ./rkbin/bin/rk33/rk3328_ddr_333MHz_v1.14.bin

Re: [U-Boot] [PATCH 5/5] rockchip: rk3328: add rock64-rk3328_defconfig

2019-05-19 Thread Matwey V. Kornilov
Hi Kever, чт, 16 мая 2019 г. в 10:01, Kever Yang : > > Hi Matwey, > > Please add commit message for the patch. > > On 05/08/2019 02:34 PM, Matwey V. Kornilov wrote: > > Signed-off-by: Matwey V. Kornilov > > --- > > configs/rock64-rk3328_defconfig | 91 > > +++

Re: [U-Boot] [PATCH 4/5] rockchip: dts: rk3328: add rk3328-rock64.dts

2019-05-19 Thread Matwey V. Kornilov
Hi Kever, чт, 16 мая 2019 г. в 09:56, Kever Yang : > > Hi Matwey, > > > On 05/08/2019 02:34 PM, Matwey V. Kornilov wrote: > > rk3328-rock64.dts has been taken from Linux kernel with minor > > modifications. > > Could you detail about which commit of kernel do you take > this dts from? Sure. > >

Re: [U-Boot] U-Boot, efi-x86_app and gcc-8.1?

2019-05-19 Thread Tom Rini
On Sun, May 19, 2019 at 08:55:53AM +0800, Bin Meng wrote: > Hi Tom, > > On Sun, May 19, 2019 at 12:07 AM Simon Glass wrote: > > > > Hi Tom, > > > > On Sat, 18 May 2019 at 06:13, Tom Rini wrote: > > > > > > Hey guys, > > > > > > Looking at https://travis-ci.org/trini/u-boot/jobs/534037240 this is

[U-Boot] [PATCHv2 03/11] Kconfig: Add DEPRECATED option

2019-05-19 Thread Tom Rini
Add a new option, CONFIG_DEPRECATED, for code that relies on deprecated functionality and has not been converted past the deadline for conversion. Signed-off-by: Tom Rini --- Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Kconfig b/Kconfig index da208d65a32c..e780fce8efdb 100

[U-Boot] [PATCHv2 02/11] Kconfig: Add SPI / SPI_FLASH as dependencies

2019-05-19 Thread Tom Rini
In order to use CMD_SF / CMD_SPI / ENV_IS_IN_SPI_FLASH we need to have the SPI (or SPI_FLASH/DM_SPI_FLASH, for CMD_SF) enabled. Express this in the Kconfigs. Signed-off-by: Tom Rini --- arch/Kconfig | 2 ++ cmd/Kconfig | 3 +++ env/Kconfig | 2 +- 3 files changed, 6 insertions(+), 1 deletion(

[U-Boot] [PATCHv2 07/11] spi: Kconfig: Mark SH_SPI as DEPRECATED

2019-05-19 Thread Tom Rini
From: Jagan Teki Mark SH_SPI as DEPRECATED, this so the resulting build shows warning for a deprecated configuration enabled and associated code will remove in v2019.07 release. Cc: Marek Vasut Signed-off-by: Jagan Teki [trini: Switch to DEPRECATED] Signed-off-by: Tom Rini --- drivers/spi/Kc

[U-Boot] [PATCHv2 05/11] Makefile: Trigger a warning for legcay spi drivers

2019-05-19 Thread Tom Rini
From: Jagan Teki We have a warning text for non dm converted spi drivers, but the plan is to mark all these respective drivers with CONFIG_DEPRECATED. So, trigger a warning saying that these driver configurations and associated code will remove in v2019.07 (earlier plan is to remove it from v201

[U-Boot] [PATCHv2 06/11] spi: Kconfig: Mark MXS_SPI has DEPRECATED

2019-05-19 Thread Tom Rini
From: Jagan Teki Mark MXS_SPI as DEPRECATED, this so the resulting build shows warning for broken configuration enabled and associated code will remove in v2019.07 release. Cc: Marek Vasut Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki [trini: Switch to DEPRECATED] Signed-

[U-Boot] [PATCHv2 08/11] spi: Kconfig: Mark SOFT_SPI as DEPRECATED

2019-05-19 Thread Tom Rini
From: Jagan Teki Mark SOFT_SPI as DEPRECATED, this so the resulting build shows warning for deprecated configuration enabled and associated code will remove in v2019.07 release. Cc: Vasily Khoruzhick Signed-off-by: Jagan Teki [trini: Switch to DEPRECATED] Signed-off-by: Tom Rini --- drivers/

[U-Boot] [PATCHv2 04/11] Makefile: Trigger a Warning if DEPRECATED is defined

2019-05-19 Thread Tom Rini
From: Jagan Teki If configured target has deprecated configs enabled, trigger a warning about this. Cc: Heinrich Schuchardt Signed-off-by: Jagan Teki [trini: Change from BROKEN to DEPRECATED] Signed-off-by: Tom Rini --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile

[U-Boot] [PATCHv2 09/11] spi: Kconfig: Mark FSL_ESPI as DEPRECATED

2019-05-19 Thread Tom Rini
From: Jagan Teki Mark FSL_ESPI as DEPRECATED, this so the resulting build shows warning for deprecated configuration enabled and associated code will remove in v2019.07 release. Cc: Oleksandr Zhadan and Michael Durrant Signed-off-by: Jagan Teki [trini: Switch to DEPRECATED] Signed-off-by: Tom

[U-Boot] [PATCHv2 10/11] spi: Kconfig: Mark LPC32XX_SSP as DEPRECATED

2019-05-19 Thread Tom Rini
From: Jagan Teki Mark LPC32XX_SSP as DEPRECATED, this so the resulting build shows warning for deprecated configuration enabled and associated code will remove in v2019.07 release. Cc: Albert ARIBAUD Signed-off-by: Jagan Teki Acked-by: Vladimir Zapolskiy Acked-by: Sylvain Lemieux [trini: Swi

Re: [U-Boot] [PATCH v4 00/13] clk: Port Linux common clock framework [CCF] to U-boot (tag: 5.0-rc3)

2019-05-19 Thread Lukasz Majewski
Hi Simon, > Hi Lukasz, > > On Sat, 18 May 2019 at 14:49, Lukasz Majewski wrote: > > > > Hi Simon, > > > > > kHi Lukasz, > > > > > > On Thu, 16 May 2019 at 16:11, Lukasz Majewski > > > wrote: > > > > > > > > This patch series brings the files from Linux kernel to provide > > > > clocks suppo

[U-Boot] [PATCH V2 1/2] pci: renesas: Add RCar Gen3 PCIe controller driver

2019-05-19 Thread Marek Vasut
Add driver for the Renesas RCar PCIe controller present on Gen3 SoCs. The PCIe on Gen3 is used both to connect external PCIe peripherals. Signed-off-by: Marek Vasut Cc: Bin Meng Cc: Nobuhiro Iwamatsu --- V2: - Rename the driver - Use platdata instead of priv --- drivers/pci/Kconfig

[U-Boot] [PATCH V2 2/2] ARM: rmobile: Enable PCIe driver on R-Car Gen3 Salvator-X

2019-05-19 Thread Marek Vasut
Enable PCIe driver on R-Car Gen3 Salvator-X boards. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- V2: Rename the driver --- configs/r8a7795_salvator-x_defconfig | 4 configs/r8a77965_salvator-x_defconfig | 4 configs/r8a7796_salvator-x_defconfig | 4 3 files changed, 12

Re: [U-Boot] [PATCHv2 07/11] spi: Kconfig: Mark SH_SPI as DEPRECATED

2019-05-19 Thread Marek Vasut
On 5/19/19 3:52 PM, Tom Rini wrote: > From: Jagan Teki > > Mark SH_SPI as DEPRECATED, this so the resulting build shows > warning for a deprecated configuration enabled and associated code > will remove in v2019.07 release. > > Cc: Marek Vasut > Signed-off-by: Jagan Teki > [trini: Switch to DE

Re: [U-Boot] [PATCH 17/17] spi: Avoid using malloc() in a critical function

2019-05-19 Thread Urja Rannikko
Hi, On Sat, May 18, 2019 at 6:05 PM Simon Glass wrote: > > In general we should avoid calling malloc() and free() repeatedly in > U-Boot lest we turn it into tianocore. In SPL this can make SPI flash > unusable since free() is often a nop and allocation space is limited. > > In any case, these se

[U-Boot] [PATCH 1/2] mmc: tmio: sdhi: Minor macro cleanup

2019-05-19 Thread Marek Vasut
Clean up the whitespaces in macros, no functional change. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu Cc: Peng Fan --- drivers/mmc/renesas-sdhi.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/mmc/renesas-sdhi.c b/drivers/mmc/renesas-sdh

[U-Boot] [PATCH 2/2] mmc: tmio: sdhi: HS400 manual adjustment

2019-05-19 Thread Marek Vasut
Since Gen3 SDHI has an internal DS signal AC-spec violation in HS400 mode, CRC-error may occur in read command in HS400 mode. This phoenomenon occurs at low/high temperature. To fix this, after completion of HS400 tuning, enable manual calibration. However, Gen3 M3 Ver.1.2 or earlier and H3 1.x do

[U-Boot] [PATCH 1/1] efi_loader: return values of GetTime()

2019-05-19 Thread Heinrich Schuchardt
According to the UEFI spec 2.8 the GetTime() runtime service should return EFI_UNSUPPORTED if the real time clock is not available. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_runtime.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/efi_loade

[U-Boot] [PATCH 1/1] efi_loader: implement SetTime

2019-05-19 Thread Heinrich Schuchardt
Implement the SetTime() runtime service. Extend the real time clock selftest to check setting the clock. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_runtime.c| 73 - lib/efi_selftest/efi_selftest_rtc.c | 56 ++ 2 files change

[U-Boot] Pull request for UEFI sub-system for v2019.07-rc3 (2)

2019-05-19 Thread Heinrich Schuchardt
The following changes since commit 98b3156b0df4b0df9cb3a0bbfc240d0c4edd2638: Merge branch 'master' of git://git.denx.de/u-boot-samsung (2019-05-16 07:09:59 -0400) are available in the Git repository at: git://git.denx.de/u-boot-efi.git tags/efi-2019-07-rc3-2 for you to fetch changes up to

Re: [U-Boot] [PATCH v3 2/5] CONFIG_SYS_[DI]CACHE_OFF: remove superfluous "1"

2019-05-19 Thread Tom Rini
On Fri, May 03, 2019 at 09:40:57AM -0400, Trevor Woerner wrote: > This config is the only config that uses: > #define CONFIG_SYS_DCACHE_OFF 1 > in its #define. > > Remove the superfluous "1" so this cache #define is like all the others. > > Signed-off-by: Trevor Woerner Applied to u-boot

Re: [U-Boot] [PATCH v3 1/5] CONFIG_SYS_[ID]CACHE_OFF: unify the 'any' case

2019-05-19 Thread Tom Rini
On Fri, May 03, 2019 at 09:40:56AM -0400, Trevor Woerner wrote: > According to De Morgan's Law[1]: > !(A && B) = !A || !B > !(A || B) = !A && !B > > There are 5 places in the code where we find: > #if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF)) > and 4 pl

Re: [U-Boot] [PATCH v3 3/5] CONFIG_SYS_[DI]CACHE_OFF: remove commented lines

2019-05-19 Thread Tom Rini
On Fri, May 03, 2019 at 09:40:58AM -0400, Trevor Woerner wrote: > Eventually these configuration items will be converted to Kconfig, > therefore there's little point in leaving commented-out versions of > them in include/configs. > > Signed-off-by: Trevor Woerner Applied to u-boot/master, thank

Re: [U-Boot] [PATCH v3 4/5] CONFIG_SYS_[DI]CACHE_OFF: convert to Kconfig

2019-05-19 Thread Tom Rini
On Fri, May 03, 2019 at 09:40:59AM -0400, Trevor Woerner wrote: > CONFIG_SYS_[DI]CACHE_OFF had been partially converted to Kconfig > parameters; only for the ARC architecture. This patch turns these two > parameters into Kconfig items everywhere else they are found. > > All of the include/configs

Re: [U-Boot] [PATCH 1/3] bcm968580xref: remove CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT

2019-05-19 Thread Tom Rini
On Fri, May 03, 2019 at 07:51:42PM +0200, Philippe Reynes wrote: > This board define the flag CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT > but it's a mistake. It's a workaround for an issue in nand core. > This issue was fixed by the commit 5f626e78491c ("mtd: nand: raw: > Fix CONFIG_SYS_NAND_DRIVER_ECC_LA

Re: [U-Boot] [PATCH 3/3] dt: bcm63158: watchdog should use a 50Mhz clock

2019-05-19 Thread Tom Rini
On Fri, May 03, 2019 at 07:43:08PM +0200, Philippe Reynes wrote: > The watchdog should use a clock at 50 Mhz, so > instead of using the clock osc (200 Mhz), we > define a reference clock at 50Mhz and use it > for both watchdog. > > Signed-off-by: Philippe Reynes > Reviewed-by: Stefan Roese App

Re: [U-Boot] [PATCH 2/3] bcm963158: remove CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT

2019-05-19 Thread Tom Rini
On Fri, May 03, 2019 at 07:51:43PM +0200, Philippe Reynes wrote: > This board define the flag CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT > but it's a mistake. It's a workaround for an issue in nand core. > This issue was fixed by the commit 5f626e78491c ("mtd: nand: raw: > Fix CONFIG_SYS_NAND_DRIVER_ECC_LA

Re: [U-Boot] [PATCH] Makefile: Prioritize external dtb if defined

2019-05-19 Thread Tom Rini
On Mon, Mar 25, 2019 at 03:55:16PM +0100, Michal Simek wrote: > Prioritize external dtb if its passed via EXT_DTB > than the dtb that was built in the tree. With this > patch it appends the specified external dtb to > the u-boot image. > > Signed-off-by: Michal Simek > Signed-off-by: Siva Durga

Re: [U-Boot] [PATCH] fit: Add support for printing more than one FPGA node name

2019-05-19 Thread Tom Rini
On Wed, Feb 13, 2019 at 08:32:24PM +0800, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This would print out all the FPGA node names setting to fpga property. > > Signed-off-by: Tien Fong Chee > --- > common/image-fit.c | 14 +++--- > 1 files changed, 11 insertions(+),

Re: [U-Boot] [PATCH 2/3] dt: bcm6858: watchdog should use a 50Mhz clock

2019-05-19 Thread Tom Rini
On Fri, May 03, 2019 at 07:43:07PM +0200, Philippe Reynes wrote: > The watchdog should use a clock at 50 Mhz, so > instead of using the clock osc (200 Mhz), we > define a reference clock at 50Mhz and use it > for both watchdog. > > Signed-off-by: Philippe Reynes > Reviewed-by: Stefan Roese App

Re: [U-Boot] [PATCH v3 5/5] CONFIG_SPL_SYS_[DI]CACHE_OFF: add

2019-05-19 Thread Tom Rini
On Fri, May 03, 2019 at 09:41:00AM -0400, Trevor Woerner wrote: > While converting CONFIG_SYS_[DI]CACHE_OFF to Kconfig, there are instances > where these configuration items are conditional on SPL. This commit adds SPL > variants of these configuration items, uses CONFIG_IS_ENABLED(), and updates

Re: [U-Boot] [PATCH] tools: use read-only mmap in fit_check_sign

2019-05-19 Thread Tom Rini
On Tue, May 14, 2019 at 07:35:02PM +0100, luca.bocca...@gmail.com wrote: > From: Luca Boccassi > > Add an option to open files in read-only mode in mmap_fdt so > that fit_check_sign can be used to inspect files on read-only > filesystems. > For example, this is useful when a key is shipped in a

Re: [U-Boot] [PATCH] ARM: mediatek: mt8516: use PSCI to reset the SoC

2019-05-19 Thread Tom Rini
On Mon, May 06, 2019 at 04:17:56PM +0200, Fabien Parent wrote: > Instead of using the watchdog, let's use PSCI to perform the reset > of the SoC. > > Signed-off-by: Fabien Parent Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [PATCH 1/1] configs: bcm968580 disable CONFIG_CMD_BOOTEFI_SELFTEST

2019-05-19 Thread Tom Rini
On Thu, May 09, 2019 at 05:35:12PM +0200, Heinrich Schuchardt wrote: > Configuration option CONFIG_CMD_BOOTEFI_SELFTEST is useful for the > development of the UEFI sub-system. For production it is not needed. > > Remove CONFIG_CMD_BOOTEFI_SELFTEST from bcm968580xref_ram_defconfig. > > Suggested-

Re: [U-Boot] [PATCH 1/3] watchdog: bcm6345: callback start use tick instead of ms

2019-05-19 Thread Tom Rini
On Fri, May 03, 2019 at 07:43:06PM +0200, Philippe Reynes wrote: > The function bcm6345_wdt_start use the argument timeout > as tick but it should be used as milliseconds. > > A clock is added as requirement for this driver. > The frequency of the clock is then used to convert the > millisecond t

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

2019-05-19 Thread Tom Rini
On Sun, May 19, 2019 at 04:19:06PM +0800, Bin Meng wrote: > Hi Tom, > > This PR includes the following updates to U-Boot x86 support: > > - Allow coreboot to process unhandled tags > - Enable NVMe on QEMU x86_64 target > > The following changes since commit 98b3156b0df4b0df9cb3a0bbfc240d0c4edd2

Re: [U-Boot] [PATCH] Import include/android_bootloader_message.h from AOSP

2019-05-19 Thread Tom Rini
On Tue, May 14, 2019 at 09:05:26PM +0200, Alex Deymo wrote: > This takes the latest changes from AOSP from the file > bootloader_message/include/bootloader_message/bootloader_message.h > in the repository > https://android.googlesource.com/platform/bootable/recovery > and re-licensed them to BSD-3

Re: [U-Boot] [PATCH] ARM: da850evm: Enable block cache during SPL

2019-05-19 Thread Tom Rini
On Wed, May 15, 2019 at 04:18:35PM -0500, Adam Ford wrote: > There appears to be enough RAM to support cache in SPL. > This pach enables block cache in SPL. > > Signed-off-by: Adam Ford > > diff --git a/configs/da850evm_defconfig b/configs/da850evm_defconfig > index 09c6147e2d..8c16d5c4f5 10064

Re: [U-Boot] [PATCH 3/3] bcm968380gerg: remove CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT

2019-05-19 Thread Tom Rini
On Fri, May 03, 2019 at 07:51:44PM +0200, Philippe Reynes wrote: > This board define the flag CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT > but it's a mistake. It's a workaround for an issue in nand core. > This issue was fixed by the commit 5f626e78491c ("mtd: nand: raw: > Fix CONFIG_SYS_NAND_DRIVER_ECC_LA

Re: [U-Boot] [PATCH] spl: Set spl_image->fdt_addr pointer for full fitImage configuration

2019-05-19 Thread Tom Rini
On Tue, May 07, 2019 at 09:17:02PM +0200, Marek Vasut wrote: > Set the spl_image->fdt_addr pointer both for simple fitImage configuration > as well as full fitImage configuration, to let spl_perform_fixups() access > the DT and perform modifications to it if necessary. > > Signed-off-by: Marek Va

Re: [U-Boot] [PATCH] ata: ahci: drop read-only ahci_ioports members

2019-05-19 Thread Tom Rini
On Tue, May 14, 2019 at 10:33:41AM +0200, Christian Gmeiner wrote: > Also get rid of ahci_setup_port(..). > > Signed-off-by: Christian Gmeiner Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing lis

Re: [U-Boot] [PATCH v2] Kconfig: fix FIT offset prompt text

2019-05-19 Thread Tom Rini
On Wed, May 15, 2019 at 10:10:04PM +0100, Ibai Erkiaga wrote: > The current prompt text for FIT external offset is identical to > SYS_TEXT_BASE which might confuse the users. Provided more accurate > description for the prompt text. > > Signed-off-by: Ibai Erkiaga > Reviewed-by: Marek Vasut Ap

Re: [U-Boot] [PATCH] ARM: omap3_logic/omap35_logic: Enable GPIO in SPL

2019-05-19 Thread Tom Rini
On Wed, May 15, 2019 at 08:37:52AM -0500, Adam Ford wrote: > The MMC controller enabled card detect, so this patch enables > the GPIO driver in SPL to support it. > > Signed-off-by: Adam Ford > > diff --git a/configs/omap35_logic_defconfig b/configs/omap35_logic_defconfig > index ea27731da3..3a

Re: [U-Boot] [PATCH 1/1] configs: bcm963158 disable CONFIG_CMD_BOOTEFI_SELFTEST

2019-05-19 Thread Tom Rini
On Thu, May 09, 2019 at 05:34:15PM +0200, Heinrich Schuchardt wrote: > Configuration option CONFIG_CMD_BOOTEFI_SELFTEST is useful for the > development of the UEFI sub-system. For production it is not needed. > > Remove CONFIG_CMD_BOOTEFI_SELFTEST from bcm963158_ram_defconfig. > > Suggested-by:

Re: [U-Boot] [PATCH v3 00/11] clk: Port Linux common clock framework [CCF] to U-boot (tag: 5.0-rc3)

2019-05-19 Thread Lukasz Majewski
Hi Simon, > Hi Lukasz, > > On Sat, 18 May 2019 at 15:28, Lukasz Majewski wrote: > > > > Hi Simon, > > > > This is not the newest patch set version of CCF (v3 vs. v4), but the > > comments/issues apply. > > > > > Hi Lukasz, > > > > > > On Thu, 25 Apr 2019 at 04:30, Lukasz Majewski > > > wrote:

[U-Boot] [PATCH 1/1] tools/logos: add text to U-Boot logo

2019-05-19 Thread Heinrich Schuchardt
At the OSFC conference the U-Boot logo has been used with a text. So let's add the text to the SVG file. Signed-off-by: Heinrich Schuchardt --- tools/logos/u-boot_logo.svg | 116 +++- 1 file changed, 74 insertions(+), 42 deletions(-) diff --git a/tools/logos/u-bo

Re: [U-Boot] [PATCH] Makefile: Prioritize external dtb if defined

2019-05-19 Thread Marek Vasut
On 5/19/19 10:44 PM, Tom Rini wrote: > On Mon, Mar 25, 2019 at 03:55:16PM +0100, Michal Simek wrote: > >> Prioritize external dtb if its passed via EXT_DTB >> than the dtb that was built in the tree. With this >> patch it appends the specified external dtb to >> the u-boot image. >> >> Signed-off-

Re: [U-Boot] [PATCH] Makefile: Prioritize external dtb if defined

2019-05-19 Thread Tom Rini
On Mon, May 20, 2019 at 12:03:45AM +0200, Marek Vasut wrote: > On 5/19/19 10:44 PM, Tom Rini wrote: > > On Mon, Mar 25, 2019 at 03:55:16PM +0100, Michal Simek wrote: > > > >> Prioritize external dtb if its passed via EXT_DTB > >> than the dtb that was built in the tree. With this > >> patch it app

Re: [U-Boot] [PATCH] Makefile: Prioritize external dtb if defined

2019-05-19 Thread Marek Vasut
On 5/20/19 12:08 AM, Tom Rini wrote: > On Mon, May 20, 2019 at 12:03:45AM +0200, Marek Vasut wrote: >> On 5/19/19 10:44 PM, Tom Rini wrote: >>> On Mon, Mar 25, 2019 at 03:55:16PM +0100, Michal Simek wrote: >>> Prioritize external dtb if its passed via EXT_DTB than the dtb that was built i

[U-Boot] [PATCH] ARM: renesas: Factor out DRAM setup on R-Car Gen3

2019-05-19 Thread Marek Vasut
Pull DRAM layout configuration code into rcar-common.c instead of having it in multiple copies across board files. This poses no change for Salvator-X/XS, ULCB and Ebisu boards, however it adds a bit of extra code for Draak and Eagle boards, which now gain the capability of being passed in the DRAM

Re: [U-Boot] [PATCH 1/1] tools/logos: add text to U-Boot logo

2019-05-19 Thread Marek Vasut
On 5/19/19 11:57 PM, Heinrich Schuchardt wrote: > At the OSFC conference the U-Boot logo has been used with a text. So let's > add the text to the SVG file. > > Signed-off-by: Heinrich Schuchardt Can we also get rid of those windows, the periscope, and the propeller ? They look really unprofessi

Re: [U-Boot] [PATCH 4/4] ARM: renesas: Configure DRAM size from ATF DT fragment

2019-05-19 Thread Marek Vasut
On 4/4/19 3:45 PM, Eugeniu Rosca wrote: > Hi Marek, Hi, > On Tue, Apr 02, 2019 at 05:45:29AM +0200, Marek Vasut wrote: >> On 3/13/19 4:25 PM, Eugeniu Rosca wrote: >>> On Tue, Mar 12, 2019 at 10:11:21PM +0100, Marek Vasut wrote: On 3/12/19 8:30 PM, Eugeniu Rosca wrote: > Hi Marek cc: Mich

[U-Boot] [PATCH v1 01/10] mmc: add missing space before comment delimiter

2019-05-19 Thread Marcel Ziswiler
Add missing space before a comment delimiter. Signed-off-by: Marcel Ziswiler --- drivers/mmc/mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 456c1b4cc9..ede528dc5a 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -2

[U-Boot] [PATCH v1 03/10] serial: pxa: clean-up platform data include file

2019-05-19 Thread Marcel Ziswiler
Clean-up platform data include file by using BIT macro and converting indentation with spaces to tabs. Signed-off-by: Marcel Ziswiler --- include/dm/platform_data/serial_pxa.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/dm/platform_data/serial_pxa.h b/i

[U-Boot] [PATCH v1 05/10] dm: core: gracefully handle alias seq without of

2019-05-19 Thread Marcel Ziswiler
Gracefully handle alias seq in the platform data rather than OF case. Signed-off-by: Marcel Ziswiler --- drivers/core/read.c | 4 +++- include/dm/read.h | 4 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/core/read.c b/drivers/core/read.c index 6bda077a34..670ffe5

[U-Boot] [PATCH v1 02/10] mmc: fsl_esdhc: annotate endifs

2019-05-19 Thread Marcel Ziswiler
Annotate endifs to make CONFIG_IS_ENABLED(DM_MMC) or not more obvious. Signed-off-by: Marcel Ziswiler --- drivers/mmc/fsl_esdhc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index 1b7de74a72..0742cd64e1 100644 --- a/

[U-Boot] [PATCH v1 07/10] arm: pxa: mmc: add driver model support

2019-05-19 Thread Marcel Ziswiler
Add driver model (DM) support. Signed-off-by: Marcel Ziswiler --- drivers/mmc/pxa_mmc_gen.c | 160 - include/dm/platform_data/pxa_mmc_gen.h | 22 2 files changed, 154 insertions(+), 28 deletions(-) create mode 100644 include/dm/platform_data/pxa_mmc_

[U-Boot] [PATCH v1 00/10] arm: pxa: mmc: add driver model support

2019-05-19 Thread Marcel Ziswiler
This series, after some initial clean-up, ultimately adds support for the driver model (DM) in the PXA MMC driver. Marcel Ziswiler (10): mmc: add missing space before comment delimiter mmc: fsl_esdhc: annotate endifs serial: pxa: clean-up platform data include file Makefile: allow dm_mmc

[U-Boot] [PATCH v1 08/10] colibri_pxa270_defconfig: enable cmd_dm

2019-05-19 Thread Marcel Ziswiler
Enable CONFIG_CMD_DM. Signed-off-by: Marcel Ziswiler --- configs/colibri_pxa270_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/colibri_pxa270_defconfig b/configs/colibri_pxa270_defconfig index a3c07d5887..c9d7e4e7ce 100644 --- a/configs/colibri_pxa270_defconfig +++ b/con

[U-Boot] [PATCH v1 09/10] colibri_pxa270: add mmc platform data

2019-05-19 Thread Marcel Ziswiler
Add MMC platform data. While at it also fix trivial checkpatch.pl issues. Signed-off-by: Marcel Ziswiler --- board/toradex/colibri_pxa270/colibri_pxa270.c | 20 ++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/board/toradex/colibri_pxa270/colibri_pxa270.c b/

[U-Boot] [PATCH v1 04/10] Makefile: allow dm_mmc without of_control

2019-05-19 Thread Marcel Ziswiler
Allow for CONFIG_DM_MMC with platform data rather than CONFIG_OF_CONTROL. Signed-off-by: Marcel Ziswiler --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6eb08a5724..eb08aaea75 100644 --- a/Makefile +++ b/Makefile @@ -926,7 +926,7 @@ if

[U-Boot] [PATCH v1 06/10] kconfig: mmc: move pxa_mmc_generic to kconfig

2019-05-19 Thread Marcel Ziswiler
Move CONFIG_PXA_MMC_GENERIC to Kconfig. Signed-off-by: Marcel Ziswiler --- configs/colibri_pxa270_defconfig | 1 + configs/zipitz2_defconfig| 1 + drivers/mmc/Kconfig | 8 include/configs/pxa-common.h | 7 --- include/configs/zipitz2.h| 8

[U-Boot] [PATCH v1 10/10] colibri_pxa270_defconfig: enable dm_mmc

2019-05-19 Thread Marcel Ziswiler
Enable CONFIG_DM_MMC. Signed-off-by: Marcel Ziswiler --- configs/colibri_pxa270_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/colibri_pxa270_defconfig b/configs/colibri_pxa270_defconfig index c9d7e4e7ce..609855fe7d 100644 --- a/configs/colibri_pxa270_defconfig +++ b/con

Re: [U-Boot] [PATCH v1 03/10] serial: pxa: clean-up platform data include file

2019-05-19 Thread Marek Vasut
On 5/20/19 2:44 AM, Marcel Ziswiler wrote: > Clean-up platform data include file by using BIT macro and converting > indentation with spaces to tabs. > > Signed-off-by: Marcel Ziswiler > > --- > > include/dm/platform_data/serial_pxa.h | 8 > 1 file changed, 4 insertions(+), 4 deletion

Re: [U-Boot] [PATCH v1 08/10] colibri_pxa270_defconfig: enable cmd_dm

2019-05-19 Thread Marek Vasut
On 5/20/19 2:45 AM, Marcel Ziswiler wrote: > Enable CONFIG_CMD_DM. > > Signed-off-by: Marcel Ziswiler > > --- > > configs/colibri_pxa270_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs/colibri_pxa270_defconfig > b/configs/colibri_pxa270_defconfig > index a3c07d5887

Re: [U-Boot] [PATCH v1 07/10] arm: pxa: mmc: add driver model support

2019-05-19 Thread Marek Vasut
On 5/20/19 2:44 AM, Marcel Ziswiler wrote: > Add driver model (DM) support. > > Signed-off-by: Marcel Ziswiler > > --- > > drivers/mmc/pxa_mmc_gen.c | 160 - > include/dm/platform_data/pxa_mmc_gen.h | 22 > 2 files changed, 154 insertions(+), 28 delet

Re: [U-Boot] [PATCH v1 09/10] colibri_pxa270: add mmc platform data

2019-05-19 Thread Marek Vasut
On 5/20/19 2:45 AM, Marcel Ziswiler wrote: > Add MMC platform data. > > While at it also fix trivial checkpatch.pl issues. > > Signed-off-by: Marcel Ziswiler > > --- > > board/toradex/colibri_pxa270/colibri_pxa270.c | 20 ++- > 1 file changed, 15 insertions(+), 5 deletions(-)

Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-05-19 Thread Peng Fan
Hi Simon, > Subject: Re: [PATCH 4/6] spl: mmc: support loading i.MX container format file > > Hi Peng, > > On Tue, 7 May 2019 at 06:52, Peng Fan wrote: > > > > i.MX8 only support AHAB secure boot with Container format image, we > > could not use FIT to support secure boot, so introduce containe

[U-Boot] [PATCH 1/6] sh: espt_giga: Remove the board

2019-05-19 Thread Marek Vasut
Last change to this board was done in 2016, has no prospects of ever being converted to DM, drop it. Signed-off-by: Marek Vasut Cc: Chris Brandt Cc: Nobuhiro Iwamatsu Cc: Vladimir Zapolskiy Cc: Yoshihiro Shimoda --- arch/sh/Kconfig| 5 - board/espt/Kconfig | 9 -- boa

[U-Boot] [PATCH 2/6] sh: ms7722: Remove the board

2019-05-19 Thread Marek Vasut
Last change to this board was done in 2016, has no prospects of ever being converted to DM, drop it. Signed-off-by: Marek Vasut Cc: Chris Brandt Cc: Nobuhiro Iwamatsu Cc: Vladimir Zapolskiy Cc: Yoshihiro Shimoda --- arch/sh/Kconfig| 5 - board/ms7722se/Kconfig | 9

[U-Boot] [PATCH 3/6] sh: ms7750se: Remove the board

2019-05-19 Thread Marek Vasut
Last change to this board was done in 2016, has no prospects of ever being converted to DM, drop it. Signed-off-by: Marek Vasut Cc: Chris Brandt Cc: Nobuhiro Iwamatsu Cc: Vladimir Zapolskiy Cc: Yoshihiro Shimoda --- arch/sh/Kconfig| 5 -- board/ms7750se/Kconfig |

[U-Boot] [PATCH 5/6] sh: ap325rxa: Remove the board

2019-05-19 Thread Marek Vasut
Last change to this board was done in 2016, has no prospects of ever being converted to DM, drop it. Signed-off-by: Marek Vasut Cc: Chris Brandt Cc: Nobuhiro Iwamatsu Cc: Vladimir Zapolskiy Cc: Yoshihiro Shimoda --- arch/sh/Kconfig| 5 - board/renesas/ap325rxa/Kconf

[U-Boot] [PATCH 4/6] sh: ap_sh4a_4a: Remove the board

2019-05-19 Thread Marek Vasut
Last change to this board was done in 2016, has no prospects of ever being converted to DM, drop it. Signed-off-by: Marek Vasut Cc: Chris Brandt Cc: Nobuhiro Iwamatsu Cc: Vladimir Zapolskiy Cc: Yoshihiro Shimoda --- arch/sh/Kconfig | 5 - board/alphaproject/ap

[U-Boot] [PATCH 6/6] sh: r0p7734: Remove the board

2019-05-19 Thread Marek Vasut
Last change to this board was done in 2016, has no prospects of ever being converted to DM, drop it. Signed-off-by: Marek Vasut Cc: Chris Brandt Cc: Nobuhiro Iwamatsu Cc: Vladimir Zapolskiy Cc: Yoshihiro Shimoda --- arch/sh/Kconfig | 5 - board/renesas/r0p7734/Kconfig

Re: [U-Boot] [RFC] spl: imx6: Let spl_boot_device return USDHC1 or USDHC2

2019-05-19 Thread Peng Fan
> Subject: [RFC] spl: imx6: Let spl_boot_device return USDHC1 or USDHC2 > > Currently, when the spl_boot_device checks the boot device, it will only > return MMC1 when it's either sd or eMMC regardless of whether or not it's > MMC1 or MMC2. This is a problem when booting from MMC2 if MMC isn't >

Re: [U-Boot] [PATCH] imx8mq_evk: Staticize when appropriate

2019-05-19 Thread Peng Fan
> Subject: [PATCH] imx8mq_evk: Staticize when appropriate > > Staticize 'spl_dram_init' and 'i2c_pad_info1' to fix the following sparse > warnings: > > board/freescale/imx8mq_evk/spl.c:30:6: warning: symbol 'spl_dram_init' was > not declared. Should it be static? > board/freescale/imx8mq_evk/spl.

Re: [U-Boot] [PATCH V2 1/2] pci: renesas: Add RCar Gen3 PCIe controller driver

2019-05-19 Thread Bin Meng
On Sun, May 19, 2019 at 11:56 PM Marek Vasut wrote: > > Add driver for the Renesas RCar PCIe controller present on Gen3 SoCs. > The PCIe on Gen3 is used both to connect external PCIe peripherals. > > Signed-off-by: Marek Vasut > Cc: Bin Meng > Cc: Nobuhiro Iwamatsu > --- > V2: - Rename the driv

Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-05-19 Thread Marek Vasut
On 5/20/19 3:30 AM, Peng Fan wrote: > Hi Simon, > >> Subject: Re: [PATCH 4/6] spl: mmc: support loading i.MX container format file >> >> Hi Peng, >> >> On Tue, 7 May 2019 at 06:52, Peng Fan wrote: >>> >>> i.MX8 only support AHAB secure boot with Container format image, we >>> could not use FIT to

Re: [U-Boot] [PATCH V2 2/2] ARM: rmobile: Enable PCIe driver on R-Car Gen3 Salvator-X

2019-05-19 Thread Bin Meng
On Sun, May 19, 2019 at 11:57 PM Marek Vasut wrote: > > Enable PCIe driver on R-Car Gen3 Salvator-X boards. > > Signed-off-by: Marek Vasut > Cc: Nobuhiro Iwamatsu > --- > V2: Rename the driver > --- > configs/r8a7795_salvator-x_defconfig | 4 > configs/r8a77965_salvator-x_defconfig | 4 ++

Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-05-19 Thread Peng Fan
Hi Marek, > Subject: Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX container > format file > > On 5/20/19 3:30 AM, Peng Fan wrote: > > Hi Simon, > > > >> Subject: Re: [PATCH 4/6] spl: mmc: support loading i.MX container > >> format file > >> > >> Hi Peng, > >> > >> On Tue, 7 May 2019 at

Re: [U-Boot] [PATCH v1 02/10] mmc: fsl_esdhc: annotate endifs

2019-05-19 Thread Fabio Estevam
On Sun, May 19, 2019 at 9:45 PM Marcel Ziswiler wrote: > > Annotate endifs to make CONFIG_IS_ENABLED(DM_MMC) or not more obvious. > > Signed-off-by: Marcel Ziswiler Reviewed-by: Fabio Estevam Thanks ___ U-Boot mailing list U-Boot@lists.denx.de https:

[U-Boot] [PATCH] mmc: fsl_esdhc: fix ddr mode settings

2019-05-19 Thread Peng Fan
When sd/mmc work at DDR mode, like HS400/HS400ES/DDR52/DDR50 mode, the output clock rate is half of the internal clock rate. But first need set DDR_EN bit first , then hardware will automatically divide the usdhc clock. The mixctrl register exits on new i.MX SoC since i.MX6, so add CONFIG check.

Re: [U-Boot] [PATCH] Revert "mmc: fsl_esdhc: fix sd/mmc ddr mode clock setting issue"

2019-05-19 Thread Peng Fan
Hi Lukasz, Do you expect me to pick this patch, just see this patch was delegated to Stefano? Regards, Peng. > Subject: RE: [PATCH] Revert "mmc: fsl_esdhc: fix sd/mmc ddr mode clock > setting issue" > > > Subject: RE: [PATCH] Revert "mmc: fsl_esdhc: fix sd/mmc ddr mode clock > > setting issue"

Re: [U-Boot] [PATCH 4/8] ipam390: remove board

2019-05-19 Thread Heiko Schocher
Hello Bartosz, Am 17.05.2019 um 11:17 schrieb Bartosz Golaszewski: From: Bartosz Golaszewski This board still doesn't select CONFIG_DM and seems to be umaintained. As it makes progress on modernizing several DaVinci drivers more difficult and the maintainer has not expressed interest in updati

Re: [U-Boot] [PATCH] Revert "mmc: fsl_esdhc: fix sd/mmc ddr mode clock setting issue"

2019-05-19 Thread Lukasz Majewski
Hi Peng, > Hi Lukasz, > > Do you expect me to pick this patch, just see this patch was > delegated to Stefano? I think that you shall decide with Stefano who would take this patch. For me there is no difference, I would just like to have it in main line ASAP (depends who prepare PR first). >

Re: [U-Boot] [PATCH] Revert "mmc: fsl_esdhc: fix sd/mmc ddr mode clock setting issue"

2019-05-19 Thread Peng Fan
Hi Lukasz, > Subject: Re: [PATCH] Revert "mmc: fsl_esdhc: fix sd/mmc ddr mode clock > setting issue" > > Hi Peng, > > > Hi Lukasz, > > > > Do you expect me to pick this patch, just see this patch was delegated > > to Stefano? > > I think that you shall decide with Stefano who would take this p

Re: [U-Boot] [PATCH v2 2/3] spl: add relocation support【请注意,邮件由s...@google.com代发】

2019-05-19 Thread Andy Yan
Hi Simon: On 2019/5/19 上午12:26, Simon Glass wrote: Hi Andy, Instead of this could you: - move ATF? All rockchip based arm64 ATF run from the start 64KB of dram as this will give convenient for kernel manage the memory. On the other hand, change the ATF load address will break the compati

  1   2   >