[U-Boot] [PATCH 1/5] mmc: dw_mmc: rockchip: select proper card clock

2017-04-16 Thread Ziyuan Xu
As you know, biu_clk is used for AMBA AHB/APB interface, ciu_clk is used for communication between host and card devices. The real bus clock is ciu, so let's rectify it. Signed-off-by: Ziyuan Xu --- drivers/mmc/rockchip_dw_mmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --

[U-Boot] [PATCH 2/5] rockchip: clk: rk3036: add ciu_clk entry for eMMC/SDIO

2017-04-16 Thread Ziyuan Xu
The genunie bus clock is sclk_x for eMMC/SDIO, add support for it. Signed-off-by: Ziyuan Xu --- drivers/clk/rockchip/clk_rk3036.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/clk/rockchip/clk_rk3036.c b/drivers/clk/rockchip/clk_rk3036.c index 7e3bf96..d866d0b 100644 --- a/d

[U-Boot] [PATCH 3/5] rockchip: clk: rk3188: add ciu_clk entry for eMMC/SDMMC/SDIO

2017-04-16 Thread Ziyuan Xu
The genunie bus clock is sclk_x for eMMC/SDMMC/SDIO, add support for it. Signed-off-by: Ziyuan Xu --- drivers/clk/rockchip/clk_rk3188.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/clk/rockchip/clk_rk3188.c b/drivers/clk/rockchip/clk_rk3188.c index d36cf8f..b32491d

[U-Boot] [PATCH 5/5] rockchip: clk: rk3328: add ciu_clk entry for eMMC/SDMMC

2017-04-16 Thread Ziyuan Xu
The genunie bus clock is sclk_x for eMMC/SDMMC, add support for it. Signed-off-by: Ziyuan Xu --- drivers/clk/rockchip/clk_rk3328.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/clk/rockchip/clk_rk3328.c b/drivers/clk/rockchip/clk_rk3328.c index 0ff1e30..8ec1574 100644 ---

[U-Boot] [PATCH 4/5] rockchip: clk: rk3288: add ciu_clk entry for eMMC/SDMMC/SDIO

2017-04-16 Thread Ziyuan Xu
The genunie bus clock is sclk_x for eMMC/SDMMC/SDIO, add support for it. Signed-off-by: Ziyuan Xu --- drivers/clk/rockchip/clk_rk3288.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/clk/rockchip/clk_rk3288.c b/drivers/clk/rockchip/clk_rk3288.c index 7835676..fc369dd

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

2017-04-16 Thread Alexander Graf
On 16.04.17 04:09, Heinrich Schuchardt wrote: On 04/15/2017 11:51 PM, Andreas Färber wrote: Am 15.04.2017 um 23:16 schrieb Andreas Färber: Am 15.04.2017 um 23:04 schrieb Alexander Graf: Am 15.04.2017 um 22:34 schrieb Andreas Färber : Am 15.04.2017 um 20:27 schrieb Alexander Graf: On 15.04.

[U-Boot] [PATCH v2 3/7] mtd: nand: Consolidate nand spl loaders implementation

2017-04-16 Thread Ladislav Michl
nand_spl_load_image implementation was copied over into three different drivers and now with nand_spl_read_block used for ubispl situation gets even worse. For now use least intrusive solution and #include the same implementation to nand drivers. Signed-off-by: Ladislav Michl Tested-by: Pau Pajue

Re: [U-Boot] [PATCH v2 14/14] u-boot.elf: build it for every arch

2017-04-16 Thread Daniel Schwierzeck
+cc more people involved with ARM note: purpose of this patch is to provide an u-boot.elf binary for Broadcom MIPS platforms by re-using the already existing Makefile target for aarch64. This u-boot.elf binary should be used as a stage 2 loader until U-Boot can be replace the original Broadcom boo

[U-Boot] [U-Boot PATCH V2 0/8] introduce Rockchip rockusb

