[PATCH v2 1/6] usb: musb-new: mt85xx: add musb-new gadget driver.

2020-01-16 Thread mingming lee
Using musb-new structure for mt85xx gadget driver. Add gadget driver dts for mt8518 SoCs. Signed-off-by: mingming lee --- arch/arm/dts/mt8518.dtsi | 13 ++ drivers/usb/musb-new/Kconfig | 11 +- drivers/usb/musb-new/Makefile | 1 + drivers/usb/musb-new/mt85xx.c | 417

[PATCH v2 3/6] configs: mt8518: set global variables for fastboot

2020-01-16 Thread mingming lee
set common fastboot variables for mt8518 Signed-off-by: mingming lee --- include/configs/mt8518.h | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/configs/mt8518.h b/include/configs/mt8518.h index 8906245a62..9bc9c04e66 100644 --- a/include/configs/mt8518.h

[PATCH v2 4/6] configs: mt8518: enable usb gadget driver

2020-01-16 Thread mingming lee
Enable board_late_init and usb gadget for mt8518 Signed-off-by: mingming lee --- configs/mt8518_ap1_emmc_defconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/configs/mt8518_ap1_emmc_defconfig b/configs/mt8518_ap1_emmc_defconfig index dd42076f4d..9857b7b776 100644 ---

[PATCH v2 0/6] Add fastboot support for MediaTek mt8518

2020-01-16 Thread mingming lee
This patch series adds basic fastboot support for MediaTek MT8518 EMMC boards, including musb-new structure for gadget driver and fastboot related configs. --- Changes for v2: - Limit the config in this patch depends on ARCH_MEDIATEK. - config all the added function,avoid affect other IC

[PATCH v2 5/6] configs: mt8518: Enable fastboot related configs

2020-01-16 Thread mingming lee
Enable EFI module. Enable fastboot. Signed-off-by: mingming lee --- configs/mt8518_ap1_emmc_defconfig | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/configs/mt8518_ap1_emmc_defconfig b/configs/mt8518_ap1_emmc_defconfig index 9857b7b776..714fd8e087 100644 ---

[PATCH v2 6/6] fastboot: mt85xx: add command to flash/erase emmc hwpart

2020-01-16 Thread mingming lee
This patch includes the following: 1. Add fastboot command to erase the whole EMMC_USER 2. Add fastboot command to flash image at EMMC_BOOT1 3. Add fastboot command to erase the whole EMMC_BOOT1 4. Enale CONFIG_FASTBOOT_MMC_BOOT1_SUPPORT for mt8518 Signed-off-by: mingming lee --- Changes for v2:

[PATCH v2 2/6] ARM: Mediatek: Add board_late_init to init usb gadget driver

2020-01-16 Thread mingming lee
Add board_late_init function to init usb gadget driver for mt8518 Signed-off-by: mingming lee --- board/mediatek/mt8518/mt8518_ap1.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/board/mediatek/mt8518/mt8518_ap1.c b/board/mediatek/mt8518/mt8518_ap1.c index

[PATCH v2] imx: imx8mm_evk: remove hdmi fw info from README

2020-01-16 Thread Flavio Suligoi
The imx8mm doesn't require the hdmi firmware. Update also the fw version. Signed-off-by: Flavio Suligoi --- board/freescale/imx8mm_evk/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescale/imx8mm_evk/README b/board/freescale/imx8mm_evk/README index

Re: [PATCH] riscv: sifive: fu540: Enable saving environment in MMC

2020-01-16 Thread David Abdurachmanov
On Thu, Jan 16, 2020 at 9:21 AM Bin Meng wrote: > > At present U-Boot environment is not saved so it's a little bit > inconvenient if booting kernel via network as each time we need > input the network environment variables from U-Boot shell. > > We already have the MMC support and let's enable

RE: [PATCH v2] imx: imx8mm_evk: remove hdmi fw info from README

2020-01-16 Thread Peng Fan
> Subject: [PATCH v2] imx: imx8mm_evk: remove hdmi fw info from README > > The imx8mm doesn't require the hdmi firmware. > Update also the fw version. > > Signed-off-by: Flavio Suligoi Reviewed-by: Peng Fan > --- > board/freescale/imx8mm_evk/README | 4 ++-- > 1 file changed, 2

[PATCH v2 3/4] mtd: denali: Drop custom dma mapping functions

2020-01-16 Thread Vignesh Raghavendra
Drop local dma_map_single() and dma_unmap_single() and use arch specific common implementation Signed-off-by: Vignesh Raghavendra Acked-by: Masahiro Yamada --- drivers/mtd/nand/raw/denali.c | 35 +++ 1 file changed, 3 insertions(+), 32 deletions(-) diff --git

[PATCH v2 1/4] asm: dma-mapping.h: Fix dma mapping functions

2020-01-16 Thread Vignesh Raghavendra
Subsystems such as USB expect dma_map_single() and dma_unmap_single() to do dcache flush/invalidate operations as required. For example, see see drivers/usb/gadget/udc/udc-core.c::usb_gadget_map_request(). Currently drivers do this locally, (see drivers/usb/dwc3/ep0.c,

[PATCH v2 4/4] net: macb: Drop local cache flush

2020-01-16 Thread Vignesh Raghavendra
Now that arch specific dma mapping APIs take care of cache flush/invalidate, drop local cache flush operation. While at that fix dma_unmap_single() call to match new prototype Signed-off-by: Vignesh Raghavendra --- drivers/net/macb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)

