[U-Boot] [PATCH] rockchip: evb-rk3328: remove CONFIG_ENV_OFFSET

2017-10-26 Thread Kever Yang
Remove CONFIG_ENV_OFFSET for there already have one in rockchip_common.h Signed-off-by: Kever Yang --- include/configs/evb_rk3328.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/include/configs/evb_rk3328.h b/include/configs/evb_rk3328.h index

[U-Boot] [PATCH 5/8] rockchip: dts: rk3328: enable the drivers need by tpl/spl

2017-10-26 Thread Kever Yang
Enable the drivers need by TPL/SPL with 'u-boot,dm-pre-reloc'. Signed-off-by: Kever Yang --- arch/arm/dts/rk3328-evb.dts | 2 ++ arch/arm/dts/rk3328.dtsi| 1 + 2 files changed, 3 insertions(+) diff --git a/arch/arm/dts/rk3328-evb.dts

[U-Boot] [PATCH 8/8] rockchip: rk3328: add config option for TPL/SPL

2017-10-26 Thread Kever Yang
Enable SPL_FRAMEWORK and TPL/SPL related base addr and size. Signed-off-by: Kever Yang --- include/configs/rk3328_common.h | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/include/configs/rk3328_common.h b/include/configs/rk3328_common.h

[U-Boot] [PATCH 6/8] rockchip: Kconfig: enable TPL/SPL support for rk3328

2017-10-26 Thread Kever Yang
Enable TPL/SPL support and some related option in Kconfig. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/Kconfig | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig

[U-Boot] [PATCH 2/8] rockchip: rk3328: add spl board file support

2017-10-26 Thread Kever Yang
rk3328 spl is locate at dram, so do not have strict size limit, suppose to enable storage media controller driver, load ATF and U-Boot, then boot into ATF. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/Makefile | 1 +

[U-Boot] [PATCH 3/8] rockchip: rk3328: add a link file for tpl

2017-10-26 Thread Kever Yang
Rockchip TPL is not going to use both sram and dram, so we will use a separate link file. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3328/u-boot-tpl.lds | 91 1 file changed, 91 insertions(+) create mode 100644

[U-Boot] [PATCH 1/8] rockchip: rk3328: add tpl board file support

2017-10-26 Thread Kever Yang
rk3328 tpl suppose to init ddr sdram and then back to bootrom. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/Makefile | 1 + arch/arm/mach-rockchip/rk3328-board-tpl.c | 114 ++ 2 files changed, 115 insertions(+) create

[U-Boot] [PATCH 0/8] rockchip: enable TPL/SPL for rk3328

2017-10-26 Thread Kever Yang
TPL do the ddr sdram init and then return to bootrom; SPL load trust/ATF and U-Boot from storage and boot into trust. SDRAM driver is out of this patch set because it suppose to come after there is a common code for sdram driver, so I send that as separate RFC patch set. The link file and the

[U-Boot] [PATCH 4/8] rockchip: rk3328-evb: add script for atf fit

2017-10-26 Thread Kever Yang
Add a script to generate binaries from bl31.elf, and generate u-boot.its file for FIT image including u-boot, dtb and atf binaries. Signed-off-by: Kever Yang --- board/rockchip/evb_rk3328/mk_fit_atf.sh | 108 1 file changed, 108

[U-Boot] [PATCH 7/8] rockchip: evb-rk3328: enable defconfig options for TPL/SPL

2017-10-26 Thread Kever Yang
Enable driver options for TPL/SPL in evb-rk3328_defconfig. Signed-off-by: Kever Yang --- configs/evb-rk3328_defconfig | 47 +--- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git a/configs/evb-rk3328_defconfig

[U-Boot] [PATCH v2 2/2] rockchip: clock: update sysreset driver bingding

2017-10-26 Thread Kever Yang
Using driver_data for new sysreset driver binding. Signed-off-by: Kever Yang --- Changes in v2: - use udev priv member instead of driver_data drivers/clk/rockchip/clk_rk3036.c | 10 -- drivers/clk/rockchip/clk_rk3188.c | 10 --

[U-Boot] [PATCH v2 1/2] rockchip: sysreset: merge into one common driver

2017-10-26 Thread Kever Yang
Use a common driver for all Rockchip SOC instead of one for each SoC. Use driver_data for reg offset. Signed-off-by: Kever Yang --- Changes in v2: - use udev priv member instead of driver_data arch/arm/include/asm/arch-rockchip/clock.h | 5 +++

Re: [U-Boot] [RFC 0/4] sunxi: Implement transition in environment

2017-10-26 Thread Maxime Ripard
Hi Tom, Thanks for your feedback. On Wed, Oct 25, 2017 at 11:32:03AM -0400, Tom Rini wrote: > On Wed, Oct 25, 2017 at 02:25:57PM +0200, Maxime Ripard wrote: > > Hi, > > > > Here is an RFC to implement the transition from a raw environment in > > the MMC to a FAT file in the first bootable