2017-04-16 Thread Eddie Cai
rockusb is a protocol run between host pc and device. it help people get device info, flash image to device. this patch implement rockusb on device side Eddie Cai (8): usb: ums: split macro and data struct in f_mass_storage.c usb: ums: merge storage_common.c into f_mass_storage.c usb: ums: r

[U-Boot] [U-Boot PATCH V2 1/8] usb: ums: split macro and data struct in f_mass_storage.c

2017-04-16 Thread Eddie Cai
split the macro and data struct in f_mass_storage.c to f_mass_storage.h Signed-off-by: Eddie Cai --- drivers/usb/gadget/f_mass_storage.c | 108 - include/f_mass_storage.h| 116 2 files changed, 116 insertions(+), 10

[U-Boot] [U-Boot PATCH V2 2/8] usb: ums: merge storage_common.c into f_mass_storage.c

2017-04-16 Thread Eddie Cai
storage_common.c is only used by f_mass_storage. so merge it. Signed-off-by: Eddie Cai --- drivers/usb/gadget/f_mass_storage.c | 222 - drivers/usb/gadget/storage_common.c | 238 2 files changed, 221 insertions(+), 239 deletion

[U-Boot] [U-Boot PATCH V2 3/8] usb: ums: remove static declaration of some ums functions

2017-04-16 Thread Eddie Cai
remove static declaration of some functions. so these functions can be called by other module Signed-off-by: Eddie Cai --- drivers/usb/gadget/f_mass_storage.c | 4 ++-- include/f_mass_storage.h| 7 +++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/usb/gad

[U-Boot] [U-Boot PATCH V2 4/8] usb: ums: add functions to set and get usb interface descriptor

2017-04-16 Thread Eddie Cai
add functions to set and get usb interface descriptor, so people can customize usb interface descriptor Signed-off-by: Eddie Cai --- drivers/usb/gadget/f_mass_storage.c | 18 ++ include/f_mass_storage.h| 2 ++ 2 files changed, 20 insertions(+) diff --git a/drivers/u

[U-Boot] [U-Boot PATCH V2 6/8] cmd: add rockusb command

2017-04-16 Thread Eddie Cai
this patch add rockusb command. the usage is rockusb [] e.g. rockusb 0 mmc 0 Signed-off-by: Eddie Cai --- cmd/Kconfig | 5 + cmd/Makefile | 1 + cmd/rockusb.c | 383 ++ 3 files changed, 389 insertions(+) create mode 100644 cmd/roc

[U-Boot] [U-Boot PATCH V2 5/8] usb: ums: add do_extra_command

2017-04-16 Thread Eddie Cai
add do_extra_command to let people deal with customized command Signed-off-by: Eddie Cai --- drivers/usb/gadget/f_mass_storage.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/usb/gadget/f_mass_storage.c b/drivers/usb/gadget/f_mass_storage.c index 333f069..d4

[U-Boot] [U-Boot PATCH V2 8/8] rockusb: add a simple readme

2017-04-16 Thread Eddie Cai
add a simple readme to introduce rockusb and tell people how to use it Signed-off-by: Eddie Cai --- doc/README.rockusb | 35 +++ 1 file changed, 35 insertions(+) create mode 100644 doc/README.rockusb diff --git a/doc/README.rockusb b/doc/README.rockusb new file

[U-Boot] [U-Boot PATCH V2 7/8] rockchip: config: enable rockusb support on rk3288 based board

2017-04-16 Thread Eddie Cai
all rk3288 based boards support rockusb, so enable it Signed-off-by: Eddie Cai --- configs/evb-rk3288_defconfig | 2 ++ configs/fennec-rk3288_defconfig | 1 + configs/firefly-rk3288_defconfig | 1 + configs/miqi-rk3288_defconfig | 1 + configs/popmetal-rk3288_defconfig | 1 + configs

[U-Boot] [U-Boot PATCH V2 0/9] introduce Rockchip rockusb

2017-04-16 Thread Eddie Cai
rockusb is a protocol run between host pc and device. it help people get device info, flash image to device. this patch implement rockusb on device side. Eddie Cai (9): usb: ums: split macro and data struct in storage_common.c usb: ums: split macro and data struct in f_mass_storage.c usb: um

