Re: [U-Boot] [PATCH v3 10/26] fs: fat: support write with non-zero offset

2018-09-11 Thread Alexander Graf
On 12.09.18 04:14, Akashi, Takahiro wrote: > On Tue, Sep 11, 2018 at 01:09:43PM +0200, Alexander Graf wrote: >> >> >> On 11.09.18 08:59, Akashi, Takahiro wrote: >>> From: AKASHI Takahiro >>> >>> In this patch, all the necessary code for allowing for a file offset >>> at write is implemented.

Re: [U-Boot] [PATCH v3 01/26] fs: fat: guard the content of include/fat.h

2018-09-11 Thread Alexander Graf
On 12.09.18 02:53, Akashi, Takahiro wrote: > On Tue, Sep 11, 2018 at 12:12:53PM +0200, Alexander Graf wrote: >> >> >> On 11.09.18 08:58, Akashi, Takahiro wrote: >>> From: AKASHI Takahiro >>> >>> The whole content of include/fat.h is private to FAT implementation >>> and then should be guarded

Re: [U-Boot] [PATCH 3/3] arm; socfpga: stratix10: Add CONFIG_OF_EMBED

2018-09-11 Thread Simon Goldschmidt
Marek Vasut schrieb am Mi., 12. Sep. 2018, 02:07: > On 09/12/2018 02:05 AM, Dalon L Westergreen wrote: > > On Wed, 2018-09-12 at 02:03 +0200, Marek Vasut wrote: > >> On 09/12/2018 01:55 AM, Dalon L Westergreen wrote: > >> On Tue, 2018-09-11 at 23:55 +0200, Marek Vasut wrote: > >> On 09/10/2018

[U-Boot] [PATCH] ARM: omap3_logic: Remove non-DM MMC initialization

2018-09-11 Thread Adam Ford
With DM_MMC working for both SPL and U-Boot, this patch removes the legacy style of initializing the MMC driver. Signed-off-by: Adam Ford diff --git a/board/logicpd/omap3som/omap3logic.c b/board/logicpd/omap3som/omap3logic.c index 6054ed8739..4507b1ed99 100644 ---

Re: [U-Boot] Fwd: Parallel build is broken

2018-09-11 Thread Max Filippov
On Mon, Sep 10, 2018 at 11:46 AM, Trent Piepho wrote: > On Wed, 2018-09-05 at 06:57 -0500, Adam Ford wrote: >> On Wed, Sep 5, 2018 at 3:46 AM Alex Kiernan wrote: >> > >> > On Tue, Sep 4, 2018 at 3:54 PM Andy Shevchenko >> > wrote: >> > > >> > > On Tue, Sep 4, 2018 at 5:50 PM Andy Shevchenko >>

Re: [U-Boot] [PATCH v3 10/26] fs: fat: support write with non-zero offset

2018-09-11 Thread Akashi, Takahiro
On Tue, Sep 11, 2018 at 01:09:43PM +0200, Alexander Graf wrote: > > > On 11.09.18 08:59, Akashi, Takahiro wrote: > > From: AKASHI Takahiro > > > > In this patch, all the necessary code for allowing for a file offset > > at write is implemented. What plays a major roll here is

Re: [U-Boot] [U-Boot, v2, 22/24] spl: Allow remoteproc drivers to be used within SPL

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:53PM +0530, Lokesh Vutla wrote: > Add an option for building remoteproc drivers within SPL. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v3 01/26] fs: fat: guard the content of include/fat.h

2018-09-11 Thread Akashi, Takahiro
On Tue, Sep 11, 2018 at 12:12:53PM +0200, Alexander Graf wrote: > > > On 11.09.18 08:58, Akashi, Takahiro wrote: > > From: AKASHI Takahiro > > > > The whole content of include/fat.h is private to FAT implementation > > and then should be guarded with CONFIG_FS_FAT. > > > > Signed-off-by:

Re: [U-Boot] [U-Boot, v2, 21/24] remoteproc: Introduce K3 remoteproc driver

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:52PM +0530, Lokesh Vutla wrote: > Add support for K3 based remoteproc driver that > communicates with TISCI to start start a remote processor. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, v2, 20/24] remoteproc: Introduce K3 system controller

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:51PM +0530, Lokesh Vutla wrote: > K3 specific SoCs have a dedicated microcontroller for doing > resource management. Any HLOS/firmware on compute clusters should > load a firmware to this microcontroller before accessing any resource. > Adding support for loading

Re: [U-Boot] [U-Boot, v2, 2/5] include: am654_evm: Establish initial environment for SD card boot

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:59:07PM +0530, Lokesh Vutla wrote: > From: Andreas Dannenberg > > Create a basic U-Boot environment that allows the automatic loading > of a Linux Kernel located at /boot/Image and an associated device tree > blob located at /boot/k3-am654-base-board.dtb from the

Re: [U-Boot] [U-Boot, v2, 24/24] gpio: do not include for ARCH_K3

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:55PM +0530, Lokesh Vutla wrote: > As no gpio.h is defined in arch/arm/mach-k3/include/, > to avoid compilation failure, do not include asm/arch/gpio.h. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v2, 15/24] sysreset: Add TI System Control Interface (TI SCI) sysreset driver

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:46PM +0530, Lokesh Vutla wrote: > From: Andreas Dannenberg > > Devices from the TI K3 family of SoCs like the AM654x contain a Device > Management and Security Controller (SYSFW) that manages the low-level > device control (like clocks, resets etc) for the various