[U-Boot] [PATCH 2/2] armv8: ls1088a: Add SCSI command support

2017-10-26 Thread andy.tang
From: Yuantian Tang SATA feature was supported on ls1088a, so add SCSI command to operate sata. Signed-off-by: Tang Yuantian --- configs/ls1088aqds_qspi_defconfig | 1 + configs/ls1088ardb_qspi_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git

[U-Boot] [PATCH 1/2] armv8: ls1088a: Enable sata on ls1088a

2017-10-26 Thread andy.tang
From: Yuantian Tang Enable sata feature on ls1088a platforms Signed-off-by: Tang Yuantian --- include/configs/ls1088aqds.h | 12 include/configs/ls1088ardb.h | 13 + 2 files changed, 25 insertions(+) diff --git

[U-Boot] [PATCH] drivers: net: ldpaa_eth: Correct error handler for qbman_swp_acquire()

2017-10-26 Thread Ashish Kumar
Correcting error handing for qbman_swp_acquire. The return value is zero is an error condition since number of buffer copied is zero meaning there are no free buffers for allocation. Signed-off-by: Ashish Kumar Signed-off-by: Kushwaha Prabhakar ---

[U-Boot] [PATCH] test/py: regenerate persistent GPT image if code changes

2017-10-26 Thread Stephen Warren
From: Stephen Warren test_gpt generates a persistent disk image which can be re-used across multiple test runs. Currently, if the Python code that generates the disk image change, the image is not regenerated, which could cause test failures e.g. if a test was updated to

Re: [U-Boot] [PATCH v2 1/5] dm: video: bridge: add operation to read EDID

2017-10-26 Thread Anatolij Gustschin
On Wed, 20 Sep 2017 23:29:07 -0700 Vasily Khoruzhick anars...@gmail.com wrote: > Add an operation to read EDID, since bridge may have ability to read > EDID from the panel that is connected to it, for example LCD<->eDP bridge. > > Signed-off-by: Vasily Khoruzhick > --- > v2:

[U-Boot] [PATCH v3 2/5] video: anx9804: split out registers definitions into a separate header

2017-10-26 Thread Anatolij Gustschin
From: Vasily Khoruzhick This header will be used in anx6345 driver Signed-off-by: Vasily Khoruzhick Signed-off-by: Anatolij Gustschin --- v3: - moved header to drivers/video v2: - no changes drivers/video/anx9804.c | 54

[U-Boot] [PATCH 08/16] SOCFPGA: remove CONFIG_AUTONEG_TIMEOUT

2017-10-26 Thread Masahiro Yamada
This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/socfpga_common.h | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [U-Boot] [UBOOT PATCH 1/2] spi: zynqmp_qspi: Add support for ZynqMP qspi driver

2017-10-26 Thread Lukasz Majewski
Hi Siva Durga Prasad, > This patch adds qspi driver support for ZynqMP SoC. This > driver is responsible for communicating with qspi flash > devices. > > Signed-off-by: Siva Durga Prasad Paladugu > --- > arch/arm/cpu/armv8/zynqmp/Kconfig | 7 + > drivers/spi/Makefile

[U-Boot] [PATCH 11/16] MX28: remove CONFIG_DEFAULT_SPI_CS

2017-10-26 Thread Masahiro Yamada
This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/bg0900.h | 1 - include/configs/m28evk.h | 1 - 2 files changed, 2

[U-Boot] [PATCH 16/16] AT91: remove CONFIG_PMECC_INDEX_TABLE_OFFSET

2017-10-26 Thread Masahiro Yamada
This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/at91sam9n12ek.h | 1 - 1 file changed, 1 deletion(-) diff --git

[U-Boot] [PATCH 03/16] IMX: novena: remove CONFIG_I2C_MXC

2017-10-26 Thread Masahiro Yamada
This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/novena.h | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [U-Boot] How to enable USB Mass Storage

2017-10-26 Thread Lukasz Majewski
Hi Frank, > Hello, > > I want to use the ums command to access the SD card of a > A20-OlinuxIno-Lime board via usb-org cable. For that I start the CPU > in FEL mode, download the u-boot-sunxi-with-spl.bin file by sunxi-fel > tool. I do this FEL mode boot for preparation of an Einstein A20 >

[U-Boot] [PATCH 13/16] mpc85xx: xpedite550x: remove CONFIG_FDT_FIXUP_PCI_IRQ

2017-10-26 Thread Masahiro Yamada
This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/xpedite550x.h | 1 - 1 file changed, 1 deletion(-) diff --git

[U-Boot] [PATCH 12/16] AM33XX: etamin: remove CONFIG_DFU_MTD

