[U-Boot] [PATCH] ARM: imx6q_logic: Correct phy fixup for broken ethernet

2019-01-12 Thread Adam Ford
The Ethernet has been broken for some time. This patch unifies this board with a few others that use a similar approach to enabling phy. This fixes ar8031 Ethernet controller so it works. Signed-off-by: Adam Ford diff --git a/board/logicpd/imx6/imx6logic.c b/board/logicpd/imx6/imx6logic.c inde

[U-Boot] [PATCH] ARM: imx6q_logic: Enable SPL Booting from NAND

2019-01-12 Thread Adam Ford
This patch fixes a few values that were incorrect, and this now lets SPL boot from NAND. Signed-off-by: Adam Ford diff --git a/configs/imx6q_logic_defconfig b/configs/imx6q_logic_defconfig index 457366a664..f56f532631 100644 --- a/configs/imx6q_logic_defconfig +++ b/configs/imx6q_logic_defconfig

Re: [U-Boot] [PATCH v2 2/3] efi_loader: enumerate disk devices every time

2019-01-12 Thread Alexander Graf
> Am 12.01.2019 um 22:32 schrieb Simon Glass : > > Hi Alex, > >> On Fri, 11 Jan 2019 at 00:57, Alexander Graf wrote: >> >> >> >>> On 11.01.19 05:29, AKASHI Takahiro wrote: >>> Alex, Heinrich and Simon, >>> >>> Thank you for your comments, they are all valuable but also make me >>> confused

Re: [U-Boot] dm: pinctrl: Prevent (re-)configuring pins when already done before relocation

2019-01-12 Thread Lukasz Majewski
Hi Alex, > On Tue, Jan 8, 2019 at 11:24 PM Lukasz Majewski wrote: > > > > Hi Alex, > > > > > On Tue, Jan 8, 2019 at 10:52 PM Lukasz Majewski > > > wrote: > > > > > > > > Hi Alex, > > > > > > > > > On Thu, Dec 27, 2018 at 3:49 PM Tom Rini > > > > > wrote: > > > > > > > > > > > > On Tue,

Re: [U-Boot] [PATCH] common: Kconfig: miscellaneous spelling fixes

2019-01-12 Thread Simon Glass
On Thu, 10 Jan 2019 at 19:31, Chris Packham wrote: > > Signed-off-by: Chris Packham > --- > > common/Kconfig | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) Thanks. Reviewed-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.den

Re: [U-Boot] [PATCH v2 2/3] efi_loader: enumerate disk devices every time

2019-01-12 Thread Simon Glass
Hi Alex, On Fri, 11 Jan 2019 at 00:57, Alexander Graf wrote: > > > > On 11.01.19 05:29, AKASHI Takahiro wrote: > > Alex, Heinrich and Simon, > > > > Thank you for your comments, they are all valuable but also make me > > confused as different people have different requirements :) > > I'm not sure

Re: [U-Boot] [PATCH v2 1/7] efi_loader: Add a wchar_t cast in efi_file_open()

2019-01-12 Thread Simon Glass
On Fri, 11 Jan 2019 at 13:35, Heinrich Schuchardt wrote: > > On 1/11/19 9:08 PM, Heinrich Schuchardt wrote: > > On 1/8/19 12:44 AM, Simon Glass wrote: > >> The printf() string here is not actually correct. Add a cast to avoid > >> a warning when checking is enabled. > >> > >> Signed-off-by: Simon

Re: [U-Boot] [PATCH] Makefile: run CONFIG_BOARD_SIZE_LIMIT against .img

2019-01-12 Thread Simon Glass
On Fri, 11 Jan 2019 at 12:56, Simon Goldschmidt wrote: > > With the current Makefile, CONFIG_BOARD_SIZE_LIMIT is used to check > the U-Boot binary without devicetree only. This produces wrong results > when OF_SEPARATE is used. > > To fix this, run the CONFIG_BOARD_SIZE_LIMIT check on all .img bin

