Re: [U-Boot] [U-Boot,v6,04/10] optee: Add CONFIG_OPTEE_LOAD_ADDR

2018-03-19 Thread Tom Rini
On Tue, Mar 13, 2018 at 04:50:30PM +, Bryan O'Donoghue wrote: > CONFIG_OPTEE_LOAD_ADDR is used to tell u-boot where to load the OPTEE > binary into memory prior to handing off control to OPTEE. > > We need to pull this value out of u-boot in order to produce an IMX IVT/CSF > signed pair for t

Re: [U-Boot] [U-Boot,v2,02/15] spl: add SPL_RESET_SUPPORT

2018-03-19 Thread Tom Rini
On Mon, Mar 12, 2018 at 10:46:05AM +0100, Patrick Delaunay wrote: > Add option to include RESET driver and uclass in SPL. > That can be useful to handle IP reset with same driver > in U-Boot and in SPL. > > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom signature.a

Re: [U-Boot] [U-Boot, v6, 06/10] optee: Add optee_image_get_load_addr()

2018-03-19 Thread Tom Rini
On Tue, Mar 13, 2018 at 04:50:32PM +, Bryan O'Donoghue wrote: > This patch adds optee_image_get_load_addr() a helper function used to > calculate the load-address of an OPTEE image based on the lower > entry-point address given in the OPTEE header. > > Signed-off-by: Bryan O'Donoghue > Cc: H

Re: [U-Boot] [U-Boot, 3/4] pci: Remove unused ppc4xx variable from struct pci_controller

2018-03-19 Thread Tom Rini
On Tue, Mar 13, 2018 at 08:41:09AM +0100, Stefan Roese wrote: > ppc4xx support was removed some time ago. Lets remove the now unused > "pci_fb" variable from "struct pci_controller" as well. > > Signed-off-by: Stefan Roese > Cc: Bin Meng > Cc: Simon Glass Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot,v2,08/15] ram: stm32mp1: add driver

2018-03-19 Thread Tom Rini
On Mon, Mar 12, 2018 at 10:46:11AM +0100, Patrick Delaunay wrote: > Add driver and binding for stm32mp1 ddr controller and phy > > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [U-Boot, v6, 05/10] optee: Add optee_image_get_entry_point()

2018-03-19 Thread Tom Rini
On Tue, Mar 13, 2018 at 04:50:31PM +, Bryan O'Donoghue wrote: > Add a helper function for extracting the least significant 32 bits from the > OPTEE entry point address, which will be good enough to load OPTEE binaries > up to (2^32)-1 bytes. > > We may need to extend this out later on but for

Re: [U-Boot] [U-Boot, v2, 11/15] reset: stm32: adapt driver for stm32mp1

2018-03-19 Thread Tom Rini
On Mon, Mar 12, 2018 at 10:46:14AM +0100, Patrick Delaunay wrote: > - move to livetree and allow to get address to parent > - add stm32mp1 compatible for probe > > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot, v2, 14/15] dts: add device tree for STM32MP157C-ED1 board

2018-03-19 Thread Tom Rini
On Mon, Mar 12, 2018 at 10:46:17AM +0100, Patrick Delaunay wrote: > Add minimal devicetree for STM32MP157C-ED1 board, > with only the devices to allow boot from SDCARD: > - RCC for clock and reset > - UART4 for console > - I2C and PMIC > - DDR > - SDMMC0 for SDCard > > Waiting Kernel upstream for

Re: [U-Boot] [U-Boot,v6,03/10] optee: Add CONFIG_OPTEE_TZDRAM_BASE

2018-03-19 Thread Tom Rini
On Tue, Mar 13, 2018 at 04:50:29PM +, Bryan O'Donoghue wrote: > OPTEE is currently linked to a specific area of memory called the TrustZone > DRAM. This patch adds a CONFIG entry for the default address of TrustZone > DRAM that a board-port can over-ride. The region that U-Boot sets aside for

Re: [U-Boot] [U-Boot, 2/4] nand: Remove unused ppc4xx NAND driver and references

2018-03-19 Thread Tom Rini
On Tue, Mar 13, 2018 at 08:41:08AM +0100, Stefan Roese wrote: > ppc4xx support was removed some time ago. Lets remove the now unused > NAND driver and all its references for this platform as well. > > Signed-off-by: Stefan Roese > Cc: Heinrich Schuchardt > Cc: Scott Wood Applied to u-boot/mas

Re: [U-Boot] [U-Boot, v2, 06/15] stm32mp: stm32f7_i2c: use calloc instead of kmalloc

2018-03-19 Thread Tom Rini
On Mon, Mar 12, 2018 at 10:46:09AM +0100, Patrick Delaunay wrote: > Kmalloc is using memalign allocation function. It is not necessary to > align this structure so to save bytes, we move to calloc. > > And kmalloc function can't be used in SPL early stage (in board_init_f()) > > Signed-off-by: P

Re: [U-Boot] [U-Boot, v6, 10/10] bootm: optee: Add a bootm command for type IH_OS_TEE

