[U-Boot] [PATCH v3 2/6] libfdt: fix

2018-01-21 Thread Masahiro Yamada
I do not remember why, but this is apparently a file-copy mistake. The file name is libfdt.h, but its content is that of libfdt_env.h Re-import it from upstream Linux. Signed-off-by: Masahiro Yamada Reviewed-by: Simon Glass --- Changes in v3:

[U-Boot] [PATCH v3 4/6] libfdt: move working_fdt and FDT_RAMDISK_OVERHEAD to include/libfdt.h

2018-01-21 Thread Masahiro Yamada
libfdt_env.h exists to contain system-dependent defines: - typedef of fdt*_t - fdt*_to_cpu(), cpu_to_fdt* working_fdt and FDT_RAMDISK_OVERHEAD are unrelated to the environment, so they must get out of this header. Signed-off-by: Masahiro Yamada Reviewed-by:

Re: [U-Boot] UEFI on u-boot

2018-01-21 Thread Udit Kumar
Thanks Alex and Heinrich I guess function efi_add_memory_map will do, what I was looking for Regards Udit > -Original Message- > From: Udit Kumar > Sent: Sunday, January 21, 2018 4:13 PM > To: 'Alexander Graf' ; Heinrich Schuchardt > > Cc:

Re: [U-Boot] [PATCH v4 0/6] Support for the Turris Omnia router

2018-01-21 Thread Sean Nyekjær
Hi On 21 January 2018 13:39:15 CET, "Andreas Färber" wrote: >Hi, > >Am 20.01.2018 um 15:32 schrieb Sean Nyekjær: >> On 20 January 2018 10:07:57 CET, Stefan Roese wrote: >>> On 20.01.2018 03:30, Andreas Färber wrote: Am 20.01.2018 um 02:40 schrieb Andreas

Re: [U-Boot] [PATCH V5 04/31] imx: mx8m: add pin header file

2018-01-21 Thread Stefano Babic
On 10/01/2018 06:20, Peng Fan wrote: > Add pin header file for i.MX8M > > Signed-off-by: Peng Fan > Reviewed-by: Fabio Estevam > Cc: Stefano Babic > --- > arch/arm/include/asm/arch-mx8m/mx8mq_pins.h | 623 >

Re: [U-Boot] [PATCH V5 02/31] imx: add i.MX8M into Kconfig

2018-01-21 Thread Stefano Babic
On 10/01/2018 06:20, Peng Fan wrote: > Add i.MX8M into Kconfig, create a new folder mx8m > dedicated for i.MX8M. > > Signed-off-by: Peng Fan > Reviewed-by: Fabio Estevam > Cc: Stefano Babic > --- > arch/arm/Kconfig | 14

Re: [U-Boot] [PATCH V5 03/31] imx: mx8m: add register definition header file

2018-01-21 Thread Stefano Babic
On 10/01/2018 06:20, Peng Fan wrote: > Add register definition header file for i.MX8M > > Signed-off-by: Peng Fan > Reviewed-by: Fabio Estevam > Cc: Stefano Babic > --- > arch/arm/include/asm/arch-mx8m/imx-regs.h | 468 >

Re: [U-Boot] mrvl_uart.sh and Turris Omnia (was: [EXT] Re: [PATCH v4 0/6] Support for the Turris Omnia router)