Re: [U-Boot] [PATCH 1/1] efi_loader: use u16* for file name

2019-01-12 Thread Simon Glass
On Fri, 11 Jan 2019 at 13:27, Heinrich Schuchardt wrote: > > UTF-16 strings in our code should all be u16 *. Fix an inconsistency for > file names which may lead to a warning for printf("%ls", ). > > Simon Glass > Signed-off-by: Heinrich Schuchardt > --- > include/efi_api.h | 2 +- > l

Re: [U-Boot] [PULL] u-boot-socfpga/master

2019-01-12 Thread Tom Rini
On Fri, Jan 11, 2019 at 03:52:29PM +0100, Marek Vasut wrote: > The following changes since commit 64abfc9b6bb3721621d5132e112ae2e91c57d8bb: > > Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2019-01-10 > 09:28:28 -0500) > > are available in the Git repository at: > > git://git.den

Re: [U-Boot] [PATCH] Revert "fs: fat: assign rootdir sector when accessing root directory"

2019-01-12 Thread Tom Rini
On Fri, Jan 11, 2019 at 10:17:21AM -0500, Tom Rini wrote: > This particular commit is causing a regression on stih410-b2260 and > other platforms when reading from FAT16. Noting that I had rebased the > original fix from Thomas onto then-current master, there is also > question from Akashi-san if

Re: [U-Boot] [PULL] u-boot-usb/master

2019-01-12 Thread Tom Rini
On Fri, Jan 11, 2019 at 03:51:17PM +0100, Marek Vasut wrote: > UDC fixes below, this is for coming 2019.01 release. > There's a lot of churn, however most are just renames. > > The following changes since commit 54707a942009fae083dd78b58ff057127ba0e900: > > Prepare v2019.01-rc3 (2019-01-07 22:

Re: [U-Boot] Revert "dm: pinctrl: Prevent (re-)configuring pins when already done before relocation"

