Re: [U-Boot] [PATCH v2 3/3] watchdog: Convert Xilinx Axi watchdog driver to driver model

2018-07-19 Thread Michal Simek
Hi Simon, On 19.7.2018 03:31, Simon Glass wrote: > Hi Shreenidhi, > > On 14 July 2018 at 14:35, Shreenidhi Shedi wrote: >> Xilinx Axi wdt driver conversion to driver model & Kconfig update >> for the same. >> >> Changes in V1: >> - Xilinx Axi wdt driver conversion to DM initial version >> >> Ch

[U-Boot] [PATCH 1/3] spl: fit: display a message when an FPGA image is loaded

2018-07-19 Thread Luis Araneda
A message should be displayed if an image is loaded to an FPGA, because the hardware might have changed, and the user should be informed Signed-off-by: Luis Araneda --- common/spl/spl_fit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c index 5b51

[U-Boot] [PATCH 3/3] arm: zynq: spl: fix FPGA initialization

2018-07-19 Thread Luis Araneda
commit 4aba5fb857c1 ("arm: zynq: Rework FPGA initialization") moved FPGA initialization from board_init() to arch_early_init_r(), which is not called as part of the SPL Fix this by calling arch_early_init_r() in the spl_board_init() function, so the FPGA is correctly initialized Signed-off-by: Lu

[U-Boot] [PATCH 2/3] drivers: fpga: zynqpl: fix compilation with SPL

2018-07-19 Thread Luis Araneda
Disable the use of function zynq_loadfs when compiling the driver for the SPL, as the following filesystem functions are not found by the linker: - fs_set_blk_dev - fs_read - fs_set_blk_dev - fs_read - fs_read Signed-off-by: Luis Araneda --- drivers/fpga/zynqpl.c | 4 ++-- 1 file changed, 2 inse

[U-Boot] [PATCH v4 0/1] Xilinx Axi Watchdog driver conversion to driver model

2018-07-19 Thread Michal Simek
Hi, this is moving MB watchdog to DM. I have taken v2 from Shreenidhi and did some changes to speedup upstreaming because I need this for my gpio work. Removing watchdog in the first patch is not big deal because this is generic platform and adresses are fake. Sending only last patch because the

[U-Boot] [PATCH v4] watchdog: Convert Xilinx Axi watchdog driver to driver model

2018-07-19 Thread Michal Simek
From: Shreenidhi Shedi Xilinx Axi wdt driver conversion to driver model & Kconfig update for the same. Signed-off-by: Shreenidhi Shedi Signed-off-by: Michal Simek --- Changes in v4: - Fix Kconfig typo - by sjg - Use debug instead of puts in drivers - by sjg - Use EBUSY instead of -1 - by sjg

Re: [U-Boot] [PATCH 1/3] spl: fit: display a message when an FPGA image is loaded

2018-07-19 Thread Michal Simek
On 19.7.2018 09:10, Luis Araneda wrote: > A message should be displayed if an image is loaded > to an FPGA, because the hardware might have changed, > and the user should be informed > > Signed-off-by: Luis Araneda > --- > common/spl/spl_fit.c | 1 + > 1 file changed, 1 insertion(+) > > diff --

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

2018-07-19 Thread Michal Simek
On 9.7.2018 07:00, Luis Araneda wrote: > 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 an

[U-Boot] [PATCH 6/6] ARM: uniphier: enable MTD partition and UBI

2018-07-19 Thread Masahiro Yamada
Enable "mtdparts" and "ubi" commands for uniphier_v8_defconfig to use UBI on NAND devices. Enable only "mtdparts" for uniphier_{v7,ld4_sld8}_defconfig because enabling UBI would increase 170KB, which would be memory footprint problem. Signed-off-by: Masahiro Yamada --- configs/uniphier_ld4_sld

[U-Boot] [PATCH 1/6] fdt_support: make fdt_fixup_mtdparts() prototype more specific

2018-07-19 Thread Masahiro Yamada
The second argument of fdt_fixup_mtdparts() is an opaque pointer, 'void *node_info', hence callers can pass any pointer. Obviously, fdt_fixup_mtdparts() expects 'struct node_info *' otherwise, it crashes run-time. Change the prototype so that it is compile-time checked. Also, add 'const' qualifi

[U-Boot] [PATCH 5/6] ARM: uniphier: support fdt_fixup_mtdparts

2018-07-19 Thread Masahiro Yamada
Propagate the "mtdparts" environment variable to the DT passed in to OS. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/fdt-fixup.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/mach-uniphier/fdt-fixup.c b/arch/arm/mach-uniphier/fdt-fixup.c index 022e442..6f3c

[U-Boot] [PATCH 4/6] ARM: uniphier: split ft_board_setup() out to a separate file

2018-07-19 Thread Masahiro Yamada
Prepare to add more fdt fixup code. Signed-off-by: Masahiro Yamada --- arch/arm/Kconfig | 1 + arch/arm/mach-uniphier/Kconfig | 1 - arch/arm/mach-uniphier/Makefile| 1 + arch/arm/mach-uniphier/dram_init.c | 35 arch/arm/mach-uniphier/fdt-fi

[U-Boot] [PATCH 2/6] board: constify struct node_info array

2018-07-19 Thread Masahiro Yamada
Add 'const' (also 'static' in some places) to struct node_info arrays to save memory footprint. Signed-off-by: Masahiro Yamada --- board/CarMediaLab/flea3/flea3.c | 2 +- board/compulab/cm_fx6/cm_fx6.c| 2 +- board/freescale/bsc9131rdb/bsc9131rdb.c | 2 +- board/freescal

[U-Boot] [PATCH 3/6] ARM: uniphier: clean-up ft_board_setup()