2018-01-21 Thread Kostya Porotchkin
Hi, Andreas, > -Original Message- > From: Andreas Färber [mailto:afaer...@suse.de] > Sent: Saturday, January 20, 2018 14:35 > To: Kostya Porotchkin; u-boot@lists.denx.de > Cc: Stefan Roese; Marek Behún; Tomas Hlavacek > Subject: mrvl_uart.sh and Turris Omnia (was: [EXT] Re: [U-Boot]

Re: [U-Boot] [PATCH] tools/mrvl_uart.sh: Tidy script output

2018-01-21 Thread Kostya Porotchkin
> -Original Message- > From: Andreas Färber [mailto:afaer...@suse.de] > Sent: Saturday, January 20, 2018 14:19 > To: u-boot@lists.denx.de > Cc: Andreas Färber; Kostya Porotchkin; Stefan Roese; Igal Liberman > Subject: [PATCH] tools/mrvl_uart.sh: Tidy script output > > Fix a typo in help

[U-Boot] [PATCH v3 5/6] libfdt: migrate libfdt.h to a wrapper + U-Boot own code

2018-01-21 Thread Masahiro Yamada
There is tons of code duplication between lib/libfdt/libfdt.h and scripts/dtc/libfdt/libfdt.h. Evacuate the U-Boot own code to include/libfdt.h and remove lib/libfdt/libfdt.h. For host tools, should include scripts/dtc/libfdt/libfdt.h, which is already suitable for user-space. For compiling

[U-Boot] [PATCH v3 3/6] tools: include necessary headers explicitly

2018-01-21 Thread Masahiro Yamada
Several host-tools use "bool" type without including . This relies on the crappy header inclusion chain. tools/Makefile has the following line: HOST_EXTRACFLAGS += -include $(srctree)/include/libfdt_env.h \ All host-tools are forced to include libfdt_env.h even if they are totally unrelated

[U-Boot] [PATCH v3 6/6] libfdt: migrate include/libfdt_env.h to a wrapper

2018-01-21 Thread Masahiro Yamada
libfdt_env.h is supposed to provide system-dependent defines. scripts/dtc/libfdt/libfdt_env.h from upstream DTC is suitable for user-space, so we should use this for USE_HOSTCC case. For compiling U-Boot, we need to override such system-dependent defines, so use imported from Linux. selects a

[U-Boot] [PATCH v3 1/6] libfdt: migrate fdt_rw.c to a wrapper of scripts/dtc/libfdt/fdt_rw.c

2018-01-21 Thread Masahiro Yamada
The only difference between scripts/dtc/libfdt/fdt_rw.c and lib/libfdt/fdt_rw.c is fdt_remove_unused_strings(). It is only used by fdtgrep, so we do not need to compile it for U-Boot image. Move it to tools/libfdt/fdw_rw.c so that lib/libfdt/fdt_rw.c can be a wrapper of

Re: [U-Boot] [PATCH 4/4] armv8: ls1088: Add CONFIG_SPI_FLASH_SPANSION to sdcard defconfigs

2018-01-21 Thread Ashish Kumar
Hello all, It should be [PATCH 1/1]. This is not part of any patch set Regards Ashish > -Original Message- > From: Ashish Kumar [mailto:ashish.ku...@nxp.com] > Sent: Friday, January 19, 2018 3:54 PM > To: u-boot@lists.denx.de > Cc: York Sun ; Ashish Kumar

Re: [U-Boot] UEFI on u-boot

2018-01-21 Thread Udit Kumar
Hi Alex > -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Tuesday, January 16, 2018 7:52 PM > To: Udit Kumar ; Heinrich Schuchardt > > Cc: u-boot@lists.denx.de > Subject: Re: UEFI on u-boot > > > > On 16.01.18 09:35,

[U-Boot] [PATCH V2 1/4] mmc: fsl_esdhc: add strobe and tuning entry

2018-01-21 Thread Peng Fan
Add entries that will be used for tuning control. The whole layout not changed, just expand reserved3[84] and rename other reservedx in sequence. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam Cc: Jaehoon Chung

Re: [U-Boot] [PATCH] tools/mrvl_uart.sh: Fix minicom baudrate

2018-01-21 Thread Kostya Porotchkin
> -Original Message- > From: Andreas Färber [mailto:afaer...@suse.de] > Sent: Saturday, January 20, 2018 14:07 > To: u-boot@lists.denx.de > Cc: Andreas Färber; Kostya Porotchkin; Stefan Roese; Igal Liberman > Subject: [PATCH] tools/mrvl_uart.sh: Fix minicom baudrate > > minicom doesn't

[U-Boot] [PATCH] host-tools: use python2 explicitly for shebang

2018-01-21 Thread Masahiro Yamada
All of these host tools are apparently written for Python2, not Python3. Use 'python2' in the shebang line according to PEP 394 (https://www.python.org/dev/peps/pep-0394/). Signed-off-by: Masahiro Yamada --- I sent some time before figuring out why Patman does

[U-Boot] [PATCH V2 4/4] imx: mx7dsabresd: enable UHS and HS200

2018-01-21 Thread Peng Fan
Enable UHS and HS200 for mx7dsabresd. Read Speed improvement: Kingston SD10VG2/16GB SDHC 3.0 card 22.2MB/s -> 73.7MB/s eMMC5.0 MTFC8GACAEAM: 68MB/s -> 87MB/s Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam Cc: Jaehoon Chung

[U-Boot] [PATCH V2 3/4] mmc: fsl_esdhc: support SDR104 and HS200

2018-01-21 Thread Peng Fan
Introduce SDR104 and HS200 support The implementation takes linux kernel sdhci.c and sdhci-esdhc-imx.c as reference. - Implement esdhc_change_pinstate to dynamically change pad settings - Implement esdhc_set_timing - Implement esdhc_set_voltage to switch voltage - Implement

[U-Boot] [PATCH V2 2/4] ARM: dts: add pinmux and tuning settings for HS200/SDR104

2018-01-21 Thread Peng Fan
The pinmux and tuning settings are from https://source.codeaurora.org/external/imx/linux-imx/tree/arch/ arm/boot/dts/imx7s.dtsi?h=imx_4.9.11_1.0.0_ga https://source.codeaurora.org/external/imx/linux-imx/tree/arch/ arm/boot/dts/imx7d-sdb.dts?h=imx_4.9.11_1.0.0_ga To support HS200 and SDR104, we

Re: [U-Boot] [PATCH v4 0/6] Support for the Turris Omnia router

2018-01-21 Thread Andreas Färber
Hi, Am 20.01.2018 um 15:32 schrieb Sean Nyekjær: > On 20 January 2018 10:07:57 CET, Stefan Roese wrote: >> On 20.01.2018 03:30, Andreas Färber wrote: >>> Am 20.01.2018 um 02:40 schrieb Andreas Färber: Am 18.01.2018 um 18:20 schrieb Stefan Roese: > On 17.01.2018 16:52,

Re: [U-Boot] [RESEND PATCH v2 01/27] cfi_flash: Fix space between function name and parenthesis

2018-01-21 Thread Stefan Roese
Hi Mario, after applying these patches and running them through Travis, I'm getting a few errors. Here some MIPS related errors: configs/socfpga_de0_nano_soc_defconfig: /tmp/tmphcvND0:40: warning: overriding the value of CMD_PART. Old value: "y", new value: "y". configs/evb-rk3288_defconfig:

Re: [U-Boot] [RESEND PATCH v2 2/4] clk: clk_fixed_rate: Fix style violation

2018-01-21 Thread Simon Glass
On 15 January 2018 at 06:05, Tom Rini wrote: > On Mon, Jan 15, 2018 at 11:44:46AM +0100, Mario Six wrote: >> On Mon, Jan 15, 2018 at 11:19 AM, Dr. Philipp Tomsich >> wrote: >> > Tom, >> > >> >> On 15 Jan 2018, at 11:06, Mario Six

Re: [U-Boot] [RESEND PATCH v2 1/4] clk: clk-uclass: Fix style violations

2018-01-21 Thread Simon Glass
On 15 January 2018 at 03:06, Mario Six wrote: > checkpatch.pl complains that the clk_ops structures used in clk-uclass.c > ought to be const, so we mark them as const. > > Reviewed-by: Simon Glass > Signed-off-by: Mario Six > > --- > >

Re: [U-Boot] [RESEND PATCH v2 3/4] core: Add {ofnode, dev}_translate_address functions

2018-01-21 Thread Simon Glass
On 15 January 2018 at 03:07, Mario Six wrote: > Reviewed-by: Simon Glass > Signed-off-by: Mario Six > --- > > v1 -> v2: > None > > --- > drivers/core/ofnode.c | 8 > drivers/core/read.c | 5 + > include/dm/ofnode.h |

Re: [U-Boot] [RESEND PATCH v2 4/4] core: Make device_is_compatible live-tree compatible

2018-01-21 Thread Simon Glass
On 15 January 2018 at 03:07, Mario Six wrote: > Judging from its name and parameters, device_is_compatible looks like it > is compatible with a live device tree, but it actually isn't. > > Make it compatible with a live device tree. > > Reviewed-by: Simon Glass

Re: [U-Boot] [RESEND PATCH v2 3/4] clk: Remove superfluous gd declarations

2018-01-21 Thread Simon Glass
On 15 January 2018 at 03:06, Mario Six wrote: > The clk uclass was converted to support a live device tree recently, > hence the global data pointer declarations are no longer needed. > > Reviewed-by: Simon Glass > Signed-off-by: Mario Six

Re: [U-Boot] [RESEND PATCH v2 1/4] core: ofnode: Fix style violations

2018-01-21 Thread Simon Glass
On 15 January 2018 at 03:07, Mario Six wrote: > There are some style violations in ofnode.c; fix those. > > Reviewed-by: Simon Glass > Signed-off-by: Mario Six > --- > > v1 -> v2: > None > > --- > drivers/core/ofnode.c | 18

Re: [U-Boot] [PATCH] dm: spi: prevent setting a speed of 0 Hz

2018-01-21 Thread Jagan Teki
On Thu, Jan 18, 2018 at 1:45 PM, Simon Goldschmidt wrote: > When the device tree is missing a correct spi slave description below > the bus, the 'set_speed' callback can be called with 'speed' == 0 Hz. > At least with cadence qspi, this leads to a division by

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

2018-01-21 Thread Jagan Teki
Hi Tom, Please pull this PR. thanks! Jagan. The following changes since commit 98691a60abffb44303d7dae6e9e699d0daded930: Merge git://git.denx.de/u-boot-rockchip (2018-01-09 13:28:51 -0500) are available in the git repository at: git://git.denx.de/u-boot-spi.git master for you to fetch

Re: [U-Boot] [PATCH v6 2/2] common: Generic firmware loader for file system

2018-01-21 Thread Chee, Tien Fong
On Thu, 2018-01-18 at 12:12 +0100, Marek Vasut wrote: > On 01/18/2018 05:33 AM, Chee, Tien Fong wrote: > > > > On Tue, 2018-01-16 at 15:41 +0100, Marek Vasut wrote: > > > > > > On 12/27/2017 06:04 AM, tien.fong.c...@intel.com wrote: > > > > > > Whoa, this improved substantially since last time

Re: [U-Boot] [RESEND PATCH v2 8/8] sf_probe: Merge spi_flash_probe_tail into spi_flash_probe

2018-01-21 Thread Jagan Teki
On Mon, Jan 15, 2018 at 3:38 PM, Mario Six wrote: > spi_flash_probe_tail is now only called from spi_flash_probe, hence we > can merge its body into spi_flash_probe. > > Reviewed-by: Simon Glass > Signed-off-by: Mario Six > --- Applied

Re: [U-Boot] [PATCH] patman: Unquote output from get_maintainer.pl

2018-01-21 Thread Simon Glass
On 3 January 2018 at 09:42, Simon Glass wrote: > On 31 December 2017 at 15:21, Stefan Brüns > wrote: >> get_maintainer.pl quotes names which it considers unsafe, i.e. anything >> containing [^a-zA-Z0-9_ \-]. This confuses patman, it will

Re: [U-Boot] [RESEND PATCH v2 4/4] clk: Makefile: Sort entries alphabetically

2018-01-21 Thread Simon Glass
On 15 January 2018 at 03:06, Mario Six wrote: > The Makefile entries in the clk driver directory were not alphabetically > sorted. Correct this. > > Reviewed-by: Simon Glass > Signed-off-by: Mario Six > --- > > v1 -> v2: > None > > ---

Re: [U-Boot] [PATCH] dm: pinctrl: sync with Linux to use pin_config_param

2018-01-21 Thread Simon Glass
On 7 January 2018 at 21:52, Simon Glass wrote: > +masahiro > > On 4 January 2018 at 23:05, Peng Fan wrote: >> Sync with Linux commit 30a7acd573899fd8b("Linux 4.15-rc6") >> to use enum pin_config_param. >> >> Signed-off-by: Peng Fan >> ---

Re: [U-Boot] [PATCH v2 00/18] efi_loader: enable EFI driver provided block device

2018-01-21 Thread Simon Glass
Hi Heinrich, On 19 January 2018 at 00:41, Heinrich Schuchardt wrote: > On 01/19/2018 12:00 AM, Simon Glass wrote: >> >> Hi Heinrich, >> >> On 17 January 2018 at 11:15, Heinrich Schuchardt >> wrote: >>> >>> With this patch series an EFI application or

Re: [U-Boot] [PATCH 1/1] log: add category LOGC_EFI

2018-01-21 Thread Simon Glass
On 20 January 2018 at 10:49, Heinrich Schuchardt wrote: > The EFI implementation does not fit into any of the existing categories. > > Provide LOGC_EFI so that EFI related message can be filtered. > > Signed-off-by: Heinrich Schuchardt > --- >

Re: [U-Boot] [PATCH v9 00/12] mips: bmips: add SPI support

2018-01-21 Thread Jagan Teki
On Sat, Jan 20, 2018 at 6:41 AM, Álvaro Fernández Rojas wrote: > BCM63xx SPI controller is a bit tricky since it doesn't allow keeping CS > active between transfers, so I had to modify the spi_flash driver in order > to allow limiting reads. > > v9: Introduce changes suggested

Re: [U-Boot] [PATCH 0/8] mmc: some fixes for core and add HS200 support for sdhci-cadence

2018-01-21 Thread Jaehoon Chung
On 12/30/2017 02:00 AM, Masahiro Yamada wrote: > This series can be cleanly applied to u-boot-mmc/next. > > I really hope the HS200 support will be pulled in the next MW. > Applied this series to u-boot-mmc with "[PATCH v2] mmc: sdhci-cadence: add HS200 support". Thanks! Best Regards, Jaehoon

Re: [U-Boot] [PATCH v2 1/1] dm: video: Correct color ANSI escape sequence support

2018-01-21 Thread Simon Glass
Hi Heinrich, On 17 January 2018 at 19:42, Heinrich Schuchardt wrote: > > Support special rendition code 0 - reset attributes. > Support special rendition code 1 - increased intensity (bold). > Get RGB sequence in pixels right (swap blue and red). > Do not set reserved bits. >

Re: [U-Boot] [PATCH] dm: spi: prevent setting a speed of 0 Hz

2018-01-21 Thread Simon Glass
Hi Simon, On 18 January 2018 at 01:15, Simon Goldschmidt wrote: > When the device tree is missing a correct spi slave description below > the bus, the 'set_speed' callback can be called with 'speed' == 0 Hz. > At least with cadence qspi, this leads to a

Re: [U-Boot] [PATCH v2 13/15] env: Mark env_get_location as weak

2018-01-21 Thread Simon Glass
Hi Maxime, On 18 January 2018 at 10:21, Maxime Ripard wrote: > Hi Simon, > > On Wed, Jan 17, 2018 at 03:07:58PM -0700, Simon Glass wrote: >> On 16 January 2018 at 01:16, Maxime Ripard >> wrote: >> > Allow boards and

Re: [U-Boot] [PATCH 1/2] serial: mxc: support DTE mode

2018-01-21 Thread Simon Glass
Hi Ryan, On 19 January 2018 at 06:21, Ryan Harkin wrote: > Hi Stefan, > > Thanks for looking so quickly. > > On 19 January 2018 at 12:23, Stefan Agner wrote: >> >> Hi Ryan, >> >> >> On 19.01.2018 10:53, Ryan Harkin wrote: >> > Add DTE mode

Re: [U-Boot] [RESEND PATCH v2 2/2] lib: fdtdec: Fix some style violations

2018-01-21 Thread Simon Glass
On 15 January 2018 at 03:07, Mario Six wrote: > Fix some style violations in fdtdec.c, and reduce the scope of some > variables. > > Reviewed-by: Simon Glass > Signed-off-by: Mario Six > --- > > v1 -> v2: > None > > --- > lib/fdtdec.c

Re: [U-Boot] [RESEND PATCH v2 2/4] core: read: Fix style violations

2018-01-21 Thread Simon Glass
On 15 January 2018 at 03:07, Mario Six wrote: > There are some whitespace-related style violations in read.c; fix those. > > Reviewed-by: Simon Glass > Signed-off-by: Mario Six > --- > > v1 -> v2: > None > > --- > drivers/core/read.c |

Re: [U-Boot] [RESEND PATCH v2 1/2] lib: fdtdec: Fix whitespace style violations

2018-01-21 Thread Simon Glass
On 15 January 2018 at 03:07, Mario Six wrote: > Fix some whitespace-related style violations in fdtdec.c. > > Reviewed-by: Simon Glass > Signed-off-by: Mario Six > --- > > v1 -> v2: > None > > --- > lib/fdtdec.c | 56

Re: [U-Boot] [PATCH V2 1/4] mmc: fsl_esdhc: add strobe and tuning entry

2018-01-21 Thread Jaehoon Chung
On 01/21/2018 08:00 PM, Peng Fan wrote: > Add entries that will be used for tuning control. > The whole layout not changed, just expand reserved3[84] and > rename other reservedx in sequence. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > Cc: Fabio Estevam

Re: [U-Boot] [PATCH V2 3/4] mmc: fsl_esdhc: support SDR104 and HS200

2018-01-21 Thread Jaehoon Chung
On 01/21/2018 08:00 PM, Peng Fan wrote: > Introduce SDR104 and HS200 support > The implementation takes linux kernel sdhci.c and sdhci-esdhc-imx.c > as reference. > - Implement esdhc_change_pinstate to dynamically change pad settings > - Implement esdhc_set_timing > - Implement

[U-Boot] [PATCH] sunxi: Add support for the Beelink-x2 STB

2018-01-21 Thread codekipper
From: Marcus Cooper The Beelink X2 is an STB based on the Allwinner H3 SoC with a uSD slot, 2 USB ports( 1 * USB-2 Host, 1 USB OTG), a 10/100M ethernet port using the SoC's integrated PHY, Wifi via an sdio wifi chip, HDMI, a dual colour LED, an IR receiver and an optical

Re: [U-Boot] [PATCH] usb: xhci: Fix bool initialization in xhci_bulk_tx

2018-01-21 Thread Gustavo A. R. Silva
Quoting Marek Vasut : On 01/20/2018 09:37 AM, Gustavo A. R. Silva wrote: Bool initializations should use true and false. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva Cc: Bin Meng

Re: [U-Boot] [PATCH] mmc: Poll for broken card detection case

2018-01-21 Thread Jaehoon Chung
Hi, On 01/02/2018 01:25 PM, Jun Nie wrote: > Poll for broken card detection case instead of return > no card detected. Sorry for late. i didn't see this patch in my mailbox. Does it need to add the new config? Best Regards, Jaehoon Chung > > Signed-off-by: Jun Nie > ---

Re: [U-Boot] [PATCH v6 0/4] mips: bmips: add HSSPI support

2018-01-21 Thread Jagan Teki
On Sat, Jan 20, 2018 at 6:43 AM, Álvaro Fernández Rojas wrote: > BCM63xx HSSPI controller has the same issue as BCM63xx SPI controller: it > doesn't allow keeping CS active between transfers. > However, this controller allows changing CS polarities, which is used in the > linux

[U-Boot] [PATCH 1/1] efi_selftest: add missing LF in test output

2018-01-21 Thread Heinrich Schuchardt
The output of the minicapps lacks a line feed. Signed-off-by: Heinrich Schuchardt --- lib/efi_selftest/efi_selftest_miniapp_exit.c | 2 +- lib/efi_selftest/efi_selftest_miniapp_return.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] Please pull u-boot-dm

2018-01-21 Thread Simon Glass
Hi Tom. The following changes since commit 557767ed29968af0294e3aae48433e5d5a298e0b: Merge git://git.denx.de/u-boot-marvell (2018-01-20 08:39:47 -0500) are available in the Git repository at: git://git.denx.de/u-boot-dm.git for you to fetch changes up to

Re: [U-Boot] [PATCH] dm: spi: prevent setting a speed of 0 Hz

2018-01-21 Thread Vignesh R
On Thursday 18 January 2018 01:45 PM, Simon Goldschmidt wrote: > When the device tree is missing a correct spi slave description below > the bus, the 'set_speed' callback can be called with 'speed' == 0 Hz. > At least with cadence qspi, this leads to a division by zero. > > Prevent this by

Re: [U-Boot] [PATCH v4] drivers: core: Add translation in live tree case

2018-01-21 Thread Simon Glass
On 20 December 2017 at 08:45, Stephen Warren wrote: > On 12/20/2017 01:52 AM, Mario Six wrote: >> >> The function dev_read_addr calls ofnode_get_addr_index in the live tree >> case, which does not apply bus translations to the address read from the >> device tree. This

Re: [U-Boot] [PATCH 1/1] dm: fix typo falback

2018-01-21 Thread Simon Glass
On 19 December 2017 at 08:42, Simon Glass wrote: > On 17 December 2017 at 10:19, Heinrich Schuchardt wrote: >> %s/falback/fallback/g >> >> Signed-off-by: Heinrich Schuchardt >> --- >> include/dm/uclass.h | 4 ++-- >> 1 file changed, 2

Re: [U-Boot] [PATCH] mmc: fix the wrong dislabing clock

2018-01-21 Thread Jaehoon Chung
On 01/17/2018 07:36 PM, Jaehoon Chung wrote: > When power is off, clock is not disabling. > Because it's passed to 1, mmc->clock should be set to f_min value. > Some drivers can't initialize the eMMC/SD card with current status. > > This patch is to fix the disabling clock value to 0. > > Fixes:

Re: [U-Boot] [PATCH v2] mmc: fsl_esdhc: Fix i.MX53 eSDHCv3 clock

2018-01-21 Thread Jaehoon Chung
On 01/17/2018 06:44 AM, Benoît Thébaudeau wrote: > Commit 4f425280fa71 ("mmc: fsl_esdhc: Allow all supported prescaler > values") made it possible to set SYSCTL.SDCLKFS to 0 in SDR mode on > i.MX, thus bypassing the SD clock frequency prescaler, in order to be > able to get higher SD clock

[U-Boot] [PATCH v4 2/2] efi_selftest: provide a test for block io

2018-01-21 Thread Heinrich Schuchardt
This test checks the driver for block IO devices. A disk image is created in memory. A handle is created for the new block IO device. The block I/O protocol is installed on the handle. ConnectController is used to setup partitions and to install the simple file protocol. A known file is read from

[U-Boot] [PATCH v4 0/2] efi_loader: enable EFI driver provided block device

2018-01-21 Thread Heinrich Schuchardt
With this patch series an EFI application or driver can supply a block device which in turn can be used to download an image. E.g. we can load iPXE, connect iSCSI drives, download grub from the SAN and afterwards with grub download and run an EFI application. Booting Linux from an iSCSI drive was

[U-Boot] [PATCH v4 1/2] efi_driver: EFI block driver

2018-01-21 Thread Heinrich Schuchardt
This patch provides * a uclass for EFI drivers * a EFI driver for block devices For each EFI driver the uclass * creates a handle * adds the driver binding protocol The uclass provides the bind, start, and stop entry points for the driver binding protocol. In bind() and stop() it checks if the

Re: [U-Boot] [U-Boot, v6, 2/2] common: Generic firmware loader for file system

2018-01-21 Thread Chee, Tien Fong
On Thu, 2018-01-18 at 08:18 -0500, Tom Rini wrote: > On Thu, Jan 18, 2018 at 03:42:14AM +, Chee, Tien Fong wrote: > > > > On Tue, 2018-01-16 at 09:35 -0500, Tom Rini wrote: > > > > > > On Tue, Jan 16, 2018 at 07:58:00AM +, Chee, Tien Fong wrote: > > > > > > > > > > > > On Mon,

Re: [U-Boot] [RESEND PATCH v2 1/8] spi: Fix style violation and improve code

2018-01-21 Thread Jagan Teki
On Mon, Jan 15, 2018 at 3:38 PM, Mario Six wrote: > This patch fixes a printf specifier style violation, reduces the scope > of a variable, and turns a void pointer that is used with pointer > arithmetic into a u8 pointer. > > Signed-off-by: Mario Six >

Re: [U-Boot] [RESEND PATCH v2 2/8] spi: Remove obsolete spi_base_setup_slave_fdt

2018-01-21 Thread Jagan Teki
On Mon, Jan 15, 2018 at 3:38 PM, Mario Six wrote: > 0efc024 ("spi_flash: Add spi_flash_probe_fdt() to locate SPI by FDT > node") added a helper function spi_base_setup_slave_fdt to to set up a > SPI slave from a given FDT blob. The only user was the exynos SPI > driver. > >

Re: [U-Boot] [PATCH v4 0/6] Support for the Turris Omnia router

2018-01-21 Thread Sean Nyekjær
Hi On 2018-01-21 13:39, Andreas Färber wrote: Hi, Am 20.01.2018 um 15:32 schrieb Sean Nyekjær: On 20 January 2018 10:07:57 CET, Stefan Roese wrote: On 20.01.2018 03:30, Andreas Färber wrote: Am 20.01.2018 um 02:40 schrieb Andreas Färber: Am 18.01.2018 um 18:20 schrieb Stefan

[U-Boot] [PATCH] powerpc: Drop CONFIG_WALNUT and other related dead code

2018-01-21 Thread Tuomas Tynkkynen
CONFIG_WALNUT was dropped in June 2017 in: commit 98f705c9cefdfd ("powerpc: remove 4xx support") While at it, the related CONFIG_MACH_SPECIFIC and the have_of and _machine variables are unused as well, so drop them too. Signed-off-by: Tuomas Tynkkynen ---

Re: [U-Boot] [PATCH V5 05/31] imx: mx8m: add clock driver

2018-01-21 Thread Stefano Babic
Hi Peng, On 10/01/2018 06:20, Peng Fan wrote: > Add clock driver to support i.MX8M. > > There are two kind PLLs, FRAC pll and SSCG pll. ROM already > configured SYS PLL1/2, we only need to configure the output. > ocotp/i2c/pll decoding and configuration/usdhc/lcdif/dram pll/ > enet clock are

Re: [U-Boot] [PATCH V5 11/31] imx: add pad settings bit definition for i.MX8M

2018-01-21 Thread Stefano Babic
On 10/01/2018 06:20, Peng Fan wrote: > Add pad settings bit definition for i.MX8M. > > Signed-off-by: Peng Fan > Reviewed-by: Fabio Estevam > Cc: Stefano Babic > --- > arch/arm/include/asm/mach-imx/iomux-v3.h | 22

Re: [U-Boot] [PATCH V5 10/31] imx: add i.MX8MQ SoC Revision and is_mx8m helper

2018-01-21 Thread Stefano Babic
On 10/01/2018 06:20, Peng Fan wrote: > Add i.MX8MQ SoC Revision > Add is_mx8m helper > The 7ULP is a dummy number, so use 0xEx. > > Signed-off-by: Peng Fan > Reviewed-by: Fabio Estevam > Cc: Stefano Babic > --- >

Re: [U-Boot] [PATCH V5 08/31] imx: cpu: update cpu file to support i.MX8M

2018-01-21 Thread Stefano Babic
On 10/01/2018 06:20, Peng Fan wrote: > Update get_reset_cause to reflect i.MX8M > Compile out get_ahb_clk and set_chipselect_size for i.MX8M > > Signed-off-by: Peng Fan > Reviewed-by: Stefano Babic > Reviewed-by: Fabio Estevam > --- >

Re: [U-Boot] [PATCH V5 09/31] imx: spl: implement spl_boot_device for i.MX8M

2018-01-21 Thread Stefano Babic
On 10/01/2018 06:20, Peng Fan wrote: > Implement spl_boot_device for i.MX8M. > > Signed-off-by: Peng Fan > Reviewed-by: Fabio Estevam > Cc: Stefano Babic > --- > arch/arm/mach-imx/spl.c | 10 +++--- > 1 file changed, 7

Re: [U-Boot] [PATCH V5 25/31] gpio: mxc: add i.MX8M support

2018-01-21 Thread Stefano Babic
On 10/01/2018 06:20, Peng Fan wrote: > Add i.MX8M GPIO support. > There are 4 GPIO banks on i.MX8M. > > Signed-off-by: Peng Fan > Reviewed-by: Fabio Estevam > Cc: Stefano Babic > --- > drivers/gpio/mxc_gpio.c | 22

Re: [U-Boot] [PATCH v2 1/4] dm: cpu: bmips: add BCM6318 support

2018-01-21 Thread Daniel Schwierzeck
On 20.01.2018 19:16, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > v2: fix bcm6318 typo > > drivers/cpu/bmips_cpu.c | 35 +++ > 1 file changed, 35 insertions(+) > Reviewed-by: Daniel Schwierzeck

Re: [U-Boot] [PATCH v2 2/4] dm: ram: bmips: add BCM6318 support

2018-01-21 Thread Daniel Schwierzeck
On 20.01.2018 19:16, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > v2: no changes > > drivers/ram/bmips_ram.c | 19 +++ > 1 file changed, 19 insertions(+) > Reviewed-by: Daniel Schwierzeck --

Re: [U-Boot] [PATCH v2 3/3] MIPS: add BMIPS Comtrend WAP-5813n board

2018-01-21 Thread Daniel Schwierzeck
On 20.01.2018 14:16, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > v2: Add board Kconfig and clean defconfig > > arch/mips/dts/Makefile | 1 + > arch/mips/dts/comtrend,wap-5813n.dts| 65 >

Re: [U-Boot] [PATCH] usb: xhci: Fix bool initialization in xhci_bulk_tx

2018-01-21 Thread Marek Vasut
On 01/20/2018 09:37 AM, Gustavo A. R. Silva wrote: > Bool initializations should use true and false. > > This issue was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva > Cc: Bin Meng > Cc: Marek Vasut

Re: [U-Boot] [PATCH v2 2/4] dm: ram: bmips: add BCM6318 support

2018-01-21 Thread Daniel Schwierzeck
On 20.01.2018 19:16, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > v2: no changes > > drivers/ram/bmips_ram.c | 19 +++ > 1 file changed, 19 insertions(+) > Reviewed-by: Daniel Schwierzeck --

Re: [U-Boot] [RESEND PATCH v2 01/27] cfi_flash: Fix space between function name and parenthesis

2018-01-21 Thread Marek Vasut
On 01/15/2018 11:02 AM, Mario Six wrote: > Signed-off-by: Mario Six Actual commit message in all those patches would be real nice to have. -- Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH V5 12/31] imx: cpu: move speed/temp to common cpu