[U-Boot] [U-Boot PATCH V2 3/9] usb: ums: merge storage_common.c into f_mass_storage.c

2017-04-16 Thread Eddie Cai
storage_common.c is only used by f_mass_storage. so merge it. Signed-off-by: Eddie Cai --- drivers/usb/gadget/f_mass_storage.c | 222 - drivers/usb/gadget/storage_common.c | 238 2 files changed, 221 insertions(+), 239 deletion

[U-Boot] [U-Boot PATCH V2 1/9] usb: ums: split macro and data struct in storage_common.c

2017-04-16 Thread Eddie Cai
split the macro and data struct in storage_common.c to f_mass_storage.h Signed-off-by: Eddie Cai --- drivers/usb/gadget/storage_common.c | 380 +- include/f_mass_storage.h| 393 2 files changed, 394 insertions(+), 3

[U-Boot] [U-Boot PATCH V2 7/9] cmd: add rockusb command

2017-04-16 Thread Eddie Cai
this patch add rockusb command. the usage is rockusb [] e.g. rockusb 0 mmc 0 Signed-off-by: Eddie Cai --- cmd/Kconfig | 5 + cmd/Makefile | 1 + cmd/rockusb.c | 383 ++ 3 files changed, 389 insertions(+) create mode 100644 cmd/roc

[U-Boot] [U-Boot PATCH V2 5/9] usb: ums: add functions to set and get usb interface descriptor

2017-04-16 Thread Eddie Cai
add functions to set and get usb interface descriptor, so people can customize usb interface descriptor Signed-off-by: Eddie Cai --- drivers/usb/gadget/f_mass_storage.c | 18 ++ include/f_mass_storage.h| 2 ++ 2 files changed, 20 insertions(+) diff --git a/drivers/u

[U-Boot] [U-Boot PATCH V2 2/9] usb: ums: split macro and data struct in f_mass_storage.c

2017-04-16 Thread Eddie Cai
split the macro and data struct in f_mass_storage.c to f_mass_storage.h Signed-off-by: Eddie Cai --- drivers/usb/gadget/f_mass_storage.c | 108 - include/f_mass_storage.h| 116 2 files changed, 116 insertions(+), 10

[U-Boot] [U-Boot PATCH V2 8/9] rockchip: config: enable rockusb support on rk3288 based board

2017-04-16 Thread Eddie Cai
all rk3288 based boards support rockusb, so enable it Signed-off-by: Eddie Cai --- configs/evb-rk3288_defconfig | 2 ++ configs/fennec-rk3288_defconfig | 1 + configs/firefly-rk3288_defconfig | 1 + configs/miqi-rk3288_defconfig | 1 + configs/popmetal-rk3288_defconfig | 1 + configs

[U-Boot] [U-Boot PATCH V2 4/9] usb: ums: remove static declaration of some ums functions

2017-04-16 Thread Eddie Cai
remove static declaration of some functions. so these functions can be called by other module Signed-off-by: Eddie Cai --- drivers/usb/gadget/f_mass_storage.c | 4 ++-- include/f_mass_storage.h| 7 +++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/usb/gad

[U-Boot] [U-Boot PATCH V2 6/9] usb: ums: add do_extra_command

2017-04-16 Thread Eddie Cai
add do_extra_command to let people deal with customized command Signed-off-by: Eddie Cai --- drivers/usb/gadget/f_mass_storage.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/usb/gadget/f_mass_storage.c b/drivers/usb/gadget/f_mass_storage.c index 333f069..d4

[U-Boot] [U-Boot PATCH V2 9/9] rockusb: add a simple readme

2017-04-16 Thread Eddie Cai
add a simple readme to introduce rockusb and tell people how to use it Signed-off-by: Eddie Cai --- doc/README.rockusb | 35 +++ 1 file changed, 35 insertions(+) create mode 100644 doc/README.rockusb diff --git a/doc/README.rockusb b/doc/README.rockusb new file

