[U-Boot] [PATCH] rk3288: Add Vyasa initial board support

2017-08-26 Thread Jagan Teki
From: Jagan Teki This patch adds support for Vyasa RK3288 initial board support from Amarula. Boot from SDMMC: --- U-Boot SPL 2017.09-rc1-00111-g3656991-dirty (Aug 10 2017 - 11:40:45) Trying to boot from MMC1 U-Boot 2017.09-rc1-00111-g3656991-dirty (Aug 10 2017 - 11:40:45 +0530) Mo

Re: [U-Boot] [PATCH v1 1/2] imx: fix USB boot mode detection for i.MX 6UL and 6ULL

2017-08-26 Thread Sébastien Szymanski
Hello, > > On 25 Aug 2017, at 13:32, Stefano Babic wrote: > > On 16/08/2017 02:49, Stefan Agner wrote: >> From: Stefan Agner >> >> Add the reserved boot mode used in the bmode command for i.MX 6UL >> and 6ULL as introduced in commit 3fd9579085fa ("imx: mx6ull: fix USB >> bmode for i.MX 6UL an

Re: [U-Boot] [PATCH v1 1/2] imx: fix USB boot mode detection for i.MX 6UL and 6ULL

2017-08-26 Thread Jagan Teki
On Sat, Aug 26, 2017 at 12:58 PM, Sébastien Szymanski wrote: > Hello, > >> >> On 25 Aug 2017, at 13:32, Stefano Babic wrote: >> >> On 16/08/2017 02:49, Stefan Agner wrote: >>> From: Stefan Agner >>> >>> Add the reserved boot mode used in the bmode command for i.MX 6UL >>> and 6ULL as introduced

[U-Boot] [PATCH 5/6] ARM: uniphier: enable CONFIG_NAND_DENALI_DT

2017-08-26 Thread Masahiro Yamada
Migrate to the DT-based NAND init entry. Signed-off-by: Masahiro Yamada --- configs/uniphier_ld4_sld8_defconfig | 1 + configs/uniphier_pro4_defconfig | 1 + configs/uniphier_pxs2_ld6b_defconfig | 1 + 3 files changed, 3 insertions(+) diff --git a/configs/uniphier_ld4_sld8_defconfig b/c

[U-Boot] [PATCH 1/6] ARM: uniphier: replace with in pll settings

2017-08-26 Thread Masahiro Yamada
The #include was added for mdelay(). Later, the declaration of mdelay was moved to by commit 5bc516ed661a ("delay: collect {m, n, u}delay declarations to include/linux/delay.h"). There is no need to include now. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/clk/pll-ld11.c | 2 +

[U-Boot] [PATCH 6/6] ARM: uniphier: remove ad-hoc pin settings for NAND

2017-08-26 Thread Masahiro Yamada
This is now set up by the pinctrl driver when the NAND driver is probed. Remove the legacy code. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/board_init.c | 27 --- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/arch/arm/mach-uniphier/board_

[U-Boot] [PATCH 2/6] ARM: uniphier: move PLLCTRL register macros to each SoC .c file

2017-08-26 Thread Masahiro Yamada
The new SoC PXs3 changed the address of PLL, but still uses the same PLL name. We can not define SC_*PLLCTRL in the common header. Move them to per-SoC .c file. Also, fix some PLL comments. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/clk/pll-ld11.c | 11 +++ arch/arm/mac

[U-Boot] [PATCH 0/6] ARM: uniphier: update PLL settings and clean-up NAND settings

2017-08-26 Thread Masahiro Yamada
1-3: update PLL init code 4-6: clean up NAND adhoc code (the last two are only applicable after the Denali DT driver is applied.) http://patchwork.ozlabs.org/patch/805959/ Masahiro Yamada (6): ARM: uniphier: replace with in pll settings ARM: uniphier: move PLLCTRL register macro

[U-Boot] [PATCH 4/6] ARM: uniphier: remove unneeded NAND config options

2017-08-26 Thread Masahiro Yamada
CONFIG_NAND_DENALI select's CONFIG_SYS_NAND_SELF_INIT, so the NAND initialization process is driven by the driver itself. CONFIG_SYS_NAND_MAX_CHIPS and CONFIG_SYS_NAND_BASE are unused. Signed-off-by: Masahiro Yamada --- include/configs/uniphier.h | 3 --- 1 file changed, 3 deletions(-) diff --

[U-Boot] [PATCH 3/6] ARM: uniphier: add PLL settings for PXs3

2017-08-26 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/clk/pll-pxs3.c | 55 +++ 1 file changed, 55 insertions(+) diff --git a/arch/arm/mach-uniphier/clk/pll-pxs3.c b/arch/arm/mach-uniphier/clk/pll-pxs3.c index 201d3517a86a..e84d52b80f3b 100644 --- a/arch/arm/

Re: [U-Boot] [PATCH v2 4/4] rockchip: enable rockusb for all rockchip SoCs

2017-08-26 Thread Łukasz Majewski
Dear All, Hi Philipp, Andy, Tom On 25 Aug 2017, at 03:51, Andy Yan wrote: Hi Lukasz: 2017-08-22 18:05 GMT+08:00 Łukasz Majewski mailto:lu...@denx.de>>: Hi Kever, Philipp, I have no idea about the status of rockusb, it has been a long time on the list. Maybe Eddie or Lukasz have an

Re: [U-Boot] [U-Boot, 5/5] boot: fdt: fixup the memory dt nodes falcon boot

2017-08-26 Thread Jagan Teki
On Thu, Aug 3, 2017 at 1:02 AM, Tom Rini wrote: > On Wed, Aug 02, 2017 at 07:10:51PM +, York Sun wrote: >> On 04/18/2017 04:57 AM, B, Ravi wrote: >> > In single stage bootmode or falcon boot mode, >> > the SPL shall update the memory dt nodes >> > spl_fixup_fdt() based on DDR configuration for

Re: [U-Boot] [PATCH v2 4/4] rockchip: enable rockusb for all rockchip SoCs

2017-08-26 Thread Tom Rini
On Fri, Aug 25, 2017 at 01:06:55PM +0200, Łukasz Majewski wrote: > Hi Philipp, Andy, Tom > > > >>On 25 Aug 2017, at 03:51, Andy Yan wrote: > >> > >>Hi Lukasz: > >> > >>2017-08-22 18:05 GMT+08:00 Łukasz Majewski >>>: > >>Hi Kever, > >> > >> > >>Philipp, > >> > >>I have no

Re: [U-Boot] [PATCH v3 0/8] sf: improve support of (Q)SPI flash memories

2017-08-26 Thread Marek Vasut
On 08/26/2017 08:14 AM, Jagan Teki wrote: > On Sat, Aug 26, 2017 at 4:35 AM, Bin Meng wrote: >> On Sat, Aug 26, 2017 at 12:45 AM, Marek Vasut wrote: >>> On 08/25/2017 06:28 PM, Jagan Teki wrote: On Fri, Aug 25, 2017 at 9:43 PM, Marek Vasut wrote: > On 08/25/2017 06:07 PM, Jagan Teki wro

Re: [U-Boot] [PATCH v2 01/10] Introduce fdt_setprop_placeholder() method

2017-08-26 Thread Simon Glass
On 11 August 2017 at 02:52, Pantelis Antoniou wrote: > In some cases you need to add a property but the contents of it > are not known at creation time, merely the extend of it. > > This method allows you to create a property of a given size (filled > with garbage) while a pointer to the property

Re: [U-Boot] [PATCH v2 02/10] fdt: Allow stacked overlays phandle references

2017-08-26 Thread Simon Glass
On 11 August 2017 at 02:52, Pantelis Antoniou wrote: > This patch enables an overlay to refer to a previous overlay's > labels by performing a merge of symbol information at application > time. > > In a nutshell it allows an overlay to refer to a symbol that a previous > overlay has defined. It re

Re: [U-Boot] [PATCH] README: Fix typo in description of CONFIG_OF_EMBED

2017-08-26 Thread Simon Glass
On 25 August 2017 at 16:34, Nobuhiro Iwamatsu wrote: > The correct name is 'gd->fdt_blob', not 'gd->blob'. > > Signed-off-by: Nobuhiro Iwamatsu > CC: Simon Glass > --- > README | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass ___

Re: [U-Boot] [PATCH v2 04/10] fdt-overlay: Spit out a descriptive failure warning

2017-08-26 Thread Simon Glass
On 11 August 2017 at 02:52, Pantelis Antoniou wrote: > The most common trouble with overlays appears to be miscompiled > blobs without the -@ option. > > In case of an error, spit out a descriptive error message. > > Signed-off-by: Pantelis Antoniou > --- > cmd/fdt.c | 8 > co

Re: [U-Boot] [PATCH v2 03/10] fit: Introduce methods for applying overlays on fit-load

2017-08-26 Thread Simon Glass
Hi, On 11 August 2017 at 02:52, Pantelis Antoniou wrote: > Introduce an overlay based method for constructing a base DT blob > to pass to the kernel. > > Both canned and runtime feature selection is supported. > > Signed-off-by: Pantelis Antoniou > --- > common/image-fdt.c

Re: [U-Boot] [PATCH] fs: add fs_readdir()

2017-08-26 Thread Simon Glass
Hi Stefan, On 13 August 2017 at 17:01, Stefan Bruens wrote: > On Sonntag, 13. August 2017 23:36:57 CEST Simon Glass wrote: >> Hi Rob, >> >> On 10 August 2017 at 12:13, Rob Clark wrote: >> > On Sun, Aug 6, 2017 at 1:16 AM, Simon Glass wrote: >> >> Hi Rob, >> >> >> >> On 3 August 2017 at 13:36, R

Re: [U-Boot] [PATCH 4/4] rockchip: dts: rk3368: reduce the number of nodes seen in TPL

2017-08-26 Thread Simon Glass
On 14 August 2017 at 11:05, Philipp Tomsich wrote: > The RK3368 TPL stage always returns to the BootROM, so it has no need > for the eMMC, SD and SPI nodes. This marks those nodes (that should > be included in SPL, but not TPL) as 'u-boot,dm-spl'. > > Signed-off-by: Philipp Tomsich > --- > > ar

Re: [U-Boot] [PATCH 02/18] dm: timer: Convert to livetree

2017-08-26 Thread Simon Glass
On 16 August 2017 at 11:32, Philipp Tomsich wrote: > This updates dm_timer_init to support a live tree and deals with > some fallout (i.e. the need to restructure the code such, that we > don't need multiple discontinuous #if CONFIG_IS_ENABLED blocks). > > Signed-off-by: Philipp Tomsich > --- > >

Re: [U-Boot] [PATCH v2 07/10] dtbo: make dtbos special

2017-08-26 Thread Simon Glass
On 11 August 2017 at 02:52, Pantelis Antoniou wrote: > Special rule for dtbo generation > > Signed-off-by: Pantelis Antoniou > --- > scripts/Makefile.lib | 17 + > 1 file changed, 17 insertions(+) > Reviewed-by: Simon Glass ___ U-Boot

Re: [U-Boot] [RFC PATCH 1/4] rockchip: clk: rk3368: update for 32/64bit-aware OF_PLATDATA

2017-08-26 Thread Simon Glass
On 14 August 2017 at 11:05, Philipp Tomsich wrote: > With dtoc emitting fdt64_t for addresses (and region sizes), the > array indices for accessing the reg[] array needs to be adjusted. > This adjusts the clk_rk3368 driver to correctly handle OF_PLATDATA > given this new structure layout. > > Sign

Re: [U-Boot] [PATCH v3 3/5] spl: fit: Eanble GZIP support for image decompression

2017-08-26 Thread Simon Glass
On 15 August 2017 at 12:14, York Sun wrote: > Add Kconfig option SPL_GZIP and SPL_ZLIB to enable gunzip support for > SPL boot, eg. falcon boot compressed kernel image. > > Signed-off-by: York Sun > Reviewed-by: Tom Rini > > --- > > Changes in v3: > Replace ifdef with if IS_ENABLED(). > Add help

Re: [U-Boot] [RFC PATCH 3/4] rockchip: rk3368: adjust DMC driver for 32/64bit-aware OF_PLATDATA

2017-08-26 Thread Simon Glass
On 14 August 2017 at 11:05, Philipp Tomsich wrote: > With the new 32/64bit-aware dtoc, the type of reg is fdt64_t and the > OF_PLATDATA structure layout changes. This adjusts the DMC driver for > the RK3368 to track these changes. > > For the time being (i.e. until regmap_init_mem_platdata works

Re: [U-Boot] [PATCH] Kconfig: Add EEPROM options to Kconfig when I2C_EEPROM is set

2017-08-26 Thread Simon Glass
Hi Adam, On 13 August 2017 at 08:00, Adam Ford wrote: > Add the following options to drivers/misc/Kconfig: > SYS_I2C_EEPROM_ADDR > SYS_I2C_EEPROM_BUS > SYS_EEPROM_SIZE > SYS_EEPROM_PAGE_WRITE_BITS > SYS_EEPROM_PAGE_WRITE_DELAY_MS > SYS_I2C_EEPROM_AD

Re: [U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to Kconfig

2017-08-26 Thread Simon Glass
Hi Bin, On 13 August 2017 at 19:26, Bin Meng wrote: > Hi Simon, > > On Sun, Aug 13, 2017 at 11:35 PM, Simon Glass wrote: >> Hi Bin, >> >> On 6 August 2017 at 03:13, Bin Meng wrote: >>> Hi Simon, >>> >>> On Sun, Aug 6, 2017 at 1:16 PM, Simon Glass wrote: Hi Bin, On 3 August 2017

Re: [U-Boot] [PATCH v2 1/2] driver: timer: Add the Atmel PIT timer driver

2017-08-26 Thread Simon Glass
On 15 August 2017 at 03:40, Wenyou Yang wrote: > Add the new Atmel PIT timer driver, which supports the driver model > and device tree. > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: None > > arch/arm/mach-at91/arm926ejs/Makefile | 2 + > arch/arm/mach-at91/armv7/Makefile | 2 + >

Re: [U-Boot] [PATCH 01/18] bootstage: adjust Makefile to allow including bootstage in SPL, but not in TPL

2017-08-26 Thread Simon Glass
On 16 August 2017 at 11:32, Philipp Tomsich wrote: > For timing our bootstages on the RK3368, which has a minimal TPL > (and where we consequently don't want to time the bootstages) and a > full-featured SPL (where we can bootstage recording), we need to > adjust the Makefile. > > Use the $(SPL_TP

Re: [U-Boot] [PATCH v2 05/10] doc: Document how to apply fdt overlays

2017-08-26 Thread Simon Glass
On 11 August 2017 at 02:52, Pantelis Antoniou wrote: > We have the capability to apply overlays on the command line but > we didn't have a document explaining how. > > Signed-off-by: Pantelis Antoniou > --- > doc/README.fdt-overlays | 37 + > 1 file changed, 3

Re: [U-Boot] [PATCH 07/18] rockchip: timer: implement timer_get_boot_us

2017-08-26 Thread Simon Glass
On 16 August 2017 at 11:32, Philipp Tomsich wrote: > To make the Rockchip DM timer driver useful for the timing of > bootstages, we need a few enhancements: > - This implements timer_get_boot_us. > - This avoids reinitialising the timer, if it has already been >set up (e.g. by our TPL and SP

Re: [U-Boot] [PATCH 18/18] rockchip: lion-rk3368: defconfig: resync w/ OF_LIVE and BOOTSTAGE enabled

2017-08-26 Thread Simon Glass
On 16 August 2017 at 11:32, Philipp Tomsich wrote: > This adds OF_LIVE and BOOTSTAGE support for the RK3368-uQ7 and > regenerates the defconfig (picking up a few changes/reorderings) from > upstream Kconfig changes. > > Signed-off-by: Philipp Tomsich > --- > > configs/lion-rk3368_defconfig | 9 +

Re: [U-Boot] [PATCH v2 06/10] doc: overlays: Tweak documentation regarding overlays

2017-08-26 Thread Simon Glass
On 11 August 2017 at 02:52, Pantelis Antoniou wrote: > From: Franklin S Cooper Jr > > Pull some information regarding overlays from commit messages and > put them directly within the documentation. Also add some information > regarding required dtc version to properly use overlays. > > Signed-off

Re: [U-Boot] [PATCH 08/18] rockchip: timer: Convert to livetree

2017-08-26 Thread Simon Glass
On 16 August 2017 at 11:32, Philipp Tomsich wrote: > Update the Rockchip timer driver to support a live device tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/timer/rockchip_timer.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [U-Boot] [RFC PATCH 2/4] rockchip: timer: update for 32/64bit-aware OF_PLATDATA

2017-08-26 Thread Simon Glass
On 14 August 2017 at 11:05, Philipp Tomsich wrote: > With dtoc emitting fdt64_t for addresses (and region sizes), the array > indices for accessing the reg[] array needs to be adjusted. This > adjusts the Rockchip DM timer driver to correctly handle OF_PLATDATA > given this new structure layout.

Re: [U-Boot] [PATCH 03/18] dm: timer: handle being called before dm_root is ready

2017-08-26 Thread Simon Glass
On 16 August 2017 at 11:32, Philipp Tomsich wrote: > When used with bootstage recording, dm_timer_init may be called > surprisingly early: i.e. before dm_root is ready. To deal with > this case, we explicitly check for this condition and return > -EAGAIN to the caller (refer to drivers/timer/rockc

Re: [U-Boot] [PATCH v2 08/10] config: sandbox: Add unit tests

2017-08-26 Thread Simon Glass
On 11 August 2017 at 02:52, Pantelis Antoniou wrote: > Add unit tests for sandbox default config. > > Signed-off-by: Pantelis Antoniou > --- > configs/sandbox_defconfig | 2 ++ > 1 file changed, 2 insertions(+) I don't see any tests in this patch? > > diff --git a/configs/sandbox_defconfig b/c

Re: [U-Boot] [PATCH v2 11/19] rockchip: mkimage: add support for rockchip nand boot image

2017-08-26 Thread Simon Glass
Hi Pawel, On 11 August 2017 at 14:56, Paweł Jarosz wrote: > The Rockchip boot ROM requires a particular file format for booting from NAND: > > * It starts with 512-byte, rc4 encoded header and is aligned to nand page size > > * Then first 2KB of first stage loader (tpl) aligned to nand page size

Re: [U-Boot] [PATCH v2 10/10] test: overlay: Add unit test for stacked overlay

2017-08-26 Thread Simon Glass
On 11 August 2017 at 02:52, Pantelis Antoniou wrote: > Verify that stacked overlays work. > > Signed-off-by: Pantelis Antoniou > --- > test/overlay/Makefile | 1 + > test/overlay/cmd_ut_overlay.c | 34 > ++- > test/overlay/test-fdt-ov

Re: [U-Boot] [PATCH 06/18] rockchip: mmc: convert to livetree

2017-08-26 Thread Simon Glass
On 16 August 2017 at 11:32, Philipp Tomsich wrote: > Update the Rockchip-specific wrapper for the Designware driver to > support a live device tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/mmc/rockchip_dw_mmc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Si

Re: [U-Boot] [PATCH 02/13] x86: fsp: Update struct common_buf for FSP spec 1.1

2017-08-26 Thread Simon Glass
On 15 August 2017 at 23:41, Bin Meng wrote: > FSP spec 1.1 adds one more member to the struct common_buf to > determine the memory size that can be reserved by FSP below "top > of low usable memory" for bootloader usage. This new member uses > the reserved space so that it is still compatible with

Re: [U-Boot] [PATCH 2/4] serial: serial-uclass: Add generic serial RX buffer support

2017-08-26 Thread Simon Glass
Hi Stefan, On 16 August 2017 at 09:37, Stefan Roese wrote: > Pasting longer lines into the U-Boot console prompt sometimes leads to > characters missing. One problem here is the small 16-byte FIFO of the > legacy NS16550 UART, e.g. on x86 platforms. > > This patch now introduces a Kconfig option

Re: [U-Boot] [PATCH 09/18] rockchip: clk: rk3368: Convert to livetree

2017-08-26 Thread Simon Glass
On 16 August 2017 at 11:32, Philipp Tomsich wrote: > Update the clock driver for the RK3368 to support a live device tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/clk/rockchip/clk_rk3368.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass ___

Re: [U-Boot] [PATCH 14/18] rockchip: i2c: Convert to livetree

2017-08-26 Thread Simon Glass
On 16 August 2017 at 11:32, Philipp Tomsich wrote: > Update the Rockchip I2C driver to support livetree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/i2c/rk_i2c.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass __

Re: [U-Boot] [PATCH] Convert CONFIG_SPL_OMAP3_ID_NAND to Kconfig

2017-08-26 Thread Simon Glass
On 11 August 2017 at 07:51, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_SPL_OMAP3_ID_NAND > > Signed-off-by: Adam Ford > --- > README| 4 > arch/arm/mach-omap2/Kconfig | 1 + > arch/arm/mach-omap2/omap3/Kconfig | 6 ++ > inclu

Re: [U-Boot] [PATCH 5/5] x86: fsp: Configure SPI opcode registers before SPI is locked down

2017-08-26 Thread Simon Glass
Hi Bin, On 15 August 2017 at 23:38, Bin Meng wrote: > Some Intel FSP (like Braswell) does SPI lock-down during the call > to fsp_notify(INIT_PHASE_BOOT). But before SPI lock-down is done, > it's bootloader's responsibility to configure the SPI controller's > opcode registers properly otherwise SP

Re: [U-Boot] [PATCH 04/13] x86: Add Video BIOS Table (VBT) related Kconfig options

2017-08-26 Thread Simon Glass
On 15 August 2017 at 23:41, Bin Meng wrote: > This adds Kconfig options for Video BIOS Table which is normally > required if you are using an Intel FSP firmware that is complaint > with spec 1.1 or later to initialize the integrated graphics device. > > Signed-off-by: Bin Meng > --- > > arch/x86

Re: [U-Boot] [PATCH 12/13] x86: braswell: Disable PUNIT power configuration for B0 stepping

2017-08-26 Thread Simon Glass
On 15 August 2017 at 23:42, Bin Meng wrote: > FSP's built-in UPD configuration enables PUNIT power configuration, > but on B0 stepping, this causes CPU hangs in fsp_init(). Disable it. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/braswell/fsp_configs.c | 6 ++ > 1 file changed, 6 inser

Re: [U-Boot] [PATCH v3 5/5] spl: fit: Add booting OS first

2017-08-26 Thread Simon Glass
On 15 August 2017 at 12:14, York Sun wrote: > If CONFIG_SPL_OS_BOOT is enabled, boot OS if kernel image is found > in FIT structure. > > Signed-off-by: York Sun > Reviewed-by: Tom Rini > > --- > This presums the kernel image doesn't exist in a FIT image intended for > U-Boot. If kernel image nor

Re: [U-Boot] [PATCH 09/13] x86: Add Intel Braswell SoC support

2017-08-26 Thread Bin Meng
Hi Simon, On Sat, Aug 26, 2017 at 9:39 PM, Simon Glass wrote: > On 15 August 2017 at 23:41, Bin Meng wrote: >> This adds initial Intel Braswell SoC support. It uses Intel FSP >> to initialize the chipset. >> >> Similar to its predecessor BayTrail, there are some work to do to >> enable the legac

Re: [U-Boot] [PATCH] Convert CONFIG_NAND_OMAP_GPMC et al to Kconfig

2017-08-26 Thread Simon Glass
On 11 August 2017 at 07:03, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_NAND_OMAP_GPMC >CONFIG_NAND_OMAP_GPMC_PREFETCH >CONFIG_NAND_OMAP_ELM >CONFIG_SYS_NAND_BUSWIDTH_16BIT >CONFIG_SPL_NAND_AM33XX_BCH >CONFIG_SPL_NAND_SIMPLE > > Signed-off-by: Adam Fo

Re: [U-Boot] [PATCH 03/13] x86: fsp: Add FSP_GRAPHICS_INFO_HOB

2017-08-26 Thread Simon Glass
On 15 August 2017 at 23:41, Bin Meng wrote: > This adds a new HOB type for graphics information introduced in FSP > spec 1.1. When graphics capability is included in FSP and enabled, > FSP produces an FSP_GRAPHICS_INFO_HOB as described in the EFI PI > specification which provides information about

Re: [U-Boot] [PATCH 16/18] rockchip: gpio: remove outdate/misleading comment

2017-08-26 Thread Simon Glass
On 16 August 2017 at 11:32, Philipp Tomsich wrote: > Remove a comment claiming that this driver only supports the RK3288, > as we also use it on the RK3368, RK3399 and (most likely) on other > variants. > > Signed-off-by: Philipp Tomsich > --- > > drivers/gpio/rk_gpio.c | 1 - > 1 file changed,

Re: [U-Boot] [PATCH 08/13] x86: fsp: Update fsp command to show spec 1.1 header

2017-08-26 Thread Simon Glass
On 15 August 2017 at 23:41, Bin Meng wrote: > FSP spec 1.1 adds 3 new APIs and their offsets are in the header. > Update the 'fsp hdr' command to show these new entries. > > Signed-off-by: Bin Meng > --- > > arch/x86/include/asm/fsp/fsp_infoheader.h | 9 - > arch/x86/lib/fsp/cmd_fsp.c

Re: [U-Boot] [PATCH 10/18] rockchip: pinctrl: rk3368: Convert to livetree

2017-08-26 Thread Simon Glass
On 16 August 2017 at 11:32, Philipp Tomsich wrote: > Update the pinctrl driver for the RK3368 to support a live device tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/pinctrl/rockchip/pinctrl_rk3368.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v2 09/10] ut: fix fdt_getprop_u32() change

2017-08-26 Thread Simon Glass
On 11 August 2017 at 02:52, Pantelis Antoniou wrote: > fdt_getprop_u32 is not exported and it's different than what the > unit test uses. Rename u32 prop access methods to something that's > unit test specific. > > Signed-off-by: Pantelis Antoniou > --- > test/overlay/cmd_ut_overlay.c | 16 +

Re: [U-Boot] [PATCH 13/13] x86: Support Intel Cherry Hill board

2017-08-26 Thread Simon Glass
On 15 August 2017 at 23:42, Bin Meng wrote: > This adds support to Intel Cherry Hill board, a board based on > Intel Braswell SoC. The following devices are validated: > > - serial port as the serial console > - on-board Realtek 8169 ethernet controller > - SATA AHCI controller > - EMMC/SDHC contr

Re: [U-Boot] [PATCH 17/18] rockchip: dts: rk3368-lion: add /chosen/tick-timer

2017-08-26 Thread Simon Glass
On 16 August 2017 at 11:32, Philipp Tomsich wrote: > To support bootstage recording, we want to mark our DM timer as the > tick-timer; this triggers the support for 'trying harder' to read the > timer in the Rockchip DM timer driver, even if the device model isn't > ready yet. > > Signed-off-by: P

Re: [U-Boot] [PATCH 05/13] tools: binman: Add a new entry type for Intel VBT

2017-08-26 Thread Simon Glass
On 15 August 2017 at 23:41, Bin Meng wrote: > This adds a new entry type for Intel Video BIOS Table. > > Signed-off-by: Bin Meng > --- > > tools/binman/etype/intel_vbt.py| 14 ++ > tools/binman/func_test.py | 9 - > tools/binman/test/46_intel-vbt.dts | 14 ++

Re: [U-Boot] [PATCH 01/13] x86: tsc: Add Airmont reference clock values

2017-08-26 Thread Simon Glass
On 15 August 2017 at 23:41, Bin Meng wrote: > Per the Intel 64 and IA-32 Architecture Software Developer's Manual, > add the reference clock for Intel Atom Processors based on the Airmont > Microarchitecture (Braswell). > > This keeps in sync with Linux kernel commit: > 6fcb41c: x86/tsc_msr: Add

Re: [U-Boot] [PATCH 06/13] x86: dts: Include Intel Video BIOS Table in the ROM image

2017-08-26 Thread Simon Glass
On 15 August 2017 at 23:41, Bin Meng wrote: > Now that binman is able to recognize the Video BIOS Table entry, > add such one in the u-boot.dtsi. > > Signed-off-by: Bin Meng > --- > > arch/x86/dts/u-boot.dtsi | 6 ++ > 1 file changed, 6 insertions(+) Reviewed-by: Simon Glass __

Re: [U-Boot] [PATCH 13/18] rockchip: rk8xx: remove unused header includes

2017-08-26 Thread Simon Glass
On 16 August 2017 at 11:32, Philipp Tomsich wrote: > Remove header file includes that have been left over after the > conversion to livetree-support. > > Signed-off-by: Philipp Tomsich > --- > > drivers/power/pmic/rk8xx.c | 2 -- > 1 file changed, 2 deletions(-) Reviewed-by: Simon Glass __

Re: [U-Boot] [PATCH 15/18] rockchip: gpio: convert to livetree

2017-08-26 Thread Simon Glass
On 16 August 2017 at 11:32, Philipp Tomsich wrote: > Update the Rockchip GPIO-bank driver to support a live tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/gpio/rk_gpio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass ___

Re: [U-Boot] [PATCH 11/18] rockchip: spi: Convert to livetree

2017-08-26 Thread Simon Glass
On 16 August 2017 at 11:32, Philipp Tomsich wrote: > Update the Rockchip SPI driver to support a live device tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/spi/rk_spi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH 09/13] x86: Add Intel Braswell SoC support

2017-08-26 Thread Simon Glass
On 15 August 2017 at 23:41, Bin Meng wrote: > This adds initial Intel Braswell SoC support. It uses Intel FSP > to initialize the chipset. > > Similar to its predecessor BayTrail, there are some work to do to > enable the legacy UART integrated in the Braswell SoC. > > Signed-off-by: Bin Meng > -

Re: [U-Boot] [PATCH 11/13] x86: braswell: Add FSP configuration

2017-08-26 Thread Simon Glass
On 15 August 2017 at 23:42, Bin Meng wrote: > Add FSP related configuration for Braswell. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/braswell/Makefile | 2 +- > arch/x86/cpu/braswell/fsp_configs.c| 158 ++ > .../include/asm/arch-braswell/

Re: [U-Boot] [PATCH v3 4/5] spl: fit: Support both external and embedded data

2017-08-26 Thread Simon Glass
On 15 August 2017 at 12:14, York Sun wrote: > SPL supports U-Boot image in FIT format which has data outside of > FIT structure. This adds support for embedded data for normal FIT > images. > > Signed-off-by: York Sun > Reviewed-by: Tom Rini > > --- > > Changes in v3: > Update doc/uImage.FIT/sou

Re: [U-Boot] [PATCH 10/13] x86: braswell: Add microcode for B0/C0/D0 stepping SoC

2017-08-26 Thread Simon Glass
On 15 August 2017 at 23:41, Bin Meng wrote: > This adds microcode device tree fragment for Braswell B0 (406C2), > C0 (406C3) and D0 (406C4) stepping SoC. > > Signed-off-by: Bin Meng > --- > > arch/x86/dts/microcode/m01406c2220.dtsi | 4308 > +++ > arch/x86/dts/microc

Re: [U-Boot] [PATCH v2 2/2] board: atmel: Use the new PIT timer driver

2017-08-26 Thread Simon Glass
On 15 August 2017 at 03:40, Wenyou Yang wrote: > Use the Atmel PIT timer driver which supports the driver model > and device tree. > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: > - Integrate the PATCH {timer: Add Atmel PIT timer driver} to >one patch set. > - Rebase on latest comm

Re: [U-Boot] [PATCH 12/18] rockchip: sdhci: Convert to livetree

2017-08-26 Thread Simon Glass
On 16 August 2017 at 11:32, Philipp Tomsich wrote: > Update the Rockchip SDHCI wrapper to support a live device tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/mmc/rockchip_sdhci.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Reviewed-by: Simon Glass Please see below.

Re: [U-Boot] [PATCH 11/13] x86: braswell: Add FSP configuration

2017-08-26 Thread Bin Meng
Hi Simon, On Sat, Aug 26, 2017 at 9:39 PM, Simon Glass wrote: > On 15 August 2017 at 23:42, Bin Meng wrote: >> Add FSP related configuration for Braswell. >> >> Signed-off-by: Bin Meng >> --- >> >> arch/x86/cpu/braswell/Makefile | 2 +- >> arch/x86/cpu/braswell/fsp_config

Re: [U-Boot] [PATCH 5/5] x86: fsp: Configure SPI opcode registers before SPI is locked down

2017-08-26 Thread Bin Meng
Hi Simon, On Sat, Aug 26, 2017 at 9:39 PM, Simon Glass wrote: > Hi Bin, > > On 15 August 2017 at 23:38, Bin Meng wrote: >> Some Intel FSP (like Braswell) does SPI lock-down during the call >> to fsp_notify(INIT_PHASE_BOOT). But before SPI lock-down is done, >> it's bootloader's responsibility to

Re: [U-Boot] [PATCH 1/1] efi_loader: call __efi_exit_check in efi_exit

2017-08-26 Thread Rob Clark
On Fri, Aug 25, 2017 at 1:53 PM, Heinrich Schuchardt wrote: > The calls to __efi_entry_check and __efi_exit_check have to match. > If DEBUG is defined, panic() will be called otherwise. > > If debugging is activated some Travis CI builds fail due to an > assertion in EFI_CALL without the patch. >

Re: [U-Boot] [PATCH v2 4/4] rockchip: enable rockusb for all rockchip SoCs

2017-08-26 Thread Łukasz Majewski
On 08/26/2017 02:46 PM, Tom Rini wrote: On Fri, Aug 25, 2017 at 01:06:55PM +0200, Łukasz Majewski wrote: Hi Philipp, Andy, Tom On 25 Aug 2017, at 03:51, Andy Yan wrote: Hi Lukasz: 2017-08-22 18:05 GMT+08:00 Łukasz Majewski mailto:lu...@denx.de>>: Hi Kever, Philipp, I have no idea abo

[U-Boot] [PATCH v2] rpi: Enable USB keyboard support

2017-08-26 Thread Simon Glass
This is currently disabled, so USB keyboards are not detected in U-Boot. Enable this option to fix that. Series-cc trini Signed-off-by: Simon Glass --- Changes in v2: - Fix U_Boot typo configs/rpi_2_defconfig | 1 + configs/rpi_3_32b_defconfig | 1 + configs/rpi_3_defconfig | 1 + conf

[U-Boot] [PATCH v3] rpi: Enable USB keyboard support

2017-08-26 Thread Simon Glass
This is currently disabled, so USB keyboards are not detected in U-Boot. Enable this option to fix that. Signed-off-by: Simon Glass Tested-by: Jonathan Gray Reviewed-by: Bin Meng Tested-by: Paul Barker --- Changes in v3: - Add missing review/test tags Changes in v2: - Fix U_Boot typo confi

Re: [U-Boot] rk3xxx.dtsi /usb_host missing specific compatible

2017-08-26 Thread Heiko Stuebner
Am Freitag, 25. August 2017, 13:20:47 CEST schrieb Philipp Tomsich: > + Heiko > > On Wed, 23 Aug 2017, Artturi Alm wrote: > > > Hi, > > > > > > no idea if this is the right place to mail about this, but i got > > suggested this node is out-of-norm, and the diff below fixes that > > for me on rk31

Re: [U-Boot] [PATCH v3 0/8] sf: improve support of (Q)SPI flash memories

2017-08-26 Thread Tom Rini
On Sat, Aug 26, 2017 at 10:36:57AM +0200, Marek Vasut wrote: > On 08/26/2017 08:14 AM, Jagan Teki wrote: > > On Sat, Aug 26, 2017 at 4:35 AM, Bin Meng wrote: > >> On Sat, Aug 26, 2017 at 12:45 AM, Marek Vasut wrote: > >>> On 08/25/2017 06:28 PM, Jagan Teki wrote: > On Fri, Aug 25, 2017 at 9:

Re: [U-Boot] rk3xxx.dtsi /usb_host missing specific compatible

2017-08-26 Thread Artturi Alm
On Sat, Aug 26, 2017 at 07:48:28PM +0200, Heiko Stuebner wrote: > Am Freitag, 25. August 2017, 13:20:47 CEST schrieb Philipp Tomsich: > > + Heiko > > > > On Wed, 23 Aug 2017, Artturi Alm wrote: > > > > > Hi, > > > > > > > > > no idea if this is the right place to mail about this, but i got > > >

[U-Boot] [PATCH 1/3] arm: dts: da850: Migrate da850-evm DTS files from Linux 4.13-RC5

2017-08-26 Thread Adam Ford
A few small additional items are needed to support DM_SPI and DM_SERIAL, so those were added to da850-evm-u-boot.dtsi Signed-off-by: Adam Ford --- arch/arm/dts/da850-evm-u-boot.dtsi | 22 ++ arch/arm/dts/da850-evm.dts | 304 +++ arch/arm/dts/da850.dtsi| 581 +

[U-Boot] [PATCH 2/3] spi: davinci_spi: Add da830-spi support for DM

2017-08-26 Thread Adam Ford
The DM support is already in the driver, so add da830-spi to the compatible list. Signed-off-by: Adam Ford --- drivers/spi/davinci_spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 291ef95..eda252d 100644 --- a/drivers/spi/davin

[U-Boot] [PATCH 3/3] arm: da850-evm: Enable DM and device tree support for da850-evm

2017-08-26 Thread Adam Ford
With the device tree ported and DM compatible drivers, enable: OF_CONTROL, DM_SPI, DM_SPI_FLASH and DM_SERIAL Signed-off-by: Adam Ford --- configs/da850evm_defconfig | 9 +++-- include/configs/da850evm.h | 17 +++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a

[U-Boot] [PATCH 1/1] efi_disk: efi_disk_rw_blocks is not an API function

2017-08-26 Thread Heinrich Schuchardt
There is no need to use attribute EFIAPI for efi_disk_rw_blocks. It is not an API function. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_loader/efi_disk.c index ed06485e33.

Re: [U-Boot] [Patch v2] configs: SECURE_BOOT: Enable CONFIG_CMD_EXT4_WRITE

2017-08-26 Thread Tom Rini
On Fri, Aug 25, 2017 at 03:33:10PM +0530, Sumit Garg wrote: > As part of chain of trust with confidentiality along with distro > boot, linux kernel image needs to be stored in encrypted form on > ext4 boot partition. So enable CONFIG_CMD_EXT4_WRITE in case of > Secure boot. > > Signed-off-by: Sum

Re: [U-Boot] Please pull u-boot-sh/master branch

2017-08-26 Thread Tom Rini
On Sat, Aug 26, 2017 at 07:42:45AM +0900, Nobuhiro Iwamatsu wrote: > Hi, Tom. > > The following changes since commit 90ae53ce1ae665a1b43ecf5ccafc339839392427: > > fastboot: Ensure we treat CONFIG_FASTBOOT_BUF_ADDR as long > (2017-08-22 08:20:02 -0400) > > are available in the git repository a

Re: [U-Boot] Please pull u-boot-cfi-flash/master

2017-08-26 Thread Tom Rini
On Tue, Aug 22, 2017 at 12:11:12PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the cleanup patch from Marek for the CFI driver. > > Thanks, > Stefan > > > The following changes since commit 2d7cb5b426e7e0cdf684d7f8029ad132d7a8d383: > > env: Replace all open-coded gd->env_valid value

Re: [U-Boot] Please pull u-boot-sh/rmobile branch

2017-08-26 Thread Tom Rini
On Sat, Aug 26, 2017 at 07:31:03AM +0900, Nobuhiro Iwamatsu wrote: > Hi Tom, > > The following changes since commit 90ae53ce1ae665a1b43ecf5ccafc339839392427: > > fastboot: Ensure we treat CONFIG_FASTBOOT_BUF_ADDR as long > (2017-08-22 08:20:02 -0400) > > are available in the git repository at

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

2017-08-26 Thread Tom Rini
On Thu, Aug 24, 2017 at 11:18:14AM +0800, Bin Meng wrote: > Hi Tom, > > This contains various fixes and a reworked version of serial RX buffer > support. Hopefully this is the last PR from x86 for v2017.09. > > The following changes since commit 90ae53ce1ae665a1b43ecf5ccafc339839392427: > > f

Re: [U-Boot] [U-Boot, v2, 1/2] driver: timer: Add the Atmel PIT timer driver

2017-08-26 Thread Tom Rini
On Tue, Aug 15, 2017 at 05:40:26PM +0800, wenyou.y...@microchip.com wrote: > Add the new Atmel PIT timer driver, which supports the driver model > and device tree. > > Signed-off-by: Wenyou Yang Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] Please pull from u-boot-i2c

2017-08-26 Thread Tom Rini
On Wed, Aug 23, 2017 at 10:38:04AM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c master > > The following changes since commit 90ae53ce1ae665a1b43ecf5ccafc339839392427: > > fastboot: Ensure we treat CONFIG_FASTBOOT_BUF_ADDR as long (2017-08-22 > 08:20:02 -0400) >

Re: [U-Boot] [U-Boot, 1/2] board/spear/common: move code to arch/arm/cpu/arm926ejs/spear/

2017-08-26 Thread Tom Rini
On Tue, Aug 15, 2017 at 10:52:44PM +0200, Thomas Petazzoni wrote: > The code in board/spear/common/ is not board-specific but > SoC-specific. Therefore, boards from other vendors than "spear" may > want to re-use this code, which is currently difficult with the code > being placed in board/spear/c

Re: [U-Boot] fs: ext4: Fix journal overrun issue reported by Coverity

2017-08-26 Thread Tom Rini
On Sun, Aug 20, 2017 at 10:30:15PM -0400, Tom Rini wrote: > While &p_jdb[fs->blksz] is a valid expression (it points *one* char > sized element past the end of the array, e.g. &p_jdb[fs->blksz + 1] is > invalid (according to the C standard (C99/C11)). > > Changing this to tag = (struct ext3_journ

Re: [U-Boot] [U-Boot, v2] arm: dts: am33xx: sync DTS with Linux 4.13-rc4

2017-08-26 Thread Tom Rini
On Sat, Aug 12, 2017 at 01:26:38PM +0530, suni...@techveda.org wrote: > From: Suniel Mahesh > > This re-syncs AM33xx DTS file with current file from > Linux v4.13-rc4 to ensure a consistent configuration. Upstream > Linux removed the redundant Interrupt-parent property from mmc, > mac, lcdc and

Re: [U-Boot] [U-Boot,1/2] powerpc: Rework interrupt_init_cpu()

2017-08-26 Thread Tom Rini
On Sun, Aug 13, 2017 at 10:44:37PM -0400, Tom Rini wrote: > The function interrupt_init_cpu() is given an int return type but does > not return anything but 0. Rework this to be a void function. > > Signed-off-by: Tom Rini > Acked-by: Mario Six Applied to u-boot/master, thanks! -- Tom sig

Re: [U-Boot] fs: fat: fix fatwrite overflow calculation

2017-08-26 Thread Tom Rini
On Sun, Aug 13, 2017 at 03:16:17PM -0400, Reno Farnesi wrote: > The overflow calculation was incorrect. Adding the start block of the > partition is not needed because the sectors are already relative to the > beginning of the partition. If you attempted to write a file smaller > than cur_part_inf

Re: [U-Boot] mtdparts: Fix final outstanding issue reported by Coverity

2017-08-26 Thread Tom Rini
On Sun, Aug 20, 2017 at 08:05:40PM -0400, Tom Rini wrote: > As part of fixing the previously reported issues, it was missed that in > the case of mtdparts_init() we need to make sure that tmp_ep is long > enough to contain PARTITION_MAXLEN and a NULL termination. Then, to be > sure the buffer is

Re: [U-Boot] ram: kconfig: s/SPL/TPL/ in TPL_RAM help text

2017-08-26 Thread Tom Rini
On Fri, Aug 25, 2017 at 08:16:00PM +0530, Jagannadha Sutradharudu Teki wrote: > From: Jagan Teki > > Signed-off-by: Jagan Teki Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@li

Re: [U-Boot] [U-Boot, v2, 3/3] arm: dra7xx: Define Android boot arguments

2017-08-26 Thread Tom Rini
On Wed, Aug 16, 2017 at 03:55:50PM +0300, Semen Protsenko wrote: > Signed-off-by: Sam Protsenko Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de

Re: [U-Boot] [U-Boot, v2, 2/2] board: atmel: Use the new PIT timer driver

2017-08-26 Thread Tom Rini
On Tue, Aug 15, 2017 at 05:40:27PM +0800, wenyou.y...@microchip.com wrote: > Use the Atmel PIT timer driver which supports the driver model > and device tree. > > Signed-off-by: Wenyou Yang Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

  1   2   >