[U-Boot] [PATCH] mkimage: rockchip: add support for rk3328

2017-04-13 Thread Kever Yang
Add support for rk3328 package header in mkimage tool. Signed-off-by: Kever Yang --- tools/rkcommon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/rkcommon.c b/tools/rkcommon.c index 6cdb749..8803593 100644 --- a/tools/rkcommon.c +++ b/tools/rkcommon.c @@ -71,6 +71,7 @@ static stru

[U-Boot] [GIT PULL] Please pull u-boot-mmc master

2017-04-13 Thread Jaehoon Chung
Dear Tom, Could you pull these patches into u-boot/master? The following changes since commit 40a808f173008729a0c631ab84693b6a2b0dcfc9: ARCv2: SLC: Make sure busy bit is set properly on SLC flushing (2017-04-11 17:54:31 +0300) are available in the git repository at: git://git.denx.de/u-bo

[U-Boot] [PATCH v3 2/2] net: macb: Align the compatibles with kernel

2017-04-13 Thread Wenyou Yang
Add the compatibles to align with the kernel. Signed-off-by: Wenyou Yang Acked-by: Joe Hershberger --- Changes in v3: - Incorporate [PATCH] net: macb: align the compatibles with kernel. - Rebase on the latest commit (db40c1aa1c10) of master branch of u-boot-net. - Add Acked-by tag. Changes

[U-Boot] [PATCH v3 1/2] net: macb: Add remove callback

2017-04-13 Thread Wenyou Yang
To avoid the failure of mdio_register(), add the remove callback to unregister the mii_dev when removing the ethernet device. Signed-off-by: Wenyou Yang Acked-by: Joe Hershberger --- Changes in v3: None Changes in v2: - Rebase on v2017.03. drivers/net/macb.c | 45

[U-Boot] [PATCH v3 0/2] net: macb: Add remove callback and align the compatibles

2017-04-13 Thread Wenyou Yang
Add the remove callback to avoid the failure of mdio_register(), and add the compatibles to align with the kernel. Changes in v3: - Incorporate [PATCH] net: macb: align the compatibles with kernel. - Rebase on the latest commit (db40c1aa1c10) of master branch of u-boot-net. - Add Acked-by tag.

Re: [U-Boot] [PATCH] mmc: zynq_sdhci: improve debug print

2017-04-13 Thread Jaehoon Chung
On 04/14/2017 03:29 PM, Jaehoon Chung wrote: > On 04/03/2017 10:42 AM, Jean-Francois Dagenais wrote: >> When debugging dual SDHCI controller setup, printing strings and bank info >> is very helpful. >> >> Signed-off-by: Jean-Francois Dagenais > > This was delegated to Michal, but it's related to

Re: [U-Boot] [PATCH] mmc: zynq_sdhci: improve debug print

2017-04-13 Thread Jaehoon Chung
On 04/03/2017 10:42 AM, Jean-Francois Dagenais wrote: > When debugging dual SDHCI controller setup, printing strings and bank info > is very helpful. > > Signed-off-by: Jean-Francois Dagenais This was delegated to Michal, but it's related to mmc side. So i will change to delegate to me..and appl

Re: [U-Boot] [PATCH v6] mmc: gen_atmel_mci: add driver model support for mci

2017-04-13 Thread Jaehoon Chung
Hi Wenyou, On 04/13/2017 11:29 AM, Wenyou Yang wrote: > Add the driver model support for Atmel mci while retaining the > existing legacy code. This allows the driver to support boards > that have converted to driver model as well as those that have not. > > Signed-off-by: Wenyou Yang Applied to

Re: [U-Boot] [PATCH v7 3/3] odroid-c2: enable new Meson GX MMC driver in board defconfig

2017-04-13 Thread Jaehoon Chung
On 04/13/2017 03:32 AM, Heiner Kallweit wrote: > Enable new Meson GX MMC driver in Odroid C2 defconfig. > > Signed-off-by: Heiner Kallweit Applied to u-boot-mmc. Thanks! Best Regards, Jaehoon Chung > --- > v6: > - no changes > v7: > - rebased > --- > configs/odroid-c2_defconfig | 5 - > 1

Re: [U-Boot] [PATCH 0/2] Improve Raspberry Pi mmc writes.

2017-04-13 Thread Jaehoon Chung
On 04/02/2017 03:58 PM, Alex Deymo wrote: > When experimenting with fastboot from U-Boot on the Raspberry Pi 3 we > found that the writes to the sdcard are much more slow than when > accessing it from the userspace. These two patches speed up the write > and allow us to reliably write the sdcard fr

Re: [U-Boot] [PATCH v7 2/3] mmc: meson: add MMC driver for Meson GX (S905)

2017-04-13 Thread Jaehoon Chung
On 04/13/2017 03:30 AM, Heiner Kallweit wrote: > From: Carlo Caione > This driver implements MMC support on Meson GX (S905) based systems. > It's based on Carlo Caione's work, changes: > - BLK support added > - general refactoring > > Signed-off-by: Carlo Caione > Signed-off-by: Andreas Färber

Re: [U-Boot] [PATCH v7 1/3] arm: dts: update Meson GXBB / Odroid-C2 DT with recent Linux version