Re: [U-Boot] [U-Boot PATCH V2 1/8] usb: ums: split macro and data struct in f_mass_storage.c

2017-04-16 Thread Michael Nazzareno Trimarchi
Hi Eddie Please add a cover letter that describe your changes. Comments follow On Sun, Apr 16, 2017 at 5:48 PM, Eddie Cai wrote: > split the macro and data struct in f_mass_storage.c to f_mass_storage.h > > Signed-off-by: Eddie Cai > --- > drivers/usb/gadget/f_mass_storage.c | 108

Re: [U-Boot] [U-Boot PATCH V2 0/8] introduce Rockchip rockusb

2017-04-16 Thread Michael Nazzareno Trimarchi
Hi On Sun, Apr 16, 2017 at 5:48 PM, Eddie Cai wrote: > rockusb is a protocol run between host pc and device. it help people get > device > info, flash image to device. this patch implement rockusb on device side > > Eddie Cai (8): > usb: ums: split macro and data struct in f_mass_storage.c >

Re: [U-Boot] [U-Boot PATCH V2 0/8] introduce Rockchip rockusb

2017-04-16 Thread Marek Vasut
On 04/16/2017 05:48 PM, Eddie Cai wrote: > rockusb is a protocol run between host pc and device. it help people get > device > info, flash image to device. this patch implement rockusb on device side What's the difference between these two series? [U-Boot PATCH V2 0/9] introduce Rockchip rockusb

Re: [U-Boot] [PATCH 1/1] musb: properly detect failed initialization of controller

2017-04-16 Thread Marek Vasut
On 04/15/2017 01:46 PM, Heinrich Schuchardt wrote: > We want to check the result of musb_init_controller > and not the address were the result is stored. > > Signed-off-by: Heinrich Schuchardt Applied, thanks! > --- > drivers/usb/musb-new/musb_uboot.c | 2 +- > 1 file changed, 1 insertion(+),

Re: [U-Boot] [PATCH 1/1] usbtty: avoid potential NULL pointer dereference

2017-04-16 Thread Marek Vasut
On 04/15/2017 03:05 PM, Heinrich Schuchardt wrote: > If current_urb is NULL it should not be dereferenced. > > The problem was indicated by cppcheck. > > Signed-off-by: Heinrich Schuchardt Applied, thanks. > --- > drivers/serial/usbtty.c | 13 +++-- > 1 file changed, 7 insertions(+),

Re: [U-Boot] [RFC 1/1] usb: musb: avoid out of bound access in udc_setup_ep

2017-04-16 Thread Marek Vasut
On 04/15/2017 02:29 PM, Heinrich Schuchardt wrote: > For id = 15 an out of bound access occurs in udc_setup_ep(). > Increase the size of epinfo[] from 30 to 32 to encompass > ids 0..15. > > The problem was highlighted by cppcheck. > > Signed-off-by: Heinrich Schuchardt Applied, thanks. > --- >

Re: [U-Boot] [PATCH 1/2] rockchip: config: rk3399: clean with make savedefconfig

2017-04-16 Thread Simon Glass
On 11 April 2017 at 21:54, Kever Yang wrote: > Clean the evb-rk3399_defconfig with make savedefconfig. > > Signed-off-by: Kever Yang > --- > > configs/evb-rk3399_defconfig | 14 +- > 1 file changed, 5 insertions(+), 9 deletions(-) > Acked-by: Simon Glass ___

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 02:11, Wenyou Yang wrote: > 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, i

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 02:12, Wenyou Yang wrote: > 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, in

Re: [U-Boot] [PATCH] rockchip: rk3399: use regulators_enable_boot_on() to init regulator

2017-04-16 Thread Simon Glass
On 11 April 2017 at 22:00, Kever Yang wrote: > Use regulators_enable_boot_on() instead of init regulators one by one, > the interface can init all the regulators with regulator-boot-on property. > > Signed-off-by: Kever Yang > --- > > board/rockchip/evb_rk3399/evb-rk3399.c | 5 ++--- > 1 file ch

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 02:12, Wenyou Yang wrote: > 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

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:23, Wenyou Yang wrote: > 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 v2: > - Add c

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:03, Wenyou Yang wrote: > 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 driv

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

