[U-Boot] [PATCH v3] splash_source: add support for ubifs formatted nand

2016-06-07 Thread Eran Matityahu
Add support for loading splash image from NAND Flash formatted with a (UBI) filesystem. Signed-off-by: Eran Matityahu <era...@variscite.com> Cc: Heiko Schocher <h...@denx.de> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Cc: Nikita Kiryano

[U-Boot] [PATCH v2] splash_source: add support for ubifs formatted nand

2016-05-30 Thread Eran Matityahu
Add support for loading splash image from NAND Flash formatted with a (UBI) filesystem. Signed-off-by: Eran Matityahu <era...@variscite.com> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Cc: Nikita Kiryanov <nik...@compulab.co.il> Cc: Stefa

[U-Boot] [PATCH v2] imx: mx6var_som: Add support for Variscite mx6 boards

2016-05-31 Thread Eran Matityahu
Add support for Variscite VAR-SOM-MX6 / VAR-SOM-SOLO/DUAL / DART-MX6 boards with features: PMIC, NAND flash, SD/MMC, USB, Ethernet, I2C, LVDS, HDMI. Signed-off-by: Eran Matityahu <era...@variscite.com> Cc: Stefano Babic <sba...@denx.de> --- Note: This patch depends on two other

[U-Boot] [PATCH] imx: mx6var_som: Add support for Variscite mx6 boards

2016-03-31 Thread Eran Matityahu
Add support for Variscite VAR-SOM-MX6 / DART-MX6 / VAR-SOM-SOLO/DUAL boards with features: PMIC, NAND flash, SD/MMC, USB, Ethernet, I2C, LVDS, HDMI. Signed-off-by: Eran Matityahu <era...@variscite.com> --- arch/arm/cpu/armv7/mx6/Kconfig|7 + board/variscite/mx6v

[U-Boot] [PATCH] power: pfuze100: Update definitions

2016-04-26 Thread Eran Matityahu
- Add definitions and macros for buck regulators SW2,SW3A/B and SW4 (SWx) with low and high output voltage ranges - Add definitions for LDO mode (ON/OFF/LPM combinations at Normal & Standby modes) Signed-off-by: Eran Matityahu <era...@variscite.com> --- include/power/pfuze100_pm

[U-Boot] [PATCH] splash_source: add support for ubifs formatted nand

2016-04-14 Thread Eran Matityahu
option here. It would be nice to get your input about this. Signed-off-by: Eran Matityahu <era...@variscite.com> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Cc: Nikita Kiryanov <nik...@compulab.co.il> --- com

[U-Boot] [PATCH] imx: spl: Fix NAND bootmode detection

2017-12-14 Thread Eran Matityahu
m IMX6DQRM say the NAND boot mode selection is done when BOOT_CFG1[7] is 1, but BOOT_CFG1[6:4] is not necessarily 0x0 in this case. Actually, NAND boot mode is when 0x8 <= BOOT_CFG1[7:4] <= 0xf, like it was in the code before. Signed-off-by: Eran Matityahu <era...@variscite.com> Cc: Ste

Re: [U-Boot] [PATCH 1/2] imx7: spl: Use SPL boot device MMC1 for all of the SOCs MMC/SD boot devices

2018-01-03 Thread Eran Matityahu
Hi Uri. > Hello Eran, > > On 01/03/2018 12:53 PM, Eran Matityahu wrote: >> >> Use only one SPL MMC device, similarly to the iMX6 code > > > What is the reason for not using MMC2? The reason is so that you won't have to initialize more than one MMC device

Re: [U-Boot] [PATCH 1/2] imx7: spl: Use SPL boot device MMC1 for all of the SOCs MMC/SD boot devices

2018-01-04 Thread Eran Matityahu
On Thu, Jan 4, 2018 at 12:02 PM, Eran Matityahu <era...@variscite.com> wrote: > On Thu, Jan 4, 2018 at 11:14 AM, Stefano Babic <sba...@denx.de> wrote: >> Hi Eran, >> >> On 03/01/2018 14:58, Eran Matityahu wrote: >>> Hi Uri. >>> >>>&g

[U-Boot] [PATCH 1/2] iomux-v3: Take mx6dqp in consideration for imx_iomux_v3_setup_pad()

2018-01-26 Thread Eran Matityahu
We should take the MX6DP and MX6QP options in consideration when defining imx_iomux_v3_setup_pad(). Based on a patch by Pierluigi Passaro <pierluig...@variscite.com> Signed-off-by: Eran Matityahu <era...@variscite.com> --- arch/arm/include/asm/mach-imx/iomux-v3.h | 2 +- 1 fil

[U-Boot] [PATCH 2/2] i2c: imx: Take mx6dqp in consideration in the I2C_PADS_INFO macro

2018-01-26 Thread Eran Matityahu
We should take the MX6DP and MX6QP options in consideration in the I2C_PADS_INFO macro. Based on a patch by Pierluigi Passaro <pierluig...@variscite.com> Signed-off-by: Eran Matityahu <era...@variscite.com> --- arch/arm/include/asm/mach-imx/mxc_i2c.h | 3 +-- 1 file changed, 1 ins

[U-Boot] [PATCH 1/2] imx7: spl: Use SPL boot device MMC1 for all of the SOCs MMC/SD boot devices

2018-01-03 Thread Eran Matityahu
Use only one SPL MMC device, similarly to the iMX6 code Signed-off-by: Eran Matityahu <era...@variscite.com> --- arch/arm/mach-imx/spl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c index d0d1b73aa6..6b5bd8990c

