[U-Boot] [PATCH] tegra: pinmux: fix FUNCMUX_NDFLASH_KBC_8_BIT

2015-03-24 Thread Marcel Ziswiler
Stach Signed-off-by: Marcel Ziswiler Tested-by: Marcel Ziswiler --- arch/arm/mach-tegra/tegra20/funcmux.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/mach-tegra/tegra20/funcmux.c b/arch/arm/mach-tegra/tegra20/funcmux.c index 0df4a07..f9b6214 100644 --- a/arch/arm/mach

Re: [U-Boot] [PATCH] tegra: pinmux: fix FUNCMUX_NDFLASH_KBC_8_BIT

2015-03-25 Thread Marcel Ziswiler
On 24 March 2015 16:21:02 CET, Stephen Warren wrote: >> diff --git a/arch/arm/mach-tegra/tegra20/funcmux.c >b/arch/arm/mach-tegra/tegra20/funcmux.c > >Note that this will conflict with: > >09f455dca749 ARM: tegra: collect SoC sources into mach-tegra > >... which moved that file. OK, sorry. Have

Re: [U-Boot] [PATCH] tegra: pinmux: fix FUNCMUX_NDFLASH_KBC_8_BIT

2015-03-25 Thread Marcel Ziswiler
On Tue, 2015-03-24 at 09:21 -0600, Stephen Warren wrote: > > diff --git a/arch/arm/mach-tegra/tegra20/funcmux.c > > b/arch/arm/mach-tegra/tegra20/funcmux.c > > Note that this will conflict with: > > 09f455dca749 ARM: tegra: collect SoC sources into mach-tegra > > ... which moved that file. I h

Re: [U-Boot] [PATCH 40/93] arm: Remove colibri_pxa270 board

2018-11-26 Thread Marcel Ziswiler
7 +0,0 @@ > -# SPDX-License-Identifier: GPL-2.0+ > -# > -# Toradex Colibri PXA270 Support > -# > -# Copyright (C) 2010 Marek Vasut > - > -obj-y:= colibri_pxa270.o > diff --git a/board/toradex/colibri_pxa270/colibri_pxa270.c > b/board/toradex/colibri_pxa270/colibri_pxa270.c

[U-Boot] [PATCH 0/3] While converting SATA on Apalis iMX6 to use driver model I noticed it

2019-01-24 Thread Marcel Ziswiler
re no proper checking is done. This patch set adds such checks leading to a graceful error instead: Apalis iMX6 # sata init Cannot probe SATA device 0 (err=-19) Marcel Ziswiler (3): dm: device: fail uclass_find_first_device() if list_empty dm: sata: add null pointer check for dev cmd: sata

[U-Boot] [PATCH 1/3] dm: device: fail uclass_find_first_device() if list_empty

2019-01-24 Thread Marcel Ziswiler
From: Marcel Ziswiler While uclass_find_device() fails with -ENODEV in case of list_empty strangely uclass_find_first_device() returns 0. Fix uclass_find_first_device() to also fail with -ENODEV instead. Signed-off-by: Marcel Ziswiler --- drivers/core/uclass.c | 2 +- 1 file changed, 1

[U-Boot] [PATCH 3/3] cmd: sata: add null pointer check for dev

2019-01-24 Thread Marcel Ziswiler
From: Marcel Ziswiler Calling sata_scan() with a null pointer probably won't make much sense. Signed-off-by: Marcel Ziswiler --- cmd/sata.c | 4 1 file changed, 4 insertions(+) diff --git a/cmd/sata.c b/cmd/sata.c index 6d62ba8f74..a73cc54bd3 100644 --- a/cmd/sata.c +++ b/cmd/s

[U-Boot] [PATCH 2/3] dm: sata: add null pointer check for dev

2019-01-24 Thread Marcel Ziswiler
From: Marcel Ziswiler Given ahci_get_ops() being a macro not checking anything make sure we only call it if we do indeed have a dev pointer. Signed-off-by: Marcel Ziswiler --- drivers/ata/sata.c | 27 +-- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a

Re: [U-Boot] [PATCH 1/3] dm: device: fail uclass_find_first_device() if list_empty

2019-01-25 Thread Marcel Ziswiler
Hi Simon On Fri, 2019-01-25 at 09:18 +1300, Simon Glass wrote: > Hi Marcel, > > On Fri, 25 Jan 2019 at 03:30, Marcel Ziswiler > wrote: > > From: Marcel Ziswiler > > > > While uclass_find_device() fails with -ENODEV in case of list_empty > > strangely

Re: [U-Boot] [PATCH 2/3] dm: sata: add null pointer check for dev

2019-01-25 Thread Marcel Ziswiler
Hi Simon On Fri, 2019-01-25 at 09:18 +1300, Simon Glass wrote: > Hi Marcel, > > On Fri, 25 Jan 2019 at 03:30, Marcel Ziswiler > wrote: > > From: Marcel Ziswiler > > > > Given ahci_get_ops() being a macro not checking anything make sure > > we > &g