2017-04-13 Thread Jaehoon Chung
On 04/13/2017 03:28 AM, Heiner Kallweit wrote: > As a prerequisite for adding a Meson GX MMC driver update the > Meson GXBB / Odroid-C2 device tree in Uboot with the latest > version from Linux. > > Signed-off-by: Neil Armstrong > Signed-off-by: Carlo Caione > Signed-off-by: Andreas Färber > Si

[U-Boot] [PATCH v3 3/3] board: at91sam9263ek: Enable early debug UART

2017-04-13 Thread Wenyou Yang
Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang --- Changes in v3: - Rebase on the master branch (22e10be45) of u-boot-dm git tree. - Update the cover-letter Changes in v2: - Add [PATCH]: board: at91sam9263ek: En

[U-Boot] [PATCH v3 2/3] board: at91sam9263ek: Clean up code

2017-04-13 Thread Wenyou Yang
Because the introduction of the pinctrl and clk drivers and the device tree files, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang --- Changes in v3: None Changes in v2: None board/atmel/at91sam9263ek/at91sam9263ek.c | 59 ---

[U-Boot] [PATCH v3 1/3] configs: at91sam9263ek: Update for DT and DM support

2017-04-13 Thread Wenyou Yang
Update the configuration files to support the device tree and driver model. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Signed-off-by: Wenyou Yang --- Changes in v3: None Changes in v2: - Add converting UART to support DM_SERIAL and use

[U-Boot] [PATCH v3 0/3] board: at91sam9263ek: Convert to support DM and DT

2017-04-13 Thread Wenyou Yang
The purpose of the patch set is to convert the board to support the driver model and the device Tree. The patch set is based on the patch set: 1./ PATCH v2 0/6] ARM: dts: at91: Add dts files for AT91 SoCs' boards https://lists.denx.de/pipermail/u-boot/2017-April/287222.html 2./ [PATCH v6]

Re: [U-Boot] [PATCH v7 0/3] mmc: meson: add MMC support for Meson GX (S905)

2017-04-13 Thread Jaehoon Chung
Hi Heiner, On 04/13/2017 03:24 AM, Heiner Kallweit wrote: > This patch set implements eMMC on Amlogic Meson GX (S905). > It's based on Carlo Caione's work submitted here: > http://lists.denx.de/pipermail/u-boot/2016-May/254391.html > > Changes to the original version: > - BLK support added > - fu

[U-Boot] [PATCH v3 2/3] board: at91sam9rlek: Clean up code

2017-04-13 Thread Wenyou Yang
Since the introduction of the pinctrl and clk drivers and the device tree files, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang --- Changes in v3: None Changes in v2: None board/atmel/at91sam9rlek/at91sam9rlek.c | 19 --- 1 file changed,

[U-Boot] [PATCH v3 3/3] board: at91sam9rlek: Enable early debug UART

2017-04-13 Thread Wenyou Yang
Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang --- Changes in v3: - Rebase on the master branch (22e10be45) of u-boot-dm git tree. - Update the cover-letter. Changes in v2: - Add [PATCH]: board: at91sam9rlek: En

[U-Boot] [PATCH v3 1/3] configs: at91sam9rlek: Update for DT and DM support

2017-04-13 Thread Wenyou Yang
Update the configuration files to support the device tree and driver model. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Signed-off-by: Wenyou Yang --- Changes in v3: None Changes in v2: - Add converting UART to support DM_SERIAL and use

[U-Boot] [PATCH v3 0/3] board: at91sam9rlek: Convert to support DM and DT

2017-04-13 Thread Wenyou Yang
The purpose of the patch set is to convert the board to support the driver model and the device tree. The patch set is based on the patch set: 1./ PATCH v2 0/6] ARM: dts: at91: Add dts files for AT91 SoCs' boards https://lists.denx.de/pipermail/u-boot/2017-April/287222.html 2./ [PATCH v6]

[U-Boot] [PATCH v4 1/3] configs: at91sam9260ek/9g20ek: Update for DT and DM

2017-04-13 Thread Wenyou Yang
Update the configuration files to support the device tree and driver model. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Signed-off-by: Wenyou Yang --- Changes in v4: None Changes in v3: - Add the support of Atmel uart device be used in

[U-Boot] [PATCH v4 2/3] board: at91sam9260ek: Clean up code

2017-04-13 Thread Wenyou Yang
Since the introduction of the pinctrl and clk drivers and the device tree files, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang --- Changes in v4: None Changes in v3: None Changes in v2: None board/atmel/at91sam9260ek/at91sam9260ek.c | 74 --

[U-Boot] [PATCH v4 3/3] board: at91sam9260ek/9g20ek: Enable early debug UART

2017-04-13 Thread Wenyou Yang
Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang --- Changes in v4: - Rebase on the master branch (22e10be45) of u-boot-dm git tree. - Update the cover-letter. Changes in v3: - Move out [PATCH 1/3] ARM: dts: at91:

[U-Boot] [PATCH v4 0/3] board: at91sam9260ek/9g20ek: Convert to support DM and DT

2017-04-13 Thread Wenyou Yang
The purpose of the patch set is to convert the boards to support the driver model and the device tree. The patch set is based on the patch set: 1./ PATCH v2 0/6] ARM: dts: at91: Add dts files for AT91 SoCs' boards https://lists.denx.de/pipermail/u-boot/2017-April/287222.html 2./ [PATCH v6]