Re: [U-Boot] [U-Boot, v2, 3/5] arm64: dts: k3: Add Support for AM654 SoC

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:59:08PM +0530, Lokesh Vutla wrote: > Add initial DT support for AM654 EVM that runs on A53. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v2, 08/24] dm: reset: Update uclass to allow querying reset status

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:39PM +0530, Lokesh Vutla wrote: > From: Andreas Dannenberg > > Add a reset operations function pointer to support querying the current > status of a reset control. > > Reviewed-by: Tom Rini > Signed-off-by: Andreas Dannenberg > Signed-off-by: Lokesh Vutla

Re: [U-Boot] [U-Boot, v2, 23/24] mmc: k3_arasan: Add sdhci driver support for K3 family SoCs

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:54PM +0530, Lokesh Vutla wrote: > AM654 has an arasan sdhci controller and a mmc phy attached to it. > Add basic support for K3 specific arasan sdhci controller. > > Cc: Jaehoon Chung > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to

Re: [U-Boot] [U-Boot, v2, 11/24] clk: Extend clock control with an optional data field

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:42PM +0530, Lokesh Vutla wrote: > From: Andreas Dannenberg > > Some systems require more than a single ID to identify and configure any > clock provider. For those scenarios add an optional data field to the > clock control structure. > > Reviewed-by: Tom Rini >

Re: [U-Boot] [U-Boot, v2, 07/24] dm: firmware: Automatically bind child devices

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:38PM +0530, Lokesh Vutla wrote: > From: Andreas Dannenberg > > To support scenarios where a firmware device node has subnodes that > have their own drivers automatically scan the DT and bind those when > the firmware device gets bound. > > Reviewed-by: Tom Rini >

Re: [U-Boot] [U-Boot, v2, 5/5] configs: am65x_evm_a53: Add initial support

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:59:10PM +0530, Lokesh Vutla wrote: > Add initial defconfig support for AM65x that runs on A53. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v2, 1/5] board: ti: am654: a53: Add initial support for am654

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:59:06PM +0530, Lokesh Vutla wrote: > Add initial support for AM654 based EVM running on A53. Enable > 4GB of DDR available on the EVM so that kernel DTB file > can be updated accordingly. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla > [Andreas: Added 4GB

Re: [U-Boot] [U-Boot, v2, 09/24] reset: Extend reset control with an optional data field

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:40PM +0530, Lokesh Vutla wrote: > From: Andreas Dannenberg > > Some systems require more than a single ID to identify and configure any > reset provider. For those scenarios add an optional data field to the > reset control structure. > > Reviewed-by: Tom Rini >

Re: [U-Boot] [U-Boot, v2, 17/24] mailbox: Introduce K3 Secure Proxy Driver

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:48PM +0530, Lokesh Vutla wrote: > Secure Proxy module manages hardware threads that are meant > for communication between the processor entities. Adding > support for this driver. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla > Signed-off-by: Andreas

Re: [U-Boot] [U-Boot, v2, 4/5] arm64: dts: k3: Add u-boot specific nodes

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:59:09PM +0530, Lokesh Vutla wrote: > Add the minimum dt nodes required to boot. These nodes > will get deleted as kernel gets these nodes added in the > main dts files. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, v2, 19/24] remoteproc: Allow for individual remoteproc initialization

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:50PM +0530, Lokesh Vutla wrote: > Existing rproc_init() api tries to initialize all available > remoteproc devices. This will fail when there is dependency > among available remoteprocs. So introduce a separate api > that allows to initialize remoteprocs individually