[U-Boot] [PATCH 2/2] imx7: spl: Add support for MMC3, SD3 and NAND boot devices

2018-01-03 Thread Eran Matityahu
Signed-off-by: Eran Matityahu <era...@variscite.com> --- arch/arm/mach-imx/spl.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c index 6b5bd8990c..27d065dc86 100644 --- a/arch/arm/mach-imx/spl.c +++ b/arch/arm/mach-imx/spl.c @@

Re: [U-Boot] [PATCH 1/2] imx7: spl: Use SPL boot device MMC1 for all of the SOCs MMC/SD boot devices

2018-01-04 Thread Eran Matityahu
On Thu, Jan 4, 2018 at 12:42 PM, Stefano Babic <sba...@denx.de> wrote: > On 04/01/2018 11:11, Eran Matityahu wrote: >> On Thu, Jan 4, 2018 at 12:02 PM, Eran Matityahu <era...@variscite.com> wrote: >>> On Thu, Jan 4, 2018 at 11:14 AM, Stefano Babic <sb

Re: [U-Boot] [PATCH 1/2] imx7: spl: Use SPL boot device MMC1 for all of the SOCs MMC/SD boot devices

2018-01-04 Thread Eran Matityahu
On Thu, Jan 4, 2018 at 2:02 PM, Uri Mashiach <uri.mashi...@compulab.co.il> wrote: > > > On 01/04/2018 01:37 PM, Stefano Babic wrote: >> >> On 04/01/2018 11:56, Eran Matityahu wrote: >>> >>> On Thu, Jan 4, 2018 at 12:42 PM, Stefano Babic <sba...@den

Re: [U-Boot] [PATCH 1/2] imx7: spl: Use SPL boot device MMC1 for all of the SOCs MMC/SD boot devices

2018-01-04 Thread Eran Matityahu
On Thu, Jan 4, 2018 at 11:14 AM, Stefano Babic <sba...@denx.de> wrote: > Hi Eran, > > On 03/01/2018 14:58, Eran Matityahu wrote: >> Hi Uri. >> >>> Hello Eran, >>> >>> On 01/03/2018 12:53 PM, Eran Matityahu wrote: >>>> >>>

[U-Boot] [PATCH 1/2] imx7: Add src_base structure define macro

2018-03-06 Thread Eran Matityahu
Add src_base structure global define macro, similarly to imx6 Signed-off-by: Eran Matityahu <era...@variscite.com> --- arch/arm/include/asm/arch-mx7/imx-regs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-mx7/imx-regs.h b/arch/arm/include/asm/arch-m

[U-Boot] [PATCH 2/2] imx7: spl: Check for Serial Downloader in spl_boot_device

2018-03-06 Thread Eran Matityahu
BOOT_DEVICE_BOARD. This allows SPL with SDP support to wait for the U-Boot image to be loaded via the serial download protocol using imx_usb_loader. Signed-off-by: Eran Matityahu <era...@variscite.com> --- arch/arm/mach-imx/spl.c | 23 +++ 1 file changed, 23 insertions(+)

[U-Boot] [PATCH 2/2] Makefile: Build firmware-ivt image type for HAB verification also for mx7

2018-02-27 Thread Eran Matityahu
Create u-boot-ivt.img and u-boot-ivt.img.log when building U-Boot with SPL and Secure Boot enabled for imx7 (like it is done for imx6). See commit d21bd69b6e95ca7824941e7f527871cd5c63c7f7 for more info. Signed-off-by: Eran Matityahu <era...@variscite.com> --- Makefile | 4 1 file c

[U-Boot] [PATCH 1/2] mx7_common: Fix SPL compilation with secure boot support enabled

2018-02-27 Thread Eran Matityahu
The SPL MISC driver support must be enabled, so that the driver can use OTP fuse to check if HAB is enabled. Signed-off-by: Eran Matityahu <era...@variscite.com> --- include/configs/mx7_common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/mx7_common.h b/include/c

Re: [U-Boot] [PATCH 1/2] mtd: ubi debug: Remove the pid print from ubi_assert

2019-02-17 Thread Eran Matityahu
Hi Heiko. On Mon, Feb 18, 2019 at 7:06 AM Heiko Schocher wrote: > > Hello Eran, > > Am 13.02.2019 um 19:55 schrieb Eran Matityahu: > > Add a new definition for ubi_assert and keep > > the original one in an ifndef __UBOOT__. > > > > Signed-off-by: Eran Mati

[U-Boot] [PATCH 1/2] mtd: ubi debug: Remove the pid print from ubi_assert

2019-02-13 Thread Eran Matityahu
Add a new definition for ubi_assert and keep the original one in an ifndef __UBOOT__. Signed-off-by: Eran Matityahu --- drivers/mtd/ubi/debug.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/mtd/ubi/debug.h b/drivers/mtd/ubi/debug.h index 8ad0c62..d853520 100644

[U-Boot] [PATCH 2/2] mtd: ubi, ubifs debug: Use pr_debug instead of pr_crit

2019-02-13 Thread Eran Matityahu
Before printk.h was introduced and MTDDEBUG was removed, pr_crit() was calling MTDDEBUG(), which was since then replaced by the current pr_debug(). pr_debug is more appropriate here. Signed-off-by: Eran Matityahu --- drivers/mtd/ubi/debug.h | 2 +- fs/ubifs/debug.h| 4 ++-- 2 files