[U-Boot] [PATCH] ARM: uniphier: setup EHCI PHY paramters for LD11

2017-04-13 Thread Masahiro Yamada
Set the same PHY parameters as the Boot ROM uses. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/clk/clk-ld11.c | 9 + arch/arm/mach-uniphier/sg-regs.h | 1 + 2 files changed, 10 insertions(+) diff --git a/arch/arm/mach-uniphier/clk/clk-ld11.c b/arch/arm/mach-uniphier/

[U-Boot] [PATCH v3 3/3] board: at91sam9n12ek: Enable early debug UART

2017-04-13 Thread Wenyou Yang
Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang --- Changes in v3: - Rebase on the master branch (22e10be45) of u-boot-dm git tree. - Update the cover-letter. Changes in v2: - Use CONFIG_DEBUG_UART_CLOCK as the i

[U-Boot] [PATCH v3 2/3] board: at91sam9n12ek: Clean up code

2017-04-13 Thread Wenyou Yang
Since the introduction of the pinctrl and clk driver and the device tree files, remove unneeded related code from the board file. Signed-off-by: Wenyou Yang --- Changes in v3: None Changes in v2: None board/atmel/at91sam9n12ek/at91sam9n12ek.c | 53 --- 1 file change

[U-Boot] [PATCH v3 1/3] configs: at91sam9n12ek: Update for DT and DM support

2017-04-13 Thread Wenyou Yang
Update the configuration files to support the device tree and driver model. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Because the limitation of internal SRAM size, the SPL with driver model can't be supported, disable the SPL option. Si

[U-Boot] [PATCH v3 0/3] board: at91sam9n12ek: Convert to support DM and DT

2017-04-13 Thread Wenyou Yang
The purpose of the patch set is to convert the board to support the driver model and the device tree. The patch set is based on the patch and patch set: 1./ PATCH v2 0/6] ARM: dts: at91: Add dts files for AT91 SoCs' boards https://lists.denx.de/pipermail/u-boot/2017-April/287222.html 2./ [

[U-Boot] [PATCH v3 0/3] ARM: support System Reset via PSCI

2017-04-13 Thread Masahiro Yamada
For ARMv8, the secure firmware (ex. ARM Trusted Firmware BL31) is often implemented, making U-Boot a non-secure world boot loader. The secure firmware generally includes PSCI. The power management operations, including System Reset, are supposed to be handled by PSCI. In this case, U-Boot shoul

[U-Boot] [PATCH v3 3/3] sysreset: psci: support system reset in a generic way with PSCI

2017-04-13 Thread Masahiro Yamada
If the system is running PSCI firmware, the System Reset function (func ID: 0x8009) is supposed to be handled by PSCI, that is, the SoC/board specific reset implementation should be moved to PSCI. U-Boot should call the PSCI service according to the arm-smccc manner. The arm-smccc is supported

[U-Boot] [PATCH v3 1/3] ARM: import arm-smccc code from Linux 4.11-rc6

2017-04-13 Thread Masahiro Yamada
Imports ARM SMC Calling Convention code from Linux 4.11-rc6. The files have been copied as follows: [Linux] [U-Boot] arch/arm/kernel/smccc-call.S -> arch/arm/cpu/armv7/smccc-call.S arch/arm64/kernel/smccc-call.S -> arch/arm/cpu/armv8/smccc-call.S arch/arm/include/asm/op

[U-Boot] [PATCH v3 2/3] ARM: adjust arm-smccc code for use in U-Boot

2017-04-13 Thread Masahiro Yamada
Adjust ARM SMC Calling Convention code for U-Boot: - Replace the license block with SPDX - Change path to asm-offsets.h - Define UNWIND() as no-op - Add Kconfig entry - Add asm-offsets Signed-off-by: Masahiro Yamada --- Changes in v3: - opcodes-virt.h is GPL-2.0+ Changes in v2: -

[U-Boot] [PATCH v3 3/3] board: at91sam9m10g45ek: Enable early debug UART

2017-04-13 Thread Wenyou Yang
Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang --- Changes in v3: - Rebase on the master branch (22e10be45) of u-boot-dm git tree. - Update the cover-letter. Changes in v2: - Move out [PATCH] ARM: dts: at91: Add

[U-Boot] [PATCH v3 2/3] board: at91sam9m10g45ek: Clean up code

2017-04-13 Thread Wenyou Yang
Since the introduction of the pinctrl and clk drivers and the device tree files, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang --- Changes in v3: None Changes in v2: None board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 102 1

[U-Boot] [PATCH v3 1/3] configs: at91sam9m10g45ek: Update to support DM/DT

2017-04-13 Thread Wenyou Yang
Update the configuration files to support the device tree and driver model. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Because the limitation of internal SRAM size, the SPL with driver model can't be supported, disable the SPL option. Si

[U-Boot] [PATCH v3 0/3] board: at91sam9m10g45ek: Convert to support DM and DT

2017-04-13 Thread Wenyou Yang
The purpose of the patch set is to convert the board to support the driver model and the device tree. The patch set is based on the patch set: 1./ PATCH v2 0/6] ARM: dts: at91: Add dts files for AT91 SoCs' boards https://lists.denx.de/pipermail/u-boot/2017-April/287222.html 2./ [PATCH v6] m

[U-Boot] [PATCH] blackfin: ibf-dsp561: remove orphan Blackfin board

