[U-Boot] [PATCH V2] imx: nitrogen6x: Convert Sabrelite to distro boot support

2018-04-08 Thread Guillaume GARDET
Boot tested with boot.scr script and EFI/Grub2 on mmc0 and mmc1 slots. Signed-off-by: Guillaume GARDET Cc: Troy Kisky Cc: Stefano Babic Cc: Fabio Estevam --- Changes in V2: * add mx6qsabrelite_defconfig update configs/mx6qsabrelite_defconfig | 16 ++-- include/configs/nitrogen6x.h

Re: [U-Boot] [PATCH v1 0/2] Fix DM_SCSI on DRA7 platforms

2018-04-08 Thread Michal Simek
On 6.4.2018 15:58, Jean-Jacques Hiblot wrote: > > > On 06/04/2018 14:00, Michal Simek wrote: >> Hi, >> >> On 6.4.2018 11:13, Jean-Jacques Hiblot wrote: >>> Enhancements to SCSI support for driver model have broken the support >>> for >>> DM_SCSI on DRA7 platforms. This series fixes it. >>> >>> Te

Re: [U-Boot] [RFC PATCH] net: phy: Don't limit phy addresses by default

2018-04-08 Thread Bin Meng
On Sat, Mar 31, 2018 at 12:52 AM, Joe Hershberger wrote: > Some boards expect to find more than one phy while other boards are old > and need to be limited to a specific phy address. Only limit the phy > address for boards that opt in. > > Signed-off-by: Joe Hershberger > > --- > > configs/am335

Re: [U-Boot] [PATCH] x86: Update the io.h file to use {out|in}_{be|le}X macros

