Re: [U-Boot] [PATCH v1 00/19] DM_I2C_COMPAT removal for all ti platforms

2018-10-05 Thread Adam Ford
On Thu, Oct 4, 2018 at 8:48 AM Jean-Jacques Hiblot wrote: > > This series remove the usage of the DM_I2C_COMPAT option for all the ti > platforms. It also takes this opportunity to not disable DM_I2C in the SPL. > > There are a couples of issues to fix: > - CMD_EEPROM does not support the DM API.

Re: [U-Boot] [PULL] rockchip patch-queue 2018-10-05

2018-10-05 Thread Tom Rini
On Fri, Oct 05, 2018 at 11:01:38PM +0200, Philipp Tomsich wrote: > Tom, > > Another set of fixes for u-boot-rockchip is ready for integration. > A Travis-CI report is at > https://travis-ci.org/ptomsich/u-boot-rockchip/builds/437333443 > > Thanks, > Philipp. > > > The following changes since

Re: [U-Boot] Please pull ARC changes

2018-10-05 Thread Tom Rini
On Fri, Oct 05, 2018 at 02:10:16PM +, Alexey Brodkin wrote: > Hi Tom, > > he following changes since commit a1588ac8228881f9fe65539fa8e31f0ee3556864: > > Merge tag 'rockchip-for-v2018.11' of git://git.denx.de/u-boot-rockchip > (2018-10-03 12:09:19 -0400) > > are available in the Git

[U-Boot] [PULL] u-boot-socfpga/master

2018-10-05 Thread Marek Vasut
The following changes since commit 592cd5defd4f71d34ffcbd8dd3326bc10f662e20: Merge branch 'master' of git://git.denx.de/u-boot-spi (2018-10-02 17:01:46 -0400) are available in the Git repository at: git://git.denx.de/u-boot-socfpga.git master for you to fetch changes up to

[U-Boot] [PULL] u-boot-sh/master

2018-10-05 Thread Marek Vasut
The following changes since commit 592cd5defd4f71d34ffcbd8dd3326bc10f662e20: Merge branch 'master' of git://git.denx.de/u-boot-spi (2018-10-02 17:01:46 -0400) are available in the Git repository at: git://git.denx.de/u-boot-sh.git master for you to fetch changes up to

Re: [U-Boot] [PATCH v1 1/4] arm: socfpga: stratix10: Add macros for mailbox's arguments

2018-10-05 Thread Marek Vasut
On 10/05/2018 07:12 PM, chee.hong@intel.com wrote: > From: "Ang, Chee Hong" > > Add macros for specifying number of arguments in mailbox command. > > Signed-off-by: Ang, Chee Hong > --- > arch/arm/mach-socfpga/include/mach/mailbox_s10.h | 6 ++ > 1 file changed, 6 insertions(+) > >

Re: [U-Boot] [PATCH v1 2/4] arm: socfpga: stratix10: Add Stratix 10 FPGA Reconfiguration Driver

2018-10-05 Thread Marek Vasut
On 10/05/2018 07:12 PM, chee.hong@intel.com wrote: > From: "Ang, Chee Hong" > > Enable FPGA reconfiguration support for Stratix 10 SoC. > > Signed-off-by: Ang, Chee Hong > --- > drivers/fpga/Kconfig | 11 ++ > drivers/fpga/Makefile| 1 + > drivers/fpga/stratix10.c | 290 >

Re: [U-Boot] [PATCH v1 3/4] arm: socfpga: stratix10: Add Stratix10 FPGA into FPGA device table

2018-10-05 Thread Marek Vasut
On 10/05/2018 07:12 PM, chee.hong@intel.com wrote: > From: "Ang, Chee Hong" > > Enable 'fpga' command in u-boot. User will be able to use the fpga > command to program the FPGA on Stratix10 SoC. > > Signed-off-by: Ang, Chee Hong > --- > arch/arm/mach-socfpga/misc.c | 22

Re: [U-Boot] [PATCH v2] arm: socfpga: stratix10: Add generic FPGA reconfig mailbox API for S10

2018-10-05 Thread Marek Vasut
On 10/05/2018 07:05 PM, chee.hong@intel.com wrote: > From: "Ang, Chee Hong" > > Add a generic mailbox API for FPGA reconfig status which can be > called by others. This new function accepts 2 different mailbox > commands: CONFIG_STATUS or RECONFIG_STATUS. > > Signed-off-by: Ang, Chee Hong