2018-07-19 Thread Masahiro Yamada
The 'bd' is passed in ft_board_setup() as the second argument. Replace 'gd->bd' with 'bd'. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/dram_init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-uniphier/dram_init.c b/arch/arm/mach-uniphier

Re: [U-Boot] [PATCH] omap3: beagle: re-enable EFI support after the following commit removed it by mistake:

2018-07-19 Thread Guillaume Gardet
Hi Derald, Le 19/07/2018 à 01:47, Derald D. Woods a écrit : On Wed, Jul 18, 2018 at 09:38:44PM +0200, Guillaume GARDET wrote: commit d233ccb1d84b901f7e23e6d9b4f2c6a57198b23b ARM: omap3: beagle: Enable DM_SERIAL, update distro usage and NAND layout I have found no compile or runtime iss

Re: [U-Boot] [PATCH] arm: zynq: Setup ENV_SIZE via Kconfig

2018-07-19 Thread Michal Simek
On 18.7.2018 13:01, Michal Simek wrote: > Simplify zynq_cse config by setting up ENV_SIZE via Kconfig. > > Signed-off-by: Michal Simek > --- > > Based on: > https://lists.denx.de/pipermail/u-boot/2018-July/335126.html > > --- > configs/zynq_cse_nand_defconfig | 1 + > configs/zynq_cse_nor_defc

Re: [U-Boot] [PATCH v2 1/3] x86: acpi: Move APIs unrelated to ACPI tables generation to a separate library

2018-07-19 Thread Andy Shevchenko
On Wed, 2018-07-18 at 21:42 -0700, Bin Meng wrote: > acpi_find_fadt(), acpi_find_wakeup_vector() and enter_acpi_mode() > are something unrelated to ACPI tables generation. Move these to > a separate library. > > This also fixes several style issues reported by checkpatch in the > original codes. >

Re: [U-Boot] [PATCH v2 1/3] x86: acpi: Move APIs unrelated to ACPI tables generation to a separate library

2018-07-19 Thread Bin Meng
Hi Andy, On Thu, Jul 19, 2018 at 4:30 PM, Andy Shevchenko wrote: > On Wed, 2018-07-18 at 21:42 -0700, Bin Meng wrote: >> acpi_find_fadt(), acpi_find_wakeup_vector() and enter_acpi_mode() >> are something unrelated to ACPI tables generation. Move these to >> a separate library. >> >> This also fix

Re: [U-Boot] [PATCH] spl: fpga: Implement fpga bistream loading with fpga_load

2018-07-19 Thread Marek Vasut
On 07/19/2018 08:44 AM, Michal Simek wrote: > On 19.7.2018 08:36, Luis Araneda wrote: >> Hi, >> >> On Thu, Jul 19, 2018 at 1:58 AM Michal Simek wrote: >>> On 18.7.2018 22:11, Marek Vasut wrote: On 07/18/2018 04:57 PM, Michal Simek wrote: > On 18.7.2018 16:24, Marek Vasut wrote: >> On

Re: [U-Boot] [PATCH] spl: fpga: Implement fpga bistream loading with fpga_load

2018-07-19 Thread Marek Vasut
On 07/19/2018 07:57 AM, Michal Simek wrote: > On 18.7.2018 22:11, Marek Vasut wrote: >> On 07/18/2018 04:57 PM, Michal Simek wrote: >>> On 18.7.2018 16:24, Marek Vasut wrote: On 07/18/2018 04:18 PM, Michal Simek wrote: > On 18.7.2018 16:15, Marek Vasut wrote: >> On 07/18/2018 04:00 PM,

Re: [U-Boot] [PATCH v2 1/3] x86: acpi: Move APIs unrelated to ACPI tables generation to a separate library

2018-07-19 Thread Andy Shevchenko
On Thu, 2018-07-19 at 16:36 +0800, Bin Meng wrote: > Hi Andy, > > On Thu, Jul 19, 2018 at 4:30 PM, Andy Shevchenko > wrote: > > On Wed, 2018-07-18 at 21:42 -0700, Bin Meng wrote: > > > acpi_find_fadt(), acpi_find_wakeup_vector() and enter_acpi_mode() > > > are something unrelated to ACPI tables g

Re: [U-Boot] Issue with fat16 format

2018-07-19 Thread Siva Durga Prasad Paladugu
Hi Heinrich/Rob, Do we have any update on this issue. Thanks, Siva > -Original Message- > From: Vipul Kumar > Sent: Monday, June 18, 2018 10:35 AM > To: Heinrich Schuchardt ; u-boot@lists.denx.de > Cc: Michal Simek ; Siva Durga Prasad Paladugu > ; Rob Clark ; Łukasz Majewski > ; Simon Gl

[U-Boot] [PATCH 00/20] Add support for 1wire protocol and 1wire eeproms

2018-07-19 Thread Eugen Hristev
This is a patch series originally written by Maxime Ripard, https://lists.denx.de/pipermail/u-boot/2016-November/272138.html titled: [U-Boot] [PATCH RESEND 0/9] sunxi: chip: Enable the DIP auto-detection and reworked to include support for the EEPROMs on the PDAs connected to the sama xplained b

[U-Boot] [PATCH 01/20] w1: Add 1-Wire uclass

2018-07-19 Thread Eugen Hristev
From: Maxime Ripard We might want to use 1-Wire devices connected on boards such as EEPROMs in U-Boot. Provide a framework to be able to do that. Signed-off-by: Maxime Ripard [eugen.hris...@microchip.com: fixed small issues and rebased] Signed-off-by: Eugen Hristev --- drivers/Kconfig

[U-Boot] [PATCH 02/20] w1: Add 1-Wire gpio driver