2018-04-08 Thread Bin Meng
On Mon, Apr 9, 2018 at 9:47 AM, Bin Meng wrote: > On Thu, Mar 29, 2018 at 10:41 PM, Lukasz Majewski wrote: >> The commit 3f70a6f57734 ("x86: Add clr/setbits functions") >> introduced the {read|write}_ macros to manipulate data. >> >> Those macros are not used by any code in the u-boot project (de

Re: [U-Boot] [PATCH] x86: Update the io.h file to use {out|in}_{be|le}X macros

2018-04-08 Thread Bin Meng
On Thu, Mar 29, 2018 at 10:41 PM, Lukasz Majewski wrote: > The commit 3f70a6f57734 ("x86: Add clr/setbits functions") > introduced the {read|write}_ macros to manipulate data. > > Those macros are not used by any code in the u-boot project (despite the > io.h itself). Other architectures use io.h

[U-Boot] [PATCH 2/2] serial: Migrate CONFIG_FSL_LINFLEXUART to Kconfig

2018-04-08 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- configs/s32v234evb_defconfig| 1 + drivers/serial/Kconfig | 7 +++ drivers/serial/serial_linflexuart.c | 4 include/configs/s32v234evb.h| 1 - scripts/config_whitelist.txt| 1 - 5 files changed, 8 insertions(+), 6 d

[U-Boot] [PATCH 1/2] ARM: s32v234evb: Set CONFIG_DM & CONFIG_DM_SERIAL in Kconfig

2018-04-08 Thread Tuomas Tynkkynen
These symbols are declared in Kconfig, so it's wrong to set them in header files. Note that this is not size-neutral - some 'default y' options will now get turned on by Kconfig, such as CONFIG_CMD_DM=y and CONFIG_DM_STDIO=y. Signed-off-by: Tuomas Tynkkynen --- configs/s32v234evb_defconfig | 3

Re: [U-Boot] Marvell Armada-38x DDR training code

2018-04-08 Thread Chris Packham
On Sun, Apr 8, 2018 at 10:24 PM, Stefan Roese wrote: > Hi Chris, > > sorry for the late reply - I just returned from vacation. No problem. I'm about to head off on vacation next week myself. > On 04.04.2018 03:31, Chris Packham wrote: >> >> On Thu, Mar 29, 2018 at 4:01 PM, Chris Packham >> wrot

Re: [U-Boot] [PATCH v6] x86: Add 64-bit memory-mapped I/O functions

2018-04-08 Thread Bin Meng
On Sun, Apr 8, 2018 at 1:47 PM, Bin Meng wrote: > On Sat, Apr 7, 2018 at 5:43 AM, Ivan Gorinov wrote: >> Add readq() and writeq() definitions for x86. >> >> Please note: in 32-bit code readq/writeq will generate two 32-bit >> memory access instructions instead of one atomic 64-bit operation. >> >

Re: [U-Boot] [PATCH] arm64: Add SMC and HVC commands

2018-04-08 Thread Fabio Estevam
On Fri, Apr 6, 2018 at 7:06 AM, Michalis Pappas wrote: > +config CMD_HVC > + bool "Support the 'hvc' command" > + depends on ARM64 > + default n No need to pass 'default n' as this is already the default behavior. > + help > + Allows issuing Hypervisor Calls (HVC

Re: [U-Boot] [PATCH v5 2/2] timer: Add High Precision Event Timers (HPET) support

2018-04-08 Thread Bin Meng
Hi Ivan, On Sat, Apr 7, 2018 at 3:18 AM, Ivan Gorinov wrote: > Add HPET driver as an alternative timer for x86 (default is TSC). > HPET counter has constant frequency and does not need calibration. > This change also makes TSC timer driver optional on x86. > New HPET driver can also be selected a

Re: [U-Boot] [PATCH] arm64: Add SMC and HVC commands

2018-04-08 Thread Michalis Pappas
On 04/08/2018 04:50 PM, Simon Glass wrote: Please expand on this. Why do you want to do this, what sort of things can you do? Other than that: Reviewed-by: Simon Glass The main usecase is development / testing. My motivation was testing the Secure Payload of ARM Trusted Firmware on QEMU. F

Re: [U-Boot] [U-Boot, 4/7] treewide: Migrate CONFIG_DISPLAY_BOARDINFO_LATE to Kconfig

2018-04-08 Thread Tom Rini
On Wed, Mar 28, 2018 at 02:38:17PM +0200, Mario Six wrote: > Migrate the CONFIG_DISPLAY_BOARDINFO_LATE option to Kconfig. > > Signed-off-by: Mario Six Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mai

Re: [U-Boot] [U-Boot, 7/7] treewide: Convert CONFIG_HOSTNAME to a string option

2018-04-08 Thread Tom Rini
On Wed, Mar 28, 2018 at 02:38:20PM +0200, Mario Six wrote: > CONFIG_HOSTNAME is defined as a "plain" preprocessor string, but every > use is couched by __stringify(...). > > Hence, convert it to a proper string option. > > Signed-off-by: Mario Six Applied to u-boot/master, thanks! -- Tom s

Re: [U-Boot] [U-Boot, 5/7] treewide: Migrate CONFIG_TSEC_ENET to Kconfig

2018-04-08 Thread Tom Rini
On Wed, Mar 28, 2018 at 02:38:18PM +0200, Mario Six wrote: > Migrate the CONFIG_TSEC_ENET option to Kconfig. > > Signed-off-by: Mario Six Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-B

Re: [U-Boot] [U-Boot, 6/7] treewide: Migrate CONFIG_FSL_ESDHC to Kconfig

2018-04-08 Thread Tom Rini
On Wed, Mar 28, 2018 at 02:38:19PM +0200, Mario Six wrote: > Migrate the CONFIG_FSL_ESDHC option to Kconfig. > > Signed-off-by: Mario Six Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-B

Re: [U-Boot] [U-Boot, 2/7] treewide: Migrate CONFIG_BOARD_EARLY_INIT_R to Kconfig

2018-04-08 Thread Tom Rini
On Wed, Mar 28, 2018 at 02:38:15PM +0200, Mario Six wrote: > Migrate the CONFIG_BOARD_EARLY_INIT_R option to Kconfig. > > Signed-off-by: Mario Six Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing

Re: [U-Boot] [U-Boot, 3/7] treewide: Migrate CONFIG_LAST_STAGE_INIT to Kconfig

2018-04-08 Thread Tom Rini
On Wed, Mar 28, 2018 at 02:38:16PM +0200, Mario Six wrote: > Migrate the CONFIG_LAST_STAGE_INIT option to Kconfig. > > Signed-off-by: Mario Six Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing li

Re: [U-Boot] [U-Boot, 1/7] treewide: Migrate CONFIG_SYS_ALT_MEMTEST to Kconfig

2018-04-08 Thread Tom Rini
On Wed, Mar 28, 2018 at 02:38:14PM +0200, Mario Six wrote: > Migrate the CONFIG_SYS_ALT_MEMTEST option to Kconfig. > > Signed-off-by: Mario Six Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing li

Re: [U-Boot] [U-Boot, 36/36] rockchip: add common board file for rockchip platform

2018-04-08 Thread Tom Rini
On Sun, Apr 08, 2018 at 09:45:22AM +0800, Kever Yang wrote: > Philipp, > > > On 04/02/2018 05:28 AM, Philipp Tomsich wrote: > > > > > > On Tue, 27 Mar 2018, Kever Yang wrote: > > > >> We use common board/spl/tpl file for all rockchip SoCs, > >> - all the SoC spec setting should move into SoC file

Re: [U-Boot] [PATCH] arm64: Add SMC and HVC commands

2018-04-08 Thread Tom Rini
On Sun, Apr 08, 2018 at 07:47:20PM +0300, Michalis Pappas wrote: > > On 04/08/2018 04:50 PM, Simon Glass wrote: > >Please expand on this. Why do you want to do this, what sort of things > >can you do? > > > >Other than that: > > > >Reviewed-by: Simon Glass > The main usecase is development / test

Re: [U-Boot] [PATCH 01/10] mmc: uniphier-sd: Add compatible strings for RCar Gen2

2018-04-08 Thread Marek Vasut
On 04/08/2018 06:41 PM, Marek Vasut wrote: > On 02/20/2018 01:31 PM, Marek Vasut wrote: >> On 02/20/2018 01:54 AM, Jaehoon Chung wrote: >>> On 02/20/2018 02:02 AM, Marek Vasut wrote: On 02/19/2018 12:23 PM, Jaehoon Chung wrote: > On 02/01/2018 12:21 AM, Marek Vasut wrote: >> Add DT com

Re: [U-Boot] [PATCH 01/10] mmc: uniphier-sd: Add compatible strings for RCar Gen2

2018-04-08 Thread Marek Vasut
On 02/20/2018 01:31 PM, Marek Vasut wrote: > On 02/20/2018 01:54 AM, Jaehoon Chung wrote: >> On 02/20/2018 02:02 AM, Marek Vasut wrote: >>> On 02/19/2018 12:23 PM, Jaehoon Chung wrote: On 02/01/2018 12:21 AM, Marek Vasut wrote: > Add DT compatible strings for RCar Gen2 SoCs, so that this d

Re: [U-Boot] FIT Image with same kernel but different load/entry point

2018-04-08 Thread Tom Rini
On Tue, Apr 03, 2018 at 07:17:13PM +0200, Clément Péron wrote: > Hi, > > Is it possible to have one kernel entry in a FIT image with two > different load/entry point. > > I have 2 boards which share the same kernel but doesn't have the same > entry/load point. I think what you want is to use ker

Re: [U-Boot] [PATCH] kconfig: add CONFIG_CC_COVERAGE

2018-04-08 Thread Tom Rini
On Thu, Mar 29, 2018 at 09:49:30AM +0200, Christian Gmeiner wrote: > Make it possible to use gcc code coverage analysis. > > Signed-off-by: Christian Gmeiner > --- > .gitignore | 4 > Kconfig| 8 > Makefile | 6 ++ > 3 files changed, 18 insertions(+) > > diff --git a/.g

Re: [U-Boot] [PATCH v2 u-boot 2/2] reset: add sandbox test for bulk API

2018-04-08 Thread Simon Glass
Hi Neil, On 4 April 2018 at 04:45, Neil Armstrong wrote: > On 03/04/2018 19:53, Simon Glass wrote: >> On 3 April 2018 at 17:40, Neil Armstrong wrote: >>> This patch adds the bulk reset API tests for the sandbox test suite. >>> >>> Unlike the main test, it also check the "other" reset signal usin

Re: [U-Boot] [PATCH v3 2/3] dm: led: auto probe() LEDs with "default-state"

2018-04-08 Thread Simon Glass
On 4 April 2018 at 04:01, wrote: > From: Patrick Bruenn > > To avoid board specificy LED activation code, automatically > activate gpio-leds with "default-state" property during bind(). > > Signed-off-by: Patrick Bruenn > --- > > Changes in v3: None > Changes in v2: None > > drivers/led/led_gp

Re: [U-Boot] [PATCH v3 3/3] dm: led: add testcase for "default-state" property

2018-04-08 Thread Simon Glass
On 4 April 2018 at 04:01, wrote: > From: Patrick Bruenn > > Add two more gpio-leds to sandbox test device tree with default-state > property set to "on"/"off". > Add dm_test_led_default_state() to check that these new LED's are set to > LEDST_ON and LEDST_OFF. > > Signed-off-by: Patrick Bruenn

Re: [U-Boot] [PATCH v3 1/3] dm: led: Support "default-state" property

2018-04-08 Thread Simon Glass
On 4 April 2018 at 04:01, wrote: > From: Patrick Bruenn > > Add support for the device tree property "default-state". This feature > might be useful for LEDs indicating "power on" or similar states. > > Note: Even with this commit gpio-leds remain in reset state. That's > because the led_gpio is

Re: [U-Boot] [PATCH] arm64: Add SMC and HVC commands

2018-04-08 Thread Simon Glass
Hi, On 6 April 2018 at 18:06, Michalis Pappas wrote: > This patch adds smc and hvc commands, that allow issuing Secure Monitor > Calls and Hypervisor Calls conforming to the ARM SMC Calling Convention. > > Add Kconfig items to allow each command to be individually enabled. > > Signed-off-by: Mich

Re: [U-Boot] [PATCH v2 01/17] dm: core: add functions to get memory-mapped I/O addreses

2018-04-08 Thread Simon Glass
Hi Daniel, On 6 April 2018 at 20:45, Daniel Schwierzeck wrote: > Hi Simon, > > On 22.03.2018 19:39, Álvaro Fernández Rojas wrote: >> Signed-off-by: Álvaro Fernández Rojas >> --- >> drivers/core/fdtaddr.c | 12 >> drivers/core/read.c| 12 >> include/dm/fdtaddr.h |

Re: [U-Boot] [PATCH u-boot 2/2] ARM: meson: Add cpu info display for GX SoCs

2018-04-08 Thread Simon Glass
Hi, On 28 March 2018 at 05:54, Neil Armstrong wrote: > The Amlogic SoCs have a registers containing the die revision > and packaging type to determine the SoC family and package marketing > name like S905X for the GXL SoC Family. > This code is taken for the Linux meson-gx-socinfo driver and adap

Re: [U-Boot] [PATCH v2 09/17] warp7: defconfig: Enable CONFIG_BOOTM_TEE

2018-04-08 Thread Bryan O'Donoghue
On 07/04/18 13:32, Breno Matheus Lima wrote: Hi Bryan, 2018-04-02 19:42 GMT-03:00 Bryan O'Donoghue : This patch enables CONFIG_BOOTM_TEE. Once enabled its possible to chain-load Linux through OPTEE. Loading kernel to 0x8080 => run loadimage Load FDT to 0x8300 => run loadfdt Load OP

Re: [U-Boot] [PATCH v2 06/17] warp7: Print out the OPTEE DRAM region

2018-04-08 Thread Bryan O'Donoghue
On 07/04/18 13:36, Breno Matheus Lima wrote: Hi Bryan, 2018-04-02 19:42 GMT-03:00 Bryan O'Donoghue : Right now a region of 0x30 bytes is allocated at the end of DRAM for the purposes of loading an OPTEE firmware inside of it. This patch adds the printout of the relevant address ranges. S

Re: [U-Boot] [PATCH v2] tools: buildman: Don't use the working dir as build dir

2018-04-08 Thread Simon Glass
Hi Lothar, On 3 April 2018 at 16:16, Lothar Waßmann wrote: > Hi, > > On Mon, 2 Apr 2018 02:43:12 -0600 Simon Glass wrote: >> From: Lothar Waßmann >> >> When the U-Boot base directory happens to have the same name as the branch >> that buildman is directed to use via the '-b' option and no outpu

Re: [U-Boot] [PATCH v3] tools: buildman: Don't use the working dir as build dir

2018-04-08 Thread Simon Glass
On 8 April 2018 at 19:14, Simon Glass wrote: > From: Lothar Waßmann > > When the U-Boot base directory happens to have the same name as the branch > that buildman is directed to use via the '-b' option and no output > directory is specified with '-o', buildman happily starts removing the > whole

[U-Boot] [PATCH v3] tools: buildman: Don't use the working dir as build dir

2018-04-08 Thread Simon Glass
From: Lothar Waßmann When the U-Boot base directory happens to have the same name as the branch that buildman is directed to use via the '-b' option and no output directory is specified with '-o', buildman happily starts removing the whole U-Boot sources eventually only stopped with the error mes

Re: [U-Boot] Marvell Armada-38x DDR training code

2018-04-08 Thread Stefan Roese
Hi Chris, sorry for the late reply - I just returned from vacation. On 04.04.2018 03:31, Chris Packham wrote: On Thu, Mar 29, 2018 at 4:01 PM, Chris Packham wrote: Hi, I've posted a couple of improvements to the in-tree ddr training code but we've known for a while that u-boot proper is a bi