2017-04-13 Thread Masahiro Yamada
This is a Blackfin board that commit ea3310e8aafa ("Blackfin: Remove") missed to remove. Signed-off-by: Masahiro Yamada --- board/ibf-dsp561/Kconfig | 9 - board/ibf-dsp561/MAINTAINERS | 6 -- board/ibf-dsp561/Makefile | 12 board/ibf-dsp561/config.mk| 1

[U-Boot] [PATCH 1/2] cmd: remove Blackfin specific commands

2017-04-13 Thread Masahiro Yamada
These commands have no user since commit ea3310e8aafa ("Blackfin: Remove"). Signed-off-by: Masahiro Yamada --- cmd/Makefile | 6 -- cmd/bootldr.c| 170 - cmd/cplbinfo.c | 60 --- cmd/ldrinfo.c| 192

[U-Boot] [PATCH 2/2] drivers: remove Blackfin specific drivers

2017-04-13 Thread Masahiro Yamada
These drivers have no user since commit ea3310e8aafa ("Blackfin: Remove"). Signed-off-by: Masahiro Yamada --- drivers/block/Makefile |1 - drivers/block/pata_bfin.c| 1209 -- drivers/block/pata_bfin.h| 170 -- drivers/mmc/Makefile

[U-Boot] [PATCH] tools: moveconfig: remove GCC prefix of obsolete architecture

2017-04-13 Thread Masahiro Yamada
Recently, U-Boot removed support for these architectures. Signed-off-by: Masahiro Yamada --- tools/moveconfig.py | 7 --- 1 file changed, 7 deletions(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index 228d098..dcca0ec 100755 --- a/tools/moveconfig.py +++ b/tools/moveconfig.py

[U-Boot] [PATCH v4 2/3] board: at91sam9x5ek: Clean up code

2017-04-13 Thread Wenyou Yang
Since the introduction of the pinctrl and clock driver and the device tree files, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: - Remove Atmel mci related code. Changes in v2: None boar

[U-Boot] [PATCH v4 1/3] configs: at91sam9x5ek: Update to support DM/DT

2017-04-13 Thread Wenyou Yang
Update the configuration files to support the device tree and driver model. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Because the limitation of internal SRAM size, the SPL with driver model can't be supported, disable the SPL option. Si

[U-Boot] [PATCH v4 0/3] board: at91sam9x5ek: Convert to support DM and DT

2017-04-13 Thread Wenyou Yang
The purpose of the patch set is to convert the board to support the driver model and device tree. It is based on the patch set: 1./ PATCH v2 0/6] ARM: dts: at91: Add dts files for AT91 SoCs' boards https://lists.denx.de/pipermail/u-boot/2017-April/287222.html 2./ [PATCH v6] mmc: gen_atmel_m

[U-Boot] [PATCH v4 3/3] board: at91sam9x5ek: Enable early debug UART

2017-04-13 Thread Wenyou Yang
Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v4: - Rebase on the master branch (22e10be45) of u-boot-dm git tree. - Update the cover-letter. Changes in v3: - Use CONFIG

[U-Boot] [PATCH v2 5/6] ARM: dts: at91: Add dts files for at91sam9rlek

2017-04-13 Thread Wenyou Yang
The device tree source files of at91sam9rlek boards are copied from the Linux v4.10, do the changes as below. - Add the reg property for the pinctrl node. - Move the gpio (pioA, pioB, pioC, pioD) nodes as the pinctrl's slibling nodes, instead of the child nodes. - Add the "u-boot,dm-pre-reloc

[U-Boot] [PATCH v2 6/6] ARM: dts: at91: Add dts files for at91sam9263ek

2017-04-13 Thread Wenyou Yang
The device tree source files of at91sam9263ek boards are copied from the Linux v4.10, do the changes as below. - Add the reg property for the pinctrl node. - Move the gpio (pioA, pioB, pioC, pioD, pioE) nodes as the pinctrl's slibling nodes, instead of the child nodes. - Add the "u-boot,dm-pr

[U-Boot] [PATCH v2 4/6] ARM: dts: at91: Add dts files for at91sam9260ek/9g20ek

2017-04-13 Thread Wenyou Yang
The device tree source files of at91sam9g20ek and at91sam9260ek boards are copied from the Linux v4.10, do the changes below. - Fix the build error for the usb0 node. - Add the reg property for the pinctrl node. - Move the gpio (pioA, pioB, pioC ...) nodes as the pinctrl's slibling nodes, ins

[U-Boot] [PATCH v2 2/6] ARM: dts: at91: Add dts files for at91sam9n12ek

2017-04-13 Thread Wenyou Yang
The device tree source files of at91sam9n12ek boards are copied from the Linux v4.10, do the changes as below. - Add the reg property for the pinctrl node. - Move the gpio (pioA, pioB, pioC, pioD) nodes as the pinctrl's slibling nodes, instead of the child nodes. - Change the compatible of th

[U-Boot] [PATCH v2 3/6] ARM: dts: at91: Add dts files for at91sam9m10g45ek

2017-04-13 Thread Wenyou Yang
The device tree source files of at91sam9m10g45ek boards are copied from the Linux v4.10, do the changes as below. - Add the reg property for the pinctrl node. - Move the gpio (pioA, pioB, pioC, pioD, pioE) nodes as the pinctrl's slibling nodes, instead of the child nodes. - Add the "u-boot,dm

