Re: [U-Boot] [PATCH] arm: socfpga: fix SPL booting from fpga OnChip RAM

2018-10-07 Thread Marek Vasut
On 10/07/2018 01:08 PM, Simon Goldschmidt wrote: > On 06.10.2018 22:38, Tom Rini wrote: >> On Sat, Oct 06, 2018 at 10:33:42PM +0200, Simon Goldschmidt wrote: >> >>> This patch prevents disabling the FPGA bridges when >>> SPL or U-Boot is executed from FPGA onchip RAM. >>> >>> Signed-off-by: Simon

Re: [U-Boot] [PATCH] arm: socfpga: make socfpga_socrates_defconfig boot from QSPI

2018-10-07 Thread Marek Vasut
On 10/07/2018 08:43 AM, Simon Goldschmidt wrote: > On 09.08.2018 23:57, Marek Vasut wrote: >> On 08/09/2018 09:17 PM, Simon Goldschmidt wrote: >>> On Mon, Aug 6, 2018 at 3:45 PM Simon Goldschmidt >>> wrote: Marek Vasut schrieb am Mo., 6. Aug. 2018, 15:19: > On 08/06/2018 03:05

Re: [U-Boot] [PATCH v2 03/23] Add core support for a bloblist to convey data from SPL

2018-10-07 Thread Kever Yang
Hi Simon,     I didn't notice you already have a V2 for this patch set just now and have send a reply to V1.     My question is:     Is it possible to use ATAGs instead of a new 'bloblist'? Thanks, - Kever On 10/02/2018 07:22 PM, Simon Glass wrote: > At present there is no standard way in

[U-Boot] [PATCH] board: ax25-ae350: Print board information.

2018-10-07 Thread Andes
From: Rick Chen Add to print board and bit information message. Signed-off-by: Rick Chen Cc: Greentime Hu --- board/AndesTech/ax25-ae350/ax25-ae350.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/AndesTech/ax25-ae350/ax25-ae350.c b/board/AndesTech/ax25-ae350/ax25-ae350.c index

[U-Boot] [PATCH] ARM: omap3logic: Encapsulate the MUSB functions in check for DM

2018-10-07 Thread Adam Ford
With the DM_USB working for USB host features, encapsulate the USB gadget initialization in a precomiler check. If DM is enabled, we don't need to manually initialize the MUSB driver. Signed-off-by: Adam Ford diff --git a/board/logicpd/omap3som/omap3logic.c

Re: [U-Boot] [U-Boot, v4, 19/19] Kconfig: sandbox: enable cmd_avb and dependencies

2018-10-07 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:40:23PM +0200, Jens Wiklander wrote: > Enables cmd_avb and its dependencies need to run the AVB tests. > > Reviewed-by: Simon Glass > Signed-off-by: Jens Wiklander Applied to u-boot/master. But please note, some of the AVB Kconfig dependencies need to be tightened

Re: [U-Boot] [PATCH v3 0/8] Improvements for the dwc3_generic driver

2018-10-07 Thread Kever Yang
Hi Philipp, On 10/01/2018 09:26 PM, Philipp Tomsich wrote: > Kever, > > Could you test this? > I assume you have the board, as the evb-rk3328 has you listed as a > maintainer... Sure, I can do it. Sorry for reply late, I just come back to work from Chinese National Day holiday. Thanks, - Kever

Re: [U-Boot] [U-Boot, v4, 04/19] mmc: rpmb: add mmc_rpmb_route_frames()

2018-10-07 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:40:08PM +0200, Jens Wiklander wrote: > Adds mmc_rpmb_route_frames() to route RPMB data frames from/to an > external entity. > > Tested-by: Igor Opaniuk > Signed-off-by: Jens Wiklander > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot,v4,06/19] dt/bindings: add bindings for optee

2018-10-07 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:40:10PM +0200, Jens Wiklander wrote: > Sync with c8bfafb15944 ("dt/bindings: add bindings for optee") > from Linux kernel. > > Introduces linaro prefix and adds bindings for ARM TrustZone based OP-TEE > implementation. > > Reviewed-by: Simon Glass > Signed-off-by:

Re: [U-Boot] [U-Boot, v4, 03/19] cmd: avb: print error message if command fails

2018-10-07 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:40:07PM +0200, Jens Wiklander wrote: > Reviewed-by: Simon Glass > Signed-off-by: Jens Wiklander Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, v4, 02/19] cmd: avb read_rb: print rb_idx in hexadecimal

2018-10-07 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:40:06PM +0200, Jens Wiklander wrote: > Prior to this patch was do_avb_write_rb() reading supplied rb_idx as a > hexadecimal number while do_avb_read_rb() printed the read out rb_idx as > decimal number. For consistency change do_avb_read_rb() to print rb_idx > as a

Re: [U-Boot] [U-Boot, v4, 01/19] dm: fdt: scan for devices under /firmware too

2018-10-07 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:40:05PM +0200, Jens Wiklander wrote: > Just as /chosen may contain devices /firmware may contain devices, scan > for devices under /firmware too. > > Reviewed-by: Simon Glass > Signed-off-by: Jens Wiklander Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, v4, 11/19] tee: optee: support AVB trusted application

2018-10-07 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:40:15PM +0200, Jens Wiklander wrote: > Adds configuration option OPTEE_TA_AVB and a header file describing the > interface to the Android Verified Boot 2.0 (AVB) trusted application > provided by OP-TEE. > > Tested-by: Igor Opaniuk > Reviewed-by: Igor Opaniuk >