[U-Boot] [PULL] rockchip patch-queue 2018-10-05

2018-10-05 Thread Philipp Tomsich
Tom, Another set of fixes for u-boot-rockchip is ready for integration. A Travis-CI report is at https://travis-ci.org/ptomsich/u-boot-rockchip/builds/437333443 Thanks, Philipp. The following changes since commit a1588ac8228881f9fe65539fa8e31f0ee3556864: Merge tag 'rockchip-for-v2018.11' of

Re: [U-Boot] [PATCH] sf: Add auto detection of 4-byte mode (vs standard 3-byte mode)

2018-10-05 Thread Simon Goldschmidt
On 04.10.2018 17:16, Stefan Roese wrote: Some SPI NOR chips only support 4-byte mode addressing. Here the default 3-byte mode does not work and leads to incorrect accesses. This patch now reads the 4-byte mode status bit (in this case in the CR register of the Macronix SPI NOR) and configures

[U-Boot] [PATCH v1 3/4] arm: socfpga: stratix10: Add Stratix10 FPGA into FPGA device table

2018-10-05 Thread chee . hong . ang
From: "Ang, Chee Hong" Enable 'fpga' command in u-boot. User will be able to use the fpga command to program the FPGA on Stratix10 SoC. Signed-off-by: Ang, Chee Hong --- arch/arm/mach-socfpga/misc.c | 22 ++ arch/arm/mach-socfpga/misc_s10.c | 4

[U-Boot] [PATCH v1 4/4] arm: socfpga: stratix10: Enable Stratix10 FPGA Reconfiguration

2018-10-05 Thread chee . hong . ang
From: "Ang, Chee Hong" Enable Stratix10 FPGA reconfiguration support in defconfig. Signed-off-by: Ang, Chee Hong --- configs/socfpga_stratix10_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/socfpga_stratix10_defconfig b/configs/socfpga_stratix10_defconfig index

[U-Boot] [PATCH v1 2/4] arm: socfpga: stratix10: Add Stratix 10 FPGA Reconfiguration Driver

2018-10-05 Thread chee . hong . ang
From: "Ang, Chee Hong" Enable FPGA reconfiguration support for Stratix 10 SoC. Signed-off-by: Ang, Chee Hong --- drivers/fpga/Kconfig | 11 ++ drivers/fpga/Makefile| 1 + drivers/fpga/stratix10.c | 290 +++ include/altera.h | 4

[U-Boot] [PATCH v1 0/4] Stratix10 FPGA reconfiguration support

2018-10-05 Thread chee . hong . ang
From: "Ang, Chee Hong" This patch enable FPGA reconfiguration for Stratix10 SoC. This patch works on top of: https://lists.denx.de/pipermail/u-boot/2018-September/342465.html Ang, Chee Hong (4): arm: socfpga: stratix10: Add macros for mailbox's arguments arm: socfpga: stratix10: Add Stratix

[U-Boot] [PATCH v1 1/4] arm: socfpga: stratix10: Add macros for mailbox's arguments

2018-10-05 Thread chee . hong . ang
From: "Ang, Chee Hong" Add macros for specifying number of arguments in mailbox command. Signed-off-by: Ang, Chee Hong --- arch/arm/mach-socfpga/include/mach/mailbox_s10.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-socfpga/include/mach/mailbox_s10.h

[U-Boot] [PATCH v2] Add generic FPGA reconfig mailbox API for S10

2018-10-05 Thread chee . hong . ang
From: "Ang, Chee Hong" This patch is v2 for: https://lists.denx.de/pipermail/u-boot/2018-September/342465.html Ang, Chee Hong (1): arm: socfpga: stratix10: Add generic FPGA reconfig mailbox API for S10 arch/arm/mach-socfpga/include/mach/mailbox_s10.h | 3 +-

[U-Boot] [PATCH v2] arm: socfpga: stratix10: Add generic FPGA reconfig mailbox API for S10

2018-10-05 Thread chee . hong . ang
From: "Ang, Chee Hong" Add a generic mailbox API for FPGA reconfig status which can be called by others. This new function accepts 2 different mailbox commands: CONFIG_STATUS or RECONFIG_STATUS. Signed-off-by: Ang, Chee Hong --- arch/arm/mach-socfpga/include/mach/mailbox_s10.h | 3 +-

[U-Boot] [PATCH v2 00/19] DM_I2C_COMPAT removal for all ti platforms