[PATCH v2 2/4] mmc: tmio-common: Drop custom dma mapping functions

2020-01-16 Thread Vignesh Raghavendra
Drop local dma_map_single() and dma_unmap_single() and use arch specific common implementation Signed-off-by: Vignesh Raghavendra Acked-by: Masahiro Yamada --- drivers/mmc/tmio-common.c | 25 +++-- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git

[PATCH v2 0/4] dma-mapping: Add cache flush/invalidation to dma_{un}map_single

2020-01-16 Thread Vignesh Raghavendra
Drivers (especially frameworks ported from Linux such as USB) expect dma_{un}map_single() APIs to take care of cache maintenance. But this is not the case in U-Boot and few drivers take care of flushing caches locally. Instead add flush/invalidate calls to DMA APIs in arch specific dma-mapping.h

Re: [U-Boot] [PATCH 1/4] asm: dma-mapping.h: Fix dma mapping functions

2020-01-16 Thread Vignesh Raghavendra
On 16/01/20 2:17 am, Tom Rini wrote: > On Fri, Nov 15, 2019 at 05:25:02PM +0530, Vignesh Raghavendra wrote: > >> Subsystems such as USB expect dma_map_single() and dma_unmap_single() to >> do dcache flush/invalidate operations as required. For example, see >>

Re: [RFC PATCH] imx: imx8mm-evk/imx8mn-evk: enable sysreset driver for SPL

2020-01-16 Thread Marek Vasut
On 1/16/20 3:21 AM, Peng Fan wrote: Hello Peng, >> Subject: [RFC PATCH] imx: imx8mm-evk/imx8mn-evk: enable sysreset driver >> for SPL >> > > NAK, this will not work on i.MX8MM/N. > > Currently sysreset psci is enabled, however psci will not work for SPL, > because > SPL boots before BL31.

Re: [U-Boot] [PATCH] spi: prevent overriding established bus settings

2020-01-16 Thread Marcin Wojtas
Hi Jagan, sob., 28 gru 2019 o 03:27 Simon Glass napisał(a): > > On Thu, 21 Nov 2019 at 04:45, Marcin Wojtas wrote: > > > > The SPI stack relies on a proper bus speed/mode configuration > > by calling dm_spi_claim_bus(). However the hitherto code > > allowed to accidentally override those

[PATCH v3] board: fsl: lx2160a: Add support to reset to eMMC

2020-01-16 Thread Meenakshi Aggarwal
Add support of "qixis_reset emmc" command for lx2160a based platforms Signed-off-by: Meenakshi Aggarwal --- Changes: v2: - Update in commit message - using set_rcw_src() in place of QIXIS_WRITE() v3: - update in commit message Signed-off-by: Meenakshi

Re: [U-Boot] [PATCH 2/2] drivers: watchdog: Add brcm iproc sp805 watchdog driver

2020-01-16 Thread Stefan Roese
Hi Vladimir, Hi Pramod, On 23.11.19 14:52, Stefan Roese wrote: On 23.11.19 00:23, Vladimir Olovyannikov wrote: From: Pramod Kumar Add sp805 watchdog driver for Broadcom iproc socs (DM). Signed-off-by: Pramod Kumar Signed-off-by: Vladimir Olovyannikov --- drivers/watchdog/Kconfig

Re: [PATCH v3 2/3] arm: mvebu: clearfog: set uboot image SD card offset

2020-01-16 Thread Stefan Roese
On 15.01.20 08:08, Baruch Siach wrote: Armada 38x ROM skips the first SD card offset when loading SPL. This affects the location of the main U-Boot image. SPL MMC code now supports U-Boot image offset based on run-time detection of the boot partition. Use this feature to make the same generated

Re: [PATCH v3 3/3] arm: mvebu: clearfog: update eMMC documentation

2020-01-16 Thread Stefan Roese
On 15.01.20 08:08, Baruch Siach wrote: SPL now automatically selects the correct U-Boot image offset for both eMMC and SD card. No need to tweak CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR anymore. Signed-off-by: Baruch Siach Reviewed-by: Stefan Roese Thanks, Stefan

Re: fat: handle Windows formatted partition (thru USB Mass Storage)

2020-01-16 Thread Andy Shevchenko
On Thu, Jan 16, 2020 at 4:01 AM AKASHI Takahiro wrote: > On Wed, Jan 15, 2020 at 09:12:59AM +0900, AKASHI Takahiro wrote: > > On Tue, Jan 14, 2020 at 02:43:43PM +0200, Andy Shevchenko wrote: > > > On Tue, Jan 14, 2020 at 10:23 AM Andy Shevchenko > > > wrote: > > > > On Tue, Jan 14, 2020 at 10:21

[PATCH v2] lx2160a: Add support of emmc boot

2020-01-16 Thread Meenakshi Aggarwal
Add support of "qixis_reset emmc" command for lx2160a based platforms Signed-off-by: Meenakshi Aggarwal --- Changes: v2: - Update in commit message - using set_rcw_src() in place of QIXIS_WRITE() --- board/freescale/common/qixis.c| 6 ++

Re: [PATCH 0/2] Enable private ATF handoff structure