Re: [U-Boot] [U-Boot, v4, 05/19] Add UCLASS_TEE for Trusted Execution Environment

2018-10-07 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:40:09PM +0200, Jens Wiklander wrote: > Adds a uclass to interface with a TEE (Trusted Execution Environment). > > A TEE driver is a driver that interfaces with a trusted OS running in > some secure environment, for example, TrustZone on ARM cpus, or a > separate secure

Re: [U-Boot] [U-Boot,v4,07/19] tee: add OP-TEE driver

2018-10-07 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:40:11PM +0200, Jens Wiklander wrote: > Adds a OP-TEE driver. > > * Targets ARM and ARM64 > * Supports using any U-Boot memory as shared memory > * Probes OP-TEE version using SMCs > * Uses OPTEE message protocol version 2 to communicate with secure world > >

Re: [U-Boot] [U-Boot,v4,09/19] arm: dt: hikey: Add optee node

2018-10-07 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:40:13PM +0200, Jens Wiklander wrote: > Sync with 14e21cb8f811 ("arm64: dt: hikey: Add optee node" > from Linux kernel. > > Reviewed-by: Simon Glass > Signed-off-by: Jens Wiklander Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v4, 13/19] sandbox: imply CONFIG_TEE (TEE uclass)

2018-10-07 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:40:17PM +0200, Jens Wiklander wrote: > Reviewed-by: Simon Glass > Signed-off-by: Jens Wiklander Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [PATCH 00/22] spl: Add features for passing info from SPL to U-Boot proper

2018-10-07 Thread Kever Yang
Hi Simon, On 09/27/2018 05:54 AM, Simon Glass wrote: > At present we have no standard way of passing information from SPL to > U-Boot. Such information may be the size of DRAM banks or some information > about the reset state of the machine,for example. > > This series first adds a bloblist,

Re: [U-Boot] [U-Boot, v4, 18/19] avb_verify: support sandbox configuration

2018-10-07 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:40:22PM +0200, Jens Wiklander wrote: > Change get_sector_buf() to use map_sysmem() to get a pointer to the > CONFIG_FASTBOOT_BUF_ADDR in memory. > > Signed-off-by: Jens Wiklander > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, v4, 16/19] avb_verify: support using OP-TEE TA AVB

2018-10-07 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:40:20PM +0200, Jens Wiklander wrote: > With CONFIG_OPTEE_TA_AVB use the trusted application AVB provided by > OP-TEE to manage rollback indexes and device-lock status. > > Reviewed-by: Simon Glass > Signed-off-by: Jens Wiklander Applied to u-boot/master, thanks! --

Re: [U-Boot] [PATCH] arm: socfpga: fix SPL booting from fpga OnChip RAM

2018-10-07 Thread Simon Goldschmidt
Marek Vasut schrieb am Mo., 8. Okt. 2018, 02:20: > On 10/07/2018 01:08 PM, Simon Goldschmidt wrote: > > On 06.10.2018 22:38, Tom Rini wrote: > >> On Sat, Oct 06, 2018 at 10:33:42PM +0200, Simon Goldschmidt wrote: > >> > >>> This patch prevents disabling the FPGA bridges when > >>> SPL or U-Boot

Re: [U-Boot] [PATCH] bootm: Add board specific OS preboot hook

2018-10-07 Thread Simon Goldschmidt
On Thu, Oct 4, 2018 at 9:16 PM Marek Vasut wrote: > > Add board-specific hook which is executed before the code hands over > control to the OS. This lets the board perform some last-minute clean > ups. > > Signed-off-by: Marek Vasut > Cc: Tom Rini Great idea. There are already some boards

[U-Boot] [PATCH] ARM: omap3logic: Specify DM serial driver as omap_serial

2018-10-07 Thread Adam Ford
With the new omap_serial driver, this patch uses this instead from the former ns16550_serial driver. Even though the omap_serial driver is essentially the same. Signed-off-by: Adam Ford diff --git a/board/logicpd/omap3som/omap3logic.c b/board/logicpd/omap3som/omap3logic.c index

[U-Boot] [PATCH] ARM: omap3logic: Fix MMC name

2018-10-07 Thread Adam Ford
In my haste to migrate SPL to DM, I copied the wrong name. While it really doesn't matter, I'd prefer the name to match the board, so am335x_mmc0 is now called omap3_logic_mmc0 Signed-off-by: Adam Ford diff --git a/board/logicpd/omap3som/omap3logic.c b/board/logicpd/omap3som/omap3logic.c index

Re: [U-Boot] [PATCH] ARM: mach-omap2: Kconfig: Make SYS_MPUCLK dependent on AM33XX

2018-10-07 Thread Tom Rini
On Sun, Oct 07, 2018 at 09:58:25AM -0500, Adam Ford wrote: > This value is unly used in arch/arm/mach-omap2/am33xx/ > clock_am33xx.c, so let's make it dependent on AM33XX since > that is the only way this file gets compiled into the code > according to the Makefile. > > Signed-off-by: Adam Ford

Re: [U-Boot] [PATCH 5/6] test: Add PCI device entry without compat string and with DT node

2018-10-07 Thread Bin Meng
Hi Marek, On Mon, Oct 8, 2018 at 12:00 AM Marek Vasut wrote: > > On 10/07/2018 02:16 PM, Bin Meng wrote: > > Hi Marek, > > > > On Sun, Oct 7, 2018 at 8:12 PM Marek Vasut wrote: > >> > >> On 10/01/2018 01:44 PM, Marek Vasut wrote: > >>> On 09/25/2018 05:26 PM, Bin Meng wrote: > Hi Marek, >