2018-10-05 Thread Jean-Jacques Hiblot
This series remove the usage of the DM_I2C_COMPAT option for all the ti platforms. It also takes this opportunity to not disable DM_I2C in the SPL. There are a couples of issues to fix: - CMD_EEPROM does not support the DM API. Fixed by removing this option when DM_I2C is used without

Re: [U-Boot] [PATCH v2 00/19] DM_I2C_COMPAT removal for all ti platforms

2018-10-05 Thread Adam Ford
On Fri, Oct 5, 2018 at 11:45 AM Jean-Jacques Hiblot wrote: > > This series remove the usage of the DM_I2C_COMPAT option for all the ti > platforms. It also takes this opportunity to not disable DM_I2C in the SPL. > > There are a couples of issues to fix: > - CMD_EEPROM does not support the DM

Re: [U-Boot] [PATCH v1 00/19] DM_I2C_COMPAT removal for all ti platforms

2018-10-05 Thread Jean-Jacques Hiblot
On 05/10/2018 13:59, Lokesh Vutla wrote: Hi JJ, On Thursday 04 October 2018 07:17 PM, Jean-Jacques Hiblot wrote: This series remove the usage of the DM_I2C_COMPAT option for all the ti platforms. It also takes this opportunity to not disable DM_I2C in the SPL. There are a couples of

Re: [U-Boot] [PATCH v2 00/19] DM_I2C_COMPAT removal for all ti platforms

2018-10-05 Thread Jean-Jacques Hiblot
On 05/10/2018 18:53, Adam Ford wrote: On Fri, Oct 5, 2018 at 11:45 AM Jean-Jacques Hiblot wrote: This series remove the usage of the DM_I2C_COMPAT option for all the ti platforms. It also takes this opportunity to not disable DM_I2C in the SPL. There are a couples of issues to fix: -

[U-Boot] [PATCH v2 15/19] configs: dra7xx-evm: increase the size of the malloc's pool before relocation

2018-10-05 Thread Jean-Jacques Hiblot
This is required to take advantage of MULTI_DTB_FIT before relocation. If it is too low, DM will be initialized only after relocation has taken place. That is too late for the DRA7 because I2C DM is used before the relocation to setup the voltages required, among other things, to properly

[U-Boot] [PATCH v2 18/19] drivers: core: nullify gd->dm_root after dm_uninit()

2018-10-05 Thread Jean-Jacques Hiblot
To reset the DM after a new dtb is loaded, we need to call dm_uninit() and then dm_init(). This fails however because gd->dm_root is not nullified by dm_uninit(). Fixing it by setting gd->dm_root in dm_uninit(). Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None drivers/core/root.c |

[U-Boot] [PATCH v2 14/19] am57xx: remove non-DM I2C code

2018-10-05 Thread Jean-Jacques Hiblot
am57xx configs uses DM_I2C both in SPL and u-boot. Remove code for non-DM I2C support. Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None board/ti/am57xx/board.c | 36 +++- 1 file changed, 3 insertions(+), 33 deletions(-) diff --git

[U-Boot] [PATCH v2 10/19] power: make most tps drivers and the twl4030 driver compatible with DM_I2C