2018-07-19 Thread Eugen Hristev
From: Maxime Ripard Add a bus driver for bitbanging a 1-Wire bus over a GPIO. Signed-off-by: Maxime Ripard [eugen.hris...@microchip.com: addressed review comments] Signed-off-by: Eugen Hristev --- drivers/w1/Kconfig | 7 +++ drivers/w1/Makefile | 2 + drivers/w1/w1-gpio.c | 158 +++

[U-Boot] [PATCH 03/20] dt-bindings: W1: w1-gpio: added bindings for w1-gpio

2018-07-19 Thread Eugen Hristev
Added bindings specification for bitbanged gpio driver for Dallas one wire protocol Signed-off-by: Eugen Hristev --- doc/device-tree-bindings/w1/w1-gpio.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 04 doc/device-tree-bindings/w1 create mode 100644 doc/d

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

2018-07-19 Thread Bin Meng
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 --- Changes in v2: None arch/x86/lib/fsp/fsp_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

[U-Boot] [PATCH v2 3/5] dm: sysreset: Add a standard message when doing reset

2018-07-19 Thread Bin Meng
It's good to print a message when doing reset. Signed-off-by: Bin Meng --- Changes in v2: - new patch per Wolfgang's suggestion to add a standard message when doing reset drivers/sysreset/sysreset-uclass.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/sysreset/sysreset-uclas

[U-Boot] [PATCH 04/20] W1-EEPROM: Add an W1-EEPROM uclass for 1 wire EEPROMs

2018-07-19 Thread Eugen Hristev
From: Maxime Ripard We might want to access data stored onto one wire EEPROMs. Create a framework to provide a consistent API. Signed-off-by: Maxime Ripard [eugen.hris...@microchip.com: reworked patch] Signed-off-by: Eugen Hristev --- drivers/Kconfig | 2 ++ drivers/Make

[U-Boot] [PATCH v2 1/5] efi: app: Add a sysreset driver

2018-07-19 Thread Bin Meng
This adds the DM sysreset driver for EFI application support. Signed-off-by: Bin Meng --- Changes in v2: - drop patches already applied - new patch to add a sysreset driver for efi app lib/efi/efi_app.c | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) diff -

[U-Boot] [PATCH 07/20] w1: add command for onewire protocol

2018-07-19 Thread Eugen Hristev
Add basic command for bus information and read for onewire bus using Dallas 1-Wire protocol. Signed-off-by: Eugen Hristev --- cmd/Kconfig | 7 cmd/Makefile | 1 + cmd/w1.c | 121 +++ 3 files changed, 129 insertions(+) create

[U-Boot] [PATCH 08/20] pinctrl: sandbox: add gpio onewire w1 group

2018-07-19 Thread Eugen Hristev
Add onewire "w1" groups and pin function for onewire GPIOs in sandbox. Signed-off-by: Eugen Hristev --- drivers/pinctrl/pinctrl-sandbox.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/pinctrl/pinctrl-sandbox.c b/drivers/pinctrl/pinctrl-sandbox.c index 468fa2a..755ac08 100644 --

[U-Boot] [PATCH v2 5/5] x86: Switch to use DM sysreset driver

2018-07-19 Thread Bin Meng
This converts all x86 boards over to DM sysreset. Signed-off-by: Bin Meng --- Changes in v2: - remove include of "reset.dsti" in edison.dts - add SYSRESET for efi-x86_app and edison arch/Kconfig | 2 ++ arch/x86/cpu/baytrail/valleyview.c| 6 -

[U-Boot] [PATCH v2 2/5] x86: tangier: Add a sysreset driver

2018-07-19 Thread Bin Meng
This adds a reset driver for tangier processor. Signed-off-by: Bin Meng --- Changes in v2: - new patch to add a reset driver for tangier processor arch/x86/cpu/tangier/Makefile | 2 +- arch/x86/cpu/tangier/sysreset.c | 48 + 2 files changed, 49 inser

[U-Boot] [PATCH 06/20] W1-EEPROM: add sandbox driver

2018-07-19 Thread Eugen Hristev
Add a sandbox driver for a one wire EEPROM memory Signed-off-by: Eugen Hristev --- drivers/w1-eeprom/Kconfig | 6 + drivers/w1-eeprom/Makefile | 1 + drivers/w1-eeprom/eep_sandbox.c | 57 + include/w1.h| 1 + 4 files c

[U-Boot] [PATCH 05/20] W1-EEPROM: add support for Maxim DS24 eeprom families

2018-07-19 Thread Eugen Hristev
From: Maxime Ripard Add a driver that supports Maxim 1 wire EEPROMs families DS24B33 and DS2431. Can be extended for other families as well. Signed-off-by: Maxime Ripard [eugen.hris...@microchip.com: reworked driver] Signed-off-by: Eugen Hristev --- drivers/w1-eeprom/Kconfig | 6 ++ dr

[U-Boot] [PATCH 15/20] board: sama5d2_xplained: add pda detect call at init time

2018-07-19 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- board/atmel/sama5d2_xplained/sama5d2_xplained.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/atmel/sama5d2_xplained/sama5d2_xplained.c b/boar

[U-Boot] [PATCH 13/20] configs: sama5d3_xplained: add onewire and eeprom drivers

2018-07-19 Thread Eugen Hristev
SAMA5D3 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev --- configs/sama5d3_xplained_mmc_defconf

[U-Boot] [PATCH 14/20] board: atmel: add support for pda detection

2018-07-19 Thread Eugen Hristev
This adds the support for PDA detection as common code for Atmel boards. Using the one wire interface over GPIO , an EEPROM memory is read and compared to preprogrammed values for PDA screens TM4300, TM7000 and TM7000B. Once the PDA is detected, an environment variable is set accordingly. Signed-o

[U-Boot] [PATCH 11/20] w1: enumerate sandbox driver if configured

