Re: [U-Boot] [PATCH 2/3] efi_loader: correctly setup device paths for block devices

2017-12-03 Thread Mark Kettenis
Heinrich Schuchardt schreef op 2017-12-02 13:42: For each block device we have to setup: - a device path for the block device - a partition device path for the block device with partition number 0 Do x86 UEFI implementations actually generate these partition number 0 paths? The standard

[U-Boot] EspressoBin: enetaddr

2017-12-03 Thread Matwey V. Kornilov
Hello, I am running EspressoBin with u-boot 2017.03-armada-17.10.1-g440395a (image was provided by Debian community). I use EFI binary located at microSD card to boot the operation system. I found that MAC-addr (enetaddr) is not being set by the bootloader from environment variable $ethaddr.

Re: [U-Boot] [PATCH 2/3] efi_loader: correctly setup device paths for block devices

2017-12-03 Thread xypron . glpk
On Sunday, December 3, 2017 8:24:39 PM CET Mark Kettenis wrote: > Heinrich Schuchardt schreef op 2017-12-02 13:42: > > For each block device we have to setup: > > - a device path for the block device > > - a partition device path for the block device with > > > > partition number 0 > > Do x86

Re: [U-Boot] [PATCH 1/3] efi_loader: correctly determine if an MMC device is an SD-card

2017-12-03 Thread Alexander Graf
On 02.12.17 13:42, Heinrich Schuchardt wrote: > The SD cards and eMMC devices have different device nodes. > The current coding interpretes all MMC devices as eMMC. > > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_loader/efi_device_path.c | 24

Re: [U-Boot] [PATCH 2/3] efi_loader: correctly setup device paths for block devices

2017-12-03 Thread Alexander Graf
On 03.12.17 22:20, xypron.g...@gmx.de wrote: > On Sunday, December 3, 2017 8:24:39 PM CET Mark Kettenis wrote: >> Heinrich Schuchardt schreef op 2017-12-02 13:42: >>> For each block device we have to setup: >>> - a device path for the block device >>> - a partition device path for the block

[U-Boot] [PULL] efi patch queue 2017-12-04

2017-12-03 Thread Alexander Graf
Hi Tom, This is my current patch queue for efi. Please pull. Alex The following changes since commit 9804d88630cdb22f5f0ace05ac05942928410fd9: Merge branch 'rmobile-mx' of git://git.denx.de/u-boot-sh (2017-11-30 10:39:04 -0500) are available in the git repository at:

Re: [U-Boot] [U-Boot, v2, 1/2] drivers/reset: support rockchip reset drivers

2017-12-03 Thread Kever Yang
Philipp, On 11/29/2017 03:49 AM, Dr. Philipp Tomsich wrote: Kever, This series causes build-breakage (even outside of the rockchip targets)... See https://travis-ci.org/ptomsich/u-boot-rockchip/builds/308522589 I'm not understand this error, sometimes I also met this, which depends on the

[U-Boot] [PATCH 0/7] Fix incorrect usage of the (FIT) DT node unit address

2017-12-03 Thread Andre Przywara
The DT spec[1] demands a unit-address in a node name (name@address) to match the "reg" property inside that node: uart0: serial@1c28000 { reg = <0x01c28000 0x400>; If there is no reg property in a node, there must not be a unit address in the node name

[U-Boot] [PATCH V2 07/23] power: pmic.h: include dm/ofnode.h

2017-12-03 Thread Peng Fan
Include dm/ofnode.h. Signed-off-by: Peng Fan Reviewed-by: Simon Glass Cc: Stefano Babic --- include/power/pmic.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/power/pmic.h b/include/power/pmic.h index 4b34316427..f2fe537fb7

[U-Boot] [PATCH V2 18/23] net: fec: do not access reserved register for i.MX8M

2017-12-03 Thread Peng Fan
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 Cc: Joe Hershberger --- drivers/net/fec_mxc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH V2 19/23] net: fec: fix build warnings for 64bits support

2017-12-03 Thread Peng Fan
When building for 64bits system, we get some warnings about type cast between pointer and integer. This patch eliminates the warnings by using ulong/long type which is 32bits on 32bits system or 64bits on 64bits system. Signed-off-by: Ye Li Signed-off-by: Peng Fan

[U-Boot] [PATCH V2 16/23] imx: lcdif: include i.MX8M