[U-Boot] [PATCH v2 1/6] ARM: dts: at91: Add dts files for at91sam9x5ek

2017-04-13 Thread Wenyou Yang
The device tree source files of at91sam9x5ek board are copied from the Linux v4.10, do the changes below. - Add the reg property for the pinctrl node. - Move the gpio (pioA, pioB, pioC ...) nodes as the pinctrl's slibling nodes, instead of the child nodes. - Add the "u-boot,dm-pre-reloc" prop

[U-Boot] [PATCH v2 0/6] ARM: dts: at91: Add dts files for AT91 SoCs' boards

2017-04-13 Thread Wenyou Yang
The device tree source files of AT91 SoCs's board are copied from the Linux v4.10, and have some changes. Changes in v2: - Rebase on the master branch (22e10be45) of u-boot-dm git tree. Wenyou Yang (6): ARM: dts: at91: Add dts files for at91sam9x5ek ARM: dts: at91: Add dts files for at91sam9

[U-Boot] [PATCH] QE: add QE support on SD boot

2017-04-13 Thread Zhao Qiang
modify u_qe_init to upload QE firmware from SD card when it is SD boot Signed-off-by: Zhao Qiang --- drivers/qe/qe.c | 34 +- include/configs/ls1043a_common.h | 4 include/configs/ls1043ardb.h | 7 --- 3 files changed, 37 insertions

[U-Boot] [PATCH v5 6/6] board: sama5d3_xplained: Enable early debug UART

2017-04-13 Thread Wenyou Yang
Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang --- Changes in v5: - Rebase on the master branch (22e10be45) of u-boot-dm git tree. - Update the cover-letter. Changes in v4: None Changes in v3: - Convert the macb

[U-Boot] [PATCH v5 5/6] board: sama5d3_xplained: Clean up code

2017-04-13 Thread Wenyou Yang
Due to the introduction of the pinctrl and clk driver, and using device tree files, remove the unneeded hardcoded pin configuration and clock enabling code from the board file. Signed-off-by: Wenyou Yang --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None board/

[U-Boot] [PATCH v5 3/6] board: sama5d3xek: Enable early debug UART

2017-04-13 Thread Wenyou Yang
Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None board/atmel/sama5d3xek/sama5d3xek.c| 13 - configs/sama5d3xek_mmc_

[U-Boot] [PATCH v5 4/6] board: sama5d3_xplained: Update to support DM/DT

2017-04-13 Thread Wenyou Yang
Update the configuration files to support the device tree and driver model, so do SPL. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Signed-off-by: Wenyou Yang --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2:

[U-Boot] [PATCH v5 1/6] board: sama5d3xek: Update to support DM/DT

2017-04-13 Thread Wenyou Yang
Update the configuration files to support the device tree and driver model, so do SPL. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Signed-off-by: Wenyou Yang --- Changes in v5: None Changes in v4: - Remove wrong using CONFIG_PHY_MICREL.

[U-Boot] [PATCH v5 2/6] board: sama5d3xek: Clean up code

2017-04-13 Thread Wenyou Yang
Due to the introduction of the pinctrl and clk driver, and using device tree files, remove the unneeded hardcoded pin configuration and clock enabling code from the board file. Signed-off-by: Wenyou Yang --- Changes in v5: None Changes in v4: - Remove the ethernet init code completely. Changes

[U-Boot] [PATCH v5 0/6] board: sama5d3: Convert to support DM/DT

2017-04-13 Thread Wenyou Yang
The purpose of patch set is to convert the boards to support device tree and driver model, and enable the early debug UART as well. It is based on the patch set: [PATCH v6] mmc: gen_atmel_mci: add driver model support for mci https://lists.denx.de/pipermail/u-boot/2017-April/287071.

Re: [U-Boot] [PATCH 1/2] imx-common: Enable ACTLR.SMP bit for i.MX cortex-a7 platforms

2017-04-13 Thread André Przywara
On 13/04/17 07:27, Peng Fan wrote: Hi, >> -Original Message- >> From: Stefano Babic [mailto:sba...@denx.de] >> Sent: Thursday, April 13, 2017 2:24 PM >> To: Peng Fan ; Stefano Babic >> Cc: van.free...@gmail.com; u-boot@lists.denx.de; andre.przyw...@arm.com; >> Albert ARIBAUD >> Subject:

[U-Boot] [PATCH] imx6_logic: Remove unnecessary definition.

2017-04-13 Thread Adam Ford
This removes CONFIG_STACKSIZE from imx6_logic. A recent commit removed references to CONFIG_STACKSIZE. This was done in parallel with the initial commit imx6_logic. It doesn't appear to be needed any longer, and keeping breaks the build. Signed-off-by: Adam Ford diff --git a/include/configs/im

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

2017-04-13 Thread Simon Glass
Hi Tom, Here with some DM changes as well as the long-standing AT91 DM/DT conversion patches which I have picked up via dm. The following changes since commit 40a808f173008729a0c631ab84693b6a2b0dcfc9: ARCv2: SLC: Make sure busy bit is set properly on SLC flushing (2017-04-11 17:54:31 +0300)

Re: [U-Boot] [PATCH v5 7/7] board: sama5d4ek: enable early debug UART