2018-07-19 Thread Eugen Hristev
Add a sandbox eeprom on the bus as a device, if sandbox driver is configured. Signed-off-by: Eugen Hristev --- drivers/w1/w1-uclass.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/w1/w1-uclass.c b/drivers/w1/w1-uclass.c index cfddda3..e58c1ca 100644 --- a/drivers/w1/w1-uclass.

[U-Boot] [PATCH 12/20] configs: sama5d2_xplained: add onewire and eeprom drivers

2018-07-19 Thread Eugen Hristev
SAMA5D2 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev --- configs/sama5d2_xplained_mmc_defconf

[U-Boot] [PATCH 19/20] ARM: dts: at91: sama5d2_xplained: add onewire connector for LCD eeprom

2018-07-19 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d2_xplained.dts | 12 arch/arm/dts/sama5d2.dtsi | 6 ++ 2 files changed, 18 insertions(+) diff --git a/arch/arm/dts/at91-sama5d2_xplained.dts b/arch/arm/dts

[U-Boot] [PATCH 10/20] configs: sandbox: add onewire w1 and sandbox eeprom

2018-07-19 Thread Eugen Hristev
To be able to test Dallas onewire protocol and one wire eeproms driver and subsystem, add in sandbox defconfig the drivers' config. Signed-off-by: Eugen Hristev --- configs/sandbox_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/sandbox_defconfig b/configs/sandbox_defco

[U-Boot] [PATCH 09/20] sandbox: DTS: w1: add node for one wire interface on GPIO

2018-07-19 Thread Eugen Hristev
Add a node for the one wire uclass and one wire gpio driver in sandbox. Signed-off-by: Eugen Hristev --- arch/sandbox/dts/sandbox.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts index 0ea2452..70bc244 100644 ---

[U-Boot] [PATCH 16/20] board: sama5d3_xplained: add pda detect call at init time

2018-07-19 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- arch/arm/mach-at91/Kconfig | 1 + board/atmel/sama5d3_xplained/sama5d3_xplained.c | 10 ++ 2 files changed, 11 insertions(+) di

Re: [U-Boot] [PATCH v2 2/5] x86: tangier: Add a sysreset driver

2018-07-19 Thread Bin Meng
Hi Andy, On Thu, Jul 19, 2018 at 6:07 PM, Bin Meng wrote: > This adds a reset driver for tangier processor. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - new patch to add a reset driver for tangier processor > > arch/x86/cpu/tangier/Makefile | 2 +- > arch/x86/cpu/tangier/sysres

[U-Boot] [PATCH 18/20] configs: sama5d3_xplained: add fdt overlay support

2018-07-19 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d3_xplained_mmc_defconfig | 1 + configs/sama5d3_xplained_nandflash_defconfig | 1 + 2 file

[U-Boot] [PATCH 20/20] ARM: dts: at91: sama5d3_xplained: add onewire connector for LCD eeprom

2018-07-19 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d3_xplained.dts | 12 arch/arm/dts/sama5d3.dtsi | 6 ++ 2 files changed, 18 insertions(+) diff --git a/arch/arm/dts/at91-sama5d3_xplained.dts b/arch/arm/dts

[U-Boot] [PATCH 17/20] configs: sama5d2_xplained: add fdt overlay support

2018-07-19 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d2_xplained_mmc_defconfig | 1 + configs/sama5d2_xplained_spiflash_defconfig | 1 + 2 files

Re: [U-Boot] [PATCH v2 2/5] x86: tangier: Add a sysreset driver

2018-07-19 Thread Andy Shevchenko
On Thu, 2018-07-19 at 18:04 +0800, Bin Meng wrote: > Hi Andy, > > On Thu, Jul 19, 2018 at 6:07 PM, Bin Meng wrote: > > This adds a reset driver for tangier processor. > > > > Signed-off-by: Bin Meng > > > > --- > > > > Changes in v2: > > - new patch to add a reset driver for tangier processor

Re: [U-Boot] [PATCH v2 2/5] x86: tangier: Add a sysreset driver

2018-07-19 Thread Andy Shevchenko
On Thu, 2018-07-19 at 13:29 +0300, Andy Shevchenko wrote: > On Thu, 2018-07-19 at 18:04 +0800, Bin Meng wrote: > > Hi Andy, > > > > On Thu, Jul 19, 2018 at 6:07 PM, Bin Meng > > wrote: > > > This adds a reset driver for tangier processor. > > > > > > Signed-off-by: Bin Meng > > > > > > --- > >

[U-Boot] sunxi: support multiple memory banks

2018-07-19 Thread michael vogt
Hi I would like to support 4 memory chips for a sunxi board (a20). the current configuration in the sunxi-common.h looks like this: #define CONFIG_NR_DRAM_BANKS1 #define PHYS_SDRAM_0CONFIG_SYS_SDRAM_BASE #define PHYS_SDRAM_0_SIZE 0x8000 /* 2 GiB

Re: [U-Boot] [PATCH v6 0/5] Add support for reading memory configuration from DT at run-time

2018-07-19 Thread Michal Simek
On 17.7.2018 15:16, Michal Simek wrote: > Hi, > > this is series which was send by Siva. I have just put there missing > Tom's tag which we got and adding more people to TO. > > Thanks, > Michal > > Changes in v6: > - Fix socfpga misc, bcmstb, ebisu which were recently added > > Changes in v5:

Re: [U-Boot] [PATCH] env: Merge Rockchip, Sunxi, Zynq and ZynqMP

2018-07-19 Thread Maxime Ripard
Hi, On Thu, Jul 19, 2018 at 08:45:45AM +0200, Michal Simek wrote: > There is no reason to have the same Kconfig options for different SoCs > separately. The patch is merging them together. > > Signed-off-by: Michal Simek > --- > > Patch is based on > https://lists.denx.de/pipermail/u-boot/2018-