2017-12-03 Thread Peng Fan
Include i.MX8M in lcdif register layout map. Also included i.MX7ULP in this patch, since share same with i.MX8M. Signed-off-by: Peng Fan --- arch/arm/include/asm/mach-imx/regs-lcdif.h | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH V2 20/23] power: pmic/regulator allow dm be omitted by SPL

2017-12-03 Thread Peng Fan
Allow the dm driver be omitted by SPL. Signed-off-by: Peng Fan Reviewed-by: Simon Glass Cc: Jaehoon Chung Cc: Stefano Babic --- drivers/power/pmic/Makefile | 4 ++-- drivers/power/regulator/Makefile | 2 +- 2

[U-Boot] [PATCH V2 17/23] gpio: mxc: add i.MX8M support

2017-12-03 Thread Peng Fan
Add i.MX8M GPIO support. There are 4 GPIO banks on i.MX8M. Signed-off-by: Peng Fan --- drivers/gpio/mxc_gpio.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/drivers/gpio/mxc_gpio.c b/drivers/gpio/mxc_gpio.c index

Re: [U-Boot] [PATCH] sf: ensure flash device is in 3-byte address mode

2017-12-03 Thread Jagan Teki
On Thu, Nov 30, 2017 at 2:11 PM, Goldschmidt Simon wrote: > Hi Jagan, > > On Fri, Nov 10, 2017 08:04, Jagan Teki wrote: I've similar change on my patchwork, since no-one tested Will CC you by re- >> basing it please have test? >>> >>> Yes, of course I'd

[U-Boot] [PATCH 1/7] doc: FIT image: fix incorrect description of DT node unit address

2017-12-03 Thread Andre Przywara
The DT spec demands a unit-address in a node name to match the "reg" property in that node. Newer dtc versions will throw warnings if this is not the case. Fix all occurences in the FIT image documentation files where this was not observed, to not give bad examples to the reader. Signed-off-by:

[U-Boot] [PATCH 2/7] doc: FIT image: fix incorrect examples of DT node unit address

2017-12-03 Thread Andre Przywara
The DT spec demands a unit-address of a node name to match the "reg" property in that node. Newer dtc versions will throw warnings if this is not the case. Fix all occurences in the FIT image example files where this was not observed, to not give bad examples to the reader. Signed-off-by: Andre

Re: [U-Boot] [PATCH] binman: do not add binary files to git

2017-12-03 Thread Masahiro Yamada
Hi Simon, 2017-12-02 8:24 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 29 November 2017 at 07:14, Masahiro Yamada > wrote: >> >> Hi Simon, >> >> 2017-11-29 22:08 GMT+09:00 Simon Glass : >> > Hi Masahiro, >> > >> > On 26

[U-Boot] [PATCH V2 12/23] imx: mx8m: add soc related settings and files

2017-12-03 Thread Peng Fan
Add SoC level initialization code - arch_cpu_init - mmu table - detect cpu revision - reset cpu and wdog settings - M4 boot - timer init - wdog settings - lowlevel init to save/restore registers - a few dummy header file to avoid build failure - ft_system_setup and ft_add_optee_node -

[U-Boot] [PATCH V2 11/23] imx: add pad settings bit definition for i.MX8M

2017-12-03 Thread Peng Fan
Add pad settings bit definition for i.MX8M. Signed-off-by: Peng Fan --- arch/arm/include/asm/mach-imx/iomux-v3.h | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/mach-imx/iomux-v3.h

[U-Boot] [v3 1/2] armv8: ls1043a/ls2080a: check SoC by device ID

2017-12-03 Thread Wenbin song
Check LS1043A/LS2080a by device ID without using personality ID to determine revision number. This check applies to all various personalities of the same SoC family. Signed-off-by: Wenbin Song --- Changes for v2: Modify the commit message and subject.

[U-Boot] [v3 2/2] armv8: ls1043a: Discard the needless cpu nodes

2017-12-03 Thread Wenbin song
Using "cpu_pos_mask()" function to detect the real online cpus, and discard the needless cpu nodes on kernel dts. Signed-off-by: Wenbin Song --- Changes for v2: None. --- arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 27 +++ 1 file

[U-Boot] [PATCH V2 00/23] imx: add i.MX8M support and i.MX8MQ EVK