[U-Boot] [PATCH v2 1/2] dm: device: fail uclass_find_first_device() if list_empty

2019-01-25 Thread Marcel Ziswiler
From: Marcel Ziswiler While uclass_find_device() fails with -ENODEV in case of list_empty strangely uclass_find_first_device() returns 0. Fix uclass_find_first_device() to also fail with -ENODEV instead. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Update dm_test_uclass_devices_find

[U-Boot] [PATCH v2 0/2] While converting SATA on Apalis iMX6 to use driver model I noticed it

2019-01-25 Thread Marcel Ziswiler
a: add null pointer check for dev" as suggested by Simon. - Added Simon's reviewed-by. Marcel Ziswiler (2): dm: device: fail uclass_find_first_device() if list_empty cmd: sata: add null pointer check for dev cmd/sata.c| 4 drivers/core/uclass.c | 2 +- test/dm/cor

[U-Boot] [PATCH v2 2/2] cmd: sata: add null pointer check for dev

2019-01-25 Thread Marcel Ziswiler
From: Marcel Ziswiler Calling sata_scan() with a null pointer probably won't make much sense. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass --- Changes in v2: - Added Simon's reviewed-by. cmd/sata.c | 4 1 file changed, 4 insertions(+) diff --git a/cmd/sata.c b/