2017-04-16 Thread Simon Glass
On 13 April 2017 at 20:49, 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 > --- > > Changes in v3: > - Rebase on the master branch (22e10be45) of u-boot-dm git tree. > - Update the cover-

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 02:12, Wenyou Yang wrote: > 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

Re: [U-Boot] [PATCH 2/5] rockchip: clk: rk3036: add ciu_clk entry for eMMC/SDIO

2017-04-16 Thread Simon Glass
On 16 April 2017 at 03:44, Ziyuan Xu wrote: > The genunie bus clock is sclk_x for eMMC/SDIO, add support for it. > > Signed-off-by: Ziyuan Xu > --- > > drivers/clk/rockchip/clk_rk3036.c | 5 + > 1 file changed, 5 insertions(+) Acked-by: Simon Glass _

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:14, 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 > --- > > Changes in v3: > - Move out [PATCH 1/3] ARM: dts: at91: add dts file for > at91sam9g20/at91sam9260. >

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:23, Wenyou Yang wrote: > 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 v2: None > > board/atmel/at91sam9263ek/at91sam92

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

2017-04-16 Thread Simon Glass
Hi Masahiro, On 12 April 2017 at 20:39, Masahiro Yamada wrote: > 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 PS

Re: [U-Boot] [PATCH v5 04/16] disk: part: prepare_backup_gpt_header rework

2017-04-16 Thread Simon Glass
On 13 April 2017 at 03:52, Patrick Delaunay wrote: > inverse the order of my_lba and alternate_lba values switch value > => alternate_lba can be used in partition entry computation > > Signed-off-by: Patrick Delaunay > Reviewed-by: Christophe KERELLO > --- > > Changes in v5: None > Changes in v4

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:18, 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 > --- > > Changes in v2: > - Add [PATCH]: board: at91sam9rlek: Enable early debug UART. > - Move out [PATCH]: ARM

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 02:12, Wenyou Yang wrote: > 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 no

Re: [U-Boot] [PATCH v5 06/16] disk: part: efi: export internal function

2017-04-16 Thread Simon Glass
On 13 April 2017 at 03:52, Patrick Delaunay wrote: > export the needed functions for GPT over MTD > > Signed-off-by: Patrick Delaunay > Reviewed-by: Christophe KERELLO > --- > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > disk/part_efi.c | 32 ++

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:18, Wenyou Yang wrote: > 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 v2: > - Add c

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

2017-04-16 Thread Simon Glass
On 13 April 2017 at 19:11, Wenyou Yang wrote: > 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

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:18, Wenyou Yang wrote: > 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 v2: None > > board/atmel/at91sam9rlek/at91sam9rlek

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 02:11, Wenyou Yang wrote: > 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

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

2017-04-16 Thread Simon Glass
On 13 April 2017 at 19:59, Wenyou Yang wrote: > 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/at9

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:14, Wenyou Yang wrote: > 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: > - Add t

Re: [U-Boot] [PATCH 1/2] rockchip: dts: rk3399: sync with kernel dts

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:49, Kever Yang wrote: > The kernel dts has update a lot since the first time we commit rk3399.dtsi, > sync with kernel for further development. > Could you also include which kernel version or commit? > Signed-off-by: Kever Yang > --- > > arch/arm/dts/rk3399.dtsi

Re: [U-Boot] [PATCH v5 09/16] cmd: gpt: use error number in set_gpt_info

2017-04-16 Thread Simon Glass
On 13 April 2017 at 03:52, Patrick Delaunay wrote: > -1 => -ENOENT : "No partition list provided" > -2 => -EBADF : "Missing disk guid" > -3 => -EFAULT & > -4 => -EINVAL : "Partition list incomplete" > > Signed-off-by: Patrick Delaunay > Reviewed-by: Christophe KERELLO > --- > > Changes in v5: No