2017-12-03 Thread Peng Fan
This patchset is to add i.MX8M and i.MX8MQ-EVK support V2: The two patches: "power: pmic.h: include dm/ofnode.h" and "power: pmic/regulator allow dm be omited by SPL" are still included in the patchset. patch 02/23: convert to structure, drop is_boot_from_usb and

[U-Boot] [PATCH v2 2/5] Enable CONFIG_PANIC_HANG for boards without do_reset()

2017-12-03 Thread Masahiro Yamada
Calling panic() for these boards causes build error: undefined reference to `do_reset' They must compile do_reset(), or define CONFIG_PANIC_HANG. Signed-off-by: Masahiro Yamada --- Changes in v2: None configs/cl-som-imx7_defconfig | 1 +

[U-Boot] [PATCH v2 3/5] Introduce CONFIG_ENABLE_BUG_CHECKS to disable BUG{_ON} by default

2017-12-03 Thread Masahiro Yamada
BUG() and BUG_ON() are generally used to test a condition that should never happen. If it does, it is a bug. Linux always enables them, but doing so in U-Boot causes image size problems on some platforms. Introduce CONFIG_ENABLE_BUG_CHECKS to make them no-op by default. Platforms without image

[U-Boot] [PATCH v2 5/5] Remove assert()

2017-12-03 Thread Masahiro Yamada
No more users of assert() except host tools. Remove. Signed-off-by: Masahiro Yamada --- Changes in v2: None include/common.h | 15 --- lib/tiny-printf.c | 9 - lib/vsprintf.c| 9 - 3 files changed, 33 deletions(-) diff --git

[U-Boot] [PATCH V2 22/23] imx: add i.MX8MQ EVK support

2017-12-03 Thread Peng Fan
Add i.MX8MQ EVK support. SPL will initialize ddr and load ddr phy firmware. Then loading FIT image, ATF to OCRAM, U-Boot and DTB to DRAM. The boot log: " U-Boot SPL 2017.11-00062-gd4c7c3ebb3-dirty (Dec 01 2017 - 14:49:31) PMIC: PFUZE100 ID=0x10 check ddr4_pmu_train_imem code check

[U-Boot] [PATCH V2 15/23] mmc: fsl_esdhc: support i.MX8M

2017-12-03 Thread Peng Fan
Support i.MX8M in fsl esdhc driver. Signed-off-by: Peng Fan --- drivers/mmc/fsl_esdhc.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index 499d622c6d..3a56f7c2bc 100644 ---

[U-Boot] [PATCH V2 09/23] imx: spl: implement spl_boot_device for i.MX8M

2017-12-03 Thread Peng Fan
Implement spl_boot_device for i.MX8M. Signed-off-by: Peng Fan --- arch/arm/mach-imx/spl.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c index d0d1b73aa6..58ec202d4f 100644 ---

[U-Boot] [PATCH V2 10/23] imx: add i.MX8MQ SoC Revision and is_mx8m helper

2017-12-03 Thread Peng Fan
Add i.MX8MQ SoC Revision Add is_mx8m helper The 7ULP is a dummy number, so use 0xEx. Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-imx/cpu.h | 6 -- arch/arm/include/asm/mach-imx/sys_proto.h | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH] mtd: cfi: Fix checking status register feature

2017-12-03 Thread Stefan Roese
On 02.12.2017 10:15, Marek Vasut wrote: On 11/18/2017 08:09 PM, York Sun wrote: Commit 72443c7f7d21 ("mtd: cfi: Add support for status register polling") added a feature check to determine if status register is available for certain flash chips. The "lower software bits" register used to

[U-Boot] Please pull u-boot-cfi-flash/master

2017-12-03 Thread Stefan Roese
Hi Tom, please pull this one CFI driver fix from York. Thanks, Stefan The following changes since commit b06c46de632c55f4c39d404c6f0f65e414b31050: Merge tag 'xilinx-for-v2018.01' of git://www.denx.de/git/u-boot-microblaze (2017-11-29 08:26:07 -0500) are available in the Git repository at:

[U-Boot] [PATCH v2 1/3] efi_loader: correctly determine if an MMC device is an SD-card

2017-12-03 Thread Heinrich Schuchardt
The SD cards and eMMC devices have different device nodes. The current coding interpretes all MMC devices as eMMC. Signed-off-by: Heinrich Schuchardt --- v2 no change --- lib/efi_loader/efi_device_path.c | 24 +--- 1 file changed, 21

[U-Boot] [PATCH v2 0/3] efi_loader: correct media device paths

2017-12-03 Thread Heinrich Schuchardt
For each disk we need partition device path with partion number 0. The device node texts should match the UEFI spec. v2: Do not generate optional device path with partion number 0 for the whole block device. Heinrich Schuchardt (3): efi_loader: correctly determine if an MMC

[U-Boot] [PATCH v2 2/3] efi_loader: correctly setup device paths for block devices

2017-12-03 Thread Heinrich Schuchardt
According to the UEFI spec the numbering of partitions has to start with 1. Partion number 0 is reserved for the optional device path for the complete block device. Signed-off-by: Heinrich Schuchardt --- v2 Do not generate optional device path with partion number 0.

[U-Boot] [PATCH v2 3/3] efi_loader: correct DeviceNodeToText for media types

2017-12-03 Thread Heinrich Schuchardt
When converting device nodes and paths to text we should stick to the UEFI spec. Signed-off-by: Heinrich Schuchardt --- v2 no change --- lib/efi_loader/efi_device_path_to_text.c | 30 +++--- 1 file changed, 19 insertions(+), 11 deletions(-)

[U-Boot] [PATCH 3/7] doc: fix incorrect usage of DT node unit address

2017-12-03 Thread Andre Przywara
The DT spec demands a unit-address in a node name to match the "reg" property in that node. Newer dtc versions will throw warnings if this is not the case. Fix all occurences in various documentation files where this was not observed, to not give bad examples to the reader. Signed-off-by: Andre

[U-Boot] [PATCH 5/7] sunxi: arm64: correct usage of DT node address in FIT generation

2017-12-03 Thread Andre Przywara
The DT spec demands a unit-address in a node name to match the "reg" property in that node. Newer dtc versions will throw warnings if this is not the case. Adjust the FIT build script for 64-bit Allwinner boards to remove the bogus addresses from the node names and avoid the warnings. This avoids

[U-Boot] [PATCH 7/7] armv8: secure firmware: fix incorrect unit address in node name

2017-12-03 Thread Andre Przywara
The DT spec demands a unit-address in a node name to match the "reg" property in that node. Newer dtc versions will throw warnings if this is not the case. Remove the unit address from the config node name when U-Boot deals with secure firmware FIT images. Signed-off-by: Andre Przywara

[U-Boot] [PATCH 6/7] tools: fix incorrect usage of DT node unit address

2017-12-03 Thread Andre Przywara
The DT spec demands a unit-address in a node name to match the "reg" property in that node. Newer dtc versions will throw warnings if this is not the case. Correct the generated unit names when U-Boot's mkimage creates a FIT image. Signed-off-by: Andre Przywara ---

[U-Boot] [PATCH 4/7] fix incorrect usage of DT node unit address in comments

2017-12-03 Thread Andre Przywara
The DT spec demands a unit-address in a node name to match the "reg" property in that node. Newer dtc versions will throw warnings if this is not the case. Fix all occurences in the tree where node names were mentioned in comments, to not give bad examples to the reader. Signed-off-by: Andre

[U-Boot] [PATCH v2 1/5] Move CONFIG_PANIC_HANG to Kconfig

2017-12-03 Thread Masahiro Yamada
Freescale (NXP) boards have lots of defconfig files per board. I used "imply PANIC_HANG" for them. Signed-off-by: Masahiro Yamada --- Changes in v2: - Re-run tools/moveconfig.py based on commit 02907004294d9 README| 10

[U-Boot] [PATCH V2 04/23] imx: mx8m: add clock driver

2017-12-03 Thread Peng Fan
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 configured in the code. Signed-off-by: Peng Fan

[U-Boot] [PATCH V2 02/23] imx: mx8m: add register definition header file

2017-12-03 Thread Peng Fan
Add register definition header file for i.MX8M Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-mx8m/imx-regs.h | 318 ++ 1 file changed, 318 insertions(+) create mode 100644 arch/arm/include/asm/arch-mx8m/imx-regs.h diff --git

[U-Boot] [PATCH V2 01/23] imx: add i.MX8M into Kconfig

2017-12-03 Thread Peng Fan
Add i.MX8M into Kconfig, create a new folder mx8m dedicated for i.MX8M. Signed-off-by: Peng Fan --- arch/arm/Kconfig | 8 arch/arm/Makefile | 4 ++-- arch/arm/mach-imx/mx8m/Kconfig | 10 ++ 3 files changed, 20 insertions(+), 2

[U-Boot] [PATCH V2 06/23] imx: boot_mode: add USB_BOOT entry

2017-12-03 Thread Peng Fan
Add USB_BOOT entry. Signed-off-by: Peng Fan Reviewed-by: Stefano Babic --- arch/arm/include/asm/mach-imx/boot_mode.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/mach-imx/boot_mode.h b/arch/arm/include/asm/mach-imx/boot_mode.h

[U-Boot] [v4 2/2] armv8: layerscape: Discard the needless cpu nodes

2017-12-03 Thread Wenbin song
Using "cpu_pos_mask()" function to detect the real online cpus, and discard the needless cpu nodes on kernel dts. Signed-off-by: Wenbin Song --- Changes for v1: Remove the config option. Use id_to_core() funcation to find the position of core.

[U-Boot] [v3 2/2] armv8: ls1043a: Discard the needless cpu nodes

2017-12-03 Thread Wenbin song
Using "cpu_pos_mask()" function to detect the real online cpus, and discard the needless cpu nodes on kernel dts. Signed-off-by: Wenbin Song --- Changes for v2: None. --- arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 27 +++ 1 file

Re: [U-Boot] arm socfpga: Revert "spi: cadence_qspi_apb: Support 32 bit AHB address"

2017-12-03 Thread Vignesh R
On Sunday 03 December 2017 09:29 PM, Frank Mori Hess wrote: > This reverts commit dac3bf20fb2c9b03476be0d73db620f62ab3cee1. > > My u-boot spl crashes in a loop when I boot off a > cadence qspi flash. I narrowed it down to the changes from commit > dac3bf20fb2c9b03476be0d73db620f62ab3cee1 which

[U-Boot] [PATCH V2 03/23] imx: mx8m: add pin header file

2017-12-03 Thread Peng Fan
Add pin header file for i.MX8M Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-mx8m/mx8mq_pins.h | 623 1 file changed, 623 insertions(+) create mode 100644 arch/arm/include/asm/arch-mx8m/mx8mq_pins.h diff --git

[U-Boot] [PATCH V2 05/23] imx: add sip function

2017-12-03 Thread Peng Fan
Add SiP (Silicon Provider) services function to issue SMC call to Arm Trusted Firmware. More SiP information could be found in https://github.com/ARM-software/arm-trusted-firmware/blob/master/ docs/arm-sip-service.rst Signed-off-by: Peng Fan ---

[U-Boot] [PATCH V2 13/23] imx: makefile: compile files for i.MX8M

2017-12-03 Thread Peng Fan
Compile files for i.MX8M Signed-off-by: Peng Fan --- arch/arm/mach-imx/Makefile | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index 27c154b8b3..de91c137a9 100644 ---

[U-Boot] [PATCH V2 21/23] imx: imx8mq: add dtsi file

2017-12-03 Thread Peng Fan
Add dtsi file for i.MX8MQ. Signed-off-by: Peng Fan --- arch/arm/dts/fsl-imx8-ca53.dtsi | 92 + arch/arm/dts/fsl-imx8mq.dtsi | 425 include/dt-bindings/clock/imx8mq-clock.h | 612 +

[U-Boot] [v4 1/2] armv8: ls1043a/ls2080a: check SoC by device ID

2017-12-03 Thread Wenbin song
Check LS1043A/LS2080a by device ID without using personality ID to determine revision number. This check applies to all various personalities of the same SoC family. Signed-off-by: Wenbin Song --- Changes for V1: None. Changes for v2: Modify

[U-Boot] [PATCH V2 08/23] imx: cpu: update cpu file to support i.MX8M

2017-12-03 Thread Peng Fan
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 --- arch/arm/mach-imx/cpu.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/cpu.c

[U-Boot] [PATCH V2 14/23] misc: ocotp: add i.MX8M support

2017-12-03 Thread Peng Fan
i.MX8M OCOTP follow same flow as i.MX6Q, but it has 64 banks and each bank 4 words. Signed-off-by: Peng Fan --- drivers/misc/mxc_ocotp.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/misc/mxc_ocotp.c b/drivers/misc/mxc_ocotp.c index 8986bb4ad0..0cf24a4c88

Re: [U-Boot] [PATCH v3 5/6] binman: add ROM image signing for Bay Trail SoC

2017-12-03 Thread Bin Meng
Hi Anatolij, On Fri, Nov 17, 2017 at 9:16 AM, Anatolij Gustschin wrote: > Generate u-boot-verified.rom image containing Secure Boot Manifest > when secure boot option is enabled. > > Signed-off-by: Anatolij Gustschin > --- > NOTE: This patch applies on top of

Re: [U-Boot] [PATCH 1/3] efi_loader: correctly determine if an MMC device is an SD-card

2017-12-03 Thread Heinrich Schuchardt
On 12/04/2017 12:16 AM, Alexander Graf wrote: On 02.12.17 13:42, Heinrich Schuchardt wrote: The SD cards and eMMC devices have different device nodes. The current coding interpretes all MMC devices as eMMC. Signed-off-by: Heinrich Schuchardt ---

[U-Boot] [PATCH 2/4] ARM: meson: add clock measurement function

2017-12-03 Thread Beniamino Galvani
Add add a function to measure the current clock rate. Signed-off-by: Beniamino Galvani --- arch/arm/include/asm/arch-meson/clock.h | 34 + arch/arm/mach-meson/Makefile| 2 +- arch/arm/mach-meson/clock.c | 45

[U-Boot] [PATCH 4/4] meson: use the clock driver

2017-12-03 Thread Beniamino Galvani
Use the clk framework to initialize clocks from drivers that need them instead of having hardcoded frequencies and initializations from board code. Signed-off-by: Beniamino Galvani --- arch/arm/include/asm/arch-meson/gxbb.h | 10 --

[U-Boot] [PATCH 3/4] clk: add Amlogic meson clock driver

2017-12-03 Thread Beniamino Galvani
Introduce a basic clock driver for Amlogic Meson SoCs which supports enabling/disabling clock gates and getting their frequency. Signed-off-by: Beniamino Galvani --- arch/arm/mach-meson/Kconfig | 2 + drivers/clk/Makefile| 1 + drivers/clk/clk_meson.c | 196

[U-Boot] [PATCH 1/4] ARM: dts: update gxbb-clkc.h from Linux 4.14

2017-12-03 Thread Beniamino Galvani
Update gxbb-clkc.h from Linux 4.14 as it contains new clock ids. Signed-off-by: Beniamino Galvani --- include/dt-bindings/clock/gxbb-clkc.h | 75 +++ 1 file changed, 75 insertions(+) diff --git a/include/dt-bindings/clock/gxbb-clkc.h

[U-Boot] [PATCH 0/4] Meson clock driver

2017-12-03 Thread Beniamino Galvani
Hi, this is a basic clock driver for u-boot that supports enabling/disabling clock gates and getting their frequency. With this, some hardcoded initializations can be removed from the board code, and drivers can use the information from device tree to initialize clocks. Beniamino Galvani (4):

[U-Boot] arm socfpga: Revert "spi: cadence_qspi_apb: Support 32 bit AHB address"

2017-12-03 Thread Frank Mori Hess
This reverts commit dac3bf20fb2c9b03476be0d73db620f62ab3cee1. Signed-off-by: Frank Mori Hess --- drivers/spi/cadence_qspi_apb.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/spi/cadence_qspi_apb.c b/drivers/spi/cadence_qspi_apb.c index

Re: [U-Boot] arm socfpga: Revert "spi: cadence_qspi_apb: Support 32 bit AHB address"

2017-12-03 Thread Frank Mori Hess
Oops, ignore that patch I didn't merge it correctly On Sun, Dec 3, 2017 at 10:36 AM, Frank Mori Hess wrote: > This reverts commit dac3bf20fb2c9b03476be0d73db620f62ab3cee1. > > Signed-off-by: Frank Mori Hess > --- > drivers/spi/cadence_qspi_apb.c | 5 +++-- >

Re: [U-Boot] arm socfpga: Revert "spi: cadence_qspi_apb: Support 32 bit AHB address"

2017-12-03 Thread Fabio Estevam
On Sun, Dec 3, 2017 at 1:36 PM, Frank Mori Hess wrote: > This reverts commit dac3bf20fb2c9b03476be0d73db620f62ab3cee1. Please explain the reasoning for the revert. ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] arm socfpga: Revert "spi: cadence_qspi_apb: Support 32 bit AHB address"

2017-12-03 Thread Fabio Estevam
On Sun, Dec 3, 2017 at 1:51 PM, Frank Mori Hess wrote: > On Sun, Dec 3, 2017 at 10:49 AM, Fabio Estevam wrote: >> On Sun, Dec 3, 2017 at 1:36 PM, Frank Mori Hess wrote: >>> This reverts commit dac3bf20fb2c9b03476be0d73db620f62ab3cee1. >>

Re: [U-Boot] arm socfpga: Revert "spi: cadence_qspi_apb: Support 32 bit AHB address"

2017-12-03 Thread Frank Mori Hess
On Sun, Dec 3, 2017 at 10:49 AM, Fabio Estevam wrote: > On Sun, Dec 3, 2017 at 1:36 PM, Frank Mori Hess wrote: >> This reverts commit dac3bf20fb2c9b03476be0d73db620f62ab3cee1. > > Please explain the reasoning for the revert. It looks like my original post

[U-Boot] arm socfpga: Revert "spi: cadence_qspi_apb: Support 32 bit AHB address"

2017-12-03 Thread Frank Mori Hess
This reverts commit dac3bf20fb2c9b03476be0d73db620f62ab3cee1. My u-boot spl crashes in a loop when I boot off a cadence qspi flash. I narrowed it down to the changes from commit dac3bf20fb2c9b03476be0d73db620f62ab3cee1 which removes CQSPI_INDIRECTTRIGGER_ADDR_MASK. Restoring the mask allows the

Re: [U-Boot] arm socfpga: Revert "spi: cadence_qspi_apb: Support 32 bit AHB address"

2017-12-03 Thread Frank Mori Hess
It looks like the change I'm trying to revert got rejected a couple years ago in another form: https://lists.denx.de/pipermail/u-boot/2015-August/224556.html In particular at the end Marek says: >> /* Indirect mode configurations */ >> writel((plat->sram_size/2), plat->regbase +

Re: [U-Boot] [PATCH 00/23] imx: add i.MX8M support and i.MX8MQ EVK

2017-12-03 Thread Peng Fan
> -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: Saturday, December 02, 2017 4:53 AM > To: Peng Fan > Cc: Peter Robinson ; Fabio Estevam > ; u-boot@lists.denx.de; Diego Dorta >

[U-Boot] commit dac3bf20fb2c9b03476be0d73db620f62ab3cee1 breaks cadence driver

2017-12-03 Thread Frank Mori Hess
Hi, I've been debugging why u-boot spl crashes in a loop when I boot off a cadence qspi flash. I narrowed it down to the changes from commit dac3bf20fb2c9b03476be0d73db620f62ab3cee1 which removes CQSPI_INDIRECTTRIGGER_ADDR_MASK. Restoring the mask allows the spl to successfully load the main

Re: [U-Boot] arm: arm64: only use general regs

2017-12-03 Thread Peng Fan
> -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Sunday, December 03, 2017 12:02 PM > To: Peng Fan > Cc: albert.u.b...@aribaud.net; s...@chromium.org; York Sun > ; u-boot@lists.denx.de > Subject: Re: [U-Boot] arm: arm64: only

Re: [U-Boot] [PATCH 00/23] imx: add i.MX8M support and i.MX8MQ EVK

2017-12-03 Thread Fabio Estevam
Hi Peng, On Sun, Dec 3, 2017 at 8:55 AM, Peng Fan wrote: > Ok. I'll add a README file, but arm trusted firmware code and imx-mkimage > code are not public available now. If you can provide him the firmware and imx-mkimage offline, that would at least allows us to test the

[U-Boot] [PATCH] ARM: omap3_logic: Unlock NAND automatically in U-Boot

2017-12-03 Thread Adam Ford
The Micron Flash is locked by default. This will automaticlly unlock so manually unlocking is unnecessary in U-Boot. Signed-off-by: Adam Ford diff --git a/board/logicpd/omap3som/omap3logic.c b/board/logicpd/omap3som/omap3logic.c index 1da9e38..4935a49 100644 ---