Re: [U-Boot] [U-Boot,v4,12/19] sandbox: dt: add sandbox_tee node

2018-10-07 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:40:16PM +0200, Jens Wiklander wrote: > Adds a sandbox_tee node to enable the sandbox tee driver in all the > sandbox dts files. > > Reviewed-by: Simon Glass > Signed-off-by: Jens Wiklander Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [U-Boot, v4, 17/19] test_avb: Update pymark.buildconfigspec information for the AVB tests

2018-10-07 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:40:21PM +0200, Jens Wiklander wrote: > Update the pymark.buildconfigspec to depend on 'cmd_mmc' in addition to > 'cmd_avb' for those tests that needs more a more complete MMC > implementation or the "mmc" command. > > Reviewed-by: Simon Glass > Signed-off-by: Jens

Re: [U-Boot] [U-Boot,v4,14/19] tee: add sandbox driver

2018-10-07 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:40:18PM +0200, Jens Wiklander wrote: > Adds a sandbox tee driver which emulates a generic TEE with the OP-TEE > AVB TA. > > Reviewed-by: Simon Glass > Signed-off-by: Jens Wiklander > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v4, 08/19] Documentation: tee uclass and op-tee driver

2018-10-07 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:40:12PM +0200, Jens Wiklander wrote: > Reviewed-by: Simon Glass > Signed-off-by: Jens Wiklander Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot,v4,15/19] test: tee: test TEE uclass

2018-10-07 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:40:19PM +0200, Jens Wiklander wrote: > Tests the TEE uclass with a sandbox tee driver. > > Reviewed-by: Simon Glass > Signed-off-by: Jens Wiklander Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v4, 10/19] optee: support routing of rpmb data frames to mmc

2018-10-07 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:40:14PM +0200, Jens Wiklander wrote: > Adds support in optee supplicant to route signed (MACed) RPMB frames > from OP-TEE Secure OS to MMC and vice versa to manipulate the RPMB > partition. > > Tested-by: Igor Opaniuk > Signed-off-by: Jens Wiklander > Reviewed-by:

[U-Boot] [PATCH 2/2] riscv: dts: Add ae350_32.dts for 32 bit

2018-10-07 Thread Andes
From: Rick Chen Add ae350_32.dts for 32 bit. And also rename ae350.dts to ae350_64.dts for 64 bit. Signed-off-by: Rick Chen Cc: Greentime Hu --- arch/riscv/dts/ae350.dts| 229 arch/riscv/dts/ae350_32.dts | 229

[U-Boot] [PATCH 1/2] riscv: configs: Separate ax25-ae350 for 32/64 bit.

2018-10-07 Thread Andes
From: Rick Chen Separate ax25-ae350 from one to two for 32 and 64 bit individually. And also select different dts for 32 and 64 bit. Signed-off-by: Rick Chen Cc: Greentime Hu --- configs/ax25-ae350-32_defconfig | 33 + configs/ax25-ae350-64_defconfig | 34

Re: [U-Boot] Keystone 2 sram scratch address?

2018-10-07 Thread Lokesh Vutla
Hi Tom, On 10/7/2018 7:29 PM, Tom Rini wrote: > Hey folks, > > So as part of Simon's patch[1] to move CONFIG_SPL_TEXT_BASE to Kconfig > I've run into a problem on Keystone 2 platforms, specifically the HS > variants. What keystone does is define the SRAM scratch address > relative to the end of

[U-Boot] [PATCH] riscv: dts: Sync to Linux Kernel ae350 dts.

2018-10-07 Thread Andes
From: Rick Chen Use same dts to boot U-Boot and Kernel. Following are the change notes : 1 Remove early printk bootargs. 2 Timer frequency are changed to 60MHz. 3 Add dma, snd, lcd, virtio nodes which are used in kernel drivers. They does not been used by U-Boot. 4 Change spi irq from 3 to 4.

Re: [U-Boot] [PATCH] riscv: dts: Sync to Linux Kernel ae350 dts.

2018-10-07 Thread Bin Meng
Hi Rick, On Mon, Oct 8, 2018 at 1:33 PM Andes wrote: > > From: Rick Chen > > Use same dts to boot U-Boot and Kernel. > > Following are the change notes : > 1 Remove early printk bootargs. > 2 Timer frequency are changed to 60MHz. > 3 Add dma, snd, lcd, virtio nodes which are used > in kernel

[U-Boot] [PATCH v2 0/8] dm: Various fixes in dm core/cpu/timer

2018-10-07 Thread Bin Meng
This fixed several issues identified in dm core/cpu/timer codes. The issues were found during RISC-V cpu/timer driver development for QEMU RISC-V port. This series is available at u-boot-x86/dm-fixes for testing. Changes in v2: - rebase on u-boot/master, and fix one build error Bin Meng (8):

[U-Boot] [PATCH v2 1/8] dm: cpu: Fix print_cpuinfo() output

2018-10-07 Thread Bin Meng
It was observed that current output of print_cpuinfo() on QEMU x86 targets does not have an ending '\n', neither have a leading 'CPU:' any more. However it used to have these before. It turns out commit c0434407b595 introduced a unified DM version of print_cpuinfo() that exposed such issue on

[U-Boot] [PATCH v2 3/8] dm: util: Add a livetree equivalent API of dm_fdt_pre_reloc()