2017-10-26 Thread Masahiro Yamada
This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/etamin.h | 1 - 1 file changed, 1 deletion(-) diff --git

[U-Boot] [PATCH] tools: env: allow to print U-Boot version

2017-10-26 Thread Stefan Agner
From: Stefan Agner The fw_env utility family has a default environment compiled in which ties it quite strongly to the U-Boot source/config it has been built with. Allow to display the U-Boot version it has been built with using the -v/--version argument.

[U-Boot] [PATCH v3 3/5] video: add anx6345 DM driver

2017-10-26 Thread Anatolij Gustschin
From: Vasily Khoruzhick This is a eDP bridge similar to ANX9804, it allows to connect eDP panels to the chips that can output only parallel signal Signed-off-by: Vasily Khoruzhick Signed-off-by: Anatolij Gustschin --- v3: - fixed

[U-Boot] [PATCH v3 5/5] sunxi: video: add LCD support to DE2 driver

2017-10-26 Thread Anatolij Gustschin
From: Vasily Khoruzhick Extend DE2 driver with LCD support. Tested on Pinebook which is based on A64 and has ANX6345 eDP bridge with eDP panel connected to it. Signed-off-by: Vasily Khoruzhick Signed-off-by: Anatolij Gustschin --- v3: -

[U-Boot] [PATCH v4 4/5] sunxi: video: split out PLL configuration code

2017-10-26 Thread Vasily Khoruzhick
It will be reused in new DM LCD driver. Signed-off-by: Vasily Khoruzhick --- v2-v3: no changes v4: - fix compilation for boards that use sunxi_display.c - rebased and fixed checkpatch errors arch/arm/include/asm/arch-sunxi/lcdc.h | 3 + drivers/video/sunxi/lcdc.c

[U-Boot] [PATCH v4 5/5] sunxi: video: add LCD support to DE2 driver

2017-10-26 Thread Vasily Khoruzhick
Extend DE2 driver with LCD support. Tested on Pinebook which is based on A64 and has ANX6345 eDP bridge with eDP panel connected to it. Signed-off-by: Vasily Khoruzhick --- v4: - adapted to v4 changes in patch 4/5 v3: - rebased and fixed checkpatch errors/warnings v2: - drop

[U-Boot] [PATCH] tools: image: fix "algo" property of public key for verified boot

2017-10-26 Thread Masahiro Yamada
The "algo_name" points to a property in a blob being edited. The pointer becomes stale when fit_image_write_sig() inserts signatures. Then crypto->add_verify_data() writes wrong data to the public key destination. Signed-off-by: Masahiro Yamada ---

[U-Boot] [PATCH 04/16] omap4: sdp4430: remove CONFIG_4430SDP

2017-10-26 Thread Masahiro Yamada
This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/omap4_sdp4430.h | 1 - 1 file changed, 1 deletion(-) diff --git

[U-Boot] [PATCH 15/16] exynos: remove CONFIG_LCD_MENU_BOARD

2017-10-26 Thread Masahiro Yamada
This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/s5pc210_universal.h | 1 - include/configs/trats.h | 1 -

Re: [U-Boot] [PATCH 00/16] Remove two unused drivers and unused CONFIG options

2017-10-26 Thread Tom Rini
On Thu, Oct 26, 2017 at 09:24:15PM +0900, Masahiro Yamada wrote: > The first two deletes unused i2c drivers. > > The rest of the series delete unreferenced CONFIG options. > > Today, I volunteered to delete 20 CONFIGs or so, > but probably I will not do this again > since it was time-consuming,

[U-Boot] [PATCH 02/16] i2c: fti2c010: remove unused/unmaintained driver

2017-10-26 Thread Masahiro Yamada
CONFIG_SYS_I2C_FTI2C010 is not enabled by anyone. Commit 2852709676c8 ("dm: i2c: Add a note to I2C drivers which need conversion") prompted to convert this driver to DM before June 2017, but not converted yet. Signed-off-by: Masahiro Yamada ---

[U-Boot] [PATCH 01/16] i2c: adi_i2c: remove left-over Blackfin I2C driver

2017-10-26 Thread Masahiro Yamada
This driver was used by Blackfin boards, but Blackfin support is gone. There is no user of this driver. Signed-off-by: Masahiro Yamada --- drivers/i2c/Makefile | 1 - drivers/i2c/adi_i2c.c | 309 -- 2 files

Re: [U-Boot] [RFC 0/4] sunxi: Implement transition in environment

2017-10-26 Thread Tom Rini
On Thu, Oct 26, 2017 at 10:38:45AM +0200, Maxime Ripard wrote: > Hi Tom, > > Thanks for your feedback. > > On Wed, Oct 25, 2017 at 11:32:03AM -0400, Tom Rini wrote: > > On Wed, Oct 25, 2017 at 02:25:57PM +0200, Maxime Ripard wrote: > > > Hi, > > > > > > Here is an RFC to implement the