2019-01-12 Thread Tom Rini
On Wed, Jan 09, 2019 at 11:05:02PM +0100, Lukasz Majewski wrote: > This reverts commit a7f4b4b344396590845e6552c82829ef68ef9f89. > > As reported by Alex Kiernan the above optimization introduces a > regression in the below use case where: > > 1. Device has defined 'u-boot,dm-spl' property (@ eMM

Re: [U-Boot] [PATCH v7 0/6] MSCC: Add Jaguar2 SOC family

2019-01-12 Thread Daniel Schwierzeck
Am 12.01.19 um 18:56 schrieb Horatiu Vultur: > This patch series add support for MSCC Jaguar2 SOC family. In this > family there are the following boards: Jagaur2(pcb110), > Jaguar2-48(pcb111) and Serval2(pcb112). > > This is based off the u-boot-mips/next repository > > This version address co

[U-Boot] [PATCH 5/5] MIPS: bmips: switch to CONFIG_OF_SEPARATE

2019-01-12 Thread Daniel Schwierzeck
Fix the Kconfig warning to not use CONFIG_OF_EMBED in defconfigs. Based on https://patchwork.ozlabs.org/patch/1019791/ Signed-off-by: Álvaro Fernández Rojas Signed-off-by: Daniel Schwierzeck --- configs/bcm968380gerg_ram_defconfig | 1 - configs/comtrend_ar5315u_ram_defconfig | 1 -

[U-Boot] [PATCH 3/5] MIPS: pic32mzdask: switch to CONFIG_OF_SEPARATE

2019-01-12 Thread Daniel Schwierzeck
Fix the Kconfig warning to not use CONFIG_OF_EMBED in defconfigs. Signed-off-by: Daniel Schwierzeck --- configs/pic32mzdask_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/pic32mzdask_defconfig b/configs/pic32mzdask_defconfig index de699fc275..d411031bd7 100644 --- a/confi

[U-Boot] [PATCH 4/5] MIPS: xilfpga: switch to CONFIG_OF_SEPARATE

2019-01-12 Thread Daniel Schwierzeck
Fix the Kconfig warning to not use CONFIG_OF_EMBED in defconfigs. Signed-off-by: Daniel Schwierzeck --- configs/imgtec_xilfpga_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/imgtec_xilfpga_defconfig b/configs/imgtec_xilfpga_defconfig index 4fe75311de..cea6424780 100644 --

[U-Boot] [PATCH 2/5] MIPS: malta: switch to CONFIG_OF_SEPARATE

2019-01-12 Thread Daniel Schwierzeck
Fix the Kconfig warning to not use CONFIG_OF_EMBED in defconfigs. Signed-off-by: Daniel Schwierzeck --- configs/malta64_defconfig | 1 - configs/malta64el_defconfig | 1 - configs/malta_defconfig | 1 - configs/maltael_defconfig | 1 - 4 files changed, 4 deletions(-) diff --git a/conf

[U-Boot] [PATCH 1/5] MIPS: boston: switch to CONFIG_OF_SEPARATE

2019-01-12 Thread Daniel Schwierzeck
Fix the Kconfig warning to not use CONFIG_OF_EMBED in defconfigs. Signed-off-by: Daniel Schwierzeck --- configs/boston32r2_defconfig | 1 - configs/boston32r2el_defconfig | 1 - configs/boston32r6_defconfig | 1 - configs/boston32r6el_defconfig | 1 - configs/boston64r2_defconfig | 1 -

[U-Boot] [PATCH 0/5] MIPS: fix Kconfig warnings about CONFIG_OF_EMBED

2019-01-12 Thread Daniel Schwierzeck
Only boot-tested on Malta with Qemu. But there is no ovious reason why it should break any MIPS board. Daniel Schwierzeck (5): MIPS: boston: switch to CONFIG_OF_SEPARATE MIPS: malta: switch to CONFIG_OF_SEPARATE MIPS: pic32mzdask: switch to CONFIG_OF_SEPARATE MIPS: xilfpga: switch to CON

[U-Boot] [PATCH v7 6/6] MSCC: Add board support for Jaguar2 SOC family

2019-01-12 Thread Horatiu Vultur
Add board support and configuration for Jaguar2 SOC family. The detection of the board type in this family is based on the phy ids. Signed-off-by: Horatiu Vultur --- arch/mips/dts/Makefile | 1 + arch/mips/mach-mscc/Makefile | 5 +- board/mscc/common/Makefile | 4 ++ board/mscc/com

[U-Boot] [PATCH v7 5/6] MSCC: add device tree for Serval2 board

2019-01-12 Thread Horatiu Vultur
Add device tree based on evaluation board pcb112. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/serval2_pcb112.dts | 60 2 files changed, 61 insertions(+) create mode 100644 arch/mips/dts/serval2_pcb112.dts dif

[U-Boot] [PATCH v7 4/6] MSCC: Add device tree for Jaguar2-48 board

2019-01-12 Thread Horatiu Vultur
Add device tree based on evaluation board pcb111. Signed-off-by: Horatiu Vultur --- arch/mips/dts/jr2_pcb111.dts | 74 1 file changed, 74 insertions(+) create mode 100644 arch/mips/dts/jr2_pcb111.dts diff --git a/arch/mips/dts/jr2_pcb111.dts b/arch/

[U-Boot] [PATCH v7 3/6] MSCC: Add device tree for Jaguar2 board

2019-01-12 Thread Horatiu Vultur
Add device tree based on evaluation board pcb110. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/jr2_pcb110.dts | 74 + arch/mips/dts/mscc,jr2.dtsi | 187 +++ 3 files changed, 262 insertions(+) crea

[U-Boot] [PATCH v7 2/6] MSCC: Add support for Jaguar2 SOC family

2019-01-12 Thread Horatiu Vultur
As the Ocelot and Luton SoCs, this family of SoCs are found in Microsemi Switches solution. Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Kconfig| 9 + arch/mips/mach-mscc/cpu.c | 7 + arch/mips/mach-mscc/dram.c

[U-Boot] [PATCH v7 1/6] pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family

2019-01-12 Thread Horatiu Vultur
The Jaguar2 SOC family has 63 gpio pins therefore I extended mscc-common to support new numbe of pins and remove any platform dependency from mscc-common. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + drivers/pinctrl/mscc/Kconfig | 9 + drivers/pinct

[U-Boot] [PATCH v7 0/6] MSCC: Add Jaguar2 SOC family

2019-01-12 Thread Horatiu Vultur
This patch series add support for MSCC Jaguar2 SOC family. In this family there are the following boards: Jagaur2(pcb110), Jaguar2-48(pcb111) and Serval2(pcb112). This is based off the u-boot-mips/next repository This version address comments from Daniel Schwierzeck v7-changes: - fix nits in p

Re: [U-Boot] [PATCH v2 2/3] arm: socfpga: gen5 enable designware_socfpga

2019-01-12 Thread Marek Vasut
On 1/12/19 5:01 PM, Simon Goldschmidt wrote: > Am 11.01.2019 um 23:04 schrieb Marek Vasut: >> On 1/11/19 8:45 PM, Simon Goldschmidt wrote: >>> Enable the socfpga specific designware ethernet driver for all Gen5 >>> and Arria10 defconfigs. >>> >>> This is required to remove the hacky reset and phy m

Re: [U-Boot] [PATCH v3 0/3] mips: spi: mscc: Add fast bitbang SPI driver

2019-01-12 Thread Daniel Schwierzeck
Am 08.01.19 um 10:38 schrieb Lars Povlsen: > These 3 patches add an optimized SPI bitbang driver for MSCC SOCs that > does not sport the designware SPI hardware controller. > > The driver more than doubles the performance for bulk SPI transfers. > > This is based off the u-boot-mips/next reposi

Re: [U-Boot] [PATCH 2/2] mmc: jz_mmc: Compile-out write support if disabled

2019-01-12 Thread Daniel Schwierzeck
Am 07.01.19 um 22:13 schrieb Ezequiel Garcia: > Do not build write support, unless it's enabled. > > In the SPL case, this change will typically remove > precious bytes (as write support is most often > not needed in SPL). > > This is important on this platform, where the maximum > SPL size is

Re: [U-Boot] [PATCH 1/2] mmc: Use proper IS_ENABLED macro to check block support

2019-01-12 Thread Daniel Schwierzeck
Am 07.01.19 um 22:13 schrieb Ezequiel Garcia: > Use CONFIG_IS_ENABLED(BLK) instead of CONFIG_BLK, > in order to fix the following build issues when > CONFIG_SPL_MMC_WRITE is selected: > > drivers/mmc/mmc_write.c:69:7: error: conflicting types for 'mmc_berase' > ulong mmc_berase(struct udevice *

Re: [U-Boot] [PATCH] net: bcm6368: fix restart flow issues

2019-01-12 Thread Daniel Schwierzeck
Am 01.01.19 um 19:44 schrieb Álvaro Fernández Rojas: > Correctly enable/disable bcm6368-net controller to avoid flow issues. > > Signed-off-by: Álvaro Fernández Rojas > --- > drivers/net/bcm6368-eth.c | 109 > ++ > 1 file changed, 62 insertions(+),

Re: [U-Boot] [PATCH v6 6/6] MSCC: Add board support for Jaguar2 SOC family

2019-01-12 Thread Daniel Schwierzeck
Am 11.01.19 um 23:31 schrieb Horatiu Vultur: > Add board support and configuration for Jaguar2 SOC family. > The detection of the board type in this family is based on the phy ids. > > Signed-off-by: Horatiu Vultur > --- > arch/mips/dts/Makefile | 1 + > arch/mips/mach-mscc/Makefile |

Re: [U-Boot] [PATCH v6 2/6] MSCC: Add support for Jaguar2 SOC family

2019-01-12 Thread Daniel Schwierzeck
Am 11.01.19 um 23:31 schrieb Horatiu Vultur: > As the Ocelot and Luton SoCs, this family of SoCs are found > in Microsemi Switches solution. > > Signed-off-by: Horatiu Vultur > --- > arch/mips/mach-mscc/Kconfig| 9 + > arch/mips/mach-mscc/cpu.c

Re: [U-Boot] [PATCH v6 1/6] pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family

2019-01-12 Thread Daniel Schwierzeck
Am 11.01.19 um 23:31 schrieb Horatiu Vultur: > The Jaguar2 SOC family has 63 gpio pins therefore I extended mscc-common > to support new numbe of pins and remove any platform dependency from > mscc-common. > > Signed-off-by: Horatiu Vultur > --- > MAINTAINERS | 1 +

Re: [U-Boot] [PATCH v2 2/3] arm: socfpga: gen5 enable designware_socfpga

2019-01-12 Thread Simon Goldschmidt
Am 11.01.2019 um 23:04 schrieb Marek Vasut: On 1/11/19 8:45 PM, Simon Goldschmidt wrote: Enable the socfpga specific designware ethernet driver for all Gen5 and Arria10 defconfigs. This is required to remove the hacky reset and phy mode handling in arch/arm/mach-socfpga. Signed-off-by: Simon G

[U-Boot] [PATCH 1/1] powerpc: enabled building with CONFIG_DM=y

2019-01-12 Thread Heinrich Schuchardt
Moving to the driver model requires CONFIG_DM to be enabled. Currently several boards like kmeter1_defconfig produce a build error when CONFIG_DM is enabled: In file included from include/common.h:35, from ./arch/powerpc/include/asm/fsl_lbc.h:10, from include/mpc8

[U-Boot] [PATCH 1/1] efi_loader: consistent build flags for EFI applications

2019-01-12 Thread Heinrich Schuchardt
At the same time adding and removing the -Os flag does not make any sense. Actually it leads to -Os not being used. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/Makefile | 2 +- lib/efi_selftest/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/efi_

[U-Boot] [PATCH] MTD: NAND: mxs_nand_init_dma: Make mxs_nand_init_dma static

2019-01-12 Thread Adam Ford
mxs_nand_init_dma is only referenced from mxs_nand.c. It's not referenced in any headers or outside code, so this patch defines it as static. Signed-off-by: Adam Ford diff --git a/drivers/mtd/nand/raw/mxs_nand.c b/drivers/mtd/nand/raw/mxs_nand.c index e3341812a2..82bd03868a 100644 --- a/drivers

[U-Boot] [PATCH 1/1] efi_loader: use u16* for file name

2019-01-12 Thread Heinrich Schuchardt
UTF-16 strings in our code should all be u16 *. Fix an inconsistency for file names which may lead to a warning for printf("%ls", ). Simon Glass Signed-off-by: Heinrich Schuchardt --- v2 additionally correct efi_selftest_block_device.c --- include/efi_api.h|

[U-Boot] [PATCH 1/1] disk: efi: GUIDs should be const

2019-01-12 Thread Heinrich Schuchardt
Make system_guid const. Signed-off-by: Heinrich Schuchardt --- disk/part_efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk/part_efi.c b/disk/part_efi.c index d6bb53e6b5..239455b816 100644 --- a/disk/part_efi.c +++ b/disk/part_efi.c @@ -66,7 +66,7 @@ static char *prin

[U-Boot] [PATCH 2/2] mach-snapdragon: db410: pinctrl: fix pin count

2019-01-12 Thread Ramon Fried
Pin count in APQ8016 was wrong, fix that. Fixes: ad97051b7ff6 ("mach-snapdragon: Introduce pinctrl driver") Signed-off-by: Ramon Fried --- arch/arm/mach-snapdragon/pinctrl-apq8016.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-snapdragon/pinctrl-apq801

[U-Boot] [PATCH 1/2] dts: db410: fix indentation

2019-01-12 Thread Ramon Fried
Signed-off-by: Ramon Fried --- arch/arm/dts/dragonboard410c-uboot.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/dragonboard410c-uboot.dtsi b/arch/arm/dts/dragonboard410c-uboot.dtsi index a07c97e811..9c1be2566f 100644 --- a/arch/arm/dts/dragonboard410c-ubo

[U-Boot] [PATCH v1 2/5] arm: mach-snapdragon: add pinctrl driver for db820c

2019-01-12 Thread Ramon Fried
Add pinctrl driver for Dragonboard820c, currently with only one mux func to initialize pins for serial console. Signed-off-by: Ramon Fried --- arch/arm/mach-snapdragon/Makefile | 5 +- arch/arm/mach-snapdragon/pinctrl-apq8096.c| 56 +++ arch/arm/mach-snapdragon/

[U-Boot] [PATCH v1 4/5] arm: mach-snapdragon: pinctrl: clarify gpio disable bit

2019-01-12 Thread Ramon Fried
The TLMM_GPIO_ENABLE bit is actually use to disable the GPIO. change it to TLMM_GPIO_DISABLE so it's clearer. Signed-off-by: Ramon Fried --- arch/arm/mach-snapdragon/pinctrl-snapdragon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-snapdragon/pinctrl-sna

[U-Boot] [PATCH v1 5/5] dts: 820c: Add pinctrl node and uart mux

2019-01-12 Thread Ramon Fried
* Add pinctrl node for TLMM and add mux request for uart node. * Rename uart to the actual board uart port. * Fix indentendation of sdhc2 node. Signed-off-by: Ramon Fried --- arch/arm/dts/dragonboard820c-uboot.dtsi | 10 - arch/arm/dts/dragonboard820c.dts| 29 +++

[U-Boot] [PATCH v1 1/5] arm: mach-snapdragon: db820c: Actually init PLL for serial

2019-01-12 Thread Ramon Fried
The PLL for the UART was not set, and relied on previous initializtion made by LK. add the appropriate initialization. Signed-off-by: Ramon Fried --- arch/arm/mach-snapdragon/clock-apq8096.c | 34 +++ .../include/mach/sysmap-apq8096.h | 9 + 2 files changed

[U-Boot] [PATCH v1 3/5] configs: dragonboard820c: Enable pinctrl/mux config

2019-01-12 Thread Ramon Fried
Signed-off-by: Ramon Fried --- configs/dragonboard820c_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/dragonboard820c_defconfig b/configs/dragonboard820c_defconfig index d1e0b77717..20a6ba9b61 100644 --- a/configs/dragonboard820c_defconfig +++ b/configs/dragonboard820c_

[U-Boot] [PATCH v1 0/5] db820: Add missing initialization for uart

2019-01-12 Thread Ramon Fried
Uart was lacking initialization of pinctrl & PLL's and relied on previous initialization from LK. Fix that. Ramon Fried (5): arm: mach-snapdragon: db820c: Actually init PLL for serial arm: mach-snapdragon: add pinctrl driver for db820c configs: dragonboard820c: Enable pinctrl/mux config a

Re: [U-Boot] dm: pinctrl: Prevent (re-)configuring pins when already done before relocation

2019-01-12 Thread Alex Kiernan
On Tue, Jan 8, 2019 at 11:24 PM Lukasz Majewski wrote: > > Hi Alex, > > > On Tue, Jan 8, 2019 at 10:52 PM Lukasz Majewski wrote: > > > > > > Hi Alex, > > > > > > > On Thu, Dec 27, 2018 at 3:49 PM Tom Rini > > > > wrote: > > > > > > > > > > On Tue, Dec 18, 2018 at 12:30:50PM +0100, Lukasz Majewsk