2018-01-21 Thread Stefano Babic
On 10/01/2018 06:20, Peng Fan wrote: > The i.MX7 cpu speed/temp code could be reused on i.MX8M, > so move them to common cpu code. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > Cc: Fabio Estevam > --- > arch/arm/mach-imx/cpu.c

Re: [U-Boot] [PATCH V5 14/31] imx: refactor imx_get_mac_from_fuse

2018-01-21 Thread Stefano Babic
On 10/01/2018 06:20, Peng Fan wrote: > Move imx_get_mac_from_fuse to a new mac.c for i.MX6/7. > Since fuse regs structure are different for i.MX6/7, use mac > address offset in code and define a new local struture > imx_mac_fuse. > > Also sort the config order. > > Signed-off-by: Peng Fan

Re: [U-Boot] [PATCH V5 13/31] imx: cpu: add cpu speed/grade for i.MX8M

2018-01-21 Thread Stefano Babic
On 10/01/2018 06:20, Peng Fan wrote: > Use more general enum types for speed grade. > Refine get_cpu_speed_grade_hz to support i.MX8M. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > Cc: Fabio Estevam > --- > arch/arm/mach-imx/cpu.c

Re: [U-Boot] [PATCH V5 18/31] imx: cpu: support get_boot_device for i.MX8M

