Re: [U-Boot] build fail due to dependence error

2018-07-08 Thread Masahiro Yamada
Hi. 2018-07-09 11:39 GMT+09:00 Simon Glass : > +Masahiro who might know > > On 2 July 2018 at 01:23, Dr. Philipp Tomsich > wrote: >> Kever, >> >> Could you check the build artifacts in Jenkins to see whether after >> the ‘make [configname]_defconfig’, the link for asm/arch is correctly >> set

[U-Boot] [PATCH 4/4] arm: zynq: use i2c cadence DM driver

2018-07-08 Thread Luis Araneda
Migrate most boards to the Cadence I2C driver and use DM functions to read the MAC address from EEPROM Additionally, remove the legacy eeprom command from defconfig since it was only used to provide the functions to read the MAC address Boards ZC702 and ZC706 were not migrated because they have

[U-Boot] [PATCH 2/4] arm: zynq: migrate EEPROM MAC address options to kconfig

2018-07-08 Thread Luis Araneda
Migrate boards to use the generic kconfig options to read the MAC address Signed-off-by: Luis Araneda --- board/xilinx/zynq/board.c| 7 +++ configs/syzygy_hub_defconfig | 4 +++- configs/zynq_zybo_defconfig | 4 +++- include/configs/syzygy_hub.h | 1 - include/configs/zynq_zybo.h | 1

[U-Boot] [PATCH 3/4] arm64: zynqmp: migrate EEPROM MAC address options to kconfig

2018-07-08 Thread Luis Araneda
Migrate boards to use the generic kconfig options to read the MAC address Additionally, remove the ZYNQ_GEM_I2C_MAC_OFFSET kconfig option, since no boards is using it now Signed-off-by: Luis Araneda --- board/xilinx/zynqmp/zynqmp.c | 10 --

[U-Boot] [PATCH 1/4] drivers/misc: add options to read MAC address from EEPROM

2018-07-08 Thread Luis Araneda
Add generic kconfig options to read MAC address(es) from an EEPROM connected to an I2C bus The SYS_I2C_EEPROM_* options can't be used because they depend on I2C_EEPROM, which requires a DM driver, and not all boards have DM I2C drivers yet Signed-off-by: Luis Araneda --- drivers/misc/Kconfig |

[U-Boot] [PATCH 0/4] arm: zynq: migrate to DM I2C driver

2018-07-08 Thread Luis Araneda
This series migrate most zynq boards to using the Cadence DM I2C driver The first patch adds kconfig options to generalize the concept of reading the MAC address from an I2C EEPROM. Then the zynq and zynqmp boards were migrated with patches two and three to use the options Finally, the last

[U-Boot] [PATCH v1 8/8] armv7: ls1021a: enable esdhc

2018-07-08 Thread Yinbo Zhu
This patch is to enable eSDHC for ls1021a. Signed-off-by: Yinbo Zhu --- arch/arm/dts/ls1021a.dtsi |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/dts/ls1021a.dtsi b/arch/arm/dts/ls1021a.dtsi index 5b3fc6a..59c97d5 100644 --- a/arch/arm/dts/ls1021a.dtsi +++

[U-Boot] [PATCH v1 7/8] armv8: ls1046a: add eSDHC node

2018-07-08 Thread Yinbo Zhu
This patch is to add eSDHC node for ls1046a. Signed-off-by: Yinbo Zhu --- arch/arm/dts/fsl-ls1046a.dtsi |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/dts/fsl-ls1046a.dtsi b/arch/arm/dts/fsl-ls1046a.dtsi index 4acbaf7..7687d12 100644 ---

[U-Boot] [PATCH v1 4/8] armv8: ls2088a: add eSDHC node

2018-07-08 Thread Yinbo Zhu
This patch is to add eSDHC node for ls2088a. Signed-off-by: Yinbo Zhu --- arch/arm/dts/fsl-ls2080a.dtsi |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch/arm/dts/fsl-ls2080a.dtsi index b0f8517..2d537ae 100644 ---