[U-Boot] [PATCH] ARM: mx6ul: Apply ERR011115 errata workaround

2018-07-19 Thread Marcin Niestroj
ERR05 in IMX6UL errata says to use OCRAM memory above 0x908000 (instead of 0x907000) for silicon revision 1.2 shipped prior date code 1740. As we cannot check affected targets in runtime, apply that workaround by default for all IMX6UL platforms. Leave possibility to disable that workaround fo

Re: [U-Boot] [PATCH] omap3: beagle: re-enable EFI support after the following commit removed it by mistake:

2018-07-19 Thread Derald Woods
On Thu, Jul 19, 2018, 2:34 AM Guillaume Gardet wrote: > Hi Derald, > > > Le 19/07/2018 à 01:47, Derald D. Woods a écrit : > > On Wed, Jul 18, 2018 at 09:38:44PM +0200, Guillaume GARDET wrote: > >>commit d233ccb1d84b901f7e23e6d9b4f2c6a57198b23b > >>ARM: omap3: beagle: Enable DM_SERIAL, upd

Re: [U-Boot] [PATCH v2 2/5] x86: tangier: Add a sysreset driver

2018-07-19 Thread Bin Meng
Hi Andy, On Thu, Jul 19, 2018 at 6:38 PM, Andy Shevchenko wrote: > On Thu, 2018-07-19 at 13:29 +0300, Andy Shevchenko wrote: >> On Thu, 2018-07-19 at 18:04 +0800, Bin Meng wrote: >> > Hi Andy, >> > >> > On Thu, Jul 19, 2018 at 6:07 PM, Bin Meng >> > wrote: >> > > This adds a reset driver for tan

Re: [U-Boot] [PATCH v2] Add Beaglebone Enhanced support

2018-07-19 Thread Tom Rini
On Wed, Jul 18, 2018 at 10:13:59AM +0200, Koen Kooi wrote: > The "Beaglebone Enhanced" by Sancloud is based on the Beaglebone Black, > but with the following differences: > > * Gigabit capable PHY > * Extra USB hub, optional i2c control > * lps3331ap barometer connected over i2c > * MPU6050 6

Re: [U-Boot] [RFC 2/2] env: Add prefix to error messages when loading env

2018-07-19 Thread Tom Rini
On Wed, Jul 18, 2018 at 04:09:33PM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20180718125351.GE4609@bill-the-cat> you wrote: > > > > > Loading Environment from FAT... > > >--> MMC: no card present > > >--> ** Bad device mmc 0 ** > > >--> Failed (-5) > > >

Re: [U-Boot] [PATCH v2] Add Beaglebone Enhanced support

2018-07-19 Thread Marek Vasut
On 07/18/2018 10:13 AM, Koen Kooi wrote: > The "Beaglebone Enhanced" by Sancloud is based on the Beaglebone Black, > but with the following differences: > > * Gigabit capable PHY > * Extra USB hub, optional i2c control > * lps3331ap barometer connected over i2c > * MPU6050 6 axis MEMS accelero

Re: [U-Boot] [PATCH v2] Add Beaglebone Enhanced support

2018-07-19 Thread Koen Kooi
> Op 19 jul. 2018, om 14:55 heeft Marek Vasut het volgende > geschreven: > > On 07/18/2018 10:13 AM, Koen Kooi wrote: >> The "Beaglebone Enhanced" by Sancloud is based on the Beaglebone Black, >> but with the following differences: >> >> * Gigabit capable PHY >> * Extra USB hub, optional i2c

Re: [U-Boot] [PATCH v2] Add Beaglebone Enhanced support

2018-07-19 Thread Tom Rini
On Thu, Jul 19, 2018 at 02:55:37PM +0200, Marek Vasut wrote: > On 07/18/2018 10:13 AM, Koen Kooi wrote: > > The "Beaglebone Enhanced" by Sancloud is based on the Beaglebone Black, > > but with the following differences: > > > > * Gigabit capable PHY > > * Extra USB hub, optional i2c control > >

Re: [U-Boot] [PATCH v2] Add Beaglebone Enhanced support

2018-07-19 Thread Koen Kooi
> Op 19 jul. 2018, om 15:02 heeft Tom Rini het volgende > geschreven: > > On Thu, Jul 19, 2018 at 02:55:37PM +0200, Marek Vasut wrote: >> On 07/18/2018 10:13 AM, Koen Kooi wrote: >>> The "Beaglebone Enhanced" by Sancloud is based on the Beaglebone Black, >>> but with the following differences:

Re: [U-Boot] [PATCH v2] Add Beaglebone Enhanced support

2018-07-19 Thread Marek Vasut
On 07/19/2018 03:02 PM, Tom Rini wrote: > On Thu, Jul 19, 2018 at 02:55:37PM +0200, Marek Vasut wrote: >> On 07/18/2018 10:13 AM, Koen Kooi wrote: >>> The "Beaglebone Enhanced" by Sancloud is based on the Beaglebone Black, >>> but with the following differences: >>> >>> * Gigabit capable PHY >>>

Re: [U-Boot] [RFC 2/2] env: Add prefix to error messages when loading env

2018-07-19 Thread Sam Protsenko
On Thu, Jul 19, 2018 at 3:52 PM, Tom Rini wrote: > On Wed, Jul 18, 2018 at 04:09:33PM +0200, Wolfgang Denk wrote: >> Dear Tom, >> >> In message <20180718125351.GE4609@bill-the-cat> you wrote: >> > >> > > Loading Environment from FAT... >> > >--> MMC: no card present >> > >--> *

Re: [U-Boot] [PATCH v2] Add Beaglebone Enhanced support