2020-01-16 Thread Marek Vasut
On 1/16/20 8:25 AM, Michal Simek wrote: > čt 19. 12. 2019 v 18:32 odesílatel Michal Simek > napsal: >> >> Hi, >> >> Xilinx ZynqMP platform is using from the beggining specific structure which >> is passed from FSBL/SPL to ATF. >> Maybe in future both options can be supported by ATF and we can

Re: [PATCH 0/2] Enable private ATF handoff structure

2020-01-16 Thread Michal Simek
On 16. 01. 20 10:10, Marek Vasut wrote: > On 1/16/20 8:25 AM, Michal Simek wrote: >> čt 19. 12. 2019 v 18:32 odesílatel Michal Simek >> napsal: >>> >>> Hi, >>> >>> Xilinx ZynqMP platform is using from the beggining specific structure which >>> is passed from FSBL/SPL to ATF. >>> Maybe in future

Please pull mmc-1-16-2020

2020-01-16 Thread Peng Fan
Hi Tom, Please pull mmc-1-16-2020 --- Cleanup of fsl_esdhc driver together with arch/defconfig change Add quirk for APP_CMD retry --- CI:

Re: [PATCH v3 1/3] spl: mmc: support uboot image offset on main partition

2020-01-16 Thread Stefan Roese
On 15.01.20 08:08, Baruch Siach wrote: On Armada 38x platforms the ROM code loads SPL from offset 0 of eMMC hardware boot partitions. When there are no boot partitions (i.e. SD card) the ROM skips the first sector that usually contains the (logical) partition table. Since the generated .kwb

Re: [PATCH 0/2] Enable private ATF handoff structure

2020-01-16 Thread Marek Vasut
On 1/16/20 10:42 AM, Michal Simek wrote: > On 16. 01. 20 10:10, Marek Vasut wrote: >> On 1/16/20 8:25 AM, Michal Simek wrote: >>> čt 19. 12. 2019 v 18:32 odesílatel Michal Simek >>> napsal: Hi, Xilinx ZynqMP platform is using from the beggining specific structure which is

[PATCH 2/2] imx: fix typo in header file