[U-Boot] [PATCH v1 5/8] armv8: ls1088a: add eSDHC node

2018-07-08 Thread Yinbo Zhu
This patch is to add eSDHC node for ls1088a. Signed-off-by: Yinbo Zhu --- arch/arm/dts/fsl-ls1088a.dtsi |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/dts/fsl-ls1088a.dtsi b/arch/arm/dts/fsl-ls1088a.dtsi index 077caf3..72d755a 100644 ---

[U-Boot] [PATCH v1 6/8] armv8: ls1043a: add eSDHC node

2018-07-08 Thread Yinbo Zhu
This patch is to add eSDHC node for ls1043a. Signed-off-by: Yinbo Zhu --- arch/arm/dts/fsl-ls1043a.dtsi |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arch/arm/dts/fsl-ls1043a.dtsi index ff40122..a804f51 100644 ---

[U-Boot] [PATCH v1 3/8] armv8/ls1088a/ls2088a: esdhc: Add esdhc clock support

2018-07-08 Thread Yinbo Zhu
This patch adds esdhc clock support for ls1088a and ls2088a. Signed-off-by: Yinbo Zhu --- .../arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c

[U-Boot] [PATCH v1 2/8] armv8: ls1088a: fix sd boot config compile issue

2018-07-08 Thread Yinbo Zhu
This patch is to fix sd boot config compile issue for ls1088a. Signed-off-by: Yinbo Zhu --- include/mmc.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/mmc.h b/include/mmc.h index 534c317..66e69b7 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -604,7