2018-03-19 Thread Tom Rini
On Tue, Mar 13, 2018 at 04:50:36PM +, Bryan O'Donoghue wrote: > This patch makes it possible to verify the contents and location of an > OPTEE image in DRAM prior to handing off control to that image. If image > verification fails we won't try to boot any further. > > Signed-off-by: Bryan O'D

Re: [U-Boot] [U-Boot,4/4] MAINTAINERS: Remove unused ppc4xx entry

2018-03-19 Thread Tom Rini
On Tue, Mar 13, 2018 at 08:41:10AM +0100, Stefan Roese wrote: > ppc4xx support was removed some time ago. Lets remove the now unused > entry in MAINTAINERS as well. > > Signed-off-by: Stefan Roese > Cc: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot,v2,12/15] clk: add driver for stm32mp1

2018-03-19 Thread Tom Rini
On Mon, Mar 12, 2018 at 10:46:15AM +0100, Patrick Delaunay wrote: > add RCC clock driver for STMP32MP157 > - base on driver model = UCLASS_CLK > - support ops to enable, disable and get rate > of all SOC clock needed by U-Boot > > Signed-off-by: Patrick Delaunay Applied to u-boot/master, than

Re: [U-Boot] [U-Boot, v2, 11/15] reset: stm32: adapt driver for stm32mp1

2018-03-19 Thread Tom Rini
On Mon, Mar 12, 2018 at 10:46:14AM +0100, Patrick Delaunay wrote: > - move to livetree and allow to get address to parent > - add stm32mp1 compatible for probe > > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot, v6, 07/10] optee: Add optee_verify_bootm_image()

2018-03-19 Thread Tom Rini
On Tue, Mar 13, 2018 at 04:50:33PM +, Bryan O'Donoghue wrote: > This patch adds optee_verify_bootm_image() which will be subsequently used > to verify the parameters encoded in the OPTEE header match the memory > allocated to the OPTEE region, OPTEE header magic and version prior to > handing

Re: [U-Boot] [U-Boot, v6, 09/10] image: Add IH_OS_TEE for TEE chain-load boot

2018-03-19 Thread Tom Rini
On Tue, Mar 13, 2018 at 04:50:35PM +, Bryan O'Donoghue wrote: > This patch adds a new type IH_OS_TEE. This new OS type will be used for > chain-loading to Linux via a TEE. > > With this patch in-place you can generate a bootable OPTEE image like this: > > mkimage -A arm -T kernel -O tee -C n

Re: [U-Boot] [U-Boot,v6,08/10] optee: Add error printout

2018-03-19 Thread Tom Rini
On Tue, Mar 13, 2018 at 04:50:34PM +, Bryan O'Donoghue wrote: > When encountering an error in OPTEE verification print out various details > of the OPTEE header to aid in further debugging of encountered errors. > > Signed-off-by: Bryan O'Donoghue > Cc: Harinarayan Bhatta > Cc: Andrew F. Da

Re: [U-Boot] [U-Boot, v6, 01/10] optee: Add lib entries for sharing OPTEE code across ports

2018-03-19 Thread Tom Rini
On Tue, Mar 13, 2018 at 04:50:27PM +, Bryan O'Donoghue wrote: > This patch adds code to lib to enable sharing of useful OPTEE code between > board-ports and architectures. The code on lib/optee/optee.c comes from the > TI omap2 port. Eventually the OMAP2 code will be patched to include the > s

Re: [U-Boot] [U-Boot, v2, 07/15] arm: stm32: add new architecture for STM32MP family

2018-03-19 Thread Tom Rini
On Mon, Mar 12, 2018 at 10:46:10AM +0100, Patrick Delaunay wrote: > - add new arch stm32mp for STM32 MPU/Soc based on Cortex A > - support for stm32mp157 SOC > - SPL is used as first boot stage loader > - using driver model for all the drivers, even in SPL > - all security feature are deactivated

Re: [U-Boot] [U-Boot,v2,09/15] pmic: add stpmu1 support

2018-03-19 Thread Tom Rini
On Mon, Mar 12, 2018 at 10:46:12AM +0100, Patrick Delaunay wrote: > This driver implements register read/write operations for STPMU1. > > The STPMU1 PMIC provides 4 BUCKs, 6 LDOs, 1 VREF > and 2 power switches. It is accessed via an I2C interface. > This device is used with STM32MP1 SoCs. > > Si

[U-Boot] [PATCH] net: Drop CONFIG_ENC28J60

2018-03-19 Thread Tuomas Tynkkynen
Last user of this driver went away in October 2014 in commit d58a9451e7339ed4 ("ppc/arm: zap EMK boards"). Signed-off-by: Tuomas Tynkkynen --- drivers/net/Makefile | 1 - drivers/net/enc28j60.c | 959 - drivers/net/enc28j60.h | 238

Re: [U-Boot] [PATCH] net: Drop CONFIG_ENC28J60