2020-01-16 Thread Flavio Suligoi
Signed-off-by: Flavio Suligoi --- include/imximage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/imximage.h b/include/imximage.h index ace5cf8..1ed3284 100644 --- a/include/imximage.h +++ b/include/imximage.h @@ -73,7 +73,7 @@ enum imximage_cmd {

[PATCH 1/2] fsl: fix typo in header file

2020-01-16 Thread Flavio Suligoi
Signed-off-by: Flavio Suligoi --- include/fsl_validate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fsl_validate.h b/include/fsl_validate.h index c7b3ffc..06951fc 100644 --- a/include/fsl_validate.h +++ b/include/fsl_validate.h @@ -212,7 +212,7 @@ struct

[PATCH v2 5/7] configs: j721e_evm: Add configs for ADMA Support

2020-01-16 Thread Faiz Abbas
Add configs for ADMA Support. Signed-off-by: Faiz Abbas --- configs/j721e_evm_a72_defconfig | 2 ++ configs/j721e_evm_r5_defconfig | 1 + 2 files changed, 3 insertions(+) diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig index ec8444ab5b..7ec3a53022 100644 ---

[PATCH v2 3/7] arm: dts: k3-j721e-common-proc-board: Remove voltage-ranges from sdhci nodes

2020-01-16 Thread Faiz Abbas
voltage-ranges properties are NOP. Remove them. Signed-off-by: Faiz Abbas --- arch/arm/dts/k3-j721e-common-proc-board.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/dts/k3-j721e-common-proc-board.dts b/arch/arm/dts/k3-j721e-common-proc-board.dts index 137da7e425..72110d634d

[PATCH v2 0/7] Add Support for MMC/SD in J721e

2020-01-16 Thread Faiz Abbas
The following patches add support for MMC/SD in J721e. Currently, SD card is capped at 25 MBps and eMMC is capped at 50 MBps. Support for higher speeds and eMMC boot support will be added in futures series. v2: 1. Dropped FAT_WRITE patch because its already merged. 2. Fixed up environment patch

[PATCH v2 1/7] mmc: am654_sdhci: Get Xin clock by name

2020-01-16 Thread Faiz Abbas
Get clk_xin by name instead of by index to avoid having to put clocks in the same order in all devices. Signed-off-by: Faiz Abbas --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 3 ++- drivers/mmc/am654_sdhci.c| 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff

Please pull u-boot-marvell/master

2020-01-16 Thread Stefan Roese
Hi Tom, please pull the first batch of MVEBU related patches in this merge window: - Clearfog: Fix SD booting (Baruch) - Misc updates to MMC handling in SPL to support booting from main data partition (vs hardware boot

Re: [U-Boot] [PATCH] spl: fix entry_point equal to load_addr

2020-01-16 Thread Giulio Benetti
Hi Tom, +Stefano B. On 1/16/20 3:40 PM, Tom Rini wrote: On Mon, Nov 25, 2019 at 05:18:20PM +0100, Giulio Benetti wrote: At the moment entry_point is set to image_get_load(header) that sets it to "load address" instead of "entry point", assuming entry_point is equal to load_addr, but it's not

Re: imx8qxp mek: Booting mainline kernel with mainline U-Boot

2020-01-16 Thread Anatolij Gustschin
Hi Fabio, On Thu, 16 Jan 2020 13:38:26 -0300 Fabio Estevam feste...@gmail.com wrote: > Hi Anatolij, > > On Tue, Jan 14, 2020 at 8:04 PM Anatolij Gustschin wrote: > > > Currently I do not have an i.MX8QXP MEK board with RevB CPU and cannot > > test, but I have an i.MX8QXP based custom SoM with

[PATCH] mtd: spinand: winbond: Add support for W25N01GV

2020-01-16 Thread Robert Marko
Linux has supported W25N01GV for a long time, so lets import it. Signed-off-by: Robert Marko Cc: Luka Perkov --- drivers/mtd/nand/spi/winbond.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/mtd/nand/spi/winbond.c b/drivers/mtd/nand/spi/winbond.c index

Re: [PATCH v3 2/3] arm: mvebu: clearfog: set uboot image SD card offset

2020-01-16 Thread Stefan Roese
On 15.01.20 08:08, Baruch Siach wrote: Armada 38x ROM skips the first SD card offset when loading SPL. This affects the location of the main U-Boot image. SPL MMC code now supports U-Boot image offset based on run-time detection of the boot partition. Use this feature to make the same generated

Re: [PATCH v3 1/3] spl: mmc: support uboot image offset on main partition

2020-01-16 Thread Stefan Roese
On 15.01.20 08:08, Baruch Siach wrote: On Armada 38x platforms the ROM code loads SPL from offset 0 of eMMC hardware boot partitions. When there are no boot partitions (i.e. SD card) the ROM skips the first sector that usually contains the (logical) partition table. Since the generated .kwb

Re: [PATCH] configs: clearfog: enable SPL_DM_GPIO to fix boot from SD

2020-01-16 Thread Stefan Roese
On 08.12.19 08:41, Baruch Siach wrote: SPL needs DM GPIO to read the SD card-detect signal. This complements the fix in commit 70bae02f71d4 ("arm: mvebu: clearfog: fix boot from SD card"). Signed-off-by: Baruch Siach Applied to u-boot-marvell/master Thanks, Stefan

Re: [PATCH v3 3/3] arm: mvebu: clearfog: update eMMC documentation

2020-01-16 Thread Stefan Roese
On 15.01.20 08:08, Baruch Siach wrote: SPL now automatically selects the correct U-Boot image offset for both eMMC and SD card. No need to tweak CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR anymore. Signed-off-by: Baruch Siach Applied to u-boot-marvell/master Thanks, Stefan

Re: [U-Boot] [PATCH] spl: fix entry_point equal to load_addr

2020-01-16 Thread Tom Rini
On Thu, Jan 16, 2020 at 03:46:15PM +0100, Giulio Benetti wrote: > Hi Tom, > > +Stefano B. > > On 1/16/20 3:40 PM, Tom Rini wrote: > > On Mon, Nov 25, 2019 at 05:18:20PM +0100, Giulio Benetti wrote: > > > > > At the moment entry_point is set to image_get_load(header) that sets it > > > to "load

[PATCH 4/5] apalis-imx8: Remove unused function detail_board_ddr_info()

2020-01-16 Thread Alifer Moraes
detail_board_ddr_info() is not used anywhere, so simply remove it. This function is only used by Layerscape, not by i.MX. This was detected by the following sparse warning: board/toradex/apalis-imx8/apalis-imx8.c:92:6: warning: no previous prototype for ‘detail_board_ddr_info’

[PATCH 5/5] colibri-imx8x: Remove unused function detail_board_ddr_info()

2020-01-16 Thread Alifer Moraes
detail_board_ddr_info() is not used anywhere, so simply remove it. This function is only used by Layerscape, not by i.MX. This was detected by the following sparse warning: board/toradex/colibri-imx8x/colibri-imx8x.c:104:6: warning: no previous prototype for ‘detail_board_ddr_info’

Re: [PATCH 1/1] test/py: use valid device tree in test_fit.py

2020-01-16 Thread Tom Rini
On Wed, Dec 18, 2019 at 11:05:59AM +0100, Heinrich Schuchardt wrote: > The device tree compiler expects that a node with a unit-address has a reg > property. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH] Add dependencies for MALLOC_F and OF_LIBFDT

2020-01-16 Thread Tom Rini
On Tue, Dec 17, 2019 at 09:40:09PM -0500, Sean Anderson wrote: > Some features implicitly depended on MALLOC_F and OF_LIBFDT and would > fail at link-time if these features were not enabled. > > Signed-off-by: Sean Anderson Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [PATCH 1/2] Kconfig: Rename CONFIG_SPL_DMA_SUPPORT to CONFIG_SPL_DMA

2020-01-16 Thread Tom Rini
On Fri, Nov 15, 2019 at 05:00:41PM +0530, Vignesh Raghavendra wrote: > Rename CONFIG_SPL_DMA_SUPPORT to CONFIG_SPL_DMA. This allows to use > macros such as CONFIG_IS_ENABLED() that allow conditional compilation of > code for SPL and U-Boot. > > Signed-off-by: Vignesh Raghavendra > Reviewed-by:

Re: [PATCH] cmd/blk_common: clarify no partition error message

2020-01-16 Thread Tom Rini
On Fri, Dec 20, 2019 at 03:25:22PM +0100, Alexandre Besnard wrote: > When no partition table is found, users should be warned so. > Warning that no device is available in this case could be misleading, > especially as it is the same error when no device is selected. > > Signed-off-by: Alexandre

[PATCH 3/5] imx8qxp_mek: Remove unused function detail_board_ddr_info()

2020-01-16 Thread Alifer Moraes
detail_board_ddr_info() is not used anywhere, so simply remove it. This function is only used by Layerscape, not by i.MX. This was detected by the following sparse warning: board/freescale/imx8qxp_mek/imx8qxp_mek.c:115:6: warning: no previous prototype for ‘detail_board_ddr_info’

[PATCH 2/5] imx8qm_mek: Remove unused function detail_board_ddr_info()

2020-01-16 Thread Alifer Moraes
detail_board_ddr_info() is not used anywhere, so simply remove it. This function is only used by Layerscape, not by i.MX. This was detected by the following sparse warning: board/freescale/imx8qm_mek/imx8qm_mek.c:102:6: warning: no previous prototype for ‘detail_board_ddr_info’

[PATCH] imx8qxp_mek: Include fdt_support.h header

2020-01-16 Thread Alifer Moraes
Include fdt_support.h header file to fix the following sparse warning: board/freescale/imx8qxp_mek/imx8qxp_mek.c:129:5: warning: no previous prototype for ‘ft_board_setup’ [-Wmissing-prototypes] Signed-off-by: Alifer Moraes --- board/freescale/imx8qxp_mek/imx8qxp_mek.c | 1 + 1 file changed, 1

[PATCH] imx8qm_mek: Include fdt_support.h header

2020-01-16 Thread Alifer Moraes
Include fdt_support.h header file to fix the following sparse warning: board/freescale/imx8qm_mek/imx8qm_mek.c:116:5: warning: no previous prototype for ‘ft_board_setup’ [-Wmissing-prototypes] Signed-off-by: Alifer Moraes --- board/freescale/imx8qm_mek/imx8qm_mek.c | 1 + 1 file changed, 1

Re: [PATCH 0/8] Add Support for MMC/SD in J721e

2020-01-16 Thread Lokesh Vutla
Faiz, On 10/01/20 1:33 PM, Faiz Abbas wrote: > +Tom > > On 08/01/20 6:44 am, Peng Fan wrote: >> >> >>> Subject: Re: [PATCH 0/8] Add Support for MMC/SD in J721e >>> >>> Hi, >>> >>> On 19/11/19 1:49 pm, Faiz Abbas wrote: The following patches add support for MMC/SD in J721e. Currently, SD

[PATCH v3 1/2] Kconfig: add btrfs to distro boot

2020-01-16 Thread matthias . bgg
From: Matthias Brugger Some distributions use btrfs as the default file system. Enable btrfs support by default when using distro boot for all architectures but riscv, as it breaks compilation due to size problems. Signed-off-by: Matthias Brugger --- Changes in v3: - use imply instead of

[PATCH v3 2/2] configs: Re-sync with CONFIG_DISTRO_DEFAULTS

2020-01-16 Thread matthias . bgg
From: Matthias Brugger CONFIG_DISTRO_DEFAULTS now enables CMD_BTRFS by default, we can delete the config option in the corresponding default configs. Signed-off-by: Matthias Brugger --- Changes in v3: None Changes in v2: None configs/sandbox64_defconfig| 1 - configs/sandbox_defconfig

Re: [PATCH v2 4/8] clk: mediatek: add configurable pcw_chg_reg/ibits/fmin to mtk_pll

2020-01-16 Thread Tom Rini
On Tue, Dec 31, 2019 at 11:29:22AM +0800, mingming lee wrote: > Add configurable pcw_chg_reg/ibits/fmin to mtk_pll to support mt8512 Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 2/7] clk: fix error check for devm_clk_get_optional()