Re: [U-Boot] [PATCH v5 08/16] cmd: gpt: remove blk_desc parameter in static function

2017-04-16 Thread Simon Glass
On 13 April 2017 at 03:52, Patrick Delaunay wrote: > Signed-off-by: Patrick Delaunay > --- > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > cmd/gpt.c | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) Reviewed-by: Simon Glass Pl

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

2017-04-16 Thread Simon Glass
On 13 April 2017 at 19:11, Wenyou Yang wrote: > 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, i

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:03, Wenyou Yang wrote: > 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 v2: None > > board/atmel/at91sam9m10g45ek/at91sam9

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

2017-04-16 Thread Simon Glass
On 13 April 2017 at 20:49, Wenyou Yang wrote: > 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/at9

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

2017-04-16 Thread Simon Glass
On 13 April 2017 at 21:07, Wenyou Yang wrote: > 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/a

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:08, Wenyou Yang wrote: > 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 driv

Re: [U-Boot] [PATCH v5 10/16] cmd: gpt: add print_gpt_info_err

2017-04-16 Thread Simon Glass
On 13 April 2017 at 03:52, Patrick Delaunay wrote: Commit message here > Signed-off-by: Patrick Delaunay > Reviewed-by: Christophe KERELLO > --- > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > cmd/gpt.c | 23 --- > 1 file chang

Re: [U-Boot] [PATCH] rockchip: rk3399: use actual dram size

2017-04-16 Thread Simon Glass
On 12 April 2017 at 04:38, Kever Yang wrote: > Since our sdram driver is ready, we can use the actual size > instead of hard code. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3399/sdram_rk3399.c | 8 > board/rockchip/evb_rk3399/evb-rk3399.c | 19 +

Re: [U-Boot] [PATCH v5 05/16] disk: part: compute partition_entry_lba

2017-04-16 Thread Simon Glass
On 13 April 2017 at 03:52, Patrick Delaunay wrote: > the value for partition_entry_lba of secondary GPT (last usable lba + 1) > is not correct with MTD support as last usable LBA need to be erase size > aligned > > The correct location of partition entry is always recomputed with > the formula : >

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

2017-04-16 Thread Simon Glass
On 13 April 2017 at 19:11, Wenyou Yang wrote: > 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

Re: [U-Boot] [PATCH 5/5] rockchip: clk: rk3328: add ciu_clk entry for eMMC/SDMMC

2017-04-16 Thread Simon Glass
On 16 April 2017 at 03:44, Ziyuan Xu wrote: > The genunie bus clock is sclk_x for eMMC/SDMMC, add support for it. > > Signed-off-by: Ziyuan Xu > --- > > drivers/clk/rockchip/clk_rk3328.c | 8 > 1 file changed, 8 insertions(+) Acked-by: Simon Glass _

Re: [U-Boot] [PATCH v2 01/14] cmd: cpu: fix NULL cpu feature prints

2017-04-16 Thread Simon Glass
On 15 April 2017 at 16:03, Álvaro Fernández Rojas wrote: > Commit 740d5d3 added two new features but only one feature name, > which results in NULL prints when device_id feature is selected. > > Before: > HG556a # cpu detail > -1: cpu@0 BCM6358A1 > ID = 0, fre

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:23, 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 > --- > > Changes in v2: > - Add [PATCH]: board: at91sam9263ek: Enable early debug UART. > - Move out [PATCH] ARM

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

2017-04-16 Thread Simon Glass
On 14 April 2017 at 04:27, Heinrich Schuchardt wrote: > As a prerequisite for adding a Meson GX MMC driver update the > Meson GXBB / Odroid-C2 device tree in Uboot with the latest U-Boot > version from Linux. It's a good idea to indicate which version (or commit) of Linux > > Signed-off-by: Ne

Re: [U-Boot] [PATCH V2 08/12] gpio: 74x164: make oe-pins optional