[U-Boot] [PATCH] clk: clk_stm32f7: fix PLL clock division factor

2017-10-26 Thread patrice.chotard
From: Patrice Chotard Fix clock division factor initialization for RCC_PLLCFGR registers. PLLR bits (bit 31-28) in RCC_PLLCFGR must not be cleared, it's a forbidden value. So update RCC_PLLCFGR using clrsetbits_le32() to set only necessary bits fields. Signed-off-by:

[U-Boot] [PATCH 06/16] sh7734: remove CONFIG_553MHZ_MODE

2017-10-26 Thread Masahiro Yamada
This macro only appears in commented-out lines. It is not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/ap_sh4a_4a.h | 1 -

[U-Boot] [PATCH 05/16] mpc85xx: freescale: remove CONFIG_ADDR_STREAMING

2017-10-26 Thread Masahiro Yamada
This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/C29XPCIE.h | 1 - include/configs/P1010RDB.h | 1 - 2 files changed, 2

[U-Boot] [PATCH 07/16] ARC: remove CONFIG_ARC_UART_BASE

2017-10-26 Thread Masahiro Yamada
This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/nsim.h | 1 - 1 file changed, 1 deletion(-) diff --git

[U-Boot] [PATCH 14/16] net: remove CONFIG_NET_MULTI

2017-10-26 Thread Masahiro Yamada
This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/am335x_shc.h | 1 - include/configs/blanche.h| 1 -

[U-Boot] [PATCH 00/16] Remove two unused drivers and unused CONFIG options

2017-10-26 Thread Masahiro Yamada
The first two deletes unused i2c drivers. The rest of the series delete unreferenced CONFIG options. Today, I volunteered to delete 20 CONFIGs or so, but probably I will not do this again since it was time-consuming, painful work... Buildman passed. No code size change. Masahiro Yamada (16):

Re: [U-Boot] [PATCH] net: phy: marvell: Add functions to read PHY's extended registers

2017-10-26 Thread Lukasz Majewski
Dear All, > [PATCH] net: phy: marvell: Add functions to read PHY's extended > registers Gentle ping about this patch. Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Re: [U-Boot] [U-boot][SDP] Trigger watchdog before calling usb_gadget_handle_interrupts

2017-10-26 Thread Lukasz Majewski
Hi Vincent, > This prevents board resets when calling sdp command on boards which > have a watchdog. > > Signed-off-by: Vincent Prince > --- > drivers/usb/gadget/f_sdp.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/usb/gadget/f_sdp.c

[U-Boot] [PATCH 09/16] omap4: sdp4430: match the #endif comment to #ifdef

2017-10-26 Thread Masahiro Yamada
This comment creates a wrong entry in config_whitelist.txt. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- board/ti/sdp4430/cmd_bat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[U-Boot] [PATCH 10/16] exynos: remove CONFIG_CORE_COUNT

2017-10-26 Thread Masahiro Yamada
This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada --- include/configs/exynos5420-common.h | 5 - include/configs/exynos7420-common.h | 3

Re: [U-Boot] [PATCH v3 06/20] common: Generic firmware loader for file system

2017-10-26 Thread Lukasz Majewski
Tien Fong, > On Isn, 2017-10-16 at 16:41 +0200, Marek Vasut wrote: > > On 10/16/2017 04:08 PM, Dinh Nguyen wrote: > > > > > > > > > > > > On 10/13/2017 03:08 AM, tien.fong.c...@intel.com wrote: > > > > > > > > From: Tien Fong Chee > > > > > > > > Generic firmware

Re: [U-Boot] [PATCH 01/16] i2c: adi_i2c: remove left-over Blackfin I2C driver

2017-10-26 Thread Heiko Schocher
Hello Masahiro, Am 26.10.2017 um 14:24 schrieb Masahiro Yamada: This driver was used by Blackfin boards, but Blackfin support is gone. There is no user of this driver. Signed-off-by: Masahiro Yamada --- drivers/i2c/Makefile | 1 - drivers/i2c/adi_i2c.c |

[U-Boot] [PATCH 01/18] efi_loader: fix typo efi_install_multiple_protocol_interfaces

2017-10-26 Thread Heinrich Schuchardt
%s/occured/occurred/g Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index bdbed32656..871a8769ea 100644 ---

[U-Boot] [PATCH 05/18] efi_loader: efi_disk: check return value of calloc

2017-10-26 Thread Heinrich Schuchardt
Calloc may return NULL. We should check the return value. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_disk.c | 13 + 1 file changed, 13 insertions(+) diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_loader/efi_disk.c index e61dbc8058..c6f0d732c1

[U-Boot] [PATCH 15/18] efi_loader: simplify efi_uninstall_protocol_interface