2020-01-16 Thread Tom Rini
On Thu, Jan 09, 2020 at 11:35:05AM +0800, Chunfeng Yun wrote: > If skip all return error number, it may skip some real error cases, > so only skip the error when the clock is not provided in DTS > > Signed-off-by: Chunfeng Yun > Reviewed-by: Simon Glass > Reviewed-by: Ryder Lee Applied to

Re: [PATCH v2 8/8] ARM: MediaTek: add basic support for MT8512 boards

2020-01-16 Thread Tom Rini
On Tue, Dec 31, 2019 at 11:29:26AM +0800, mingming lee wrote: > This adds a general board file based on MT8512 SoCs from MediaTek. > > Apart from the generic parts (cpu) we add some low level init codes > and initialize the early clocks. > > This commit is adding the basic boot support for the

Re: [PATCH v2 5/8] pinctrl: mediatek: add driver for MT8512

2020-01-16 Thread Tom Rini
On Tue, Dec 31, 2019 at 11:29:23AM +0800, mingming lee wrote: > Add Pinctrl driver for MediaTek MT8512 SoC. > > Signed-off-by: mingming lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 4/8] clk: mediatek: add configurable pcw_chg_reg/ibits/fmin to mtk_pll

2020-01-16 Thread Tom Rini
On Tue, Dec 31, 2019 at 11:29:22AM +0800, mingming lee wrote: > Add configurable pcw_chg_reg/ibits/fmin to mtk_pll to support mt8512 Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 6/8] mmc: mtk-sd: add support for MediaTek MT8512/MT8110 SoCs