2018-01-21 Thread Stefano Babic
On 10/01/2018 06:20, Peng Fan wrote: > Enable get_boot_device for i.MX8M, it supports boot type USB. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > Cc: Fabio Estevam > --- > arch/arm/mach-imx/cpu.c | 7 ++- > 1 file changed, 6

Re: [U-Boot] [PATCH V5 26/31] net: fec: do not access reserved register for i.MX8M

2018-01-21 Thread Stefano Babic
On 10/01/2018 06:20, Peng Fan wrote: > The MIB RAM and FIFO receive start register does not exist on > i.MX8M. Accessing these register will cause system hang. > > Signed-off-by: Peng Fan > Acked-by: Joe Hershberger > Reviewed-by: Stefano Babic

Re: [U-Boot] [PATCH V5 17/31] imx: mx7: move get_boot_device to cpu.c

2018-01-21 Thread Stefano Babic
On 10/01/2018 06:20, Peng Fan wrote: > Move get_boot_device to cpu.c to prepare adding i.MX8M support, > because i.MX8M share same code with i.MX7. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > Cc: Fabio Estevam > --- >

Re: [U-Boot] [PATCH v2 1/3] dm: cpu: bmips: add BCM6368 support

2018-01-21 Thread Daniel Schwierzeck
On 20.01.2018 14:16, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > v2: no changes > > drivers/cpu/bmips_cpu.c | 36 > 1 file changed, 36 insertions(+) > Reviewed-by: Daniel Schwierzeck