2017-10-26 Thread Heinrich Schuchardt
Use function efi_search_obj, efi_search_protocol and efi_remove_protocol to simplify the coding. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 38 +++--- 1 file changed, 11 insertions(+), 27 deletions(-) diff --git

[U-Boot] [PATCH 04/18] efi_loader: efi_gop: check calloc return value

2017-10-26 Thread Heinrich Schuchardt
Calloc may return NULL. We have to check the return value. Fixes: be8d324191f efi_loader: Add GOP support Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_gop.c | 4 1 file changed, 4 insertions(+) diff --git a/lib/efi_loader/efi_gop.c

[U-Boot] [PATCH 16/18] efi_loader: simplify efi_locate_protocol

2017-10-26 Thread Heinrich Schuchardt
Use helper function efi_search_protocol. Do not print protocol guid twice in debug mode. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git

[U-Boot] [PATCH 18/18] efi_loader: efi_console: use helper functions

2017-10-26 Thread Heinrich Schuchardt
Use helper functions efi_created_handle and efi_add_protocol for creating the console handles and instaling the respective protocols. This change is needed if we want to move from an array of protocols to a linked list of protocols. Eliminate EFI_PROTOCOL_OBJECT which is not used anymore.

[U-Boot] [PATCH 17/18] efi_loader: refactor efi_setup_loaded_image

2017-10-26 Thread Heinrich Schuchardt
Use helper functions to add protocols. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 39 +-- 1 file changed, 25 insertions(+), 14 deletions(-) diff --git a/lib/efi_loader/efi_boottime.c

[U-Boot] [PATCH 02/18] efi_loader: debug output efi_install_protocol_interface

2017-10-26 Thread Heinrich Schuchardt
efi_install_protocol_interface should provide the created or provided handle in the debug output. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/efi_loader/efi_boottime.c

[U-Boot] [PATCH 09/18] efi_loader: argument of efi_search_obj should be const

2017-10-26 Thread Heinrich Schuchardt
The argument of efi_search_obj is not changed so it should be marked as const. Signed-off-by: Heinrich Schuchardt --- include/efi_loader.h | 2 +- lib/efi_loader/efi_boottime.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 06/18] efi_loader: efi_net: check return value of calloc

2017-10-26 Thread Heinrich Schuchardt
Calloc may return NULL. So we must check the return value. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_net.c | 4 1 file changed, 4 insertions(+) diff --git a/lib/efi_loader/efi_net.c b/lib/efi_loader/efi_net.c index 432d9a99a2..a7b101e830 100644 ---

[U-Boot] [PATCH 12/18] efi_loader: helper functions for protocol management

2017-10-26 Thread Heinrich Schuchardt
This patch provides helper functions to manage protocols. efi_search_protocol - find a protocol on a handle efi_add_protocol - install a protocol on a handle efi_remove_protocol - remove a protocol from a handle efi_remove_all_protocols - remove all protocols from a handle Signed-off-by: Heinrich

[U-Boot] [PATCH 07/18] efi_loader: efi_dp_match should have const arguments

2017-10-26 Thread Heinrich Schuchardt
efi_dp_match does not change its arguments. So they should be marked as const. Signed-off-by: Heinrich Schuchardt --- include/efi_loader.h | 3 ++- lib/efi_loader/efi_device_path.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 03/18] efi_loader implement UninstallMultipleProtocolInterfaces

2017-10-26 Thread Heinrich Schuchardt
Implement UninstallMultipleProtocolInterfaces. The efi_uninstall_multipled_protocol_interfaces tries to uninstall protocols one by one. If an error occurs all uninstalled protocols are reinstalled. As the implementation efi_uninstall_protocol_interface is still incomplete the function will fail.

[U-Boot] [PATCH 10/18] efi_loader: efi_gop: use correct types for parameters

2017-10-26 Thread Heinrich Schuchardt
Use efi_uintn_t instead of unsigned long. EFI_GRAPHICS_OUTPUT_BLT_OPERATION is an enum. If we don't define an enum we have to pass it as u32. Signed-off-by: Heinrich Schuchardt --- include/efi_api.h| 10 +- lib/efi_loader/efi_gop.c | 14 +++--- 2

[U-Boot] [PATCH 00/18] efi_loader: refactor protocols management

2017-10-26 Thread Heinrich Schuchardt
This patch series starts refactoring the EFI boottime services to enable the move from an array of protocols to a linke list. The UninstallMultpleProtolInterfaces service is implemented. Some bug fixes are provided. This series is to be merged after the series efi_loader: clean up protocol

[U-Boot] [PATCH 14/18] efi_loader: simplify efi_search

2017-10-26 Thread Heinrich Schuchardt
Use helper function efi_search_protocol in efi_search. Add missing comments. Put default handling into default branch of switch statement. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 15 ++- 1 file changed, 6 insertions(+), 9