2020-01-16 Thread Tom Rini
On Tue, Dec 31, 2019 at 11:29:24AM +0800, mingming lee wrote: > This patch adds mmc support for MediaTek MT8512/MT8110 SoCs. > MT8512/MT8110 SoCs puts the tune register at top layer, so > need add new code to support it. > > Signed-off-by: mingming lee Applied to u-boot/master, thanks! --

Re: [PATCH v2 7/8] mmc: mtk-sd: fix hang when data read quickly

2020-01-16 Thread Tom Rini
On Tue, Dec 31, 2019 at 11:29:25AM +0800, mingming lee wrote: > For CMD21 tuning data, the 128/64 bytes data may coming in very > short time, before msdc_start_data(), the read data has already > come, in this case, clear MSDC_INT will cause the interrupt disappear > and lead to the thread hang.

[PATCH] mx7dsabre: Fix dm probe pmic

2020-01-16 Thread Joris Offouga
With commit mx7dsabre: Enable DM_ETH 0d52bab4 Device Tree has been update and change pfuze3000 node Signed-off-by: Joris Offouga --- board/freescale/mx7dsabresd/mx7dsabresd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/mx7dsabresd/mx7dsabresd.c

Re: [PATCH] Include missing headers for asm-generic/sections.h

2020-01-16 Thread Tom Rini
On Tue, Dec 17, 2019 at 09:22:42PM -0500, Sean Anderson wrote: > asm-generic/sections.h references ulong but does not include > linux/types.h > > Signed-off-by: Sean Anderson Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH] spl: fix entry_point equal to load_addr

2020-01-16 Thread Tom Rini
On Mon, Nov 25, 2019 at 05:18:20PM +0100, Giulio Benetti wrote: > At the moment entry_point is set to image_get_load(header) that sets it > to "load address" instead of "entry point", assuming entry_point is > equal to load_addr, but it's not true. Then load_addr is set to > "entry_point -

Re: [U-Boot] [PATCH 2/2] dma: Add stub of dma_memcpy and dma_get_device

2020-01-16 Thread Tom Rini
On Fri, Nov 15, 2019 at 05:00:42PM +0530, Vignesh Raghavendra wrote: > Add stub for dma_memcpy() and dma_get_device when CONFIG_DMA is > disabled. This avoids ifdefs in driver code using DMA APIs > > Signed-off-by: Vignesh Raghavendra > Reviewed-by: Simon Glass Applied to u-boot/master,

Re: [RESEND v2 06/10] power: domain: add power domain support for MT7622

2020-01-16 Thread Tom Rini
On Fri, Jan 10, 2020 at 04:30:31PM +0800, Sam Shih wrote: > This patch add power domain support for Mediatek MT7622 SoCs > > Signed-off-by: Ryder Lee > Signed-off-by: Sam Shih Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [RESEND v2 08/10] Add support for MT7622 reference board

2020-01-16 Thread Tom Rini
On Fri, Jan 10, 2020 at 04:30:33PM +0800, Sam Shih wrote: > This adds a general board file based on MT7622 SoCs from MediaTek. > This commit is adding the basic boot support for the MT7622 rfb. > > Signed-off-by: Sam Shih > Reviewed-by: Ryder Lee > Tested-by: Frank Wunderlich Applied to

Re: [RESEND v2 07/10] mmc: add mmc and sd support for MT7622

2020-01-16 Thread Tom Rini
On Fri, Jan 10, 2020 at 04:30:32PM +0800, Sam Shih wrote: > This patch add mmc and sd support for Mediatek MT7622 SoCs > > Signed-off-by: Sam Shih > Reviewed-by: Ryder Lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] MAINTAINERS: Fix mail

2020-01-16 Thread Tom Rini
On Tue, Jan 14, 2020 at 07:54:12PM +0200, Sam Protsenko wrote: > Sam doesn't work for Linaro anymore, so Linaro mail is not valid. Change > it to his home mail instead. > > Signed-off-by: Sam Protsenko Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [RESEND v2 10/10] configs: mediatek: fix mt7623n bpir2 defconfig

2020-01-16 Thread Tom Rini
On Fri, Jan 10, 2020 at 04:30:35PM +0800, Sam Shih wrote: > This patch add CONFIG_TARGET_MT7623 into mt7623n_bpir2_defconfig > to fix the mt7623 compile error after building others mediatek target > platform > > Signed-off-by: Sam Shih > Reviewed-by: Ryder Lee Applied to u-boot/master,

Re: [RESEND v2 09/10] arm: dts: mediatek: move u-boot properties to -u-boot.dtsi file

2020-01-16 Thread Tom Rini
On Fri, Jan 10, 2020 at 04:30:34PM +0800, Sam Shih wrote: > This patch move u-boot properties to -u-boot.dtsi file. > > Signed-off-by: Sam Shih > Reviewed-by: Ryder Lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: imx8qxp mek: Booting mainline kernel with mainline U-Boot

2020-01-16 Thread Fabio Estevam
Hi Anatolij, On Tue, Jan 14, 2020 at 8:04 PM Anatolij Gustschin wrote: > Currently I do not have an i.MX8QXP MEK board with RevB CPU and cannot > test, but I have an i.MX8QXP based custom SoM with console on ttyLP2. > Here I tested with NXP BSP kernel based on branch imx_4.14.98_2.0.0_ga > and