2017-04-13 Thread Simon Glass
On 12 April 2017 at 20:31, Wenyou Yang wrote: > Enable the early debug UART to debug problems when an ICE or other > debug mechanism is not available. > > Signed-off-by: Wenyou Yang > Reviewed-by: Andreas Bießmann > --- > > Changes in v5: > - Add the based patch set information. > > Changes in

Re: [U-Boot] [PATCHv2 01/21] net: cosmetic: Do not use magic values for ARP_HLEN

2017-04-13 Thread Simon Glass
On 10 April 2017 at 09:33, Olliver Schinagl wrote: > Previously overlooked magic value in commit a40db6d51171 ("net: cosmetic: Do > not use magic values for ARP_HLEN") > > Signed-off-by: Olliver Schinagl > --- > net/eth_common.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed

Re: [U-Boot] [PATCH v8 1/2] gpio: at91_gpio: remove CPU_HAS_PIO3 macro

2017-04-13 Thread Simon Glass
On 31 March 2017 at 22:21, Simon Glass wrote: > On 22 March 2017 at 22:44, Wenyou Yang wrote: >> The intention of the removal is the preparation to introduce the >> new AT91 PIO pinctrl driver. >> >> Use the union to make the PIO3 and PIO2's registers be together >> and make their offset aligned.

Re: [U-Boot] [PATCH v4 1/3] gpio: Kconfig: add CONFIG_AT91_GPIO option

2017-04-13 Thread Simon Glass
On 22 March 2017 at 22:46, Wenyou Yang wrote: > The CONFIG_AT91_GPIO option is used to select AT91 PIO GPIO driver. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass > Reviewed-by: Andreas Bießmann > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > drivers/gp

Re: [U-Boot] [PATCH v5 5/7] board: sama5d4ek: update to support DM/DT

2017-04-13 Thread Simon Glass
On 12 April 2017 at 20:31, Wenyou Yang wrote: > Update the configuration files to support the device tree and driver > model, so do SPL. The device clock and pins configuration are handled > by the clock and the pinctrl drivers respectively. > > Signed-off-by: Wenyou Yang > Reviewed-by: Andreas B

Re: [U-Boot] [PATCH v5 3/7] board: sama5d4_xplained: clean up code

2017-04-13 Thread Simon Glass
On 12 April 2017 at 20:31, Wenyou Yang wrote: > Due to the introduction of the pinctrl and clk driver, and using > device tree files, remove the unneeded hardcoded pin configuration > and clock enabling code from the board file. > > Signed-off-by: Wenyou Yang > Reviewed-by: Andreas Bießmann > --

Re: [U-Boot] [PATCH v8 2/2] pinctrl: at91: add pinctrl driver

2017-04-13 Thread Simon Glass
On 22 March 2017 at 22:44, Wenyou Yang wrote: > AT91 PIO controller is a combined gpio-controller, pin-mux and > pin-config module. The peripheral's pins are assigned through > per-pin based muxing logic. > > Each SoC will have to describe the its limitation and pin > configuration via device tree

Re: [U-Boot] [PATCH v4 2/3] gpio: at91_gpio: add the device tree support

2017-04-13 Thread Simon Glass
On 22 March 2017 at 22:46, Wenyou Yang wrote: > Add the device tree support. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass > Reviewed-by: Andreas Bießmann > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > drivers/gpio/at91_gpio.c | 15 +++ >

Re: [U-Boot] [PATCH v5 2/7] board: sama5d4_xplained: update to support DM/DT

2017-04-13 Thread Simon Glass
On 12 April 2017 at 20:31, Wenyou Yang wrote: > Update the configuration files to support the device tree and > driver model, so do SPL. The device clock and pins configuration > are handled by the clock and the pinctrl drivers respectively. > > Signed-off-by: Wenyou Yang > Reviewed-by: Andreas B

Re: [U-Boot] [PATCH v6 1/4] ARM: at91: dt: add dts files for sama5d3xek board

2017-04-13 Thread Simon Glass
On 23 March 2017 at 19:18, Wenyou Yang wrote: > Add the device tree files for sama5d3xek board. > > The dts files are copied from Linux-4.9, do the changes as below. > - add reg property for the pinctrl node. > - move the gpio nodes (pioA, pioB, pioC ...) as the pinctrl's >slibling nodes. >

Re: [U-Boot] [PATCH v6 4/4] ARM: dts: at91: add dts file for sama5d4ek

2017-04-13 Thread Simon Glass
On 23 March 2017 at 19:18, Wenyou Yang wrote: > Add the device tree file for sama5d4ek board. > > The dts file is copied from Linux-4.4, do the following changes. > - add the "u-boot,dm-pre-reloc" property to determine which nodes >which are needed by SPL and by the board_init_f stage. > - f

Re: [U-Boot] [PATCH v5 4/7] board: sama5d4_xplained: enable early debug UART

2017-04-13 Thread Simon Glass
On 12 April 2017 at 20:31, Wenyou Yang wrote: > Enable the early debug UART to debug problems when an ICE or other > debug mechanism is not available. > > Signed-off-by: Wenyou Yang > Reviewed-by: Andreas Bießmann > --- > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Change

Re: [U-Boot] [PATCH] core/uclass: Print name of device in uclass_find_device_by_seq()