[U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig

2018-07-08 Thread Yinbo Zhu
This enables the folowing to Kconfig: CONFIG_BLK CONFIG_DM_MMC Signed-off-by: Yinbo Zhu --- Change in v2: Enable ls1021a CONFIG_BLK and CONFIG_DM_MMC to Kconfig configs/ls1021atwr_nor_SECURE_BOOT_defconfig |2 ++ configs/ls1021atwr_nor_defconfig

Re: [U-Boot] [PATCH 1/1] efi_loader: rename utf16_strlen, utf16_strnlen

2018-07-08 Thread Alexander Graf
On 05.07.18 19:39, Heinrich Schuchardt wrote: > The function names utf16_strlen() and utf16_strnlen() are misnomers. > The functions do not count utf-16 characters but non-zero words. > So let's rename them to u16_strlen and u16_strnlen(). > > In utf16_dup() avoid assignment in if clause. > >

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

2018-07-08 Thread Tom Rini
On Mon, Jul 09, 2018 at 12:14:24AM +0200, Anatolij Gustschin wrote: > Hi Tom, > > The following changes since commit 2121bbe49c27b2b2d865fac4e4071c5a90ae90b2: > > lib: div64: fix typeo in include/div64.h (2018-06-29 11:30:39 -0400) > > are available in the git repository at: > >

Re: [U-Boot] [PATCH v3 4/4] rk3288: Convert register defines to const uintptr_t

2018-07-08 Thread Simon Glass
On 11 June 2018 at 13:00, Carlo Caione wrote: > From: Carlo Caione > > No functional change but at least we can now guarantee type safety. > > Signed-off-by: Carlo Caione > --- > arch/arm/mach-rockchip/rk3288-board.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Reviewed-by:

Re: [U-Boot] [PATCH] mmc: dw_mmc: Handle pin voltage configuration

2018-07-08 Thread Simon Glass
On 7 June 2018 at 05:00, Carlo Caione wrote: > From: Carlo Caione > > Add support for pin voltage configuration. Besides to support UHS mode > this is useful when the IO lines are connected to a configurable > regulator not enabled at boot or always on. > > Signed-off-by: Carlo Caione > --- >

Re: [U-Boot] [PATCH 2/4] dm: sysreset: x86: Add a sysreset driver

2018-07-08 Thread Simon Glass
On 3 July 2018 at 02:48, Bin Meng wrote: > This adds a generic reset driver for x86 processor. > > Signed-off-by: Bin Meng > --- > > drivers/sysreset/Kconfig| 6 + > drivers/sysreset/Makefile | 1 + > drivers/sysreset/sysreset_x86.c | 49 >

Re: [U-Boot] [PATCH 1/2] console: Remember if ctrlc is disabled in console_tstc()

2018-07-08 Thread Simon Glass
On 2 July 2018 at 18:06, Joe Hershberger wrote: > We don't necessarily want to re-enable ctrl-c if it was already disabled > when calling tstc(). > > Signed-off-by: Joe Hershberger > --- > > common/console.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > Reviewed-by: Simon

Re: [U-Boot] [PATCH 3/4] x86: fsp: Eliminate the reset_cpu() call

2018-07-08 Thread Simon Glass
Hi Bin, On 3 July 2018 at 02:48, Bin Meng wrote: > In preparation for the reset driver conversion, eliminate the > reset_cpu() call in the FSP init path as it's too early for the > reset driver to work. > > Signed-off-by: Bin Meng > --- > > arch/x86/lib/fsp/fsp_common.c | 2 +- > 1 file

Re: [U-Boot] [PATCH 2/2] sandbox: Don't disable ctrlc() on sandbox if in raw mode

2018-07-08 Thread Simon Glass
Hi Joe, On 2 July 2018 at 18:06, Joe Hershberger wrote: > In raw mode, handle ctrl-c as normal. This allows normal ctrl-c behavior > such as aborting a command that is timing out without completely > terminating the sandbox executable. > > In [1], Simon disabled this. His reason for it was that

Re: [U-Boot] [PATCH 1/4] x86: quark: acpi: Add full reset bit to the reset register value in FADT

2018-07-08 Thread Simon Glass
On 3 July 2018 at 02:48, Bin Meng wrote: > This adds full reset bit in the reset register value in the ACPI FADT > table, so that kernel can do a thorough reboot. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/quark/acpi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [U-Boot] [PATCH] rpi: Set the default mmc max device to 2

2018-07-08 Thread Simon Glass
Hi Alex, On 4 July 2018 at 00:48, Alexander Graf wrote: > On 07/04/2018 09:34 AM, Emmanuel Vadot wrote: >> >> On Wed, 4 Jul 2018 09:25:16 +0200 >> Alexander Graf wrote: >> >>> On 07/04/2018 09:08 AM, Emmanuel Vadot wrote: When running with special configuration (OF_BOARD and mmc

Re: [U-Boot] [PATCH v3 2/3] doc: dtbinding: Add file system firmware loader binding document

2018-07-08 Thread Simon Glass
Hi Tien Fong, On 2 July 2018 at 01:26, Chee, Tien Fong wrote: > On Fri, 2018-06-29 at 21:19 -0700, Simon Glass wrote: >> Hi Tien Fong, >> >> On 28 June 2018 at 01:58, Chee, Tien Fong >> wrote: >> > >> > On Thu, 2018-06-28 at 01:04 -0700, Chee, Tien Fong wrote: >> > > >> > > On Wed, 2018-06-27

Re: [U-Boot] build fail due to dependence error

2018-07-08 Thread Simon Glass
+Masahiro who might know On 2 July 2018 at 01:23, Dr. Philipp Tomsich wrote: > Kever, > > Could you check the build artifacts in Jenkins to see whether after > the ‘make [configname]_defconfig’, the link for asm/arch is correctly > set up? > > Thanks, > Philipp. > > On 2 Jul 2018, at 09:54,

Re: [U-Boot] [PATCH v5 6/6] test: smem: add basic smem test

2018-07-08 Thread Simon Glass
On 1 July 2018 at 16:58, Ramon Fried wrote: > Add basic smem sandbox testing. > > Signed-off-by: Ramon Fried > > --- > Tom, this patch depends on https://patchwork.ozlabs.org/patch/932965/ > > Changes in v5: None > Changes in v4: > - Fixed typo in function name. > > Changes in v3: > - Adapt to

Re: [U-Boot] [PATCH v5 5/6] drivers: smem: sandbox

2018-07-08 Thread Simon Glass
On 1 July 2018 at 16:57, Ramon Fried wrote: > Add Sandbox driver for SMEM. mostly stub operations. > > Signed-off-by: Ramon Fried > --- > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > arch/sandbox/dts/test.dts | 4 >

Re: [U-Boot] [PATCH v5 2/6] soc: qualcomm: Add Shared Memory Manager driver

2018-07-08 Thread Simon Glass
On 1 July 2018 at 16:57, Ramon Fried wrote: > The Shared Memory Manager driver implements an interface for allocating > and accessing items in the memory area shared among all of the > processors in a Qualcomm platform. > > Adapted from the Linux driver (4.17) > > Changes from the original Linux

Re: [U-Boot] [PATCH v3 1/2] fs: fat: cannot write to subdirectories

2018-07-08 Thread Simon Glass
Hi Heinrich, On 1 July 2018 at 17:41, Heinrich Schuchardt wrote: > fs_fat_write() is not able to write to subdirectories. > > Currently if a filepath with a leading slash is passed, the slash is > treated as part of the filename to be created in the root directory. > > Strip leading

Re: [U-Boot] [PATCH v2 1/2] rtc: pl031: convert the driver to driver model

2018-07-08 Thread AKASHI Takahiro
On Thu, Jul 05, 2018 at 04:12:59PM +0900, AKASHI Takahiro wrote: > On Wed, Jul 04, 2018 at 02:35:19PM +0300, Tuomas Tynkkynen wrote: > > Hi Akashi, > > > > Thank you for the DM conversion. > > > > On 07/04/2018 10:36 AM, AKASHI Takahiro wrote: > > <..snip..> > > >diff --git

[U-Boot] Please pull u-boot-video/master

2018-07-08 Thread Anatolij Gustschin
Hi Tom, The following changes since commit 2121bbe49c27b2b2d865fac4e4071c5a90ae90b2: lib: div64: fix typeo in include/div64.h (2018-06-29 11:30:39 -0400) are available in the git repository at: git://git.denx.de/u-boot-video.git master for you to fetch changes up to

Re: [U-Boot] [PATCH v2 1/6] drivers: rtc: resolve year 2038 problem in rtc_to_tm

2018-07-08 Thread Alexander Graf
On 07.07.18 23:39, Heinrich Schuchardt wrote: > Our implementation of rtc_to_tm() cannot handle dates of more than > 0x7fff seconds after 1970-01-01. > > Adopt the Linux kernel implementation. > > Signed-off-by: Heinrich Schuchardt This patch is slightly out of scope for efi-next and the

Re: [U-Boot] [PATCH v3 6/6] efi_loader: update runtime services table crc32

2018-07-08 Thread Alexander Graf
On 07.07.18 15:36, Heinrich Schuchardt wrote: > The crc32 of the runtime services table must be updated after detaching. > > efi_update_table_header_crc32() must be __efi_runtime. So move it to > efi_runtime.c > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Alexander Graf Alex

Re: [U-Boot] [PATCH v3 5/6] lib: crc32: mark function crc32() as __efi_runtime

2018-07-08 Thread Alexander Graf
On 07.07.18 15:36, Heinrich Schuchardt wrote: > The function crc32() is needed by the EFI subsystem at runtime. So it has > to be linked into the runtime section together with all dependencies. > > Eliminate empty define ZEXPORT. > > Signed-off-by: Heinrich Schuchardt > --- > v3 > new

Re: [U-Boot] [PATCH v2 2/2] net: mvgbe: convert to DM

2018-07-08 Thread Michael Walle
Hi Chris, thanks for your efforts. This basically works for me on my Kirkwood LSCHLv2 board. So you may add Tested-by: Michael Walle But there are some issues. See below. [snip] -#if defined(CONFIG_PHYLIB) +#if defined(CONFIG_PHYLIB) || defined(CONFIG_DM_ETH) +#if

Re: [U-Boot] [U-Boot, v2, 1/3] efi_loader: correctly initialize system table crc32

2018-07-08 Thread Alexander Graf
On 07.07.18 09:05, Heinrich Schuchardt wrote: > On 07/06/2018 07:22 AM, Alexander Graf wrote: >>> We should calculate the crc32 after initalizing all fields of the system >>> table. >>> >>> Signed-off-by: Heinrich Schuchardt >> >> Thanks, applied to efi-next >> >> Alex >> >> > Hello Alex, > >

[U-Boot] [PATCH] Convert CONFIG_NAND_ATMEL to Kconfig

2018-07-08 Thread Adam Ford
This converts the following to Kconfig: CONFIG_NAND_ATMEL Signed-off-by: Adam Ford diff --git a/configs/at91sam9260ek_dataflash_cs0_defconfig b/configs/at91sam9260ek_dataflash_cs0_defconfig index 3d2b8803ea..c77b8d8a20 100644 --- a/configs/at91sam9260ek_dataflash_cs0_defconfig +++

[U-Boot] [PATCH] cmd: Make CMD_NAND imply NAND

2018-07-08 Thread Adam Ford
Many boards check for CMD_NAND and not NAND. This makes CMD_NAND imply NAND which will make some Kconfig migration of some NAND options easier later. Rsync all defconfig files using moveconfig.py Signed-off-by: Adam Ford --- cmd/Kconfig | 1 +

[U-Boot] [PATCH] configs: Make NAND_BOOT and ONENAND_BOOT imply NAND

2018-07-08 Thread Adam Ford
Some boards indicate support from booting NAND or ONENAND booting, but don't enable the CONFIG_NAND. This makes those boards imply NAND which will make enabling other flags that are dependent on CONFIG_NAND possible and easier to migrate. Signed-off-by: Adam Ford diff --git a/common/Kconfig

[U-Boot] [PATCH] Convert CONFIG_NAND_DAVINCI to Kconfig

2018-07-08 Thread Adam Ford
This converts the following to Kconfig: CONFIG_NAND_DAVINCI Signed-off-by: Adam Ford diff --git a/configs/ea20_defconfig b/configs/ea20_defconfig index 497e5515d7..43292a126d 100644 --- a/configs/ea20_defconfig +++ b/configs/ea20_defconfig @@ -30,6 +30,8 @@ CONFIG_CMD_DIAG=y

[U-Boot] [PATCH] Convert CONFIG_NAND_LPC32XX_SLC to Kconfig

2018-07-08 Thread Adam Ford
This converts the following to Kconfig: CONFIG_NAND_LPC32XX_SLC Signed-off-by: Adam Ford diff --git a/configs/devkit3250_defconfig b/configs/devkit3250_defconfig index 14c24ce6f2..8a37122104 100644 --- a/configs/devkit3250_defconfig +++ b/configs/devkit3250_defconfig @@ -34,6 +34,7 @@

[U-Boot] [PATCH 1/3] spl: Fix compilation issue when you want to use SPL from enviroment

2018-07-08 Thread Michael Trimarchi
Change-Id: I8b4af0b27591b6a9d85fb4ecb17e8ca86765b2c0 Signed-off-by: Michael Trimarchi --- configs/imx6ull_isiot_nand_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/imx6ull_isiot_nand_defconfig b/configs/imx6ull_isiot_nand_defconfig index 5d02186..e02bbc9 100644 ---

Re: [U-Boot] [PATCH 1/3] spl: Fix compilation issue when you want to use SPL from enviroment

2018-07-08 Thread Michael Nazzareno Trimarchi
Hi Sorry mistake ;) On Sun, Jul 8, 2018 at 10:27 AM, Michael Trimarchi wrote: > Change-Id: I8b4af0b27591b6a9d85fb4ecb17e8ca86765b2c0 > Signed-off-by: Michael Trimarchi > --- > configs/imx6ull_isiot_nand_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git