2018-07-19 Thread Tom Rini
On Thu, Jul 19, 2018 at 03:07:55PM +0200, Marek Vasut wrote: > On 07/19/2018 03:02 PM, Tom Rini wrote: > > On Thu, Jul 19, 2018 at 02:55:37PM +0200, Marek Vasut wrote: > >> On 07/18/2018 10:13 AM, Koen Kooi wrote: > >>> The "Beaglebone Enhanced" by Sancloud is based on the Beaglebone Black, > >>> b

Re: [U-Boot] [PATCH 21/25] fastboot: sunxi: Update fastboot mmc default device

2018-07-19 Thread Maxime Ripard
On Wed, Jul 18, 2018 at 08:15:23PM +0100, Alex Kiernan wrote: > On Tue, Jul 17, 2018 at 12:57 PM Maxime Ripard > wrote: > > > > On Mon, Jul 16, 2018 at 12:11:59PM +0100, Alex Kiernan wrote: > > > On Mon, Jul 16, 2018 at 11:13 AM Jagan Teki > > > wrote: > > > > > > > > On Mon, Jul 16, 2018 at 3:1

Re: [U-Boot] [PATCH V2 00/32] i.MX: Add i.MX8QXP support

2018-07-19 Thread Fabio Estevam
Hi Peng, On Tue, Jul 17, 2018 at 10:35 PM, Peng Fan wrote: > This patchset is to upstream i.MX8QXP and mek board support, with some > drivers update to support i.MX8QXP. The information about the processor > could be found > https://www.nxp.com/products/processors-and-microcontrollers/application

Re: [U-Boot] [PATCH] env: Merge Rockchip, Sunxi, Zynq and ZynqMP

2018-07-19 Thread Michal Simek
On 19.7.2018 13:13, Maxime Ripard wrote: > Hi, > > On Thu, Jul 19, 2018 at 08:45:45AM +0200, Michal Simek wrote: >> There is no reason to have the same Kconfig options for different SoCs >> separately. The patch is merging them together. >> >> Signed-off-by: Michal Simek >> --- >> >> Patch is bas

Re: [U-Boot] [PATCH 01/16] pico-imx7d: Convert to distro config

2018-07-19 Thread Michael Nazzareno Trimarchi
Hi Otavio On Fri, Jun 29, 2018 at 8:19 PM, Otavio Salvador wrote: > From: Fabio Estevam > > Instead of keeping a custom environment, use a more generic approach > by switching to disto config. > > Signed-off-by: Fabio Estevam > Signed-off-by: Otavio Salvador > --- > For all the series please

Re: [U-Boot] [PATCH V2 14/32] armv8: add cpu core helper functions

2018-07-19 Thread Fabio Estevam
Hi Peng, On Tue, Jul 17, 2018 at 10:35 PM, Peng Fan wrote: > Add helper functions to identify different armv8 variants. > > Signed-off-by: Peng Fan > --- > arch/arm/include/asm/armv8/cpu.h | 26 ++ > 1 file changed, 26 insertions(+) > create mode 100644 arch/arm/include

Re: [U-Boot] [PATCH V2 29/32] fsl_esdhc: Update usdhc driver to support i.MX8

2018-07-19 Thread Fabio Estevam
On Tue, Jul 17, 2018 at 10:35 PM, Peng Fan wrote: > From: Ye Li > > Add CONFIG_ARCH_IMX8 to use the 64bits support in usdhc driver. > > Signed-off-by: Ye Li > Signed-off-by: Peng Fan > Cc: Jaehoon Chung > --- > drivers/mmc/fsl_esdhc.c | 8 > 1 file changed, 4 insertions(+), 4 deletio

Re: [U-Boot] [PATCH V2 00/32] i.MX: Add i.MX8QXP support

2018-07-19 Thread Peng Fan
Hi Fabio, > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2018年7月19日 21:42 > To: Peng Fan > Cc: Stefano Babic ; Fabio Estevam > ; U-Boot-Denx ; dl-linux-imx > ; Diego Dorta > Subject: Re: [U-Boot] [PATCH V2 00/32] i.MX: Add i.MX8QXP support > > Hi Peng, >

Re: [U-Boot] [PATCH V2 26/32] serial_lpuart: Update lpuart driver to support i.MX8

2018-07-19 Thread Fabio Estevam
On Tue, Jul 17, 2018 at 10:35 PM, Peng Fan wrote: > Add i.MX8 compatible string and cpu type support to lpuart driver, > to use little endian 32 bits configurations. > > Also, accroding to RM, the Receive FIFO Enable (RXFE) field in LPUART > FIFO register is bit 3, so the definition should change

Re: [U-Boot] [PATCH V2 29/32] fsl_esdhc: Update usdhc driver to support i.MX8

2018-07-19 Thread Peng Fan
Hi Fabio, > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2018年7月19日 22:01 > To: Peng Fan > Cc: Stefano Babic ; Fabio Estevam > ; U-Boot-Denx ; dl-linux-imx > > Subject: Re: [U-Boot] [PATCH V2 29/32] fsl_esdhc: Update usdhc driver to > support i.MX8 > > On

Re: [U-Boot] [PATCH v2 01/11] arch: arm: mach-rockchip: rk3288: Enable regulators in board_init

2018-07-19 Thread Wadim Egorov
Hi Philipp, Am 18.07.2018 um 11:05 schrieb Dr. Philipp Tomsich: > Janine, > >> On 18 Jul 2018, at 10:46, Janine Hagemann wrote: >> >> At start-up, the regulators have to be enabled. Let's use >> regulators_enable_boot_on() to enable the regulators needed >> for boot. >> >> Signed-off-by: Wadim Eg