Re: [U-Boot] [U-Boot, v2, 10/24] reset: Introduce TI System Control Interface (TI SCI) reset driver

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:41PM +0530, Lokesh Vutla wrote: > From: Andreas Dannenberg > > Some TI Keystone 2 and K3 family of SoCs contain a system controller > (like the Power Management Micro Controller (PMMC) on 66AK2G SoCs and > the Device Management and Security Controller on AM65x

Re: [U-Boot] [U-Boot, v2, 05/24] firmware: ti_sci: Add support for reboot core service

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:36PM +0530, Lokesh Vutla wrote: > From: Andreas Dannenberg > > Since system controller now has control over SoC power management, it > needs to be explicitly requested to reboot the SoC. Add support for > it. > > Reviewed-by: Tom Rini > Signed-off-by: Andreas

Re: [U-Boot] [U-Boot, v2, 12/24] clk: Introduce TI System Control Interface (TI SCI) clock driver

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:43PM +0530, Lokesh Vutla wrote: > From: Andreas Dannenberg > > Some TI Keystone 2 and K3 family of SoCs contain a system controller > (like the Power Management Micro Controller (PMMC) on 66AK2G SoCs and > the Device Management and Security Controller on AM65x

Re: [U-Boot] [U-Boot, v2, 13/24] power domain: Add support for multiple powerdomains per device

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:44PM +0530, Lokesh Vutla wrote: > There are cases where there are more than one power domain > attached to the device inorder to get the device functional. > So add support for enabling power domain based on the index. > > Reviewed-by: Tom Rini > Signed-off-by:

Re: [U-Boot] [U-Boot, v2, 14/24] power domain: Introduce TI System Control Interface (TI SCI) power domain driver

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:45PM +0530, Lokesh Vutla wrote: > From: Andreas Dannenberg > > Some TI Keystone 2 and K3 family of SoCs contain a system controller > (like the Power Management Micro Controller (PMMC) on 66AK2G SoCs and > the Device Management and Security Controller on AM65x

Re: [U-Boot] [U-Boot, v2, 16/24] mailbox: Allow attaching private data for mbox_chan

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:47PM +0530, Lokesh Vutla wrote: > Sometimes mbox controllers wants to store private data in > mbox_chan so that it can be used at a later point of time. > Adding support for hooking private data. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to

Re: [U-Boot] [U-Boot, v2, 18/24] spl: Allow mailbox drivers to be used within SPL

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:49PM +0530, Lokesh Vutla wrote: > Add an option for building mailbox drivers within SPL. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v2, 8/8] armv8: K3: am654: Add support for generating build targets

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:15PM +0530, Lokesh Vutla wrote: > Update Makefile to generate > - tispl.bin: First stage bootloader on ARMv8 core > - u-boot.img: Second stage bootloader on ARMv8 core. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, v2, 04/24] firmware: ti_sci: Add support for clock control

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:35PM +0530, Lokesh Vutla wrote: > In general, we expect to function at a device level of abstraction, > however, for proper operation of hardware blocks, many clocks directly > supplying the hardware block needs to be queried or configured. > > Introduce support for

Re: [U-Boot] [U-Boot, v2, 06/24] firmware: ti_sci: Add support for processor control services

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:37PM +0530, Lokesh Vutla wrote: > TI-SCI message protocol provides support for controlling of various > physical cores available in SoC. In order to control which host is > capable of controlling a physical processor core, there is a processor > access control list

Re: [U-Boot] [U-Boot, v2, 01/24] firmware: Add basic support for TI System Control Interface (TI SCI) protocol

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:32PM +0530, Lokesh Vutla wrote: > Texas Instrument's System Control Interface (TI SCI) message protocol is > used in Texas Instrument's System on Chip (SoC) such as those in the K3 > family AM654 SoC to communicate between various compute processors with > a central

Re: [U-Boot] [U-Boot, v2, 6/8] armv8: K3: am654: Add custom MMU support

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:13PM +0530, Lokesh Vutla wrote: > Add MMU mappings for AM654 SoC. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot

Re: [U-Boot] [U-Boot, v2, 7/8] armv8: K3: am654: Introduce FIT generator script

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:14PM +0530, Lokesh Vutla wrote: > Add a script that is capable of generating a FIT image > source file that combines ATF, SPL(64 bit) and DT. > This combined image is used by R5 SPL and start ATF > on ARMv8 core. > > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom

Re: [U-Boot] [U-Boot, v2, 02/24] firmware: ti_sci: Add support for board configuration

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:33PM +0530, Lokesh Vutla wrote: > From: Andreas Dannenberg > > TI-SCI message protocol provides support for board configuration > to assign resources and other board related operations. > Introduce the board configuration capability support to the driver protocol >

Re: [U-Boot] [U-Boot, v2, 5/8] arm: K3: am654: Unlock control module registers during init

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:12PM +0530, Lokesh Vutla wrote: > From: Andreas Dannenberg > > By default the device control module registers are locked, > preventing any writes to its registers. > Unlock those registers as part of the init flow. > > Reviewed-by: Tom Rini > Signed-off-by:

Re: [U-Boot] [U-Boot, v2, 03/24] firmware: ti_sci: Add support for device control

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:34PM +0530, Lokesh Vutla wrote: > From: Andreas Dannenberg > > TI-SCI message protocol provides support for management of various > hardware entitites within the SoC. Introduce the fundamental > device management capability support to the driver protocol > as part

Re: [U-Boot] [U-Boot, v2, 4/8] arm: K3: am654: Add support for boot device detection

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:11PM +0530, Lokesh Vutla wrote: > AM654 allows for booting from primary or backup boot media. > Both media can be chosen individually based on switch settings. > ROM looks for a valid image in primary boot media, if not found > then looks in backup boot media. In

Re: [U-Boot] [U-Boot,v2,3/8] arm: K3: Update _start instruction

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:10PM +0530, Lokesh Vutla wrote: > On K3 family SoCs, once the ROM loads image on R5, M3 resets R5 and > expects to start executing from 0x0. In order to handle this ROM > updates the boot vector of R5 such that first 64 bytes of image load > address are mapped to

Re: [U-Boot] [GIT PULL] FPGA changes for v2018.11

2018-09-11 Thread Tom Rini
On Tue, Sep 11, 2018 at 12:18:35PM +0200, Michal Simek wrote: > Hi Tom, > > please pull these fpga changes to your tree. > I am not quite sure how to handle spl/bootm fpga code but please keep me > in a loop in connection to these changes. I think there's a bunch of stuff I assigned to you in

Re: [U-Boot] [U-Boot, v2, 2/8] arm: K3: Add support for AM654 SoC definition

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:09PM +0530, Lokesh Vutla wrote: > The AM654 device is designed for industrial automation and PLC > controller class platforms among other applications. Introduce > base support for AM654 SoC. > > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to

Re: [U-Boot] [U-Boot, v2, 1/8] arm: K3: Add initial support for TI's K3 generation of SoCs

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:57:08PM +0530, Lokesh Vutla wrote: > Add support for Texas Instruments' K3 Generation Processor > families. > > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [GIT PULL] u-boot-uniphier/master

2018-09-11 Thread Tom Rini
On Tue, Sep 11, 2018 at 08:44:41PM +0900, Masahiro Yamada wrote: > Hi Tom, > > Please pull UniPhier updates. > > Thanks! > > > > The following changes since commit f88b6facb87dc4a52f1630eb9d858c0f54c6628e: > > Prepare v2018.09 (2018-09-10 17:46:42 -0400) > > are available in the git

[U-Boot] [PATCH v3] arm: socfpga: stratix10: Add CONFIG_OF_EMBED

2018-09-11 Thread Dalon Westergreen
The dtb should be embedded in the u-boot-spl image so that the CONFIG_SPL_TARGET of spl/u-boot-spl.hex includes it. This also affects the main u-boot image, so adjust CONFIG_SPL_FS_LOAD_PAYLOAD_NAME to u-boot.img which now also includes the dtb. Signed-off-by: Dalon Westergreen --- v2: -> use

Re: [U-Boot] [PATCH 3/3] arm; socfpga: stratix10: Add CONFIG_OF_EMBED

2018-09-11 Thread Marek Vasut
On 09/12/2018 02:05 AM, Dalon L Westergreen wrote: > On Wed, 2018-09-12 at 02:03 +0200, Marek Vasut wrote: >> On 09/12/2018 01:55 AM, Dalon L Westergreen wrote: >> On Tue, 2018-09-11 at 23:55 +0200, Marek Vasut wrote: >> On 09/10/2018 07:28 PM, Dalon Westergreen wrote: >> The dtb should be

Re: [U-Boot] [PATCH 3/3] arm; socfpga: stratix10: Add CONFIG_OF_EMBED

2018-09-11 Thread Dalon L Westergreen
On Wed, 2018-09-12 at 02:03 +0200, Marek Vasut wrote: > On 09/12/2018 01:55 AM, Dalon L Westergreen wrote: > On Tue, 2018-09-11 at 23:55 +0200, Marek Vasut wrote: > On 09/10/2018 07:28 PM, Dalon Westergreen wrote:The dtb should be embedded in > the u-boot-spl image so thatthe CONFIG_SPL_TARGET of

Re: [U-Boot] [PATCH 3/3] arm; socfpga: stratix10: Add CONFIG_OF_EMBED

2018-09-11 Thread Marek Vasut
On 09/12/2018 01:55 AM, Dalon L Westergreen wrote: > On Tue, 2018-09-11 at 23:55 +0200, Marek Vasut wrote: >> On 09/10/2018 07:28 PM, Dalon Westergreen wrote: >> The dtb should be embedded in the u-boot-spl image so that >> the CONFIG_SPL_TARGET of spl/u-boot-spl.hex includes it. >> >> This also

Re: [U-Boot] [PATCH 3/3] arm; socfpga: stratix10: Add CONFIG_OF_EMBED

2018-09-11 Thread Dalon L Westergreen
On Tue, 2018-09-11 at 23:55 +0200, Marek Vasut wrote: > On 09/10/2018 07:28 PM, Dalon Westergreen wrote: > The dtb should be embedded in the u-boot-spl image so thatthe > CONFIG_SPL_TARGET of spl/u-boot-spl.hex includes it. > This also affects the main u-boot image, so >

Re: [U-Boot] [PATCH 3/3] arm; socfpga: stratix10: Add CONFIG_OF_EMBED

2018-09-11 Thread Marek Vasut
On 09/10/2018 07:28 PM, Dalon Westergreen wrote: > The dtb should be embedded in the u-boot-spl image so that > the CONFIG_SPL_TARGET of spl/u-boot-spl.hex includes it. > > This also affects the main u-boot image, so adjust > CONFIG_SPL_FS_LOAD_PAYLOAD_NAME to u-boot,img which now > also includes

Re: [U-Boot] [PATCH 1/3] aspeed: ast2500: Add AHB clock

2018-09-11 Thread Joel Stanley
On Wed, 12 Sep 2018 at 03:13, Cédric Le Goater wrote: > > On 09/11/2018 06:42 PM, Maxim Sloyko wrote: > > > > > > On Tue, Sep 11, 2018 at 12:35 AM, Joel Stanley > > wrote: > > > > On Mon, 10 Sep 2018 at 23:48, Cédric Le Goater > > wrote: > >

Re: [U-Boot] [PATCH 2/3] spi: Add support for the Aspeed ast2500 SPI controllers

2018-09-11 Thread Joel Stanley
On Mon, 10 Sep 2018 at 23:48, Cédric Le Goater wrote: > > The Aspeed AST2500 SoC comes with three static memory controllers, all > with a similar interface : > > * Firmware SPI Memory Controller (FMC) >. BMC firmware >. 3 chip select pins (CE0 ~ CE2) >. supports SPI type flash memory

[U-Boot] [PATCH v5 1/13] efi_loader: support Unicode text input

2018-09-11 Thread Heinrich Schuchardt
Up to now the EFI_TEXT_INPUT_PROTOCOL only supported ASCII characters. With the patch it can consume UTF-8 from the console. Currently only the serial console and the console can deliver UTF-8. Local consoles are restricted to ASCII. Signed-off-by: Heinrich Schuchardt --- v3-5: remove

[U-Boot] [PATCH v4 01/13] efi_loader: support Unicode text input

2018-09-11 Thread Heinrich Schuchardt
Up to now the EFI_TEXT_INPUT_PROTOCOL only supported ASCII characters. With the patch it can consume UTF-8 from the console. Currently only the serial console and the console can deliver UTF-8. Local consoles are restricted to ASCII. Signed-off-by: Heinrich Schuchardt --- v3,v4 remove

Re: [U-Boot] [PATCH v3 01/13] efi_loader: support Unicode text input

2018-09-11 Thread Alexander Graf
On 11.09.18 22:38, Heinrich Schuchardt wrote: > Up to now the EFI_TEXT_INPUT_PROTOCOL only supported ASCII characters. > With the patch it can consume UTF-8 from the console. > > Currently only the serial console and the console can deliver UTF-8. > Local consoles are restricted to ASCII. > >

[U-Boot] [PATCH v3 08/13] efi_loader: support modifiers for F1 - F4

2018-09-11 Thread Heinrich Schuchardt
Support modifiers for F1 - F4. Add support for letters with ALT key. Signed-off-by: Heinrich Schuchardt --- v3 new patch --- lib/efi_loader/efi_console.c | 64 ++-- 1 file changed, 39 insertions(+), 25 deletions(-) diff --git

[U-Boot] [PATCH v3 12/13] efi_selftest: test key notification functions

2018-09-11 Thread Heinrich Schuchardt
Use a key notification function to leave the EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL test. Signed-off-by: Heinrich Schuchardt --- v3 no change v2 no change --- lib/efi_selftest/efi_selftest_textinputex.c | 73 +++-- test/py/tests/test_efi_selftest.py | 4 +-

[U-Boot] [PATCH v3 06/13] test/py: rework test_efi_selftest_text_input()

2018-09-11 Thread Heinrich Schuchardt
Use more precise regular expressions. Signed-off-by: Heinrich Schuchardt --- v3 no change v2 no change --- test/py/tests/test_efi_selftest.py | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/test/py/tests/test_efi_selftest.py

[U-Boot] [PATCH v3 13/13] efi_loader: unset CONFIG_EFI_UNICODE_CAPITALIZATION

2018-09-11 Thread Heinrich Schuchardt
Unset CONFIG_EFI_UNICODE_CAPITALIZATION on boards with tough size restrictions. Signed-off-by: Heinrich Schuchardt --- v3 no change v2 no change --- configs/vf610twr_defconfig | 1 + configs/vf610twr_nand_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git

[U-Boot] [PATCH v3 09/13] efi_selftest: test EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL

2018-09-11 Thread Heinrich Schuchardt
Provide a unit test for the EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL. Signed-off-by: Heinrich Schuchardt --- v3 no change v2 no change --- lib/efi_selftest/Makefile | 1 + lib/efi_selftest/efi_selftest_textinputex.c | 139 2 files changed, 140

[U-Boot] [PATCH v3 02/13] test/py: Unicode w/ EFI_SIMPLE_TEXT_INPUT_PROTOCOL

2018-09-11 Thread Heinrich Schuchardt
Test that the Euro sign is correctly retrieved from the console via the EFI_SIMPLE_TEXT_INPUT_PROTOCOL. Signed-off-by: Heinrich Schuchardt --- v3 no change v2 no change --- test/py/tests/test_efi_selftest.py | 7 +++ 1 file changed, 7 insertions(+) diff --git

[U-Boot] [PATCH v3 11/13] efi_loader: implement key notify functions

2018-09-11 Thread Heinrich Schuchardt
Implement registering and unregistreing key notify functions in the EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL. Signed-off-by: Heinrich Schuchardt --- v3 no change v2 rebae patch --- lib/efi_loader/efi_console.c | 101 +-- 1 file changed, 98 insertions(+),

[U-Boot] [PATCH v3 07/13] efi_loader: EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL

2018-09-11 Thread Heinrich Schuchardt
This patch implements the EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL. The implementation of notification functions is postponed to a later patch. Signed-off-by: Heinrich Schuchardt --- v3: fix support for CTRL+l repace Unicode code points over 0x to '?' v2: rebase patch ---

[U-Boot] [PATCH v3 05/13] efi_selftest: use WaitForKey to test text input

2018-09-11 Thread Heinrich Schuchardt
We should test the WaitForKey event. Testing for EFI_NOT_READY can be done after resetting the console. Signed-off-by: Heinrich Schuchardt --- v3 no change v2 no change --- lib/efi_selftest/efi_selftest_textinput.c | 27 --- 1 file changed, 24 insertions(+),

[U-Boot] [PATCH v3 10/13] test/py: test EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL

2018-09-11 Thread Heinrich Schuchardt
Add a unit test for the EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL. Signed-off-by: Heinrich Schuchardt --- v3 no change v2 no change --- test/py/tests/test_efi_selftest.py | 79 ++ 1 file changed, 79 insertions(+) diff --git

[U-Boot] [PATCH v3 0/13] efi_loader: EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL

2018-09-11 Thread Heinrich Schuchardt
Support Unicode letters received as UTF-8 from the serial console. Correct handling of the WaitForKey event. Update unit test for the EFI_SIMPLE_TEXT_INPUT__PROTOCOL. Fix bugs for the EFI_SIMPLE_TEXT_INPUT__PROTOCOL. Implement the EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL. Provide a unit test. Fix a

[U-Boot] [PATCH v3 01/13] efi_loader: support Unicode text input

2018-09-11 Thread Heinrich Schuchardt
Up to now the EFI_TEXT_INPUT_PROTOCOL only supported ASCII characters. With the patch it can consume UTF-8 from the console. Currently only the serial console and the console can deliver UTF-8. Local consoles are restricted to ASCII. Signed-off-by: Heinrich Schuchardt --- v2: drop

[U-Boot] [PATCH v3 04/13] efi_loader: rework event handling for console

2018-09-11 Thread Heinrich Schuchardt
Preread the next key in the console timer event. The EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL requires to trigger registered key notification functions based on the prefetched key. Signed-off-by: Heinrich Schuchardt --- v3 rebase patch v2 rebase patch --- lib/efi_loader/efi_console.c

[U-Boot] [PATCH v3 03/13] efi_selftest: refactor text input test

2018-09-11 Thread Heinrich Schuchardt
Move reusable utility functions to efi_selftest_util.c. Signed-off-by: Heinrich Schuchardt --- v03 no change v02 no change --- include/efi_selftest.h| 16 lib/efi_selftest/efi_selftest_textinput.c | 109 +-

Re: [U-Boot] Renesas R-Car Gen3 SD/MMC driver issues

2018-09-11 Thread Marek Vasut
On 09/10/2018 04:16 PM, Matthias Blankertz wrote: > Hello, > > we are experiencing issues with the R-Car Gen3 SD driver with H3ULCB > development kits, in both u-boot 2018.05 and 2018.07. The issues are > frequent failures of u-boot to access the eMMC storage. I have traced > the issue to u-boot

Re: [U-Boot] [Patch v3] socfpga: stratix10: fix sdram_calculate_size

2018-09-11 Thread Marek Vasut
On 09/11/2018 07:06 PM, Dalon Westergreen wrote: > Incorrect type of size variable results in 0 being > returned for sdram sizes greater than or equal to > 4GB. > > Signed-off-by: Dalon Westergreen > --- > v3: Fix commit message > v2: Move function type to phys_size_t to match gd->ram_size > ---

Re: [U-Boot] [PATCH 1/3] aspeed: ast2500: Add AHB clock

2018-09-11 Thread Cédric Le Goater
On 09/11/2018 06:42 PM, Maxim Sloyko wrote: > > > On Tue, Sep 11, 2018 at 12:35 AM, Joel Stanley > wrote: > > On Mon, 10 Sep 2018 at 23:48, Cédric Le Goater > wrote: > > > > The AHB clock is used by the FMC/SPI controllers. > > >

[U-Boot] [Patch v3] socfpga: stratix10: fix sdram_calculate_size

2018-09-11 Thread Dalon Westergreen
Incorrect type of size variable results in 0 being returned for sdram sizes greater than or equal to 4GB. Signed-off-by: Dalon Westergreen --- v3: Fix commit message v2: Move function type to phys_size_t to match gd->ram_size --- arch/arm/mach-socfpga/include/mach/sdram_s10.h | 2 +-

Re: [U-Boot] [PATCH v3 0/5] Add get_alt_function ops

2018-09-11 Thread Stephen Warren
On 09/11/2018 01:31 AM, Patrice CHOTARD wrote: Hi Michal On 09/11/2018 07:51 AM, Michal Simek wrote: On 10.9.2018 18:11, Patrice Chotard wrote: This series : - Add new gpio ops get_alt_function - Add get_function and get_alt_function support to stm32 gpio driver - Add

Re: [U-Boot] [PATCH 1/3] aspeed: ast2500: Add AHB clock

2018-09-11 Thread Maxim Sloyko
On Tue, Sep 11, 2018 at 12:35 AM, Joel Stanley wrote: > On Mon, 10 Sep 2018 at 23:48, Cédric Le Goater wrote: > > > > The AHB clock is used by the FMC/SPI controllers. > > > > Signed-off-by: Cédric Le Goater > > --- > > arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 2 ++ > >

Re: [U-Boot] [PATCH v1 1/4] MIPS: cache: reimplement dcache_[status, enable, disable]

2018-09-11 Thread Daniel Schwierzeck
Am Di., 11. Sep. 2018 um 16:30 Uhr schrieb Stefan Roese : > > On 11.09.2018 16:12, Daniel Schwierzeck wrote: > > Am Mo., 10. Sep. 2018 um 07:34 Uhr schrieb Stefan Roese : > >> > >> Hi Daniel, > >> > >> On 07.09.2018 19:02, Daniel Schwierzeck wrote: > >>> Those functions are not needed during cache

Re: [U-Boot] [PATCH] socfpga: stratix10: fix sdram_calculate_size

2018-09-11 Thread Marek Vasut
On 09/11/2018 05:13 PM, Dalon L Westergreen wrote: > On Tue, 2018-09-11 at 15:52 +0200, Marek Vasut wrote: >> On 09/11/2018 03:28 PM, Dalon L Westergreen wrote: >> On Tue, 2018-09-11 at 11:31 +0200, Marek Vasut wrote: >> On 09/10/2018 10:41 PM, Dalon Westergreen wrote: >> Incorrect type of size

Re: [U-Boot] [Patch v2] socfpga: stratix10: fix sdram_calculate_size

2018-09-11 Thread Marek Vasut
On 09/11/2018 05:29 PM, Dalon Westergreen wrote: > Incorrect type of size variable results in 0 being > returned for sdram sizes greater than or equal to > 4GB. > > v2: > -> Move function type to phys_size_t to match gd->ram_size ^ This should be below the --- > Signed-off-by: Dalon

[U-Boot] [Patch v2] socfpga: stratix10: fix sdram_calculate_size

2018-09-11 Thread Dalon Westergreen
Incorrect type of size variable results in 0 being returned for sdram sizes greater than or equal to 4GB. v2: -> Move function type to phys_size_t to match gd->ram_size Signed-off-by: Dalon Westergreen --- arch/arm/mach-socfpga/include/mach/sdram_s10.h | 2 +- drivers/ddr/altera/sdram_s10.c

Re: [U-Boot] [PATCH] socfpga: stratix10: fix sdram_calculate_size

2018-09-11 Thread Dalon L Westergreen
On Tue, 2018-09-11 at 15:52 +0200, Marek Vasut wrote: > On 09/11/2018 03:28 PM, Dalon L Westergreen wrote: > On Tue, 2018-09-11 at 11:31 +0200, Marek Vasut wrote: > On 09/10/2018 10:41 PM, Dalon Westergreen wrote:Incorrect type of size > variable results in 0 beingreturned for sdram sizes greater

Re: [U-Boot] [PATCH v1 1/4] MIPS: cache: reimplement dcache_[status, enable, disable]

2018-09-11 Thread Stefan Roese
On 11.09.2018 16:12, Daniel Schwierzeck wrote: Am Mo., 10. Sep. 2018 um 07:34 Uhr schrieb Stefan Roese : Hi Daniel, On 07.09.2018 19:02, Daniel Schwierzeck wrote: Those functions are not needed during cache init and can be implemented in C. Only support the safe disabling of caches when this

Re: [U-Boot] [PATCH v1 1/4] MIPS: cache: reimplement dcache_[status, enable, disable]

2018-09-11 Thread Daniel Schwierzeck
Am Mo., 10. Sep. 2018 um 07:34 Uhr schrieb Stefan Roese : > > Hi Daniel, > > On 07.09.2018 19:02, Daniel Schwierzeck wrote: > > Those functions are not needed during cache init and can be > > implemented in C. Only support the safe disabling of caches when > > this is required for booting an OS.

Re: [U-Boot] [PATCH] socfpga: stratix10: fix sdram_calculate_size

2018-09-11 Thread Marek Vasut
On 09/11/2018 03:28 PM, Dalon L Westergreen wrote: > On Tue, 2018-09-11 at 11:31 +0200, Marek Vasut wrote: >> On 09/10/2018 10:41 PM, Dalon Westergreen wrote: >> Incorrect type of size variable results in 0 being >> returned for sdram sizes greater than or equal to >> 4GB. >> >> Signed-off-by:

Re: [U-Boot] [Uboot-stm32] [PATCH v3 0/5] Add get_alt_function ops

2018-09-11 Thread Michal Simek
On 11.9.2018 15:31, Patrice CHOTARD wrote: > On 09/11/2018 02:17 PM, Michal Simek wrote: >> On 11.9.2018 13:12, Patrice CHOTARD wrote: >>> Hi, >>> >>> On 09/11/2018 12:24 PM, Michal Simek wrote: Hi, On 11.9.2018 09:31, Patrice CHOTARD wrote: > Hi Michal > > On 09/11/2018

Re: [U-Boot] [Uboot-stm32] [PATCH v3 0/5] Add get_alt_function ops

2018-09-11 Thread Patrice CHOTARD
On 09/11/2018 02:17 PM, Michal Simek wrote: > On 11.9.2018 13:12, Patrice CHOTARD wrote: >> Hi, >> >> On 09/11/2018 12:24 PM, Michal Simek wrote: >>> Hi, >>> >>> On 11.9.2018 09:31, Patrice CHOTARD wrote: Hi Michal On 09/11/2018 07:51 AM, Michal Simek wrote: > On 10.9.2018

Re: [U-Boot] [PATCH] socfpga: stratix10: fix sdram_calculate_size

2018-09-11 Thread Dalon L Westergreen
On Tue, 2018-09-11 at 11:31 +0200, Marek Vasut wrote: > On 09/10/2018 10:41 PM, Dalon Westergreen wrote: > Incorrect type of size variable results in 0 beingreturned for sdram sizes > greater than or equal to4GB. > Signed-off-by: Dalon Westergreen --- > drivers/ddr/altera/sdram_s10.c | 2 +- 1 file

[U-Boot] [PATCH V3 2/2] pci: Update documentation to make 'compatible' string optional

2018-09-11 Thread Marek Vasut
Reword the documentation to make it clear the compatible string is now optional, yet still matching on it takes precedence over PCI IDs and PCI classes. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini --- V3: No change V2: New patch --- doc/driver-model/pci-info.txt | 14

[U-Boot] [PATCH V3 1/2] pci: Support parsing PCI controller DT subnodes

2018-09-11 Thread Marek Vasut
The PCI controller can have DT subnodes describing extra properties of particular PCI devices, ie. a PHY attached to an EHCI controller on a PCI bus. This patch parses those DT subnodes and assigns a node to the PCI device instance, so that the driver can extract details from that node and ie.

Re: [U-Boot] tools: mkimage: Ensure munmap unmaps the same length that was mapped

2018-09-11 Thread Tom Rini
On Wed, Aug 29, 2018 at 10:51:14AM +1200, Chris Packham wrote: > From: Mark Tomlinson > > The set_header call in kwbimage.c adds a checksum to the end of the > image in addition to setting up the header. It 'helpfully' updates the > st_size to match the fact that the file is now longer.

Re: [U-Boot] serial: arm_dcc: Add DCC support for V7R based cores

2018-09-11 Thread Tom Rini
On Thu, Aug 16, 2018 at 06:43:56PM +0530, Lokesh Vutla wrote: > DCC is supported on Cortex R series as well. Enable DCC support > for V7R. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] arm: spear: enable GPIO3 and 4 clocks when the GPIO controller driver is built