2018-10-07 Thread Bin Meng
This adds a new API dm_ofnode_pre_reloc(), a livetree equivalent API of dm_fdt_pre_reloc(). Signed-off-by: Bin Meng --- Changes in v2: None drivers/core/util.c | 25 + include/dm/util.h | 27 ++- 2 files changed, 51 insertions(+), 1

[U-Boot] [PATCH v2 8/8] timer: Sort Kconfig driver entries

2018-10-07 Thread Bin Meng
This is currently out of order. Sort it. Signed-off-by: Bin Meng --- Changes in v2: None drivers/timer/Kconfig | 110 +- 1 file changed, 55 insertions(+), 55 deletions(-) diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig index

[U-Boot] [PATCH v2 4/8] dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in lists_bind_fdt()

2018-10-07 Thread Bin Meng
Currently the comments of several APIs (eg: dm_init_and_scan()) say: @pre_reloc_only: If true, bind only drivers with the DM_FLAG_PRE_RELOC flag. If false bind all drivers. The 'Pre-Relocation Support' chapter in doc/driver-model/README.txt documents the same that both device tree properties and

[U-Boot] [PATCH v2 2/8] cpu: mpc83xx: Remove unnecessary characters in the description string

2018-10-07 Thread Bin Meng
The description string should not contain unnecessary characters, like the ending '\n' or the leading 'CPU:'. Signed-off-by: Bin Meng --- Changes in v2: None drivers/cpu/mpc83xx_cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpu/mpc83xx_cpu.c

[U-Boot] [PATCH v2 02/33] env: allow flash and nand env driver to compile together

2018-10-07 Thread Rajesh Bhagat
Define env_ptr as static in flash and nand env driver to allow these to compile together. Signed-off-by: Rajesh Bhagat --- Change in v2: None env/flash.c | 4 ++-- env/nand.c| 6 +++--- include/environment.h | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff

[U-Boot] [PATCH v2 28/33] armv8: ls1043aqds: Add TFABOOT defconfig for secure boot

2018-10-07 Thread Rajesh Bhagat
From: Vinitha V Pillai This defconfig is for Secure TFABOOT, to be loaded by trusted firmware Signed-off-by: Vinitha V Pillai --- Change in v2: None configs/ls1043aqds_tfa_SECURE_BOOT_defconfig | 58 1 file changed, 58 insertions(+) create mode 100644

[U-Boot] [PATCH v2 13/33] armv8: layerscape: add SMC calls for DDR size and bank info

2018-10-07 Thread Rajesh Bhagat
Adds SMC calls for getting DDR size and bank info for TFABOOT. Signed-off-by: Rajesh Bhagat Signed-off-by: Pankit Garg --- Change in v2: None arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 84 +++ .../arm/include/asm/arch-fsl-layerscape/soc.h | 4 + 2 files changed, 88

[U-Boot] [PATCH v2 30/33] armv8: ls1012ardb: Add TFABOOT defconfig for secure boot

2018-10-07 Thread Rajesh Bhagat
From: Vinitha V Pillai This defconfig is for Secure TFABOOT, to be loaded by trusted firmware Signed-off-by: Vinitha V Pillai --- Change in v2: None configs/ls1012ardb_tfa_SECURE_BOOT_defconfig | 62 1 file changed, 62 insertions(+) create mode 100644

Re: [U-Boot] [PATCH v2 04/19] configs: am335x: am57x: dra7x: Enable CONFIG_SPL_DM_SEQ_ALIAS

2018-10-07 Thread Felix Brack
On 05.10.2018 18:45, Jean-Jacques Hiblot wrote: > Those platforms need CONFIG_SPL_DM_SEQ_ALIAS because they enable both > DM_I2C and SPL_DM. Without CONFIG_SPL_DM_SEQ_ALIAS, it is not possible to > get the I2C bus with i2c_get_chip_for_busnum(). > > Signed-off-by: Jean-Jacques Hiblot

Re: [U-Boot] [PATCH v2 12/19] configs: am335x_pdu001: remove CONFIG_DM_I2C_COMPAT

2018-10-07 Thread Felix Brack
On 05.10.2018 18:45, Jean-Jacques Hiblot wrote: > Remove the last call to the non-DM I2C API. > Also remove the #undef CONFIG_DM_I2C_COMPAT because it is not defined > in the common header file anymore. > > Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Felix Brack Tested-by: Felix Brack

Re: [U-Boot] ARM: da850evm: Remove DM_I2C_COMPAT

2018-10-07 Thread Adam Ford
On Sat, Oct 6, 2018 at 1:06 PM Tom Rini wrote: > > On Sun, Sep 30, 2018 at 09:20:13AM -0500, Adam Ford wrote: > > > > The da850evm does not need this enabled, so this removes a > > notice that appears during compile time that says > > "Please remove" > > > > Signed-off-by: Adam Ford > > NAK,

[U-Boot] [PATCH v2 26/33] armv8: ls1043ardb: Add TFABOOT defconfig for secure boot

2018-10-07 Thread Rajesh Bhagat
From: Vinitha V Pillai This defconfig is for Secure TFABOOT, to be loaded by trusted firmware Signed-off-by: Vinitha V Pillai --- Change in v2: None configs/ls1043ardb_tfa_SECURE_BOOT_defconfig | 51 1 file changed, 51 insertions(+) create mode 100644

[U-Boot] [PATCH v2 29/33] armv8: ls1012ardb: Add TFABOOT support