Re: [U-Boot] [PATCH V2 00/32] i.MX: Add i.MX8QXP support

2018-07-19 Thread Fabio Estevam
On Thu, Jul 19, 2018 at 11:02 AM, Peng Fan wrote: > Currently there is no public available code for atf and scfw, so > There will no link in the README, I could only add steps > on how to build out images. Is this ok? Yes, a REAME file with the steps for generating a bootable SD card would be ve

Re: [U-Boot] [PATCH V2 00/32] i.MX: Add i.MX8QXP support

2018-07-19 Thread Anatolij Gustschin
Hi Peng, On Thu, 19 Jul 2018 14:02:43 + Peng Fan peng@nxp.com wrote: ... > > Also, in order to test this series we need a README file. > > Please prepare one so that we can test it. > > Currently there is no public available code for atf and scfw, so > There will no link in the README, I

Re: [U-Boot] [PATCH] env: Merge Rockchip, Sunxi, Zynq and ZynqMP

2018-07-19 Thread Tom Rini
On Thu, Jul 19, 2018 at 03:45:11PM +0200, Michal Simek wrote: > On 19.7.2018 13:13, Maxime Ripard wrote: > > Hi, > > > > On Thu, Jul 19, 2018 at 08:45:45AM +0200, Michal Simek wrote: > >> There is no reason to have the same Kconfig options for different SoCs > >> separately. The patch is merging t

[U-Boot] [GIT PULL] Xilinx changes for v2018.09

2018-07-19 Thread Michal Simek
Hi Tom, please pull these changes to your tree. Buildman and travis looks good https://travis-ci.org/michalsimek/u-boot/builds/405716862 My pull request contains some change out of xilinx folders because one function name has been changed. I got a confirmation from Marek to go with this to the tr

Re: [U-Boot] [PATCH v2 2/3] x86: acpi: Don't touch ACPI hardware in write_acpi_tables()

2018-07-19 Thread Simon Glass
On 18 July 2018 at 22:42, Bin Meng wrote: > write_acpi_tables() currently touches ACPI hardware to switch to > ACPI mode at the end. Move such operation out of this function, > so that it only does what the function name tells us. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - move va

Re: [U-Boot] [PATCH v2 3/3] x86: acpi: Prevent acpi_table.h from being included more than once

2018-07-19 Thread Simon Glass
On 18 July 2018 at 22:42, Bin Meng wrote: > The wrapper #ifndef is currently missing in acpi_table.h. Add it to > prevent it from being included multiple times. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: None > > arch/x86/include/asm/acpi_table.h | 5 + > 1 file changed, 5 insert

Re: [U-Boot] [PATCH v4] watchdog: Convert Xilinx Axi watchdog driver to driver model

2018-07-19 Thread Simon Glass
On 19 July 2018 at 01:15, Michal Simek wrote: > From: Shreenidhi Shedi > > Xilinx Axi wdt driver conversion to driver model & Kconfig update > for the same. > > Signed-off-by: Shreenidhi Shedi > Signed-off-by: Michal Simek > --- > > Changes in v4: > - Fix Kconfig typo - by sjg > - Use debug ins

Re: [U-Boot] [PATCH] watchdog: dm: Support manual relocation for watchdogs

2018-07-19 Thread Simon Glass
+Tom Hi Michal, On 19 July 2018 at 00:52, Michal Simek wrote: > Hi Simon, > > On 19.7.2018 03:31, Simon Glass wrote: >> Hi Michal, >> >> On 15 July 2018 at 23:34, Michal Simek wrote: >>> On 15.7.2018 23:21, Simon Glass wrote: Hi Michal, On 11 July 2018 at 23:47, Michal Simek wro

Re: [U-Boot] [PATCH v2 2/5] x86: tangier: Add a sysreset driver

2018-07-19 Thread Simon Glass
On 19 July 2018 at 04:07, Bin Meng wrote: > This adds a reset driver for tangier processor. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - new patch to add a reset driver for tangier processor > > arch/x86/cpu/tangier/Makefile | 2 +- > arch/x86/cpu/tangier/sysreset.c | 48 >

Re: [U-Boot] [PATCH v2 1/3] x86: acpi: Move APIs unrelated to ACPI tables generation to a separate library

2018-07-19 Thread Simon Glass
On 18 July 2018 at 22:42, Bin Meng wrote: > acpi_find_fadt(), acpi_find_wakeup_vector() and enter_acpi_mode() > are something unrelated to ACPI tables generation. Move these to > a separate library. > > This also fixes several style issues reported by checkpatch in the > original codes. > > Signed

Re: [U-Boot] [PATCH v2 1/5] efi: app: Add a sysreset driver

2018-07-19 Thread Simon Glass
On 19 July 2018 at 04:07, Bin Meng wrote: > This adds the DM sysreset driver for EFI application support. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - drop patches already applied > - new patch to add a sysreset driver for efi app > > lib/efi/efi_app.c | 28

Re: [U-Boot] [RFC PATCH 03/15] cmd: fpga: Move fpga_get_op to avoid local function declaration

2018-07-19 Thread Simon Glass
Hi Michal, On 19 July 2018 at 00:55, Michal Simek wrote: > On 19.7.2018 03:32, Simon Glass wrote: >> On 18 July 2018 at 09:16, Michal Simek wrote: >>> Move fpga_get_op() to top of file to remove local function declaration >>> and also remove useless retyping. >>> >>> Signed-off-by: Michal Simek

Re: [U-Boot] [PATCH v2 5/5] x86: Switch to use DM sysreset driver

2018-07-19 Thread Simon Glass
On 19 July 2018 at 04:07, Bin Meng wrote: > This converts all x86 boards over to DM sysreset. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - remove include of "reset.dsti" in edison.dts > - add SYSRESET for efi-x86_app and edison > > arch/Kconfig | 2