[U-Boot] [PATCH v1 1/3] ARM: dts: i.MX6Q, i.MX6QDL: fix address/size-cells warnings

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler This fixes the following warnings: arch/arm/dts/imx6-apalis.dtb: Warning (avoid_unnecessary_addr_size): /clocks: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property arch/arm/dts/imx6-apalis.dtb: Warning (avoid_unnecessa

[U-Boot] [PATCH v1 2/3] imx: serial_mxc: disable ri and dcd irq in dte mode

2019-02-01 Thread Marcel Ziswiler
Signed-off-by: Marcel Ziswiler --- drivers/serial/serial_mxc.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/serial/serial_mxc.c b/drivers/serial/serial_mxc.c index 7e4e6d36b8..df35ac9114 100644 --- a/drivers/serial/serial_mxc.c +++ b/drivers/serial

[U-Boot] [PATCH v1 3/3] imx: cpu.c: give access to reset cause in spl

2019-02-01 Thread Marcel Ziswiler
From: Max Krummenacher This makes get_imx_reset_cause() accessible in SPL, but keeps the SRSR register content intact so that U-Boot proper can evaluated the reset_cause again should this be needed. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- arch/arm/mach-imx/cpu.c | 27

[U-Boot] [PATCH v3 2/2] cmd: sata: add null pointer check for dev

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Calling sata_scan() with a null pointer probably won't make much sense. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: - Dropped "[PATCH 2/3] dm: sata: add null pointer check for dev" as suggested by

[U-Boot] [PATCH v1 0/3] imx: cpu.c, serial_mxc, dts fixes/improvements

2019-02-01 Thread Marcel Ziswiler
This series addresses some shortcomings concerning reset cause in SPL, serial in DTE mode and fixes some device-tree address/size-cells warnings. Marcel Ziswiler (1): ARM: dts: i.MX6Q, i.MX6QDL: fix address/size-cells warnings Max Krummenacher (2): imx: serial_mxc: disable ri and dcd irq

[U-Boot] [PATCH v3 0/2] While converting SATA on Apalis iMX6 to use driver model I noticed it

2019-02-01 Thread Marcel Ziswiler
suggested by Simon. - Dropped "[PATCH 2/3] dm: sata: add null pointer check for dev" as suggested by Simon. - Added Simon's reviewed-by. Marcel Ziswiler (2): dm: device: fail uclass_find_first_device() if list_empty cmd: sata: add null pointer check for dev cmd/sata.c| 4

[U-Boot] [PATCH v3 1/2] dm: device: fail uclass_find_first_device() if list_empty

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler While uclass_find_device() fails with -ENODEV in case of list_empty strangely uclass_find_first_device() returns 0. Fix uclass_find_first_device() to also fail with -ENODEV instead. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass --- Changes in v3: - Added

[U-Boot] [PATCH v1 2/3] toradex: common: unify behaviour when config block is missing

2019-02-01 Thread Marcel Ziswiler
From: Bhuvanchandra DV If the config block is missing, various things may fail or behave strangely on certain modules. This patch unifies that behaviour by using a fake MAC address, until user updates the config block. Signed-off-by: Bhuvanchandra DV Acked-by: Marcel Ziswiler --- board

[U-Boot] [PATCH v1 3/3] tdx-cfg-block: fix off by one issue

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix toradex_modules array off by one issue potentially leading to spurious printout during boot e.g. Model: Toradex V1.2A, instead of Model: Toradex UNKNOWN MODULE V1.2A. Signed-off-by: Marcel Ziswiler Acked-by: Max Krummenacher --- board/toradex/common

[U-Boot] [PATCH v1 1/3] toradex: configblock: add an -y parameter to 'cfgblock create’

2019-02-01 Thread Marcel Ziswiler
From: Dominik Sliwa Add an optional -y parameter to 'cfgblock create’ to simplify automation. Signed-off-by: Dominik Sliwa Acked-by: Stefan Agner Acked-by: Marcel Ziswiler --- board/toradex/common/tdx-cfg-block.c | 39 ++-- 1 file changed, 26 insertions(+

[U-Boot] [PATCH v1 0/3] toradex: common: fix/improve config block handling

2019-02-01 Thread Marcel Ziswiler
to 'cfgblock create’ Marcel Ziswiler (1): tdx-cfg-block: fix off by one issue board/toradex/common/tdx-cfg-block.c | 41 ++-- board/toradex/common/tdx-common.c| 33 +++--- 2 files changed, 44 insertions(+), 30 deletions(-) -- 2

[U-Boot] [PATCH v1 02/23] apalis_imx6: use distro defaults

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Use distro defaults and minimise default configuration again using savedefconfig. Signed-off-by: Marcel Ziswiler --- configs/apalis_imx6_defconfig | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/configs/apalis_imx6_defconfig b/configs

[U-Boot] [PATCH v1 04/23] apalis_imx6: enable fit image, gpt, imx thermal, efi loader support

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Enbale FIT image, GPT command, i.MX thermal and EFI loader support. Signed-off-by: Marcel Ziswiler --- configs/apalis_imx6_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/apalis_imx6_defconfig b/configs/apalis_imx6_defconfig

[U-Boot] [PATCH v1 03/23] apalis_imx6: move console in env and dfu mmc from header file to defconfig

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Move console in env and DFU MMC from header file to defconfig. While at it also update copyright year and remove spurious comments and new lines. Signed-off-by: Marcel Ziswiler --- configs/apalis_imx6_defconfig | 1 + include/configs/apalis_imx6.h | 4 +--- 2 files

[U-Boot] [PATCH v1 05/23] apalis_imx6: remove obsolete USB_GADGET_MASS_STORAGE configuration

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove obsolete USB_GADGET_MASS_STORAGE configuration. Signed-off-by: Marcel Ziswiler --- include/configs/apalis_imx6.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h index a1ba16fc79..785ab3

[U-Boot] [PATCH v1 06/23] apalis_imx6: migrate to using device tree

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate to using device tree required for further driver model integration. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx6-apalis.dts | 722 ++ board/toradex/apalis_imx6/MAINTAINERS | 2 + configs/apalis_imx6_defconfig

[U-Boot] [PATCH v1 09/23] apalis_imx6: migrate i2c to using driver model

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate I2C to using driver model. Signed-off-by: Marcel Ziswiler --- board/toradex/apalis_imx6/apalis_imx6.c | 88 + board/toradex/apalis_imx6/pf0100.c | 58 configs/apalis_imx6_defconfig | 1 + include/configs

[U-Boot] [PATCH v1 08/23] apalis_imx6: enable pin control driver

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Enable pin control driver as required for further driver model migration. Signed-off-by: Marcel Ziswiler --- configs/apalis_imx6_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/apalis_imx6_defconfig b/configs/apalis_imx6_defconfig index

[U-Boot] [PATCH v1 07/23] apalis_imx6: clean-up and migrate gpios to using driver model

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate GPIOs to using driver model, properly request backlight and Ethernet PHY reset GPIOs and also enable SION bit in pin muxing for USB power enable GPIOs. While at it also update copyright year and add some comments clarifying ifdef scope. Signed-off-by: Marcel

[U-Boot] [PATCH v1 13/23] apalis_imx6: drop CONFIG_OF_SYSTEM_SETUP

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler This doesn't do anything anymore, probably never did. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- board/toradex/apalis_imx6/apalis_imx6.c | 7 --- include/configs/apalis_imx6.h | 2 -- 2 files changed, 9 deletions(-) diff --git a/

[U-Boot] [PATCH v1 14/23] apalis_imx6: add distroboot support

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Add support for distro boot. This is especially helpful for external devices. There is a global boot command which scans a predefined list of boot targets: run distro_bootcmd As well as direct boot commands such as: run bootcmd_mmc1 run bootcmd_mmc2 run bootcmd_usb

[U-Boot] [PATCH v1 17/23] apalis_imx6: pf0100: reorder and cleanup message printing

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Keep debug code at the end of the function. Use a one line informational message for the PMIC only. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- board/toradex/apalis_imx6/pf0100.c | 110 +++-- 1 file changed, 56 insertions

[U-Boot] [PATCH v1 12/23] apalis_imx6: migrate usb to using driver model

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate USB to using driver model. Signed-off-by: Marcel Ziswiler --- board/toradex/apalis_imx6/apalis_imx6.c | 22 -- configs/apalis_imx6_defconfig | 1 + 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/board/toradex

[U-Boot] [PATCH v1 15/23] apalis_imx6: use both sd/mmc interfaces for setsdupdate

2019-02-01 Thread Marcel Ziswiler
From: Max Krummenacher During porting to 2016.11 the check of a SD (mmc2) interface was dropped, this was unintended. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- include/configs/apalis_imx6.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a

[U-Boot] [PATCH v1 10/23] apalis_imx6: migrate pmic and regulator to using driver model

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate PMIC and regulator to using driver model. Signed-off-by: Marcel Ziswiler --- configs/apalis_imx6_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/configs/apalis_imx6_defconfig b/configs/apalis_imx6_defconfig index 60c4d9720d..7e973ded74

[U-Boot] [PATCH v1 01/23] apalis_imx6: get rid of obsolete nospl configurations

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Now with SPL long since being in place even for recovery using SDP finally get rid of those nospl configurations. Signed-off-by: Marcel Ziswiler --- .../toradex/apalis_imx6/1066mhz_4x128mx16.cfg | 47 - .../toradex/apalis_imx6/1066mhz_4x256mx16.cfg | 47

[U-Boot] [PATCH v1 11/23] apalis_imx6: migrate mmc and sata to using driver model

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate MMC and SATA to using driver model. While at it also enable SCSI driver model. Signed-off-by: Marcel Ziswiler --- board/toradex/apalis_imx6/apalis_imx6.c | 102 ++-- configs/apalis_imx6_defconfig | 3 + include/configs

[U-Boot] [PATCH v1 00/23] apalis imx6 fixes, device tree enablement and driver model conversion

2019-02-01 Thread Marcel Ziswiler
report ecc errors in fuses Marcel Ziswiler (16): apalis_imx6: get rid of obsolete nospl configurations apalis_imx6: use distro defaults apalis_imx6: move console in env and dfu mmc from header file to defconfig apalis_imx6: enable fit image, gpt, imx thermal, efi loader support

[U-Boot] [PATCH v1 18/23] apalis_imx6: disable ri and dcd irq in uarts

2019-02-01 Thread Marcel Ziswiler
interrupts. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- board/toradex/apalis_imx6/apalis_imx6.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/board/toradex/apalis_imx6/apalis_imx6.c b/board/toradex/apalis_imx6/apalis_imx6.c index 99bd9232dc

[U-Boot] [PATCH v1 22/23] apalis_imx6: switch to zimage

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Switch to the generic compressed Kernel image type (zImage) instead of the U-Boot specific uImage format. Signed-off-by: Bhuvanchandra DV Acked-by: Marcel Ziswiler --- include/configs/apalis_imx6.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions

[U-Boot] [PATCH v1 16/23] apalis_imx6: unify sd/mmc drive strength with linux kernel settings

2019-02-01 Thread Marcel Ziswiler
From: Max Krummenacher In the Linux device tree we use 40Ohm drive strength. So use the same value in U-Boot. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- board/toradex/apalis_imx6/apalis_imx6.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions

[U-Boot] [PATCH v1 21/23] apalis_imx6: use SDP if USB serial downloader has been used

2019-02-01 Thread Marcel Ziswiler
USB serial downloader. Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler --- board/toradex/apalis_imx6/apalis_imx6.c | 8 1 file changed, 8 insertions(+) diff --git a/board/toradex/apalis_imx6/apalis_imx6.c b/board/toradex/apalis_imx6/apalis_imx6.c index 696994a6b6..542b1ebafe

[U-Boot] [PATCH v1 19/23] apalis_imx6: revert fuse value set in mfgr_fuse

2019-02-01 Thread Marcel Ziswiler
Krummenacher Acked-by: Stefan Agner Acked-by: Marcel Ziswiler --- board/toradex/apalis_imx6/do_fuse.c | 2 +- board/toradex/colibri_imx6/do_fuse.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/toradex/apalis_imx6/do_fuse.c b/board/toradex/apalis_imx6/do_fuse.c

[U-Boot] [PATCH v1 23/23] board: apalis_imx6: check for and report ecc errors in fuses

2019-02-01 Thread Marcel Ziswiler
From: Gerard Salvatella The PMIC on Apalis iMX6 may have ECC errors in fuses that will prevent correct settings. Up to one bit error per fuse bank may be reported and corrected by the ECC logic. Two bit errors can only be reported. Signed-off-by: Gerard Salvatella Acked-by: Marcel Ziswiler

[U-Boot] [PATCH v1 20/23] configs: apalis_imx6: Use ext4 file system by default

2019-02-01 Thread Marcel Ziswiler
From: Sanchayan Maity Use ext4 file system by default. Signed-off-by: Sanchayan Maity Acked-by: Max Krummenacher Acked-by: Marcel Ziswiler --- include/configs/apalis_imx6.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/apalis_imx6.h b/include

[U-Boot] [RFC PATCH v1] MLK-12883 usb: limit USB_MAX_XFER_BLK to 256

2019-02-01 Thread Marcel Ziswiler
quot;EHCI timed out on TD - token=0x80008d80". The devices does not support scsi VPD page, we are not able to get the maximum transfer length for READ(10)/WRITE(10). So we limit this to 256 blocks as READ(6). Signed-off-by: Peng Fan Acked-by: Marcel Ziswiler (cherr

[U-Boot] [PATCH v2 04/23] apalis_imx6: enable fit image, gpt, imx thermal, efi loader support

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Enbale FIT image, GPT command, i.MX thermal and EFI loader support. Signed-off-by: Marcel Ziswiler --- Changes in v2: None configs/apalis_imx6_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/apalis_imx6_defconfig b/configs

[U-Boot] [PATCH v2 02/23] apalis_imx6: use distro defaults

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Use distro defaults and minimise default configuration again using savedefconfig. Signed-off-by: Marcel Ziswiler --- Changes in v2: None configs/apalis_imx6_defconfig | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/configs

[U-Boot] [PATCH v2 03/23] apalis_imx6: move console in env from header file to defconfig

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Move console in env from header file to defconfig. While at it also update copyright year and remove spurious comments and new lines. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Remove spurious mentioning of DFU MMC both in subject as well as description

[U-Boot] [PATCH v2 09/23] apalis_imx6: migrate i2c to using driver model

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate I2C to using driver model. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Also update copyright year in PMIC header file. - And drop compiler.h include. board/toradex/apalis_imx6/apalis_imx6.c | 88 + board/toradex/apalis_imx6

[U-Boot] [PATCH v2 08/23] apalis_imx6: enable pin control driver

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Enable pin control driver as required for further driver model migration. Signed-off-by: Marcel Ziswiler --- Changes in v2: None configs/apalis_imx6_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/apalis_imx6_defconfig b/configs

[U-Boot] [PATCH v2 07/23] apalis_imx6: clean-up and migrate gpios to using driver model

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate GPIOs to using driver model, properly request backlight, Ethernet PHY reset, MMC/SD card detect and USB power GPIOs and also enable SION bit in pin muxing for Apalis, backlight, eMMC reset, Ethernet PHY reset and USB power enable GPIOs. While at it also update

[U-Boot] [PATCH v2 05/23] apalis_imx6: remove obsolete USB_GADGET_MASS_STORAGE configuration

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove obsolete USB_GADGET_MASS_STORAGE configuration. Signed-off-by: Marcel Ziswiler --- Changes in v2: None include/configs/apalis_imx6.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h index

[U-Boot] [PATCH v2 17/23] apalis_imx6: pf0100: reorder and cleanup message printing

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Keep debug code at the end of the function. Use a one line informational message for the PMIC only. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- Changes in v2: None board/toradex/apalis_imx6/pf0100.c | 110 +++-- 1 file

[U-Boot] [PATCH v2 15/23] apalis_imx6: use both sd/mmc interfaces for setsdupdate

2019-02-08 Thread Marcel Ziswiler
From: Max Krummenacher During porting to 2016.11 the check of a SD (mmc2) interface was dropped, this was unintended. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- Changes in v2: None include/configs/apalis_imx6.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions

[U-Boot] [PATCH v2 06/23] apalis_imx6: migrate to using device tree

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate to using device tree required for further driver model integration. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Use GPL-2.0+ OR X11 instead of GPL-2.0 OR MIT to be more consistent with all our other device trees. - Further comments and white-space

[U-Boot] [PATCH v2 11/23] apalis_imx6: migrate mmc and sata to using driver model

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate MMC and SATA to using driver model. While at it also enable SCSI driver model. Signed-off-by: Marcel Ziswiler --- Changes in v2: None board/toradex/apalis_imx6/apalis_imx6.c | 98 +++-- configs/apalis_imx6_defconfig | 3

[U-Boot] [PATCH v2 23/23] board: apalis_imx6: check for and report ecc errors in fuses

2019-02-08 Thread Marcel Ziswiler
From: Gerard Salvatella The PMIC on Apalis iMX6 may have ECC errors in fuses that will prevent correct settings. Up to one bit error per fuse bank may be reported and corrected by the ECC logic. Two bit errors can only be reported. Signed-off-by: Gerard Salvatella Acked-by: Marcel Ziswiler

[U-Boot] [PATCH v2 12/23] apalis_imx6: migrate usb to using driver model

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate USB to using driver model. Signed-off-by: Marcel Ziswiler --- Changes in v2: None board/toradex/apalis_imx6/apalis_imx6.c | 22 -- configs/apalis_imx6_defconfig | 1 + 2 files changed, 1 insertion(+), 22 deletions(-) diff --git

[U-Boot] [PATCH v2 16/23] apalis_imx6: unify sd/mmc drive strength with linux kernel settings

2019-02-08 Thread Marcel Ziswiler
From: Max Krummenacher In the Linux device tree we use 40Ohm drive strength. So use the same value in U-Boot. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- Changes in v2: None board/toradex/apalis_imx6/apalis_imx6.c | 24 ++-- 1 file changed, 14

[U-Boot] [PATCH v2 13/23] apalis_imx6: drop CONFIG_OF_SYSTEM_SETUP

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler This doesn't do anything anymore, probably never did. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- Changes in v2: None board/toradex/apalis_imx6/apalis_imx6.c | 7 --- include/configs/apalis_imx6.h | 2 -- 2 files changed, 9 dele

[U-Boot] [PATCH v2 00/23] apalis imx6 fixes, device tree enablement and driver model conversion

2019-02-08 Thread Marcel Ziswiler
: apalis_imx6: check for and report ecc errors in fuses Marcel Ziswiler (16): apalis_imx6: get rid of obsolete nospl configurations apalis_imx6: use distro defaults apalis_imx6: move console in env from header file to defconfig apalis_imx6: enable fit image, gpt, imx thermal, efi loader

[U-Boot] [PATCH v2 18/23] apalis_imx6: disable ri and dcd irq in uarts

2019-02-08 Thread Marcel Ziswiler
interrupts. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- Changes in v2: None board/toradex/apalis_imx6/apalis_imx6.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/board/toradex/apalis_imx6/apalis_imx6.c b/board/toradex/apalis_imx6/apalis_imx6.c

[U-Boot] [PATCH v2 10/23] apalis_imx6: migrate pmic and regulator to using driver model

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate PMIC and regulator to using driver model. Signed-off-by: Marcel Ziswiler --- Changes in v2: None configs/apalis_imx6_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/configs/apalis_imx6_defconfig b/configs/apalis_imx6_defconfig index

[U-Boot] [PATCH v2 14/23] apalis_imx6: add distroboot support

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Add support for distro boot. This is especially helpful for external devices. There is a global boot command which scans a predefined list of boot targets: run distro_bootcmd As well as direct boot commands such as: run bootcmd_mmc1 run bootcmd_mmc2 run bootcmd_usb

[U-Boot] [PATCH v2 19/23] apalis_imx6: revert fuse value set in mfgr_fuse

2019-02-08 Thread Marcel Ziswiler
Krummenacher Acked-by: Stefan Agner Acked-by: Marcel Ziswiler --- Changes in v2: - Remove Colibri iMX6 change which inadvertently slipped in here. board/toradex/apalis_imx6/do_fuse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/toradex/apalis_imx6/do_fuse.c b

[U-Boot] [PATCH v2 01/23] apalis_imx6: get rid of obsolete nospl configurations

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Now with SPL long since being in place even for recovery using SDP finally get rid of those nospl configurations. Signed-off-by: Marcel Ziswiler --- Changes in v2: None .../toradex/apalis_imx6/1066mhz_4x128mx16.cfg | 47 - .../toradex/apalis_imx6

[U-Boot] [PATCH v2 21/23] apalis_imx6: use SDP if USB serial downloader has been used

2019-02-08 Thread Marcel Ziswiler
USB serial downloader. Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler --- Changes in v2: None board/toradex/apalis_imx6/apalis_imx6.c | 8 1 file changed, 8 insertions(+) diff --git a/board/toradex/apalis_imx6/apalis_imx6.c b/board/toradex/apalis_imx6/apalis_imx6.c index

[U-Boot] [PATCH v2 20/23] configs: apalis_imx6: Use ext4 file system by default

2019-02-08 Thread Marcel Ziswiler
From: Sanchayan Maity Use ext4 file system by default. Signed-off-by: Sanchayan Maity Acked-by: Max Krummenacher Acked-by: Marcel Ziswiler --- Changes in v2: None include/configs/apalis_imx6.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs

[U-Boot] [PATCH v2 22/23] apalis_imx6: switch to zimage

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Switch to the generic compressed Kernel image type (zImage) instead of the U-Boot specific uImage format. While at it also fix device tree naming for MMC DFU. Signed-off-by: Bhuvanchandra DV Acked-by: Marcel Ziswiler --- Changes in v2: - Also fix device tree naming

[U-Boot] [PATCH v1 03/26] colibri_imx6: move console in env from header file to defconfig

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Move console in env from header file to defconfig. While at it also update copyright year. Signed-off-by: Marcel Ziswiler --- configs/colibri_imx6_defconfig | 1 + include/configs/colibri_imx6.h | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a

[U-Boot] [PATCH v1 02/26] colibri_imx6: use distro defaults

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Use distro defaults and minimise default configuration again using savedefconfig. Signed-off-by: Marcel Ziswiler --- configs/colibri_imx6_defconfig | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/configs/colibri_imx6_defconfig b/configs

[U-Boot] [PATCH v1 07/26] colibri_imx6: clean-up and migrate gpios to using driver model

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate GPIOs to using driver model, properly request backlight, MMC/SD card detect and USB power enable GPIOs and also enable SION bit in pin muxing for auxiliary, backlight and USB power enable GPIOs. While at it also update copyright year, clean-up/re-order includes

[U-Boot] [PATCH v1 05/26] colibri_imx6: remove obsolete USB_GADGET_MASS_STORAGE configuration

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove obsolete USB_GADGET_MASS_STORAGE configuration. Signed-off-by: Marcel Ziswiler --- include/configs/colibri_imx6.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h index 9e45d63245..f029a885d2

[U-Boot] [PATCH v1 12/26] colibri_imx6: migrate usb to using driver model

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate USB to using driver model. Signed-off-by: Marcel Ziswiler --- board/toradex/colibri_imx6/colibri_imx6.c | 23 +-- configs/colibri_imx6_defconfig| 1 + 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/board/toradex

[U-Boot] [PATCH v1 04/26] colibri_imx6: enable fit image, gpt, imx thermal, efi loader support

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Enbale FIT image, GPT command, i.MX thermal and EFI loader support. Signed-off-by: Marcel Ziswiler --- configs/colibri_imx6_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/colibri_imx6_defconfig b/configs/colibri_imx6_defconfig

[U-Boot] [PATCH v1 10/26] colibri_imx6: migrate pmic and regulator to using driver model

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate PMIC and regulator to using driver model. Signed-off-by: Marcel Ziswiler --- configs/colibri_imx6_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/configs/colibri_imx6_defconfig b/configs/colibri_imx6_defconfig index dea6ca6270..6fd050a99f

[U-Boot] [PATCH v1 21/26] toradex: colibri_imx6: overwrite CMA memory set in device tree

2019-02-08 Thread Marcel Ziswiler
From: Bhuvanchandra DV Make sure CMA memory is not greater than 50% of available physical memory. Allow user to change the CMA memory via 'cma-size' U-Boot environment variable. Signed-off-by: Bhuvanchandra DV Acked-by: Marcel Ziswiler --- board/toradex/colibri_imx6/colibri_i

[U-Boot] [PATCH v1 01/26] colibri_imx6: get rid of obsolete nospl configurations

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Now with SPL long since being in place even for recovery using SDP finally get rid of those nospl configurations. Signed-off-by: Marcel Ziswiler --- .../toradex/colibri_imx6/800mhz_2x64mx16.cfg | 58 --- .../toradex/colibri_imx6/800mhz_4x64mx16.cfg | 58

[U-Boot] [PATCH v1 06/26] colibri_imx6: migrate to using device tree

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate to using device tree required for further driver model integration. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx6-colibri.dts | 411 + board/toradex/colibri_imx6/MAINTAINERS | 2 + configs/colibri_imx6_defconfig

[U-Boot] [PATCH v1 08/26] colibri_imx6: enable pin control driver

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Enable pin control driver as required for further driver model migration. Signed-off-by: Marcel Ziswiler --- configs/colibri_imx6_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/colibri_imx6_defconfig b/configs/colibri_imx6_defconfig index

[U-Boot] [PATCH v1 17/26] colibri imx6: pf0100: reorder and cleanup message printing

2019-02-08 Thread Marcel Ziswiler
From: Max Krummenacher Keep debug code at the end of the function. Use a one line informational message for the PMIC only. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- board/toradex/colibri_imx6/pf0100.c | 82 ++--- 1 file changed, 41 insertions

[U-Boot] [PATCH v1 19/26] colibri_imx6: change pmic fusing according to hw 1.1 requirements

2019-02-08 Thread Marcel Ziswiler
From: Max Krummenacher Colibri iMX6 V1.1 HW can use the PMIC GEN3 to power the NVCC_SD1. Change the settings fused into the PMIC's OTP to powerup with GEN3 set to output 3.3V. Signed-off-by: Max Krummenacher Acked-by: Stefan Agner Acked-by: Marcel Ziswiler --- board/toradex/colibri

[U-Boot] [PATCH v1 11/26] colibri_imx6: migrate mmc to using driver model

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate MMC to using driver model. Signed-off-by: Marcel Ziswiler --- board/toradex/colibri_imx6/colibri_imx6.c | 38 +++ configs/colibri_imx6_defconfig| 1 + 2 files changed, 5 insertions(+), 34 deletions(-) diff --git a/board/toradex

[U-Boot] [PATCH v1 16/26] colibri_imx6: unify sd/mmc drive strenght with linux kernel settings

2019-02-08 Thread Marcel Ziswiler
From: Max Krummenacher In the linux device tree we use 40Ohm drive strenght. So use the same value in U-Boot. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- board/toradex/colibri_imx6/colibri_imx6.c | 24 +-- 1 file changed, 14 insertions(+), 10 deletions

[U-Boot] [PATCH v1 18/26] colibri imx6: disable ri and dcd irq in uarts

2019-02-08 Thread Marcel Ziswiler
interrupts. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- board/toradex/colibri_imx6/colibri_imx6.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_imx6.c index 3d72a315b4

[U-Boot] [PATCH v1 09/26] colibri_imx6: migrate i2c to using driver model

2019-02-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate I2C to using driver model. Signed-off-by: Marcel Ziswiler --- board/toradex/colibri_imx6/colibri_imx6.c | 50 + board/toradex/colibri_imx6/pf0100.c | 54 --- configs/colibri_imx6_defconfig| 1 + include

[U-Boot] [PATCH v1 20/26] colibri_imx6: revert fuse value set in mfgr_fuse

2019-02-08 Thread Marcel Ziswiler
Krummenacher Acked-by: Stefan Agner Acked-by: Marcel Ziswiler --- board/toradex/colibri_imx6/do_fuse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/toradex/colibri_imx6/do_fuse.c b/board/toradex/colibri_imx6/do_fuse.c index e6793e366a..22d191f52a 100644 --- a

[U-Boot] [PATCH v1 00/26] colibri imx6 fixes, device tree enablement and driver model conversion

2019-02-08 Thread Marcel Ziswiler
memory set in device tree colibri_imx6: switch to zimage Gerard Salvatella (2): colibri_imx6: added nreset gpio on reboot board: colibri_imx6: check for and report ecc errors in fuses Marcel Ziswiler (12): colibri_imx6: get rid of obsolete nospl configurations colibri_imx6: use distro

[U-Boot] [PATCH v1 25/26] colibri_imx6: added nreset gpio on reboot

2019-02-08 Thread Marcel Ziswiler
at all times. Signed-off-by: Gerard Salvatella Acked-by: Marcel Ziswiler --- board/toradex/colibri_imx6/colibri_imx6.c | 24 +++ 1 file changed, 24 insertions(+) diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_imx6.c index

[U-Boot] [PATCH v1 24/26] colibri_imx6: switch to zimage

2019-02-08 Thread Marcel Ziswiler
From: Bhuvanchandra DV Switch to the generic compressed Kernel image type (zImage) instead of the U-Boot specific uImage format. While at it also fix device tree naming for MMC DFU. Signed-off-by: Bhuvanchandra DV Acked-by: Marcel Ziswiler --- include/configs/colibri_imx6.h | 22

[U-Boot] [PATCH v1 23/26] colibri_imx6: use SDP if USB serial downloader has been used

2019-02-08 Thread Marcel Ziswiler
USB serial downloader. Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler --- board/toradex/colibri_imx6/colibri_imx6.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_imx6.c index

[U-Boot] [PATCH v1 13/26] colibri_imx6: drop CONFIG_OF_SYSTEM_SETUP

2019-02-08 Thread Marcel Ziswiler
From: Max Krummenacher This doesn't do anything anymore, probably never did. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- board/toradex/colibri_imx6/colibri_imx6.c | 7 --- include/configs/colibri_imx6.h| 2 -- 2 files changed, 9 deletions(-) diff --

[U-Boot] [PATCH v1 22/26] configs: colibri_imx6: Use ext4 file system by default

2019-02-08 Thread Marcel Ziswiler
From: Sanchayan Maity Use ext4 file system by default. Signed-off-by: Sanchayan Maity Acked-by: Max Krummenacher Acked-by: Marcel Ziswiler --- include/configs/colibri_imx6.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/colibri_imx6.h b/include

[U-Boot] [PATCH v1 15/26] colibri_imx6: add distroboot support

2019-02-08 Thread Marcel Ziswiler
... Refer to doc/README.distro fo details. While at it, remove the CONFIG_DRIVE_TYPES define which has not been used and was meant to be used for multi device boot support which is now provided by distroboot. Signed-off-by: Stefan Agner Acked-by: Max Krummenacher Acked-by: Marcel Ziswiler

[U-Boot] [PATCH v1 26/26] board: colibri_imx6: check for and report ecc errors in fuses

2019-02-08 Thread Marcel Ziswiler
From: Gerard Salvatella The PMIC on the Colibri iMX6 may have ECC errors in fuses that will prevent correct settings. Up to one bit error per fuse bank can be reported and corrected by the ECC logic. Two bit errors can only be reported. Signed-off-by: Gerard Salvatella Acked-by: Marcel

[U-Boot] [PATCH v1 14/26] colibri_imx6: print also 64-bit IT

2019-02-08 Thread Marcel Ziswiler
From: Max Krummenacher Print also for Colibri iMX6 512MB IT with 64-bit RAM bus. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- board/toradex/colibri_imx6/colibri_imx6.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board

<    4   5   6   7   8   9   10   11   12   13   >