2018-10-07 Thread Rajesh Bhagat
TFABOOT support includes: - ls1012ardb_tfa_defconfig to be loaded by trusted firmware - environment address and size changes for TFABOOT - define BOOTCOMMAND for TFABOOT Signed-off-by: Rajesh Bhagat Signed-off-by: Pankit Garg --- Change in v2:

[U-Boot] [PATCH v2 03/33] env: sf: define API to override sf environment address

2018-10-07 Thread Rajesh Bhagat
Defines env_sf_get_env_addr API to override sf environment address, required to support multiple environment. Signed-off-by: Rajesh Bhagat --- Change in v2: None env/sf.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/env/sf.c b/env/sf.c index

[U-Boot] [PATCH v2 5/8] dm: Correct pre_reloc_only parameter description in several APIs' comments

2018-10-07 Thread Bin Meng
The pre_reloc_only parameter description currently only mentions drivers with the DM_FLAG_PRE_RELOC flag, but does not mention the special device tree properties. Correct them. Signed-off-by: Bin Meng --- Changes in v2: None include/dm/device-internal.h | 4 ++-- include/dm/lists.h

[U-Boot] [PATCH v2 7/8] test: dm: core: Add a test case for driver marked with DM_FLAG_PRE_RELOC flag

2018-10-07 Thread Bin Meng
Now that we fixed the pre-relocation driver binding for driver marked with DM_FLAG_PRE_RELOC flag, add a test case to cover that scenario. Signed-off-by: Bin Meng --- Changes in v2: None arch/sandbox/dts/test.dts | 4 test/dm/bus.c | 2 +- test/dm/test-fdt.c| 29

[U-Boot] [PATCH v2 6/8] dm: core: Mirror the chosen node parse logic in the livetree scanning

2018-10-07 Thread Bin Meng
Commit f2006808f099: ("dm: core: parse chosen node") added a logic to parse the chosen node during dm_scan_fdt_node(), but unfortunately it missed adding the same logic in dm_scan_fdt_live(). This mirrors the logic in the livetree version. The weird thing is that commit f2006808f099 did update

[U-Boot] [PATCH v2 23/33] armv8: ls1046aqds: Add TFABOOT support

2018-10-07 Thread Rajesh Bhagat
TFABOOT support includes: - ls1046aqds_tfa_defconfig to be loaded by trusted firmware - environment address and size changes for TFABOOT - FMAN address changes for TFABOOT - define BOOTCOMMAND for TFABOOT Signed-off-by: Pankit Garg Signed-off-by: Rajesh Bhagat --- Change in v2:

[U-Boot] [PATCH v2 28/33] armv8: ls1043aqds: Add TFABOOT defconfig for secure boot

2018-10-07 Thread Rajesh Bhagat
From: Vinitha V Pillai This defconfig is for Secure TFABOOT, to be loaded by trusted firmware Signed-off-by: Vinitha V Pillai --- Change in v2: None configs/ls1043aqds_tfa_SECURE_BOOT_defconfig | 58 1 file changed, 58 insertions(+) create mode 100644

[U-Boot] [PATCH v2 24/33] armv8: ls1046aqds: Add TFABOOT defconfig for secure boot

2018-10-07 Thread Rajesh Bhagat
From: Vinitha V Pillai This defconfig is for Secure TFABOOT, to be loaded by trusted firmware Signed-off-by: Vinitha V Pillai --- Change in v2: None configs/ls1046aqds_tfa_SECURE_BOOT_defconfig | 58 1 file changed, 58 insertions(+) create mode 100644

[U-Boot] [PATCH v2 06/33] armv8: layerscape: Enable routing SError exception

2018-10-07 Thread Rajesh Bhagat
From: York Sun In case SError happens at EL2, if SCR_EL3[EA] is not routing it to EL3, and SCR_EL3[RW] is set to aarch64, setting HCR_EL2[AMO] routes the exception to EL2. Otherwise this exception is not taken. Signed-off-by: York Sun --- Change in v2: None

[U-Boot] [PATCH v2 19/33] net: fm: add TFABOOT support

2018-10-07 Thread Rajesh Bhagat
Adds TFABOOT support and allows to pick FMAN firmware on basis of boot source. Signed-off-by: Pankit Garg Signed-off-by: Rajesh Bhagat --- Change in v2: None drivers/net/fm/fm.c | 102 ++-- 1 file changed, 98 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH v2 01/33] move data structure out of cpu.h

2018-10-07 Thread Rajesh Bhagat
From: York Sun Move static definitions to cpu.c file, as it doesn't allow the cpu.h file to be included in multiple c files. Signed-off-by: York Sun --- Change in v2: None arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 297 + .../arm/include/asm/arch-fsl-layerscape/cpu.h |

[U-Boot] [PATCH v2 00/33] TF-A Boot support for NXP Chassis 2 platforms

2018-10-07 Thread Rajesh Bhagat
Includes changes in u-boot framework to support TF-A for NXP Chassis 2 platforms. A new defconfig is added namely ls*_ram_defconfig which will be used for all boot sources when TF-A is used.

[U-Boot] [PATCH v2 02/33] env: allow flash and nand env driver to compile together

2018-10-07 Thread Rajesh Bhagat
Define env_ptr as static in flash and nand env driver to allow these to compile together. Signed-off-by: Rajesh Bhagat --- Change in v2: None env/flash.c | 4 ++-- env/nand.c| 6 +++--- include/environment.h | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff

[U-Boot] [PATCH v2 20/33] drivers: qe: add TFABOOT support