Re: [U-Boot] [PATCH 1/6] fdt_support: make fdt_fixup_mtdparts() prototype more specific

2018-07-19 Thread Simon Glass
Hi Masahiro, On 19 July 2018 at 01:28, Masahiro Yamada wrote: > The second argument of fdt_fixup_mtdparts() is an opaque pointer, > 'void *node_info', hence callers can pass any pointer. > > Obviously, fdt_fixup_mtdparts() expects 'struct node_info *' > otherwise, it crashes run-time. > > Change

Re: [U-Boot] [PATCH v2 3/5] dm: sysreset: Add a standard message when doing reset

2018-07-19 Thread Simon Glass
On 19 July 2018 at 04:07, Bin Meng wrote: > It's good to print a message when doing reset. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - new patch per Wolfgang's suggestion to add a standard message when > doing reset > > drivers/sysreset/sysreset-uclass.c | 2 ++ > 1 file changed

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

2018-07-19 Thread Simon Glass
On 19 July 2018 at 04:07, 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 > --- > > Changes in v2: None > > arch/x86/lib/fsp/fsp_common.c | 2 +- >

Re: [U-Boot] [PATCH] watchdog: dm: Support manual relocation for watchdogs

2018-07-19 Thread Tom Rini
On Thu, Jul 19, 2018 at 09:21:39AM -0600, Simon Glass wrote: > +Tom > > Hi Michal, > > On 19 July 2018 at 00:52, Michal Simek wrote: > > Hi Simon, > > > > On 19.7.2018 03:31, Simon Glass wrote: > >> Hi Michal, > >> > >> On 15 July 2018 at 23:34, Michal Simek wrote: > >>> On 15.7.2018 23:21, Sim

Re: [U-Boot] [PATCH] fdt: fix fdtdec_setup_memory_banksize()

2018-07-19 Thread Jens Wiklander
On Thu, Jul 19, 2018 at 3:32 AM, Simon Glass wrote: > Hi Jens, > > On 17 July 2018 at 09:42, Jens Wiklander wrote: >> On Sun, Jul 15, 2018 at 11:20:39PM -0600, Simon Glass wrote: >>> On 13 July 2018 at 04:12, Jens Wiklander wrote: >>> > Prior to this patch is fdtdec_setup_memory_banksize() incor

Re: [U-Boot] [PATCH] env: Merge Rockchip, Sunxi, Zynq and ZynqMP

2018-07-19 Thread Maxime Ripard
On Thu, Jul 19, 2018 at 10:53:44AM -0400, Tom Rini wrote: > On Thu, Jul 19, 2018 at 03:45:11PM +0200, Michal Simek wrote: > > On 19.7.2018 13:13, Maxime Ripard wrote: > > > Hi, > > > > > > On Thu, Jul 19, 2018 at 08:45:45AM +0200, Michal Simek wrote: > > >> There is no reason to have the same Kcon

Re: [U-Boot] [PATCH v2 3/5] dm: sysreset: Add a standard message when doing reset

2018-07-19 Thread Andy Shevchenko
On Thu, 2018-07-19 at 09:21 -0600, Simon Glass wrote: > On 19 July 2018 at 04:07, Bin Meng wrote: > > It's good to print a message when doing reset. > > > > Signed-off-by: Bin Meng > > > > --- > > > > Changes in v2: > > - new patch per Wolfgang's suggestion to add a standard message when > >

Re: [U-Boot] [RFC PATCH 4/4] arm: zynq: spl: implement FPGA load from FIT

2018-07-19 Thread Luis Araneda
Hi Michal, On Thu, Jul 19, 2018 at 2:16 AM Michal Simek wrote: > Also on zc706 without FULL_FIT my path in spl_load_fit_image is not > jumping to "if (external_data) {" branch where spl_load_fpga_image is > which is kind of interesting because it looks like you are going there. To enter the path

Re: [U-Boot] [PATCH 21/25] fastboot: sunxi: Update fastboot mmc default device

2018-07-19 Thread Jagan Teki
On Thu, Jul 19, 2018 at 6:56 PM, Maxime Ripard wrote: > On Wed, Jul 18, 2018 at 08:15:23PM +0100, Alex Kiernan wrote: >> On Tue, Jul 17, 2018 at 12:57 PM Maxime Ripard >> wrote: >> > >> > On Mon, Jul 16, 2018 at 12:11:59PM +0100, Alex Kiernan wrote: >> > > On Mon, Jul 16, 2018 at 11:13 AM Jagan T

Re: [U-Boot] [linux-sunxi] [PATCH 00/13] Allwinner H6 support (w/ SPL)

2018-07-19 Thread Jagan Teki
On Mon, Jun 25, 2018 at 6:32 PM, Jagan Teki wrote: > On Mon, Jun 25, 2018 at 6:19 PM, Icenowy Zheng wrote: >> >> >> 于 2018年6月25日 GMT+08:00 下午8:40:21, Jagan Teki 写到: >>>On Mon, Jun 25, 2018 at 4:07 PM, Icenowy Zheng wrote: This patch trys to add support for Allwinner H6 SoC to U-Boot.

Re: [U-Boot] [PATCH 22/25] env: sunxi: Update default env fat device

2018-07-19 Thread Jagan Teki
On Tue, Jul 17, 2018 at 5:24 PM, Maxime Ripard wrote: > On Mon, Jul 16, 2018 at 03:46:10PM +0530, Jagan Teki wrote: >> On Mon, Jul 16, 2018 at 3:17 PM, Maxime Ripard >> wrote: >> > On Mon, Jul 16, 2018 at 01:49:53PM +0530, Jagan Teki wrote: >> >> Usually eMMC is default env fat device for environ

  1   2   >