[U-Boot] [PATCH 11/18] efi_selftest: test for graphics output protocol

2017-10-26 Thread Heinrich Schuchardt
Supply a test for the graphics output protocol. Signed-off-by: Heinrich Schuchardt --- lib/efi_selftest/Makefile | 3 ++ lib/efi_selftest/efi_selftest_gop.c | 95 + 2 files changed, 98 insertions(+) create mode 100644

[U-Boot] [PATCH 08/18] efi_loader: make efi_create_handle non-static

2017-10-26 Thread Heinrich Schuchardt
Export function efi_create_handle. Signed-off-by: Heinrich Schuchardt --- include/efi_loader.h | 2 ++ lib/efi_loader/efi_boottime.c | 8 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/include/efi_loader.h b/include/efi_loader.h index

[U-Boot] [PATCH 13/18] efi_loader: simplify efi_install_protocol_interface

2017-10-26 Thread Heinrich Schuchardt
Use helper functio efi_add_protocol. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 38 ++ 1 file changed, 2 insertions(+), 36 deletions(-) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c

Re: [U-Boot] [PATCH 05/16] mpc85xx: freescale: remove CONFIG_ADDR_STREAMING

2017-10-26 Thread York Sun
On 10/26/2017 05:26 AM, Masahiro Yamada wrote: > This macro is defined, but not referenced by anyone. > > I did not touch config_whitelist.txt - the CONFIG will be dropped > by the next re-sync. > > Signed-off-by: Masahiro Yamada > --- > >

Re: [U-Boot] [PATCH] net: phy: marvell: Add functions to read PHY's extended registers

2017-10-26 Thread Lukasz Majewski
On Thu, 26 Oct 2017 17:15:19 +0200 Lukasz Majewski wrote: > On Thu, 26 Oct 2017 15:05:18 + > York Sun wrote: > > > On 09/29/2017 07:48 AM, Lukasz Majewski wrote: > > > This commit allows extended Marvell registers to be read with: > > > > > > foo > mdio rx

Re: [U-Boot] [PATCH] drivers: net: ldpaa_eth: Correct error handler for qbman_swp_acquire()

2017-10-26 Thread York Sun
On 10/26/2017 03:33 AM, Ashish Kumar wrote: > Correcting error handing for qbman_swp_acquire. The return value is zero is > an error condition since number of buffer copied is zero meaning > there are no free buffers for allocation. > > Signed-off-by: Ashish Kumar >

[U-Boot] [GIT PULL] u-boot-sunxi/master

2017-10-26 Thread Maxime Ripard
Hi Tom, Here are a few changes that would be great to merge. It's basically a few fixes for CPU frequencies that were underclocked, fastboot that was broken on a NAND-based device (the CHIP Pro, and it also moves the fastboot NAND option to Kconfig in the process), some missing options, one

Re: [U-Boot] [PATCH 00/16] Remove two unused drivers and unused CONFIG options

2017-10-26 Thread Heiko Schocher
Hello Tom, Am 26.10.2017 um 16:20 schrieb Tom Rini: On Thu, Oct 26, 2017 at 09:24:15PM +0900, Masahiro Yamada wrote: The first two deletes unused i2c drivers. The rest of the series delete unreferenced CONFIG options. Today, I volunteered to delete 20 CONFIGs or so, but probably I will not

[U-Boot] [PATCH 0/7] Add support for GE PPD

2017-10-26 Thread Martyn Welch
This series adds support for the GE PPD. The initial patches in this series resolve issues found during development and testing, extend existing support and add new support for devices in the PPD. The final patch in the series adds the board support for the PPD. Ian Ray (2): ext4: recover from

Re: [U-Boot] [PATCH 14/16] net: remove CONFIG_NET_MULTI

2017-10-26 Thread York Sun
On 10/26/2017 05:27 AM, Masahiro Yamada wrote: > This macro is defined, but not referenced by anyone. > > I did not touch config_whitelist.txt - the CONFIG will be dropped > by the next re-sync. > > Signed-off-by: Masahiro Yamada > --- > >

Re: [U-Boot] [PATCH 00/16] Remove two unused drivers and unused CONFIG options

2017-10-26 Thread Masahiro Yamada
2017-10-26 23:20 GMT+09:00 Tom Rini : > On Thu, Oct 26, 2017 at 09:24:15PM +0900, Masahiro Yamada wrote: > >> The first two deletes unused i2c drivers. >> >> The rest of the series delete unreferenced CONFIG options. >> >> Today, I volunteered to delete 20 CONFIGs or so, >> but

[U-Boot] [PATCH 1/7] imx: mxc_i2c: tweak the i2c transfer method

2017-10-26 Thread Martyn Welch
From: Nandor Han Tweak the i2c transfer to work for devices that want to read data without addressing a register. Signed-off-by: Nandor Han Signed-off-by: Martyn Welch Cc: Heiko Schocher Cc: Stefano Babic