2018-10-05 Thread Jean-Jacques Hiblot
Those driver are not DM drivers per se (not using the PMIC/regulator framework) and are using the legacy I2C API. Make them compatible with the DM_I2C API. This impacts the following drivers: - palmas (used by am57xx/dra7xx evms) - tps65218 (used by am43xx evms) - tps65217 and tps65910 (used by

[U-Boot] [PATCH v2 16/19] lib: fdtdec: Add function re-setup the fdt more effeciently

2018-10-05 Thread Jean-Jacques Hiblot
In some cases it may be useful to be able to change the fdt we have been using and use another one instead. For example, the TI platforms uses an EEPROM to store board information and, based on the type of board, different dtbs are used by the SPL. When DM_I2C is used, a first dtb must be used

[U-Boot] [PATCH v2 08/19] dts: am43x: omap5: Add node for I2C in SPL

2018-10-05 Thread Jean-Jacques Hiblot
Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None arch/arm/dts/am437x-gp-evm-u-boot.dtsi | 4 arch/arm/dts/omap5-u-boot.dtsi | 4 2 files changed, 8 insertions(+) diff --git a/arch/arm/dts/am437x-gp-evm-u-boot.dtsi b/arch/arm/dts/am437x-gp-evm-u-boot.dtsi index

[U-Boot] [PATCH v2 13/19] ti: remove usage of DM_I2C_COMPAT and don't disable DM_I2C in SPL

2018-10-05 Thread Jean-Jacques Hiblot
DM_I2C_COMPAT is a compatibility layer that allows using the non-DM I2C API when DM_I2C is used. The goal is to eventually remove DM_I2C_COMPAT when all I2C "clients" have been migrated to use the DM API. This a step in that direction for the TI based platforms. Build tested with buildman:

[U-Boot] [PATCH v2 17/19] drivers: core: Add the option SPL_DM_DEVICE_REMOVE to the Kconfig

2018-10-05 Thread Jean-Jacques Hiblot
Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None drivers/core/Kconfig | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig index e8ba20c..046b87a 100644 --- a/drivers/core/Kconfig +++ b/drivers/core/Kconfig @@

[U-Boot] [PATCH v2 19/19] dra7: Allow selecting a new dtb after board detection.

2018-10-05 Thread Jean-Jacques Hiblot
The DRA7 platforms requires that the dtb used in the SPL really matches the platform to have the best MMC performances. To detect the board type/version an I2C EEPROM is read. This requires that DM is initialized before the detection. As a consequence we must reset the DM after the board

[U-Boot] [PATCH v2 11/19] ti: common: board_detect: Allow DM I2C without CONFIG_DM_I2C_COMPAT

2018-10-05 Thread Jean-Jacques Hiblot
From: Andreas Dannenberg The EEPROM reading in the board detection code is done through legacy I2C functions which on platforms using DM_I2C this functionality is provided via the CONFIG_DM_I2C_COMPAT layer. To allow newer platforms to use the board detection code without relying on

[U-Boot] [PATCH v2 05/19] i2c: omap24xx_i2c: Move away from SoC specific headers for reg offset

2018-10-05 Thread Jean-Jacques Hiblot
From: Vignesh R Move away from SoC specific headers to handle different register layout. Instead use driver data to get appropriate register layouts like in the kernel. While at it, perform some mostly cosmetic alignment/cleanup in the functions being updated. Signed-off-by: Vignesh R

[U-Boot] [PATCH v2 09/19] omap: detect the board after DM is available

2018-10-05 Thread Jean-Jacques Hiblot
In order to use DM_I2C, we need to move the board detection after the early SPL initialization. Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None arch/arm/mach-omap2/am33xx/board.c | 9 ++--- arch/arm/mach-omap2/hwinit-common.c | 5 ++--- 2 files changed, 8 insertions(+), 6

[U-Boot] [PATCH v2 07/19] am335x: Register the I2C controllers if DM_I2C is used.

2018-10-05 Thread Jean-Jacques Hiblot
If DM_I2C is used , the I2C controllers must be registered as U_BOOT_DEVICE because OF_CONTROL is not used in the SPL. Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None arch/arm/mach-omap2/am33xx/board.c | 15 +++ 1 file changed, 15 insertions(+) diff --git

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

2018-10-05 Thread Jean-Jacques Hiblot
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 --- Changes in v2: - remove the remaining non-DM I2C API call for pdu001 board. board/eets/pdu001/board.c |

[U-Boot] [PATCH v2 01/19] cmd: Kconfig: Do not include EEPROM if DM_I2C is used without DM_I2C_COMPAT

2018-10-05 Thread Jean-Jacques Hiblot
The implementation of the EEPROM commands does not support the DM I2C API. Prevent compilation breakage by not enabling it if the non-DM API is not available (if DM_I2C is used without DM_I2C_COMPAT) Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: - Add missing commit log to the commit

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

2018-10-05 Thread Jean-Jacques Hiblot
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 --- Changes in v2: None configs/am335x_pdu001_defconfig | 1 +

[U-Boot] [PATCH v2 06/19] i2c: omap24xx_i2c: Use platdata to probe the device

2018-10-05 Thread Jean-Jacques Hiblot
This allows the driver to be used without OF_CONTROL. AM335x support DM_SPL but does not use SPL_OF_CONTROL. Enabling DM_I2C in SPL thus requires that the omap I2C can be passed platdata. Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None arch/arm/include/asm/arch-am33xx/i2c.h | 2 ++

[U-Boot] [PATCH v2 02/19] dm: i2c: Add dm_i2c_probe_device() to test the presence of a chip

2018-10-05 Thread Jean-Jacques Hiblot
In a non-DM environment, it is possible to test the presence of a chip using i2c_probe(chip_addr). dm_i2c_probe_device() brings the same functionality with a DM interface. The intent is to be able to test the presence of a chip for the device has been created with i2c_get_chip_for_busnum(bus_num,

[U-Boot] [PATCH v2 03/19] dm: device: Allow using uclass_find_device_by_seq() without OF_CONTROL

2018-10-05 Thread Jean-Jacques Hiblot
If OF_CONTROL is not enabled and DM_SEQ_ALIAS is enabled, we must assign an alias (requested sequence number) to devices that belongs to a class with the DM_UC_FLAG_SEQ_ALIAS flag. Otherwise uclass_find_device_by_seq() cannot be used to get/probe a device. In particular i2c_get_chip_for_busnum()

Re: [U-Boot] [PATCH 02/11] efi_loader: Initial HII protocols

2018-10-05 Thread Heinrich Schuchardt
On 10/05/2018 11:49 AM, Leif Lindholm wrote: > On Fri, Oct 05, 2018 at 05:52:09PM +0900, AKASHI, Takahiro wrote: 2. If a platform includes a configuration infrastructure, then the EFI_HII_DATABASE_PROTOCOL, EFI_HII_STRING_PROTOCOL, EFI_HII_CONFIG_ROUTING_PROTOCOL, and

Re: [U-Boot] [PATCH v3 1/2] arm: new board - Emlid Neutis N5 support

2018-10-05 Thread Maxime Ripard
On Fri, Oct 05, 2018 at 03:55:59PM +0300, Aleksandr Aleksandrov wrote: > Emlid Neutis N5 is a SoM based on Allwinner H5, has a WiFi & BT > module, DDR3 RAM and eMMC. > > - add neutis-devboard target to dtb makefile > - add dtsi file for Neutis N5 needs > - add config file for Neutis N5 Dev board

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

2018-10-05 Thread Tom Rini
On Thu, Oct 04, 2018 at 06:46:57PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > thanks, > Jagan. > > The following changes since commit 94228a9188803473206544c8f33649ea72bf1ee1: > > Merge git://git.denx.de/u-boot-riscv (2018-10-03 08:09:53 -0400) > > are available in the

[U-Boot] Please pull ARC changes

2018-10-05 Thread Alexey Brodkin
Hi Tom, he following changes since commit a1588ac8228881f9fe65539fa8e31f0ee3556864: Merge tag 'rockchip-for-v2018.11' of git://git.denx.de/u-boot-rockchip (2018-10-03 12:09:19 -0400) are available in the Git repository at: git://git.denx.de/u-boot-arc.git tags/arc-updates-for-2018.11-rc2

Re: [U-Boot] Fwd: build u-boot failed with config CONFIG_ARMV8_PSCI by aarch linux gcc 8.1

2018-10-05 Thread Renlin Li
CC u-boot mailing list to make people aware of the discussion. By the way, I also noticed that, the final linking command is using: '''-pie -Bstatic --no-dynamic-linker''' And there are self-relocating code in Start.S. BUT it is not included when u-boot is not configured using

Re: [U-Boot] [PATCH v1 12/19] configs: am335x_pdu001: Explicitly enable CONFIG_I2C_COMPAT

2018-10-05 Thread Felix Brack
Hello Jean-Jacques, On 05.10.2018 15:09, Jean-Jacques Hiblot wrote: > Hi Felix, > > On 05/10/2018 14:25, Felix Brack wrote: >> Hello Jean-Jacques, >> >> On 04.10.2018 15:47, Jean-Jacques Hiblot wrote: >>> CONFIG_I2C_COMPAT is currently enabled in ti_armv7_common.h >>> Let us use the Kconfig

Re: [U-Boot] [PATCH v1 12/19] configs: am335x_pdu001: Explicitly enable CONFIG_I2C_COMPAT

2018-10-05 Thread Jean-Jacques Hiblot
Hi Felix, On 05/10/2018 14:25, Felix Brack wrote: Hello Jean-Jacques, On 04.10.2018 15:47, Jean-Jacques Hiblot wrote: CONFIG_I2C_COMPAT is currently enabled in ti_armv7_common.h Let us use the Kconfig option instead so that any change to CONFIG_I2C_COMPAT in ti_armv7_common.h doesn't break

Re: [U-Boot] [PATCH 02/11] efi_loader: Initial HII protocols

2018-10-05 Thread Alexander Graf
On 10/05/2018 11:49 AM, Leif Lindholm wrote: On Fri, Oct 05, 2018 at 05:52:09PM +0900, AKASHI, Takahiro wrote: 2. If a platform includes a configuration infrastructure, then the EFI_HII_DATABASE_PROTOCOL, EFI_HII_STRING_PROTOCOL, EFI_HII_CONFIG_ROUTING_PROTOCOL, and

[U-Boot] [PATCH v3 1/2] arm: new board - Emlid Neutis N5 support

2018-10-05 Thread Aleksandr Aleksandrov
Emlid Neutis N5 is a SoM based on Allwinner H5, has a WiFi & BT module, DDR3 RAM and eMMC. - add neutis-devboard target to dtb makefile - add dtsi file for Neutis N5 needs - add config file for Neutis N5 Dev board Signed-off-by: Aleksandr Aleksandrov Cc: Jagan Teki Cc: Maxime Ripard ---

[U-Boot] [PATCH v3 0/2] Neutis N5 support

2018-10-05 Thread Aleksandr Aleksandrov
This series of pathes addes Neutis N5 support. Emlid Neutis N5 is a SoM based on Allwinner H5. 1st patch includes device tree file and defconfig for Dev board and dtsi file for SoM needs. Changes from v1 (4 oct 2018): add to maintainers myself and separate dts file: dtsi for SoM and motherboard

[U-Boot] [PATCH v3 2/2] sunxi MAINTAINERS: add new entry for Emlid Neutis N5

2018-10-05 Thread Aleksandr Aleksandrov
Signed-off-by: Aleksandr Aleksandrov Cc: Tom Rini --- board/sunxi/MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS index 2f95976..ad7d660 100644 --- a/board/sunxi/MAINTAINERS +++ b/board/sunxi/MAINTAINERS @@ -177,6 +177,11 @@

Re: [U-Boot] [PATCH v1 12/19] configs: am335x_pdu001: Explicitly enable CONFIG_I2C_COMPAT

2018-10-05 Thread Felix Brack
Hello Jean-Jacques, On 04.10.2018 15:47, Jean-Jacques Hiblot wrote: > CONFIG_I2C_COMPAT is currently enabled in ti_armv7_common.h > Let us use the Kconfig option instead so that any change to > CONFIG_I2C_COMPAT in ti_armv7_common.h doesn't break this platform. > As I can't find

Re: [U-Boot] [PATCH v1 00/19] DM_I2C_COMPAT removal for all ti platforms

2018-10-05 Thread Lokesh Vutla
Hi JJ, On Thursday 04 October 2018 07:17 PM, Jean-Jacques Hiblot wrote: This series remove the usage of the DM_I2C_COMPAT option for all the ti platforms. It also takes this opportunity to not disable DM_I2C in the SPL. There are a couples of issues to fix: - CMD_EEPROM does not support the DM

Re: [U-Boot] [PATCH v1 00/19] DM_I2C_COMPAT removal for all ti platforms

2018-10-05 Thread Jean-Jacques Hiblot
Adam, On 04/10/2018 23:55, Adam Ford wrote: On Thu, Oct 4, 2018 at 8:48 AM Jean-Jacques Hiblot wrote: This series remove the usage of the DM_I2C_COMPAT option for all the ti platforms. It also takes this opportunity to not disable DM_I2C in the SPL. Thanks for doing that, but I have some

[U-Boot] [PATCH] add default-option to bootmenu

2018-10-05 Thread Frank Wunderlich
From 6304b2ee2d2e9be47672d3559fee8d879b7328ff Mon Sep 17 00:00:00 2001 From: Frank Wunderlich Date: Fri, 5 Oct 2018 11:41:59 +0200 Subject: [PATCH] add default-option to bootmenu with this patch the selected Entry in bootmenu can be set by environment-var bootmenu_default= Signed-off-by: Frank

Re: [U-Boot] [PATCH v1 03/19] dm: device: Allow using uclass_find_device_by_seq() without OF_CONTROL

2018-10-05 Thread Jean-Jacques Hiblot
On 05/10/2018 10:50, Jean-Jacques Hiblot wrote: Hi Adam, On 05/10/2018 00:42, Adam Ford wrote: On Thu, Oct 4, 2018 at 8:48 AM Jean-Jacques Hiblot wrote: If OF_CONTROL is not enabled and DM_SEQ_ALIAS is enabled, we must assign an alias (requested sequence number) to devices that belongs

Re: [U-Boot] [PATCH V5 32/32] imx: add i.MX8QXP MEK board support

2018-10-05 Thread Stefano Babic
On 05/10/2018 12:57, Peng Fan wrote: > Hi Stefano, > >> -Original Message- >> From: Stefano Babic [mailto:sba...@denx.de] >> Sent: 2018年10月5日 18:54 >> To: Peng Fan ; sba...@denx.de; ag...@denx.de >> Cc: u-boot@lists.denx.de; Fabio Estevam >> Subject: Re: [PATCH V5 32/32] imx: add

Re: [U-Boot] [PATCH V5 32/32] imx: add i.MX8QXP MEK board support

2018-10-05 Thread Peng Fan
Hi Stefano, > -Original Message- > From: Stefano Babic [mailto:sba...@denx.de] > Sent: 2018年10月5日 18:54 > To: Peng Fan ; sba...@denx.de; ag...@denx.de > Cc: u-boot@lists.denx.de; Fabio Estevam > Subject: Re: [PATCH V5 32/32] imx: add i.MX8QXP MEK board support > > Hi Peng, > > I am

Re: [U-Boot] [PATCH V5 32/32] imx: add i.MX8QXP MEK board support

2018-10-05 Thread Stefano Babic
Hi Peng, I am fine with most patches of this series. Anyway, I see that to build the image you are using a "fork" of mkimage... On 26/09/2018 15:52, Peng Fan wrote: > Add i.MX8QXP MEK board support > Enabled pinctrl/clk/power domain/mmc/i2c driver. > Added README file. > > Signed-off-by: Peng

Re: [U-Boot] [PATCH 02/11] efi_loader: Initial HII protocols

2018-10-05 Thread Leif Lindholm
On Fri, Oct 05, 2018 at 05:52:09PM +0900, AKASHI, Takahiro wrote: > > > 2. If a platform includes a configuration infrastructure, then the > > > EFI_HII_DATABASE_PROTOCOL, EFI_HII_STRING_PROTOCOL, > > > EFI_HII_CONFIG_ROUTING_PROTOCOL, and EFI_HII_CONFIG_ACCESS_PROTOCOL are > > > required. > > > >

[U-Boot] [PATCH 3/5] arm: remove prototype for udelay_masked

2018-10-05 Thread Patrick Delaunay
The interruption support had be removed for ARM architecture and the function udelay_masked() is no more used except in some timer.c files and have the same content than udelay() or __udelay(). This patch update each timer.c implementing this function and remove the associated prototype in

[U-Boot] [PATCH 0/5] arm: cleanup prototypes in u-boot-arm.h

2018-10-05 Thread Patrick Delaunay
When I check the patch http://patchwork.ozlabs.org/patch/978762/ I see that some prototypes in u-boot-arm.h are not needed as they are unused or only used locally. This patset removes them in u-boot-arm.h; 3 patch are simple but in 2 patches I need to udpate timer.c files in many architecture

[U-Boot] [PATCH 4/5] arm: remove prototype for get_timer_masked

2018-10-05 Thread Patrick Delaunay
The interruption support had be removed for ARM architecture and the function get_timer_masked() is no more used except in some the timer.c files. This patch clean each timer.c which implement this function and remove the associated prototype in u-boot-arm.h For timer.c, I don't verify if the

[U-Boot] [PATCH 5/5] arm: remove duplicated prototypes in u-boot.arm.h

2018-10-05 Thread Patrick Delaunay
Remove the function prototypes duplicated between u-boot.arm.h and init.h/common.h Signed-off-by: Patrick Delaunay --- arch/arm/include/asm/u-boot-arm.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/include/asm/u-boot-arm.h b/arch/arm/include/asm/u-boot-arm.h index

[U-Boot] [PATCH 2/5] arm: remove prototype for reset_timer_masked

2018-10-05 Thread Patrick Delaunay
Remove prototype for function only used in one file Signed-off-by: Patrick Delaunay --- arch/arm/cpu/armv7/s5p-common/timer.c | 3 ++- arch/arm/include/asm/u-boot-arm.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv7/s5p-common/timer.c

[U-Boot] [PATCH 1/5] arm: remove prototype for arch_interrupt_init

2018-10-05 Thread Patrick Delaunay
Remove prototype for no more existing function Signed-off-by: Patrick Delaunay --- arch/arm/include/asm/u-boot-arm.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/include/asm/u-boot-arm.h b/arch/arm/include/asm/u-boot-arm.h index cc828c4..e08435a 100644 ---

Re: [U-Boot] [PATCH 02/11] efi_loader: Initial HII protocols

2018-10-05 Thread AKASHI, Takahiro
On Wed, 3 Oct 2018 at 16:37, AKASHI, Takahiro wrote: > > Alex, > > On Sun, Sep 23, 2018 at 12:11:08PM +0200, Alexander Graf wrote: > > > > > > On 22.09.18 12:34, Heinrich Schuchardt wrote: > > > On 10/10/2017 02:22 PM, Rob Clark wrote: > > >> From: Leif Lindholm > > >> > > >> Enough

Re: [U-Boot] [PATCH v1 03/19] dm: device: Allow using uclass_find_device_by_seq() without OF_CONTROL

2018-10-05 Thread Jean-Jacques Hiblot
Hi Adam, On 05/10/2018 00:42, Adam Ford wrote: On Thu, Oct 4, 2018 at 8:48 AM Jean-Jacques Hiblot wrote: If OF_CONTROL is not enabled and DM_SEQ_ALIAS is enabled, we must assign an alias (requested sequence number) to devices that belongs to a class with the DM_UC_FLAG_SEQ_ALIAS flag.

Re: [U-Boot] rockchip: Fix rkimage format for SPL boot over USB

2018-10-05 Thread Philipp Tomsich
> The 'rkimage' format used for booting rockchip boards over USB seems to > have been broken since commit 7bf274b9caab ("rockchip: mkimage: use > imagename to select spl hdr & spl size"). That commit adds an offset of > RK_SPL_HDR_START(=2048) to the location the 'RKxx' header is written > at.

Re: [U-Boot] [PATCH] Revert "test/py: Import 'configparser' lower case to be python 3.x safe"

2018-10-05 Thread Michal Simek
On 4.10.2018 18:00, Stephen Warren wrote: > On 10/04/2018 01:37 AM, Michal Simek wrote: >> This reverts commit 052ca37daa20a9825d7ce905d632e349f434058d. >> This patch introduced bug which hasn't been resolved for quite a long >> time. Full failed log is placed below but the major sign is >> "codec

[U-Boot] [PATCH 3/3] power: regulator: add driver for Dialog DA9063 PMIC

2018-10-05 Thread Martin Fuzzey
Add a driver for the regulators in the the DA9063 PMIC. Signed-off-by: Martin Fuzzey --- drivers/power/regulator/Kconfig | 10 + drivers/power/regulator/Makefile | 1 + drivers/power/regulator/da9063.c | 395 +++ 3 files changed, 406 insertions(+) create

[U-Boot] [PATCH 2/3] power: pmic: add driver for Dialog DA9063 PMIC

2018-10-05 Thread Martin Fuzzey
This adds the basic register access operations and child regulator binding (if a regulator driver exists). Signed-off-by: Martin Fuzzey --- drivers/power/pmic/Kconfig | 7 + drivers/power/pmic/Makefile | 1 + drivers/power/pmic/da9063.c | 187 +++

[U-Boot] [PATCH 0/3] power: Add support for the Dialog DA9063 PMIC

2018-10-05 Thread Martin Fuzzey
Add basic support for the Dialog DA9063 PMIC. Only the regulators are supported for the moment. Also teach "pmic dump" to handle non contiguous register maps. Martin Fuzzey (3): pmic: allow dump command for non contiguous register maps power: pmic: add driver for Dialog DA9063 PMIC power:

[U-Boot] [PATCH 1/3] pmic: allow dump command for non contiguous register maps

2018-10-05 Thread Martin Fuzzey
Some PMICs (such as the DA9063) have non-contiguous register maps. Attempting to read the non implemented registers returns an error rather than a dummy value which causes 'pmic dump' to terminate prematurely. Fix this by allowing the PMIC driver to return -ENODATA for such registers, which will

Re: [U-Boot] [PATCH v2 04/17] test/py: Fix unicode handling for log filtering

2018-10-05 Thread Michal Simek
On 2.10.2018 05:12, Simon Glass wrote: > At present the unicode filtering seems to get confused at times with > this error: > > UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position > 32: ordinal not in range(128) > > It seems to be due to self._nonprint being interpreted

[U-Boot] [PATCH] arm64: zynqmp: Enable CDC ethernet gadget for zcu100/Ultra96

2018-10-05 Thread Michal Simek
Ethernet is not present on this board that's why there are two other options how to wire the board to ethernet. The first is asix_eth usb host converter which is already enabled by default. The second option is to use USB CDC/RNDIS ethernet gadget. This patch is enabling CDC which is working with