2018-03-19 Thread Joe Hershberger
On Mon, Mar 19, 2018 at 7:02 PM, Tuomas Tynkkynen wrote: > Last user of this driver went away in October 2014 in > commit d58a9451e7339ed4 ("ppc/arm: zap EMK boards"). > > Signed-off-by: Tuomas Tynkkynen Acked-by: Joe Hershberger ___ U-Boot mailing li

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

2018-03-19 Thread Tom Rini
On Tue, Mar 20, 2018 at 01:30:02AM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > thanks, > Jagan. > > The following changes since commit b8aa55cb6414e512cce30bb7db3268eea934466d: > > common: move init_helpers.h prototypes in init.h (2018-03-16 14:56:59 -0400) > > are avail

Re: [U-Boot] [PATCH 2/2] usb: kbd: implement special keys

2018-03-19 Thread Tom Rini
On Mon, Mar 19, 2018 at 11:59:45AM -0600, Simon Glass wrote: > +Tom for comment > > Hi Heinrich, > > On 8 March 2018 at 15:04, Heinrich Schuchardt wrote: > > On 03/08/2018 09:30 PM, Simon Glass wrote: > >> Hi Heinrich, > >> > >> input.c uses PS/2 scan codes at present. However these are somewhat

Re: [U-Boot] [PATCH] dm: core: make fixed-clock dt scan live dt compatible

2018-03-19 Thread Andy Yan
Hi Simon: On 2018年03月20日 01:58, Simon Glass wrote: Hi Andy, On 10 March 2018 at 23:58, Andy Yan wrote: Hi Simon: On 2018年03月09日 05:03, Simon Glass wrote: Hi Andy. On 28 February 2018 at 23:08, Andy Yan wrote: dm_scan_fdt_node can't work when live dt is active, we should use dm_scan_fd

Re: [U-Boot] Please pull u-boot-usb/topic-xhci

2018-03-19 Thread Bin Meng
Hi Marek, On Mon, Mar 19, 2018 at 5:42 PM, Marek Vasut wrote: > On 03/19/2018 04:17 AM, Bin Meng wrote: >> Hi Marek, >> >> The following changes since commit 958ad42b77be9d9a69f059066622ef0c15c603ee: >> >> usb: dwc2: Replace printf, pr_err by dev_info, dev_err (2018-03-19 >> 11:03:46 +0800) >>

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

2018-03-19 Thread Tom Rini
On Mon, Mar 19, 2018 at 06:13:55PM +0100, Marek Vasut wrote: > The following changes since commit 6f6b7cfa89e5aa3b643196a4ccc8b1ba5d6fa7a4: > > Convert all of CONFIG_CONS_INDEX to Kconfig (2018-03-16 10:28:52 -0400) > > are available in the Git repository at: > > git://git.denx.de/u-boot-us

[U-Boot] [PATCH 1/2] video: rk3288_mipi: Combine NULL check into IS_ERR_OR_NULL()

2018-03-19 Thread Punit Agrawal
Signed-off-by: Punit Agrawal --- drivers/video/rockchip/rk3288_mipi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/rk3288_mipi.c b/drivers/video/rockchip/rk3288_mipi.c index 27d125f77e..a7fa9c5110 100644 --- a/drivers/video/rockchip/rk3288_mipi.c +++

Re: [U-Boot] [PATCH 1/1] video: rk3399_mipi: correct error checking

2018-03-19 Thread Punit Agrawal
Heinrich Schuchardt writes: > Pointers are never negative. Use macro IS_ERR() for checking. > cf. rk3288_mipi.c > > Signed-off-by: Heinrich Schuchardt > --- > drivers/video/rockchip/rk3399_mipi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/video/rockchip/rk3

[U-Boot] [PATCH 2/2] video: rk3399_mipi: Combine NULL check into IS_ERR_OR_NULL()

2018-03-19 Thread Punit Agrawal
Signed-off-by: Punit Agrawal --- drivers/video/rockchip/rk3399_mipi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/rk3399_mipi.c b/drivers/video/rockchip/rk3399_mipi.c index c6987ff042..b936fcec9b 100644 --- a/drivers/video/rockchip/rk3399_mipi.c +++

Re: [U-Boot] Please pull u-boot-usb/topic-xhci

2018-03-19 Thread Heinrich Schuchardt
On 03/20/2018 02:36 AM, Bin Meng wrote: > Hi Marek, > > On Mon, Mar 19, 2018 at 5:42 PM, Marek Vasut wrote: >> On 03/19/2018 04:17 AM, Bin Meng wrote: >>> Hi Marek, >>> >>> The following changes since commit 958ad42b77be9d9a69f059066622ef0c15c603ee: >>> >>> usb: dwc2: Replace printf, pr_err by

[U-Boot] [PATCH] ARM: am33xx: Inhibit re-initialization of DDR during RTC-only

2018-03-19 Thread Keerthy
From: Russ Dill This inhibits the re-inititialization of DDR during an RTC-only resume. If this is not done, an L3 NOC error is produced as the DDR gets accessed before the re-init has time to complete. Tested on AM437x GP EVM. Signed-off-by: Russ Dill [j-keer...@ti.com Ported to Latest Master

<    1   2