Re: [U-Boot] [PATCH v2 2/3] MIPS: add support for Broadcom MIPS BCM6368 SoC family

2018-01-21 Thread Daniel Schwierzeck
On 20.01.2018 14:16, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > v2: Remove board Kconfig > > arch/mips/dts/brcm,bcm6368.dtsi | 168 > ++ > arch/mips/mach-bmips/Kconfig | 12 +++ >

Re: [U-Boot] [PATCH v2 3/4] MIPS: add support for Broadcom MIPS BCM6318 SoC family

2018-01-21 Thread Daniel Schwierzeck
On 20.01.2018 19:16, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > v2: add missing ngpios > > arch/mips/dts/brcm,bcm6318.dtsi| 157 > + > arch/mips/mach-bmips/Kconfig | 12 ++ >

Re: [U-Boot] [PATCH] mips: bmips: increment SYS_MALLOC_F_LEN

2018-01-21 Thread Daniel Schwierzeck
On 20.01.2018 11:45, Álvaro Fernández Rojas wrote: > This prevents the following ENOMEM: > Error binding driver 'bmips_cpu': -12 > > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/mach-bmips/Kconfig | 3 +++ > 1 file changed, 3 insertions(+) > Reviewed-by: Daniel

Re: [U-Boot] [PATCH v2 4/4] MIPS: add BMIPS Comtrend AR-5315u board

2018-01-21 Thread Daniel Schwierzeck
On 20.01.2018 19:16, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > v2: no changes > > arch/mips/dts/Makefile | 1 + > arch/mips/dts/comtrend,ar-5315u.dts| 85 > ++ >

Re: [U-Boot] [PATCH v2 1/4] dm: cpu: bmips: add BCM6318 support

2018-01-21 Thread Daniel Schwierzeck
On 20.01.2018 19:16, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > v2: fix bcm6318 typo > > drivers/cpu/bmips_cpu.c | 35 +++ > 1 file changed, 35 insertions(+) > Reviewed-by: Daniel Schwierzeck

[U-Boot] [PATCH] doc: mxc_hab: Improve the config option list

2018-01-21 Thread Fabio Estevam
From: Fabio Estevam The original text is from the time that the config options were not converted to Kconfig. After the conversion to Kconfig only CONFIG_SECURE_BOOT and CONFIG_CMD_DEKBLOB need to be selected by the user. The other config options are automatically