2018-09-11 Thread Tom Rini
On Fri, Aug 31, 2018 at 04:15:53PM +0200, Quentin Schulz wrote: > There are multiple GPIOs that can be used with the same driver depending > on the CONFIG_GPIO_BASE defined in the controller driver. > > GPIO3 and 4 require a clock to be enabled so let's enable them when the > driver is built. >

Re: [U-Boot] [U-Boot, v2, 1/2] arm: bcm7445: Change serial console index

2018-09-11 Thread Tom Rini
On Wed, Aug 22, 2018 at 06:37:54PM -0400, Thomas Fitzsimmons wrote: > Change the configured serial console index to reflect that it is the > first physical UART, reorder some defconfig lines and move some > environment configuration from bcmstb.h to bcm7445.h. > > Signed-off-by: Thomas

Re: [U-Boot] arm: armv7m: clean up armv7m unified code compilation

2018-09-11 Thread Tom Rini
On Fri, Aug 31, 2018 at 04:57:06PM -0700, Vikas Manocha wrote: > unified syntax should be selected by config ARM_ASM_UNIFIED > > Signed-off-by: Vikas Manocha Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [U-Boot, v3] serial: omap: Introduce DM specific omap serial

2018-09-11 Thread Tom Rini
On Mon, Aug 27, 2018 at 03:55:24PM +0530, Lokesh Vutla wrote: > Add driver model support for OMAP_SERIAL while reusing > the functions in ns16550.c > > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini > Tested-by: Derald D. Woods Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] omap3: pandora: Enable DM_SERIAL