2018-10-07 Thread Rajesh Bhagat
Adds TFABOOT support and allows to pick QE firmware on basis of boot source. Signed-off-by: Pankit Garg Signed-off-by: Rajesh Bhagat --- Change in v2: None drivers/qe/qe.c | 81 + 1 file changed, 81 insertions(+) diff --git a/drivers/qe/qe.c

[U-Boot] [PATCH v2 29/33] armv8: ls1012ardb: Add TFABOOT support

2018-10-07 Thread Rajesh Bhagat
TFABOOT support includes: - ls1012ardb_tfa_defconfig to be loaded by trusted firmware - environment address and size changes for TFABOOT - define BOOTCOMMAND for TFABOOT Signed-off-by: Rajesh Bhagat Signed-off-by: Pankit Garg --- Change in v2:

[U-Boot] [PATCH v2 15/33] armv8: fsl-layerscape: Update parsing boot source

2018-10-07 Thread Rajesh Bhagat
From: York Sun Workaround of erratum A010539 clears the RCW source field in PORSR1 register, causing failure of detecting boot source using this method. Use SMC call if U-Boot runs at EL2. If SMC is not implemented or running at EL3, continue to read PORSR1 and presume QSPI as boot source if

[U-Boot] [PATCH v2 11/33] armv8: fsl-layerscape: bootcmd identification for TFABOOT

2018-10-07 Thread Rajesh Bhagat
From: Pankit Garg Adds bootcmd identificaton on basis on boot source, valid in TFABOOT configuration. Signed-off-by: Rajesh Bhagat Signed-off-by: Pankit Garg --- Change in v2: None arch/arm/cpu/armv8/fsl-layerscape/soc.c | 78 + 1 file changed, 78 insertions(+) diff

[U-Boot] [PATCH v2 10/33] armv8: layerscape: remove EL3 specific erratas for TFABOOT

2018-10-07 Thread Rajesh Bhagat
Removes EL3 specific erratas for TFABOOT, And now taken care in TFA. ARM_ERRATA_855873, SYS_FSL_ERRATUM_A008850, SYS_FSL_ERRATUM_A008511, SYS_FSL_ERRATUM_A008336, SYS_FSL_ERRATUM_A009663, SYS_FSL_ERRATUM_A009803 SYS_FSL_ERRATUM_A009942, SYS_FSL_ERRATUM_A010165 Signed-off-by: Rajesh Bhagat ---

[U-Boot] [PATCH v2 05/33] driver/ifc: replace __ilog2 with LOG2 macro

2018-10-07 Thread Rajesh Bhagat
Replaces __ilog2 function call with LOG2 macro, required to use macros in global variables. Also, corrects the value passed in LOG2 for some PowerPC platforms. Minimum value that can be configured is is 64K for IFC IP. Signed-off-by: Pankit Garg Signed-off-by: Rajesh Bhagat --- Change in v2:

[U-Boot] [PATCH v2 04/33] env: nand: remove unnecessary env_ptr definition

2018-10-07 Thread Rajesh Bhagat
env_ptr is not used when ENV_IS_EMBEDDED and CONFIG_NAND_ENV_DST is not defined. Hence, remove it. Signed-off-by: Rajesh Bhagat --- Change in v2: None env/nand.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/env/nand.c b/env/nand.c index 4d04bbb164..29eda66fad 100644 --- a/env/nand.c

Re: [U-Boot] [PATCH] arm: socfpga: fix SPL booting from fpga OnChip RAM

2018-10-07 Thread Simon Goldschmidt
On 06.10.2018 22:38, Tom Rini wrote: On Sat, Oct 06, 2018 at 10:33:42PM +0200, Simon Goldschmidt wrote: This patch prevents disabling the FPGA bridges when SPL or U-Boot is executed from FPGA onchip RAM. Signed-off-by: Simon Goldschmidt --- There are other patches required to make boot

[U-Boot] [PATCH] ARM: omap3_logic.c: Optimize DDR timings based on OMAP35 or 36/37

2018-10-07 Thread Adam Ford
The default timings are assumming an OMAP36 / AM37 / DM37, but the OMAP35 controller is a bit slower, so DDR may operate out of spec when under stress. This patch checks the processor type and sets the DDR timings according to processor type. Fixes: 5ad4212ce0d5 ("ARM: DTS: Add Logic PD

[U-Boot] [PATCH] ARM: mach-omap2: Kconfig: Make SYS_MPUCLK dependent on AM33XX

2018-10-07 Thread Adam Ford
This value is unly used in arch/arm/mach-omap2/am33xx/ clock_am33xx.c, so let's make it dependent on AM33XX since that is the only way this file gets compiled into the code according to the Makefile. Signed-off-by: Adam Ford diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig

[U-Boot] [PATCH v2 05/33] driver/ifc: replace __ilog2 with LOG2 macro

2018-10-07 Thread Rajesh Bhagat
Replaces __ilog2 function call with LOG2 macro, required to use macros in global variables. Also, corrects the value passed in LOG2 for some PowerPC platforms. Minimum value that can be configured is is 64K for IFC IP. Signed-off-by: Pankit Garg Signed-off-by: Rajesh Bhagat --- Change in v2:

[U-Boot] [PATCH v2 21/33] armv8: ls1046ardb: Add TFABOOT support

2018-10-07 Thread Rajesh Bhagat
TFABOOT support includes: - ls1046ardb_tfa_defconfig to be loaded by trusted firmware - environment address and size changes for TFABOOT - FMAN address changes for TFABOOT - define BOOTCOMMAND for TFABOOT Signed-off-by: York Sun Signed-off-by: Pankit Garg Signed-off-by: Rajesh Bhagat ---

[U-Boot] [PATCH v2 13/33] armv8: layerscape: add SMC calls for DDR size and bank info

2018-10-07 Thread Rajesh Bhagat
Adds SMC calls for getting DDR size and bank info for TFABOOT. Signed-off-by: Rajesh Bhagat Signed-off-by: Pankit Garg --- Change in v2: None arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 84 +++ .../arm/include/asm/arch-fsl-layerscape/soc.h | 4 + 2 files changed, 88

[U-Boot] [PATCH v2 14/33] armv8: layerscape: skip OCRAM init for TFABOOT

2018-10-07 Thread Rajesh Bhagat
OCRAM initialization is performed by TFA, Hence skipped from u-boot. Signed-off-by: Ruchika Gupta --- Change in v2: None arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S

[U-Boot] [PATCH v2 17/33] armv8: sec_firmware: change el2_to_aarch32 SMC ID

2018-10-07 Thread Rajesh Bhagat
Changes the el2_to_aarch32 SMC ID from 0xc000ff04 to 0xc200ff17, it is applicable to both TFA and non-TFA boot. Signed-off-by: Rajesh Bhagat --- Change in v2: None arch/arm/cpu/armv8/sec_firmware_asm.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v2 00/33] TF-A Boot support for NXP Chassis 2 platforms