Re: [RESEND v2 03/10] pinctrl: mediatek: add support for different pinctrl

2020-01-16 Thread Tom Rini
On Fri, Jan 10, 2020 at 04:30:28PM +0800, Sam Shih wrote: > Due to the pinctrl hardware of MT7622 is difference from others > SoC which using the common part of mediatek pinctrl. > So we need to modify the common part of mediatek pinctrl. > > Signed-off-by: Sam Shih > Reviewed-by: Ryder Lee

Re: [RESEND v2 05/10] clk: mediatek: fix clock-rate overflow problem

2020-01-16 Thread Tom Rini
On Fri, Jan 10, 2020 at 04:30:30PM +0800, Sam Shih wrote: > This patch fix clock-rate overflow problem in mediatek > clock driver common part. > > Signed-off-by: Sam Shih > Reviewed-by: Ryder Lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [RESEND v2 04/10] clk: mediatek: add driver for MT7622

2020-01-16 Thread Tom Rini
On Fri, Jan 10, 2020 at 04:30:29PM +0800, Sam Shih wrote: > This patch add clock driver for MediaTek MT7622 SoC. > > Signed-off-by: Ryder Lee > Signed-off-by: Sam Shih Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [RESEND v2 02/10] pinctrl: mediatek: add driver for MT7622

2020-01-16 Thread Tom Rini
On Fri, Jan 10, 2020 at 04:30:27PM +0800, Sam Shih wrote: > This patch add Pinctrl driver for MediaTek MT7622 SoC. > > Signed-off-by: Sam Shih > Reviewed-by: Ryder Lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [meta-freescale] Ramdisk booting: EXT4-fs (ram0): bad geometry error.

2020-01-16 Thread Michael Donahoe
From: Yusuf Altıparmak Sent: Thursday, January 16, 2020 12:09 AM To: Michael Donahoe ; meta-freesc...@lists.yoctoproject.org ; u-boot@lists.denx.de Subject: Re: [meta-freescale] Ramdisk booting: EXT4-fs (ram0): bad geometry error.

Re: [PATCH v2 1/7] clk: mediatek: mt7629: add support for ssusbsys

2020-01-16 Thread Tom Rini
On Thu, Jan 09, 2020 at 11:35:04AM +0800, Chunfeng Yun wrote: > The SSUSB IP's clocks come from ssusbsys module on mt7629, > so add its driver > > Signed-off-by: Chunfeng Yun > Reviewed-by: Simon Glass > Reviewed-by: Ryder Lee Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH v2 3/7] clk: check valid clock by clk_valid()

2020-01-16 Thread Tom Rini
On Thu, Jan 09, 2020 at 11:35:06AM +0800, Chunfeng Yun wrote: > Add valid check for clk->dev, it's useful when get optional > clock even when the clk point is valid, but its dev will be > NULL. > > Signed-off-by: Chunfeng Yun > Reviewed-by: Simon Glass > Reviewed-by: Ryder Lee Applied to

Re: [PATCH v2 7/7] phy: phy-mtk-tphy: make ref clock optional

2020-01-16 Thread Tom Rini
On Thu, Jan 09, 2020 at 11:35:10AM +0800, Chunfeng Yun wrote: > If make the ref clock optional, no need refer to fixed-clock when > the ref clock is always on or comes from oscillator directly. > > Signed-off-by: Chunfeng Yun > Reviewed-by: Simon Glass > Reviewed-by: Ryder Lee Applied to

Re: [PATCH v2 6/7] phy: phy-mtk-tphy: remove the check of -ENOSYS

2020-01-16 Thread Tom Rini
On Thu, Jan 09, 2020 at 11:35:09AM +0800, Chunfeng Yun wrote: > No need check -ENOSYS anymore after add dummy_enable() for > fixed-clock. > > Signed-off-by: Chunfeng Yun > Reviewed-by: Simon Glass > Reviewed-by: Ryder Lee Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH v2 4/7] clk: add APIs to get (optional) clock by name without a device

2020-01-16 Thread Tom Rini
On Thu, Jan 09, 2020 at 11:35:07AM +0800, Chunfeng Yun wrote: > Sometimes we may need get (optional) clock without a device, > that means use ofnode. > e.g. when the phy node has subnode, and there is no device created > for subnode, in this case, we need these new APIs to get subnode's > clock.

Re: [PATCH v2 5/7] clk: fixed_rate: add dummy enable() function

2020-01-16 Thread Tom Rini
On Thu, Jan 09, 2020 at 11:35:08AM +0800, Chunfeng Yun wrote: > This is used to avoid clk_enable() return -ENOSYS. > > Signed-off-by: Chunfeng Yun > Reviewed-by: Simon Glass > Reviewed-by: Ryder Lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [RESEND v2 01/10] ARM: MediaTek: Add support for MediaTek MT7622 SoC

2020-01-16 Thread Tom Rini
On Fri, Jan 10, 2020 at 04:30:26PM +0800, Sam Shih wrote: > Add support for MediaTek MT7622 SoC. This include the file > that will initialize the SoC after boot and its device tree. > > Signed-off-by: Sam Shih > Reviewed-by: Ryder Lee Applied to u-boot/master, thanks! -- Tom signature.asc