2017-04-13 Thread Simon Glass
On 9 April 2017 at 13:27, Simon Glass wrote: > On 4 April 2017 at 11:46, Alexandru Gagniuc wrote: >> uclass_find_device_by_seq() prints seq and req_seq when debugging is >> enabled, but this information is not very useful by itself. Add the >> name of he driver to this information. This improves

Re: [U-Boot] [PATCH v3 2/2] mtd: nand: atmel: use another functions to set gpio value

2017-04-13 Thread Simon Glass
On 22 March 2017 at 22:55, Wenyou Yang wrote: > Because there isn't the implementation of gpio_set/get_value() > and gpio_set/get_value() after the at91 gpio driver is converted > to support the driver model, use at91_set_gpio_value() and > at91_get_gpio_value() > > Signed-off-by: Wenyou Yang > R

Re: [U-Boot] [PATCH v2 1/4] ARM: at91: spl: specify MMC and NAND boot device

2017-04-13 Thread Simon Glass
On 23 March 2017 at 21:34, Wenyou Yang wrote: > When OF_CONTROL is enabled, MMC boot device should not be detected > automatically, it should be MMC1 fixedly only the status "enabled" > is available. > > Add NAND Flash boot device as well. > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: N

Re: [U-Boot] [PATCH] buildman: Handle commit subjects containing unicode

2017-04-13 Thread Simon Glass
On 12 April 2017 at 18:52, Simon Glass wrote: > One of these has crept in in this commit: > > 40a808f1 ARCv2: SLC: Make sure busy bit is set properly on SLC flushing > > Adjust buildman to handle it. > > Signed-off-by: Simon Glass > --- > > tools/buildman/builder.py | 5 +++-- > 1 file changed,

Re: [U-Boot] [PATCH] fdtgrep: Copy with the /aliases node being last

2017-04-13 Thread Simon Glass
On 2 April 2017 at 19:05, Simon Glass wrote: > Hi Masahiro, > > On 2 April 2017 at 18:33, Masahiro Yamada > wrote: >> Hi Simon, >> >> >> 2017-04-03 3:26 GMT+09:00 Simon Glass : >>> With skeleton.dtsi being dropped it is more likely that the /aliases node >>> will be last in the device tree. Upda

Re: [U-Boot] [PATCH v2 2/4] ARM: spl: atmel: bring in serial device before init

2017-04-13 Thread Simon Glass
On 23 March 2017 at 21:34, Wenyou Yang wrote: > Before setting up the serial communications, bring in the serial > device from the device tree file. > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: None > > arch/arm/mach-at91/spl_atmel.c | 8 > 1 file changed, 8 insertions(+) Ap

Re: [U-Boot] [PATCHv2 02/21] net: core: Sanitize get/set operations for enetaddr

2017-04-13 Thread Simon Glass
On 10 April 2017 at 09:33, Olliver Schinagl wrote: > In the current net stack, we have a few functions to get and set > the "ethaddr" and "ethNaddr" environment variables, which use magic > values to get and set these environment variables. Remove the magicness > of the buffer by defining it prope

Re: [U-Boot] [PATCH v5 6/7] board: sama5d4ek: clean up code

2017-04-13 Thread Simon Glass
On 12 April 2017 at 20:31, Wenyou Yang wrote: > Due to the introduction of the pinctrl and clk driver, and using > device tree files, remove the unneeded hardcoded pin configuration > and clock enabling code from the board file. > > Signed-off-by: Wenyou Yang > Reviewed-by: Andreas Bießmann > --

Re: [U-Boot] [PATCH] dm: core: Ensure DMA regions start up with the cache clean

2017-04-13 Thread Simon Glass
On 4 April 2017 at 13:00, Simon Glass wrote: > There is a strange interaction with drivers which use DMA if the cache > starts off in a dirty state. Buffer space which the driver reads (but has > not previously written) can contain zero bytes from alloc_priv(). This can > cause corruption of the m

Re: [U-Boot] [PATCH v4 3/3] gpio: at91_gpio: add the clock support

2017-04-13 Thread Simon Glass
On 22 March 2017 at 22:46, Wenyou Yang wrote: > Add the clock support. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass > Reviewed-by: Andreas Bießmann > --- > > Changes in v4: > - Rebase on v2017.03. > > Changes in v3: > - Rebase on the master branch on git://git.denx.de/u-boot-atme

Re: [U-Boot] [PATCH v6 3/4] ARM: dts: at91: add dts files for sama5d4 Xplained

2017-04-13 Thread Simon Glass
On 23 March 2017 at 19:18, Wenyou Yang wrote: > Add the device tree files for sama5d4 Xplained board. > > The dts files are copied from Linux-4.4, do the following changes. > - add reg property for pinctrl node. > - move the gpio nodes(pioA, pioB, pioC ...) from the pinctrl child's >nodes to

Re: [U-Boot] [PATCH v5 1/7] configs: at91-sama5_common: fix for CONFIG_AT91_GPIO

2017-04-13 Thread Simon Glass
On 12 April 2017 at 20:31, Wenyou Yang wrote: > Add #ifndef CONFIG_DM_GPIO for CONFIG_AT91_GPIO define to avoid > the redefine compilation error. > > Signed-off-by: Wenyou Yang > Reviewed-by: Andreas Bießmann > --- > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in

Re: [U-Boot] [PATCH v6 2/4] ARM: at91: dt: add dts file for sama5d3 Xplained