2018-10-07 Thread Rajesh Bhagat
Includes changes in u-boot framework to support TF-A for NXP Chassis 2 platforms. A new defconfig is added namely ls*_ram_defconfig which will be used for all boot sources when TF-A is used.

[U-Boot] [PATCH v2 22/33] armv8: ls1046ardb: Add TFABOOT defconfig for secure boot

2018-10-07 Thread Rajesh Bhagat
From: Vinitha V Pillai This defconfig is for Secure TFABOOT, to be loaded by trusted firmware Signed-off-by: Vinitha V Pillai --- Change in v2: None configs/ls1046ardb_tfa_SECURE_BOOT_defconfig | 52 1 file changed, 52 insertions(+) create mode 100644

[U-Boot] [PATCH v2 20/33] drivers: qe: add TFABOOT support

2018-10-07 Thread Rajesh Bhagat
Adds TFABOOT support and allows to pick QE firmware on basis of boot source. Signed-off-by: Pankit Garg Signed-off-by: Rajesh Bhagat --- Change in v2: None drivers/qe/qe.c | 81 + 1 file changed, 81 insertions(+) diff --git a/drivers/qe/qe.c

[U-Boot] [PATCH v2 04/33] env: nand: remove unnecessary env_ptr definition

2018-10-07 Thread Rajesh Bhagat
env_ptr is not used when ENV_IS_EMBEDDED and CONFIG_NAND_ENV_DST is not defined. Hence, remove it. Signed-off-by: Rajesh Bhagat --- Change in v2: None env/nand.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/env/nand.c b/env/nand.c index 4d04bbb164..29eda66fad 100644 --- a/env/nand.c

[U-Boot] [PATCH v2 27/33] armv8: ls1043aqds: Add TFABOOT support

2018-10-07 Thread Rajesh Bhagat
armv8: ls1043ardb: Add TFABOOT support TFABOOT support includes: - ls1043aqds_tfa_defconfig to be loaded by trusted firmware - environment address and size changes for TFABOOT - define BOOTCOMMAND for TFABOOT Signed-off-by: Pankit Garg Signed-off-by: Rajesh Bhagat --- Change in v2:

[U-Boot] [PATCH v2 16/33] armv8: fsl-layerscape: add support of MC framework for TFA

2018-10-07 Thread Rajesh Bhagat
From: Pankit Garg Add support of MC framework for TFA Make MC framework independent of boot source. Signed-off-by: Rajesh Bhagat Signed-off-by: Pankit Garg --- Change in v2: None arch/arm/cpu/armv8/fsl-layerscape/soc.c | 50 + 1 file changed, 50 insertions(+) diff

[U-Boot] [PATCH v2 18/33] armv8: sec_firmware: return job ring status as true in TFABOOT

2018-10-07 Thread Rajesh Bhagat
From: Pankit Garg Returns job ring status as true in TFABOOT, as one job ring is always reserved. Signed-off-by: Ruchika Gupta Signed-off-by: Pankit Garg --- Change in v2: None arch/arm/cpu/armv8/sec_firmware.c | 4 1 file changed, 4 insertions(+) diff --git

[U-Boot] [PATCH v2 12/33] armv8: layerscape: secure boot support for environment selection

2018-10-07 Thread Rajesh Bhagat
Add secure boot support for environment selection. Signed-off-by: Pankit Garg Signed-off-by: Rajesh Bhagat --- Change in v2: None arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c

[U-Boot] [PATCH v2 18/33] armv8: sec_firmware: return job ring status as true in TFABOOT

2018-10-07 Thread Rajesh Bhagat
From: Pankit Garg Returns job ring status as true in TFABOOT, as one job ring is always reserved. Signed-off-by: Ruchika Gupta Signed-off-by: Pankit Garg --- Change in v2: None arch/arm/cpu/armv8/sec_firmware.c | 4 1 file changed, 4 insertions(+) diff --git

[U-Boot] [PATCH v2 25/33] armv8: ls1043ardb: Add TFABOOT support