[U-Boot] [PATCH 3/7] pwm: imx: Enable PWM support on i.MX53

2017-10-26 Thread Martyn Welch
From: Martyn Welch Add missing parts for i.MX53 PWM support Acked-by: Nandor Han Signed-off-by: Martyn Welch Cc: Stefano Babic Signed-off-by: Martyn Welch ---

Re: [U-Boot] [PATCH 02/16] i2c: fti2c010: remove unused/unmaintained driver

2017-10-26 Thread Heiko Schocher
Hello Masahiro, Am 26.10.2017 um 14:24 schrieb Masahiro Yamada: CONFIG_SYS_I2C_FTI2C010 is not enabled by anyone. Commit 2852709676c8 ("dm: i2c: Add a note to I2C drivers which need conversion") prompted to convert this driver to DM before June 2017, but not converted yet. Signed-off-by:

Re: [U-Boot] [PATCH 03/16] IMX: novena: remove CONFIG_I2C_MXC

2017-10-26 Thread Heiko Schocher
Hello Masahiro, Am 26.10.2017 um 14:24 schrieb Masahiro Yamada: This macro is defined, but not referenced by anyone. I did not touch config_whitelist.txt - the CONFIG will be dropped by the next re-sync. Signed-off-by: Masahiro Yamada ---

Re: [U-Boot] [PATCH] net: phy: marvell: Add functions to read PHY's extended registers

2017-10-26 Thread York Sun
On 09/29/2017 07:48 AM, Lukasz Majewski wrote: > This commit allows extended Marvell registers to be read with: > > foo > mdio rx FEC 3.10 > Reading from bus FEC > PHY at address 0: > 3.16 - 0x1063 > foo > mdio wx FEC 3.10 0x1011 > > The above code changes the way ETH connector LEDs blink. > >

Re: [U-Boot] [PATCH] net: phy: marvell: Add functions to read PHY's extended registers

2017-10-26 Thread Lukasz Majewski
On Thu, 26 Oct 2017 15:05:18 + York Sun wrote: > On 09/29/2017 07:48 AM, Lukasz Majewski wrote: > > This commit allows extended Marvell registers to be read with: > > > > foo > mdio rx FEC 3.10 > > Reading from bus FEC > > PHY at address 0: > > 3.16 - 0x1063 > > foo > mdio

[U-Boot] [PATCH 6/7] rtc: add support for s35392a

2017-10-26 Thread Martyn Welch
From: Nandor Han Add support for S35392A RTC. The driver supports both U-Boot driver models. Signed-off-by: Nandor Han Signed-off-by: Martyn Welch Cc: Heiko Schocher Signed-off-by: Martyn Welch

[U-Boot] [PATCH 5/7] bootcount: add support for bootcounter on EXT filesystem

2017-10-26 Thread Martyn Welch
From: Ian Ray Add support for bootcounter on an EXT filesystem. Sync configuration whitelist. Signed-off-by: Ian Ray Signed-off-by: Martyn Welch Signed-off-by: Martyn Welch --- README

[U-Boot] [PATCH 7/7] mx53: Add Board support for GE PPD

2017-10-26 Thread Martyn Welch
From: Peter Senna Tschudin Create board support for GE PPD, based on mx53loco. Use mx53ppd_defconfig make target to configure for this board. Signed-off-by: Peter Senna Tschudin Signed-off-by: Ian Ray Signed-off-by: Nandor

[U-Boot] [PATCH 2/7] ext4: recover from filesystem corruption when reading

2017-10-26 Thread Martyn Welch
From: Ian Ray Some fixes when reading EXT files and directory entries were identified after using e2fuzz to corrupt an EXT3 filesystem: - Stop reading directory entries if the offset becomes badly aligned. - Avoid overwriting memory by clamping the length used to zero the

[U-Boot] [PATCH 4/7] arm: mx5: Add more register definitions

2017-10-26 Thread Martyn Welch
From: Martyn Welch Add register definitions require for video configuration. Signed-off-by: Nandor Han Signed-off-by: Martyn Welch Cc: Stefano Babic Signed-off-by: Martyn Welch

Re: [U-Boot] [PATCH v5 0/4] Allwinner SimpleFB Kconfig cleanup and DE2 SimpleFB support

2017-10-26 Thread Anatolij Gustschin
Hi, On Mon, 09 Oct 2017 21:32:57 +0800 icen...@aosc.io icen...@aosc.io wrote: ... > Hello Anatolij, > > Could you look at this patchset? > > I used to think it as a sunxi-only patchset, so I sent it to the > sunxi maintainers. However, Maxime says that he needs feedback > from video

Re: [U-Boot] [PATCH] net: phy: marvell: Add functions to read PHY's extended registers