2017-04-13 Thread Simon Glass
On 23 March 2017 at 19:18, Wenyou Yang wrote: > Add the device tree file for sama5d3 Xplained board. > > The dts files are copied from the Linux-4.9, do changes as below. > - add the "u-boot,dm-pre-reloc" property to determine which nodes >which are needed by SPL and by the board_init_f stage

Re: [U-Boot] [PATCH v2 3/4] ARM: spl: atmel: move mem_init() advance in SPL init.

2017-04-13 Thread Simon Glass
On 23 March 2017 at 21:34, Wenyou Yang wrote: > Because the MMC SPL puts the bbs section in the ddr memory, move > calling mem_init() before calling spl_init(). > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: None > > arch/arm/mach-at91/spl_atmel.c | 3 ++- > 1 file changed, 2 insertions

Re: [U-Boot] [PATCH v2 4/4] ARM: at91: lds: use "_image_binary_end" for DT location

2017-04-13 Thread Simon Glass
On 23 March 2017 at 21:34, Wenyou Yang wrote: > The MMC SPL locates the BSS section to a different memory region > from text, then use "_image_binary_end" variable to point to the > correct device tree location. > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: > - Drop [PATCH] ARM: at91:

Re: [U-Boot] [PATCH 2/2] dtoc: Decode val if it's a byte string

2017-04-13 Thread Simon Glass
On 31 March 2017 at 22:23, Simon Glass wrote: > On 30 March 2017 at 08:44, George McCollister > wrote: >> With Python 3.5.2 encode will throw an exception if val is a byte array. >> Decode it to a string first. This assumes it's utf-8, if it's not valid >> utf-8 it will throw an exception. >> >>

Re: [U-Boot] [PATCH] tools: allow to override python

2017-04-13 Thread Simon Glass
On 10 April 2017 at 02:08, Stefano Babic wrote: > On 09/04/2017 21:27, Simon Glass wrote: >> On 5 April 2017 at 09:46, Stefano Babic wrote: >>> Not force to use python from PATH. Issue was noted when building with >>> Yocto, because python from the distro is always taken instead of >>> python-nat

Re: [U-Boot] [PATCH] serial: ns16550: Link in the DM driver when when using platdata

2017-04-13 Thread Simon Glass
On 31 March 2017 at 22:23, Simon Glass wrote: > On 27 March 2017 at 13:54, Alexandru Gagniuc wrote: >> Do not condition the compilation of the U_BOOT_DRIVER by !OF_PLATDATA. >> This is inconsistent with the majority of other drivers. This also >> blocks OF_PLATDATA boards with an 16550-compatible

Re: [U-Boot] [PATCH v3 1/2] ARM: at91: gpio: fix at91_set_gpio_value() define

2017-04-13 Thread Simon Glass
On 31 March 2017 at 22:21, Simon Glass wrote: > On 22 March 2017 at 22:55, Wenyou Yang wrote: >> When the CONFIG_ATMEL_LEGACY is undefined, according to the following >> defines, at91_set_gpio_value() references to at91_set_pio_value(x, y) >> with two parameters. >> #define at91_set_gpio_value(x

Re: [U-Boot] [PATCH 1/2] patman: Convert byte arrays to strings

2017-04-13 Thread Simon Glass
On 31 March 2017 at 22:23, Simon Glass wrote: > On 30 March 2017 at 08:44, George McCollister > wrote: >> os.read() returns a byte array in Python 3.5.2 and needs to be converted >> into a string. Check if the returned value is an instance of bytes and >> if it is decode it as a utf-8 string. If

Re: [U-Boot] [PATCH 11/22] x86: acpi: Resume OS if resume vector is found

2017-04-13 Thread Simon Glass
Hi Bin, On 12 April 2017 at 02:14, Bin Meng wrote: > > Hi Simon, > > On Wed, Mar 22, 2017 at 4:06 AM, Simon Glass wrote: > > Hi Bin, > > > > On 16 March 2017 at 08:26, Bin Meng wrote: > >> In an S3 resume path, U-Boot does everything like a cold boot except > >> in the last_stage_init() it jump

[U-Boot] [PATCH 7/8] mips: bmips: fix ioremap for BCM6358

2017-04-13 Thread Álvaro Fernández Rojas
BCM6358 has its internal registers mapped to 0xfffe, which is changed to 0x1ffe when ioremap is called. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/include/asm/mach-generic/ioremap.h | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/arch/mips/inc

[U-Boot] [PATCH 8/8] mips: bmips: add support for raw .elf images

2017-04-13 Thread Álvaro Fernández Rojas
CFE supports loading .elf images instead of raw binaries. Signed-off-by: Álvaro Fernández Rojas --- Makefile | 22 ++ arch/mips/cpu/u-boot-elf.lds | 10 ++ 2 files changed, 32 insertions(+) create mode 100644 arch/mips/cpu/u-boot-elf.lds diff --g

[U-Boot] [PATCH 4/8] serial: add serial driver for BCM6345

2017-04-13 Thread Álvaro Fernández Rojas
It is based on linux/drivers/tty/serial/bcm63xx_uart.c Signed-off-by: Álvaro Fernández Rojas --- drivers/serial/Kconfig | 14 ++ drivers/serial/Makefile | 1 + drivers/serial/serial_bcm6345.c | 341 3 files changed, 356 insertions(+)

  1   2   >