2018-10-07 Thread Rajesh Bhagat
TFABOOT support includes: - ls1043ardb_tfa_defconfig to be loaded by trusted firmware - environment address and size changes for TFABOOT - FMAN and QE address changes for TFABOOT - define BOOTCOMMAND for TFABOOT Signed-off-by: Pankit Garg Signed-off-by: Rajesh Bhagat --- Change in v2:

[U-Boot] [PATCH v2 09/33] armv8: fsl-layerscape: identify boot source from PORSR register

2018-10-07 Thread Rajesh Bhagat
PORSR register holds the cfg_rcw_src field which can be used to identify boot source. Further, it can be used to select the environment location. Signed-off-by: Pankit Garg Signed-off-by: Rajesh Bhagat --- Change in v2: None arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 190

[U-Boot] [PATCH v2 23/33] armv8: ls1046aqds: Add TFABOOT support

2018-10-07 Thread Rajesh Bhagat
TFABOOT support includes: - ls1046aqds_tfa_defconfig to be loaded by trusted firmware - environment address and size changes for TFABOOT - FMAN address changes for TFABOOT - define BOOTCOMMAND for TFABOOT Signed-off-by: Pankit Garg Signed-off-by: Rajesh Bhagat --- Change in v2:

[U-Boot] [PATCH v2 22/33] armv8: ls1046ardb: Add TFABOOT defconfig for secure boot

2018-10-07 Thread Rajesh Bhagat
From: Vinitha V Pillai This defconfig is for Secure TFABOOT, to be loaded by trusted firmware Signed-off-by: Vinitha V Pillai --- Change in v2: None configs/ls1046ardb_tfa_SECURE_BOOT_defconfig | 52 1 file changed, 52 insertions(+) create mode 100644

[U-Boot] [PATCH v2 03/33] env: sf: define API to override sf environment address

2018-10-07 Thread Rajesh Bhagat
Defines env_sf_get_env_addr API to override sf environment address, required to support multiple environment. Signed-off-by: Rajesh Bhagat --- Change in v2: None env/sf.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/env/sf.c b/env/sf.c index

[U-Boot] [PATCH v2 06/33] armv8: layerscape: Enable routing SError exception

2018-10-07 Thread Rajesh Bhagat
From: York Sun In case SError happens at EL2, if SCR_EL3[EA] is not routing it to EL3, and SCR_EL3[RW] is set to aarch64, setting HCR_EL2[AMO] routes the exception to EL2. Otherwise this exception is not taken. Signed-off-by: York Sun --- Change in v2: None

[U-Boot] [PATCH v2 31/33] armv8: ls1012aqds: Add TFABOOT support

2018-10-07 Thread Rajesh Bhagat
TFABOOT support includes: - ls1012aqds_tfa_defconfig to be loaded by trusted firmware - environment address and size changes for TFABOOT - define BOOTCOMMAND for TFABOOT Signed-off-by: Rajesh Bhagat Signed-off-by: Pankit Garg --- Change in v2:

[U-Boot] [PATCH v2 33/33] armv8: ls1012a: fix ls1012aqds secure boot compilation

2018-10-07 Thread Rajesh Bhagat
From: Vinitha V Pillai Includes environment.h file in ls1012aqds.c Also, enables pfe validation in ls1012ardb. Signed-off-by: Vinitha V Pillai --- Change in v2: None board/freescale/ls1012aqds/Kconfig | 10 ++ board/freescale/ls1012aqds/ls1012aqds.c | 6 ++

[U-Boot] [PATCH v2 32/33] armv8: ls1012aqds: Add TFABOOT defconfig for secure boot

2018-10-07 Thread Rajesh Bhagat
From: Vinitha V Pillai This defconfig is for Secure TFABOOT, to be loaded by trusted firmware Signed-off-by: Vinitha V Pillai --- Change in v2: None configs/ls1012aqds_tfa_SECURE_BOOT_defconfig | 65 1 file changed, 65 insertions(+) create mode 100644

Re: [U-Boot] [PATCH 5/6] test: Add PCI device entry without compat string and with DT node

2018-10-07 Thread Marek Vasut
On 10/01/2018 01:44 PM, Marek Vasut wrote: > On 09/25/2018 05:26 PM, Bin Meng wrote: >> Hi Marek, >> >> On Sat, Sep 22, 2018 at 7:02 AM Marek Vasut wrote: >>> >>> Add PCI entry without compatible string and with a DT node only with >>> reg = <...> property into the DT. This is needed for the

Re: [U-Boot] [PATCH 5/6] test: Add PCI device entry without compat string and with DT node

2018-10-07 Thread Bin Meng
Hi Marek, On Sun, Oct 7, 2018 at 8:12 PM Marek Vasut wrote: > > On 10/01/2018 01:44 PM, Marek Vasut wrote: > > On 09/25/2018 05:26 PM, Bin Meng wrote: > >> Hi Marek, > >> > >> On Sat, Sep 22, 2018 at 7:02 AM Marek Vasut wrote: > >>> > >>> Add PCI entry without compatible string and with a DT

Re: [U-Boot] [PATCH] linux/compat.h: Add netdev_### log macros

2018-10-07 Thread Bin Meng
Hi Joe, On Sat, Sep 15, 2018 at 4:37 AM Joe Hershberger wrote: > > Hi Bin, > On Tue, Sep 11, 2018 at 5:07 AM Bin Meng wrote: > > > > Hi Joe, > > > > On Fri, Jul 27, 2018 at 2:52 AM Joe Hershberger > > wrote: > > > > > > On Thu, Jul 26, 2018 at 5:15 AM, Bin Meng wrote: > > > > Currently there

  1   2   >