2017-10-26 Thread York Sun
On 10/26/2017 08:16 AM, Lukasz Majewski wrote: > On Thu, 26 Oct 2017 17:15:19 +0200 > Lukasz Majewski wrote: > >> On Thu, 26 Oct 2017 15:05:18 + >> York Sun wrote: >> >>> On 09/29/2017 07:48 AM, Lukasz Majewski wrote: This commit allows extended Marvell

Re: [U-Boot] [PATCH RESEND v5 0/4] Allwinner SimpleFB Kconfig cleanup and DE2 SimpleFB support

2017-10-26 Thread Anatolij Gustschin
On Thu, 26 Oct 2017 11:14:43 +0800 Icenowy Zheng icen...@aosc.io wrote: ... > Icenowy Zheng (4): > sunxi: change the DE1 video option to CONFIG_VIDEO_SUNXI > video: sunxi: extract simplefb match code to a new file > video: add an option for video simplefb via DT > sunxi: setup simplefb for

Re: [U-Boot] [U-boot][SDP] Trigger watchdog before calling usb_gadget_handle_interrupts

2017-10-26 Thread Stefan Agner
On 26.10.2017 13:25, Lukasz Majewski wrote: > Hi Vincent, > >> This prevents board resets when calling sdp command on boards which >> have a watchdog. >> >> Signed-off-by: Vincent Prince >> --- >> drivers/usb/gadget/f_sdp.c | 4 >> 1 file changed, 4

Re: [U-Boot] [PATCH u-boot 1/3] net: phy: Add Amlogic Meson GXL Internal PHY support

2017-10-26 Thread Neil Armstrong
On 22/10/2017 16:36, Simon Glass wrote: > On 18 October 2017 at 10:02, Neil Armstrong wrote: >> The Amlogic Meson GXL/GXM families embeds an internal RMII Ethernet PHY. >> >> The PHY acts as a generic PHY but needs a slight configuration right >> before it's

Re: [U-Boot] [PATCH v2 4/5] sunxi: video: split out PLL configuration code

2017-10-26 Thread Vasily Khoruzhick
Hi Anatolij, I'll look into it tonight. Regards, Vasily On Thu, Oct 26, 2017 at 2:02 PM, Anatolij Gustschin wrote: > On Wed, 20 Sep 2017 23:29:10 -0700 > Vasily Khoruzhick anars...@gmail.com wrote: > >> It will be reused in new DM LCD driver. >> >> Signed-off-by: Vasily

Re: [U-Boot] [PATCH] net: phy: marvell: Add functions to read PHY's extended registers

2017-10-26 Thread Lukasz Majewski
Hi York, > On 10/26/2017 08:16 AM, Lukasz Majewski wrote: > > On Thu, 26 Oct 2017 17:15:19 +0200 > > Lukasz Majewski wrote: > > > >> On Thu, 26 Oct 2017 15:05:18 + > >> York Sun wrote: > >> > >>> On 09/29/2017 07:48 AM, Lukasz Majewski wrote: > This

Re: [U-Boot] [PATCH v2 4/5] sunxi: video: split out PLL configuration code

2017-10-26 Thread Anatolij Gustschin
On Wed, 20 Sep 2017 23:29:10 -0700 Vasily Khoruzhick anars...@gmail.com wrote: > It will be reused in new DM LCD driver. > > Signed-off-by: Vasily Khoruzhick > --- > v2: - no changes > > arch/arm/include/asm/arch-sunxi/lcdc.h | 2 + > drivers/video/sunxi/lcdc.c

[U-Boot] [PATCH] dm: serial: Add .pre_probe() function to to wait for previous transmission end

2017-10-26 Thread Lukasz Majewski
It may happen that the serial IP block is performing some ongoing transmission (started at e.g. board_init()) when the serial "probe" is called. As a result the serial port IP block is reset, so transmitted data is corrupted: I2C: ready DRAM: 1 GiB jSS('HH��SL_SDHC: 04 rev 0x0

Re: [U-Boot] [PATCH] dm: serial: Add .pre_probe() function to to wait for previous transmission end

2017-10-26 Thread Dr. Philipp Tomsich
> On 27 Oct 2017, at 00:13, Lukasz Majewski wrote: > > It may happen that the serial IP block is performing some ongoing > transmission (started at e.g. board_init()) when the serial "probe" is > called. > > As a result the serial port IP block is reset, so transmitted data is >

Re: [U-Boot] [PATCH] dm: serial: Add .pre_probe() function to to wait for previous transmission end

2017-10-26 Thread Lukasz Majewski
Hi Philipp, > > > On 27 Oct 2017, at 00:13, Lukasz Majewski wrote: > > > > It may happen that the serial IP block is performing some ongoing > > transmission (started at e.g. board_init()) when the serial "probe" > > is called. > > > > As a result the serial port IP block is

  1   2   >