[PATCH 1/5] imx8qm_rom7720_a1: Remove unused function detail_board_ddr_info()

2020-01-16 Thread Alifer Moraes
detail_board_ddr_info() is not used anywhere, so simply remove it. This function is only used by Layerscape, not by i.MX. This was detected by the following sparse warning: board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c:110:6: warning: no previous prototype for ‘detail_board_ddr_info’

Re: [PATCH] mx7dsabre: Fix dm probe pmic

2020-01-16 Thread Fabio Estevam
Hi Joris, On Thu, Jan 16, 2020 at 1:41 PM Joris Offouga wrote: > > With commit mx7dsabre: Enable DM_ETH 0d52bab4 Please reference commit like this: With commit 0d52bab4621 ("mx7dsabre: Enable DM_ETH") BTW, it would be better if this commit were split in two: - One for syncing the dts - Other

[PATCH v3] arm: exynos: Use proper PMIC device names

2020-01-16 Thread Marek Szyprowski
Since commit 4213609cc7 ("drivers: core: use strcmp when find device by name") one has to provide full name to get requested object. Fix the code used to detect enable power regulators on the supported Exynos boards to use proper PMIC device device name then. Signed-off-by: Marek Szyprowski

[PATCH v2 2/7] mmc: am654_sdhci: Add Support for configuring PHY in J721e

2020-01-16 Thread Faiz Abbas
Add Support for writing to PHY registers for J721e. There are number of differences between the J721e 8 bit PHY, J721e 4 bit PHY and AM654 PHY. Create a driver_data structure with an ops and flags field and use the flags field to indicate these differences. The differences are as follows: 1. The

[PATCH v2 4/7] arm: dts: k3-j721e-common-proc-board: Add pinmux for SD card

2020-01-16 Thread Faiz Abbas
Add pinmux for sdhci1 node connected to the SD card. Signed-off-by: Faiz Abbas --- .../k3-j721e-common-proc-board-u-boot.dtsi| 4 arch/arm/dts/k3-j721e-common-proc-board.dts | 20 ++- .../arm/dts/k3-j721e-r5-common-proc-board.dts | 16 +++ 3 files

[PATCH v2 7/7] configs: j721e_evm: Add configs for environment in eMMC

2020-01-16 Thread Faiz Abbas
Add config to save and read back environment from eMMC. Signed-off-by: Faiz Abbas --- configs/j721e_evm_a72_defconfig | 7 ++- configs/j721e_evm_r5_defconfig | 6 +- include/configs/j721e_evm.h | 6 ++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git

[PATCH v2 6/7] configs: j721e_evm_a72: Add Support for GPT partitions

2020-01-16 Thread Faiz Abbas
Introduce a default GPT partition table for eMMC. Signed-off-by: Faiz Abbas --- include/configs/j721e_evm.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h index 71cea3dd8a..e4296e 100644 --- a/include/configs/j721e_evm.h

Re: [PATCH v2 1/8] ARM: MediaTek: Add support for MediaTek MT8512 SoC

2020-01-16 Thread Tom Rini
On Tue, Dec 31, 2019 at 11:29:19AM +0800, mingming lee wrote: > Add support for MediaTek MT8512 SoC. This include the file > that will initialize the SoC after boot and its device tree. > > Signed-off-by: mingming lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH 1/1] configs: qemu: enable FIT images on qemu_arm(64)_defconfig

2020-01-16 Thread Tom Rini
On Sun, Dec 29, 2019 at 08:07:49PM +0100, Heinrich Schuchardt wrote: > For testing UEFI FIT images we need FIT image support on QEMU. > > Cf. "test/py: Create a test for launching UEFI binaries from FIT images" > https://lists.denx.de/pipermail/u-boot/2019-December/394516.html > >

Re: [PATCH v2 2/8] clk: mediatek: add driver support for MT8512

2020-01-16 Thread Tom Rini
On Tue, Dec 31, 2019 at 11:29:20AM +0800, mingming lee wrote: > Add clock driver for MediaTek MT8512 SoC, include topckgen, > apmixedsys and infracfg support. > > Signed-off-by: mingming lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 3/8] clk: mediatek: add set_clr_upd mux type flow

2020-01-16 Thread Tom Rini
On Tue, Dec 31, 2019 at 11:29:21AM +0800, mingming lee wrote: > Add new set_clr_upd mux type and related operation to > mtk common clock driver to support mt8512 Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[PATCH 1/3] mmc: s5p_sdhci: Read generic MMC properties from DT

2020-01-16 Thread Marek Szyprowski
Read generic MMC properties from device-tree. This allows to specify for example cd-inverted property and let MMC core to properly handle such case. Signed-off-by: Marek Szyprowski --- drivers/mmc/s5p_sdhci.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mmc/s5p_sdhci.c

[PATCH 3/3] arm: dts: exynos: Use common alias for Odroid U3/X2 MMC2 (SD-card)

2020-01-16 Thread Marek Szyprowski
Use MMC0 for eMMC and MMC2 for SD-card as other Exynos-based boards do. This allows to use common code to get MMC device id based on the XOM[7:5] pins. Signed-off-by: Marek Szyprowski --- arch/arm/dts/exynos4412-odroid.dts | 2 +- include/configs/odroid.h | 2 +- 2 files changed, 2

  1   2   >