2017-04-16 Thread Simon Glass
On 13 April 2017 at 00:09, Peng Fan wrote: > Make oe-pins optional because some boards have fixed it to enable. > > Signed-off-by: Peng Fan > Cc: Simon Glass > Cc: Stefano Babic > --- > > V2: > None > > drivers/gpio/74x164_gpio.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Revi

Re: [U-Boot] [PATCH v2 06/14] ram: add RAM driver for Broadcom MIPS SoCs

2017-04-16 Thread Simon Glass
On 15 April 2017 at 16:03, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > v2: Introduce changes suggested by Daniel Schwierzeck: > - Split BMIPS support patches. > > drivers/ram/Makefile| 2 + > drivers/ram/bmips_ram.c | 126 >

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

2017-04-16 Thread Simon Glass
On 13 April 2017 at 19:59, 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 > --- > > Changes in v3: > - Rebase on the master branch (22e10be45) of u-boot-dm git tree. > - Update the cover-

Re: [U-Boot] [PATCH v5 03/16] disk: part: refactor part_get_info_efi to prepare GPT over MTD

2017-04-16 Thread Simon Glass
On 13 April 2017 at 03:52, Patrick Delaunay wrote: > create sub-functions part_get_disk_info() > > Signed-off-by: Patrick Delaunay > Reviewed-by: Christophe KERELLO > --- > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > disk/part_efi.c | 49 +

Re: [U-Boot] [PATCH v2 03/14] MIPS: allow using generic sysreset drivers

2017-04-16 Thread Simon Glass
On 15 April 2017 at 16:03, Álvaro Fernández Rojas wrote: > Avoid duplicating do_reset definition if SYSRESET is enabled for MIPS > > Signed-off-by: Álvaro Fernández Rojas > --- > v2: no changes > > arch/mips/cpu/cpu.c | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v5 11/16] cmd: gpt: update write command to support GPT over MTD

2017-04-16 Thread Simon Glass
On 13 April 2017 at 03:52, Patrick Delaunay wrote: > support gpt write for MTD device >> gpt write nand 0 >> gpt write nor 0 > > And verify is not yet supported for MTD device > > Signed-off-by: Patrick Delaunay > Reviewed-by: Christophe KERELLO > --- > > Changes in v5: None > Changes in v4: Non

Re: [U-Boot] [PATCH v2 1/1] meson: gxbb: change ramdisk_addr_r

2017-04-16 Thread Simon Glass
On 14 April 2017 at 12:04, Heinrich Schuchardt wrote: > 0x1000 is the start of a 2 MiB area used by the > ARM Trusted Firmware (BL31). > > See > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/arch/arm64/boot/dts/amlogic/meson-gx.dtsi?id=refs/tags/v4.10.10 > > So w

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

2017-04-16 Thread Simon Glass
On 13 April 2017 at 20:32, Wenyou Yang wrote: > 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: Non

Re: [U-Boot] rockchip: rk3288: grf: FIX the correct gmac tx_delay shift

2017-04-16 Thread Simon Glass
On 14 April 2017 at 03:24, Dr. Philipp Tomsich wrote: > >> On 14 Apr 2017, at 11:02, David Wu wrote: >> >> If the tx_delay is not enabled, the RGMII/1000M can't work. >> >> Signed-off-by: David Wu >> --- >> arch/arm/include/asm/arch-rockchip/grf_rk3288.h | 2 +- >> 1 file changed, 1 insertion(+),

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

2017-04-16 Thread Simon Glass
On 13 April 2017 at 19:11, Wenyou Yang wrote: > 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

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

2017-04-16 Thread Simon Glass
Hi Alex, On 16 April 2017 at 04:08, Alexander Graf wrote: > > > On 16.04.17 04:09, Heinrich Schuchardt wrote: >> >> On 04/15/2017 11:51 PM, Andreas Färber wrote: >>> >>> Am 15.04.2017 um 23:16 schrieb Andreas Färber: Am 15.04.2017 um 23:04 schrieb Alexander Graf: >> >> Am 15.04.

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

2017-04-16 Thread Simon Glass
On 13 April 2017 at 19:59, Wenyou Yang wrote: > 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 driv

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