2018-09-11 Thread Tom Rini
On Sat, Aug 25, 2018 at 10:40:08PM +0300, Grazvydas Ignotas wrote: > This patch enables DM_SERIAL for the pandora board. Verified that > the default kernel can still be booted with this. > > Signed-off-by: Grazvydas Ignotas Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] arm: stm32: Remove redundant thumb build selection

2018-09-11 Thread Tom Rini
On Fri, Aug 31, 2018 at 04:15:14PM -0700, Vikas Manocha wrote: > All armv7m arch builds are thumb & SYS_THUMB_BUILD is already selected by > CPU_ARMV7M. > > Signed-off-by: Vikas Manocha Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot,V4,1/2] mmc: add HS400 support

2018-09-11 Thread Tom Rini
On Fri, Aug 10, 2018 at 02:07:54PM +0800, Peng Fan wrote: > Add HS400 support. > Selecting HS400 needs first select HS200 according to spec, so use > a dedicated function for HS400. > Add HS400 related macros. > Remove the restriction of only using the low 6 bits of > EXT_CSD_CARD_TYPE, using all

Re: [U-Boot] [U-Boot, v2, u-boot, 2/2] clk: clk_meson: Add mux and div support for reparent and rate setting

2018-09-11 Thread Tom Rini
On Mon, Aug 06, 2018 at 02:49:20PM +0200, Neil Armstrong wrote: > This patch adds support for : > - Rate calculation through muxes and generic dividers > - Basic gate setting propagation > - Reparenting for muxes > - Clock rate setting through generic dividers without reparenting > > Support is

  1   2   >