2017-04-16 Thread Simon Glass
On 13 April 2017 at 19:54, Masahiro Yamada wrote: > 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 -

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

2017-04-16 Thread Simon Glass
On 13 April 2017 at 20:32, 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 > --- > > Changes in v4: > - Rebase on the master branch (22e10be45) of u-boot-dm git tree. > - Update the cover-

Re: [U-Boot] [PATCH] rockchip: reserve memory for rk3399 ATF data

2017-04-16 Thread Simon Glass
Hi Philipp, On 14 April 2017 at 04:51, Dr. Philipp Tomsich wrote: > Kever, > > Do we really need to change the SPL layout (i.e. BL2) for this? > > The SPL code should remain independent of later stages. This change would tie > the > U-Boot SPL (BL2) to a specific implementation/memory layout of

Re: [U-Boot] [PATCH v2 04/14] serial: add serial driver for BCM6345

2017-04-16 Thread Simon Glass
On 15 April 2017 at 16:03, Álvaro Fernández Rojas wrote: > It is based on linux/drivers/tty/serial/bcm63xx_uart.c > > Signed-off-by: Álvaro Fernández Rojas > --- > v2: Introduce changes suggested by Daniel Schwierzeck: > - Remove unneeded defines. > - Fix incorrect multi-line comment. > > d

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:14, Wenyou Yang wrote: > 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/at9

Re: [U-Boot] [PATCH 1/5] mmc: dw_mmc: rockchip: select proper card clock

2017-04-16 Thread Simon Glass
On 16 April 2017 at 03:44, Ziyuan Xu wrote: > As you know, biu_clk is used for AMBA AHB/APB interface, ciu_clk is > used for communication between host and card devices. The real bus clock > is ciu, so let's rectify it. > > Signed-off-by: Ziyuan Xu > --- > > drivers/mmc/rockchip_dw_mmc.c | 4 ++-

Re: [U-Boot] [PATCH v2 05/14] cpu: add CPU driver for Broadcom MIPS SoCs

2017-04-16 Thread Simon Glass
On 15 April 2017 at 16:03, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > v2: Introduce changes suggested by Daniel Schwierzeck: > - Split BMIPS support patches. > - Get register base from DT. > > drivers/cpu/Makefile| 2 + > drivers/cpu/bmips_cpu.c | 27

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:08, 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 > --- > > Changes in v2: > - Use CONFIG_DEBUG_UART_CLOCK as the input clock for the early >debug UART. > - Mo

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

2017-04-16 Thread Simon Glass
On 13 April 2017 at 20:16, Wenyou Yang wrote: > 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/at9

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

2017-04-16 Thread Simon Glass
On 13 April 2017 at 20:32, Wenyou Yang wrote: > 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 > Cha

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:08, Wenyou Yang wrote: > 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 v2: None > > board/atmel/at91sam9n12ek/at91sam9n12ek.c | 53 > -

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

2017-04-16 Thread Simon Glass
On 13 April 2017 at 20:16, Wenyou Yang wrote: > 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 driv

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

2017-04-16 Thread Simon Glass
On 12 April 2017 at 03:03, 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 > --- > > Changes in v2: > - Move out [PATCH] ARM: dts: at91: Add dts files for at91sam9m10g45ek. > - Add [PATCH]

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

2017-04-16 Thread Simon Glass
On 13 April 2017 at 19:11, Wenyou Yang wrote: > 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, in

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

2017-04-16 Thread Simon Glass
On 13 April 2017 at 21:07, Wenyou Yang wrote: > 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 > Cha

Re: [U-Boot] [PATCH v5 07/16] disk: part: add support of GPT partitioning over MTD

2017-04-16 Thread Simon Glass
On 13 April 2017 at 03:52, Patrick Delaunay wrote: > Signed-off-by: Patrick Delaunay > Reviewed-by: Christophe KERELLO > --- > > Changes in v5: > - solve warning and error > (dont' include linux/mtd/mtd.h in part.h) > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > disk/

  1   2   >