Re: [U-Boot] [PATCH v8 08/10] usb: host: ohci-generic: add CLOCK support

2017-07-06 Thread Patrice CHOTARD
Hi Simon On 07/06/2017 06:48 AM, Simon Glass wrote: > On 21 June 2017 at 01:50, wrote: >> From: Patrice Chotard >> >> use array to save enabled clocks reference in order to >> disabled them in case of error during probe() or during >> driver removal. >> >> Signed-off-by: Patrice Chotard >> ---

[U-Boot] [PATCH v10 00/10] usb: Extend ehci and ohci generic driver

2017-07-06 Thread patrice.chotard
From: Patrice Chotard This series improves generic ehci and ohci drivers by addition of : _ error path during probe (clocks, resets and phy release) _ .remove callback _ add generic PHY framework for both generic ehci and ohci drivers _ add RESET and CLOCK framewor

[U-Boot] [PATCH v10 06/10] usb: host: ehci-generic: add error path and .remove callback

2017-07-06 Thread patrice.chotard
From: Patrice Chotard Use an array to save enabled clocks reference and deasserted resets in order to respectively disabled and asserted them in case of error during probe() or during driver removal. Signed-off-by: Patrice Chotard --- v10:_ none v9: _ remove useless reset_free() and cl

[U-Boot] [PATCH v10 03/10] clk: add clk_release_all()

2017-07-06 Thread patrice.chotard
From: Patrice Chotard Add clk_release_all() method which Disable/Free an array of clocks that has been previously requested by clk_request/get_by_*() Signed-off-by: Patrice Chotard Reviewed-by: Simon Glass --- v10:_ none v9: _ to avoid confusion, rename clk_disable_all() in clk_releas

[U-Boot] [PATCH v10 04/10] dm: core: add ofnode_count_phandle_with_args()

2017-07-06 Thread patrice.chotard
From: Patrice Chotard This function is usefull to get phandle number contained in a property list. For example, this allows to allocate the right amount of memory to keep clock's reference contained into the "clocks" property. To implement it, either of_count_phandle_with_args() or fdtdec_parse

[U-Boot] [PATCH v10 02/10] reset: add reset_release_all()

2017-07-06 Thread patrice.chotard
From: Patrice Chotard Add reset_release_all() method which Assert/Free an array of resets signal that has been previously successfully requested by reset_get_by_*() Signed-off-by: Patrice Chotard Reviewed-by: Simon Glass --- v10:_ none v9: _ to avoid confusion, rename reset_assert_all

[U-Boot] [PATCH v10 07/10] usb: host: ehci-generic: add generic PHY support

2017-07-06 Thread patrice.chotard
From: Patrice Chotard Extend ehci-generic driver with generic PHY framework Signed-off-by: Patrice Chotard Reviewed-by: Simon Glass --- v10:_ none v9: _ none v8: _ rework error path by propagating the initial error code until the end of probe() v7: _ none v6: _ none v5:

[U-Boot] [PATCH v10 08/10] usb: host: ohci-generic: add CLOCK support

2017-07-06 Thread patrice.chotard
From: Patrice Chotard use array to save enabled clocks reference in order to disabled them in case of error during probe() or during driver removal. Signed-off-by: Patrice Chotard --- v10:_ replace ofnode_count_phandle_with_args() by dev_count_phandle_with_args() v9: _ remove useless

[U-Boot] [PATCH v10 09/10] usb: host: ohci-generic: add RESET support

2017-07-06 Thread patrice.chotard
From: Patrice Chotard use array to save deasserted resets reference in order to assert them in case of error during probe() or during driver removal. Signed-off-by: Patrice Chotard --- v10:_ replace ofnode_count_phandle_with_args() by dev_count_phandle_with_args() v9: _ remove useles

[U-Boot] [PATCH v10 05/10] usb: host: ehci-generic: replace printf() by error()

2017-07-06 Thread patrice.chotard
From: Patrice Chotard this allows to get file, line and function location of the current error message. Signed-off-by: patrice chotard Reviewed-by: Simon Glass --- v10:_ none v9: _ none v8: _ none v7: _ none v6: _ none v5: _ none v4: _ none v3: _ add commit mes

[U-Boot] [PATCH v10 01/10] reset: add reset_request()

2017-07-06 Thread patrice.chotard
From: Patrice Chotard This is needed in error path to assert previously deasserted reset by using a saved reset_ctl reference. Signed-off-by: Patrice Chotard Reviewed-by: Simon Glass --- v10:_ none v9: _ none v8: _ none v7: _ none v6: _ none v5: _ none v4: _ none v

[U-Boot] [PATCH v10 10/10] usb: host: ohci-generic: add generic PHY support

2017-07-06 Thread patrice.chotard
From: Patrice Chotard Extend ohci-generic driver with generic PHY framework Signed-off-by: Patrice Chotard Reviewed-by: Simon Glass --- v10:_ none v9: _ none v8: _ rework error path by propagating the initial error code until the end of probe() v7: _ none v6: _ none

Re: [U-Boot] [PATCH] dm: video: fix abuse of enum

2017-07-06 Thread Lothar Waßmann
Hi, On Wed, 5 Jul 2017 22:49:28 -0600 Simon Glass wrote: > Hi Lothar, > > On 23 June 2017 at 00:30, Lothar Waßmann wrote: > > Hi, > > > > On Wed, 21 Jun 2017 09:59:05 +0200 Lothar Waßmann wrote: > >> Hi, > >> > >> On Tue, 20 Jun 2017 12:26:29 -0600 Simon Glass wrote: > >> > Hi Lothar, > >> > > >

[U-Boot] [RESEND][PATCH v5 0/5] Extend xhci-dwc3

2017-07-06 Thread patrice.chotard
From: Patrice Chotard This series extend xhci-dwc3.c drivers by : _ converting it to DM model, _ adding dual role mode support from DT _ adding new generic_phy_valid() method in PHY framework _ adding support of generic PHY framework v5: _ rebase on top of dm/

[U-Boot] [RESEND][PATCH v5 5/5] usb: host: xhci-dwc3: Add generic PHY support

2017-07-06 Thread patrice.chotard
From: Patrice Chotard Add support of generic PHY framework support Signed-off-by: Patrice Chotard Reviewed-by: Marek Vasut Reviewed-by: Simon Glass --- v5: _ none v4: _ none v3: _ use generic_phy_valid() method v2: _ none drivers/usb/host/xhci-dwc3.c | 32 +

[U-Boot] [RESEND][PATCH v5 3/5] drivers: phy: Set phy->dev to NULL when generic_phy_get_by_index() fails

2017-07-06 Thread patrice.chotard
From: Patrice Chotard phy->dev need to be set to NULL in case of generic_phy_get_by_index() fails. Then phy->dev can be used to check if the phy is valid Reported-by: Jean-Jacques Hiblot Signed-off-by: Patrice Chotard Reviewed-by: Simon Glass Reviewed-by: Jean-Jacques Hiblot --- v5: _

[U-Boot] [RESEND][PATCH v5 4/5] drivers: phy: add generic_phy_valid() method

2017-07-06 Thread patrice.chotard
From: Patrice Chotard This allow to check if a PHY has been correctly initialised and avoid to get access to phy struct. Signed-off-by: Patrice Chotard Reviewed-by: Marek Vasut Reviewed-by: Simon Glass --- v5: _ none v4: _ none drivers/phy/phy-uclass.c | 5 + include/generic-p

[U-Boot] [RESEND][PATCH v5 1/5] usb: host: xhci-dwc3: Convert driver to DM

2017-07-06 Thread patrice.chotard
From: Patrice Chotard Add Driver Model support with use of generic DT compatible string "snps,dwc3" Signed-off-by: Patrice Chotard Reviewed-by: Simon Glass --- v5: _ replace dev_get_addr() by devfdt_get_addr() v4: _ none v3: _ none v2: _ use dev_get_addr() and removed useless

[U-Boot] [RESEND][PATCH v5 2/5] usb: host: xhci-dwc3: Add dual role mode support from DT

2017-07-06 Thread patrice.chotard
From: Patrice Chotard DWC3 dual role mode is selected using DT "dr_mode" property. If not found, DWC3 controller is configured in HOST mode by default Signed-off-by: Patrice Chotard Reviewed-by: Marek Vasut Reviewed-by: Simon Glass --- v5: _ none v4: _ none v3: _ none v2: _ no

Re: [U-Boot] [RESEND][PATCH v5 1/5] usb: host: xhci-dwc3: Convert driver to DM

2017-07-06 Thread Bin Meng
Hi Patrice, On Thu, Jul 6, 2017 at 3:50 PM, wrote: > From: Patrice Chotard > > Add Driver Model support with use of generic DT > compatible string "snps,dwc3" > > Signed-off-by: Patrice Chotard > Reviewed-by: Simon Glass > --- > > v5: _ replace dev_get_addr() by devfdt_get_addr() > v4:

[U-Boot] [PATCH v2 0/10] powerpc, 8xx: Modernise the 8xx

2017-07-06 Thread Christophe Leroy
This patchset modernises the resurrected 8xx. Christophe Leroy (10): powerpc, 8xx: move immap.c in arch/powerpc/cpu/mpc8xx/ powerpc, 8xx: move specific reginfo powerpc, 8xx: Use IO accessors to access IO memory powerpc, 8xx: Implement GLL2 ERRATA powerpc, 8xx: Handle checkpatch errors an

[U-Boot] [PATCH v2 02/10] powerpc, 8xx: move specific reginfo

2017-07-06 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/Makefile | 1 + {cmd => arch/powerpc/cpu/mpc8xx}/reginfo.c | 30 + cmd/reginfo.c | 54 ++ 3 files changed, 4 insertions(+), 81 deletions(-) copy {cmd =>

[U-Boot] [PATCH v2 01/10] powerpc, 8xx: move immap.c in arch/powerpc/cpu/mpc8xx/

2017-07-06 Thread Christophe Leroy
immap.c used to be common to several CPUs. It is now only linked to the 8xx, so this patch moves it into arch/powerpc/cpu/mpc8xx/ Signed-off-by: Christophe Leroy --- arch/powerpc/Kconfig | 2 -- arch/powerpc/cpu/mpc8xx/Kconfig | 9 + arch/powerpc/cpu/mpc8xx/M

[U-Boot] [PATCH v2 06/10] powerpc, 8xx: Properly set CPM frequency in the device tree

2017-07-06 Thread Christophe Leroy
For processors whose core runs at twice the bus frequency, the fallback frequency calculation in Linux provides a wrong result. Therefore, U-boot needs to pass the correct value. Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/fdt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH v2 08/10] powerpc, 8xx: move FEC Ethernet driver in drivers/net

2017-07-06 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- README | 15 -- arch/powerpc/cpu/mpc8xx/Makefile | 1 - arch/powerpc/cpu/mpc8xx/cpu.c | 2 +- drivers/net/Kconfig| 58 ++

[U-Boot] [PATCH v2 07/10] powerpc, 8xx: Migrate to Kconfig

2017-07-06 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- README | 15 arch/powerpc/cpu/mpc8xx/Kconfig| 148 + arch/powerpc/cpu/mpc8xx/cpu_init.c | 2 +- arch/powerpc/cpu/mpc8xx/fec.c | 8 +- arch/powerpc/include/asm/ppc.h | 5 --

[U-Boot] [PATCH v2 04/10] powerpc, 8xx: Implement GLL2 ERRATA

2017-07-06 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/cpu_init.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/powerpc/cpu/mpc8xx/cpu_init.c b/arch/powerpc/cpu/mpc8xx/cpu_init.c index cf1280983a..52406e8483 100644 --- a/arch/powerpc/cpu/mpc8xx/cpu_init.c +++ b/arch/power

[U-Boot] [PATCH v2 03/10] powerpc, 8xx: Use IO accessors to access IO memory

2017-07-06 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/cpu.c| 58 +++--- arch/powerpc/cpu/mpc8xx/cpu_init.c | 98 -- arch/powerpc/cpu/mpc8xx/fec.c| 262 + arch/powerpc/cpu/mpc8xx/immap.c | 120 ++-- arch/powerpc/cpu/mpc8xx/inte

[U-Boot] [PATCH v2 05/10] powerpc, 8xx: Handle checkpatch errors and some of the warnings/checks

2017-07-06 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/cpu.c| 123 ++- arch/powerpc/cpu/mpc8xx/cpu_init.c | 6 +- arch/powerpc/cpu/mpc8xx/fdt.c| 8 +-- arch/powerpc/cpu/mpc8xx/fec.c| 81 +++ arch/powerpc/cpu/m

[U-Boot] [PATCH v2 10/10] powerpc, 8xx: move Serial driver to drivers/serial/

2017-07-06 Thread Christophe Leroy
At the same time, move to Kconfig Signed-off-by: Christophe Leroy --- README | 19 arch/powerpc/cpu/mpc8xx/Makefile | 1 - drivers/serial/Kconfig | 53 ++ drivers/serial/Makefi

[U-Boot] [PATCH v2 09/10] powerpc, 8xx: move SPI driver to drivers/spi/

2017-07-06 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/Makefile | 1 - drivers/spi/Kconfig | 6 ++ drivers/spi/Makefile | 1 + arch/powerpc/cpu/mpc8xx/spi.c => drivers/spi/mpc8xx_spi.c | 3

[U-Boot] [PATCH v2] powerpc, 8xx: Add support for MCR3000 board from CSSI

2017-07-06 Thread Christophe Leroy
CS Systemes d'Information (CSSI) manufactures two boards, named MCR3000 and CMPC885 which are respectively based on MPC866 and MPC885 processors. This patch adds support for the first board. Signed-off-by: Christophe Leroy --- Applies after the v2 serie 'powerpc, 8xx: Modernise the 8xx' .trav

Re: [U-Boot] [PATCH v2 01/10] powerpc, 8xx: move immap.c in arch/powerpc/cpu/mpc8xx/

2017-07-06 Thread Christophe LEROY
Le 06/07/2017 à 10:33, Christophe Leroy a écrit : immap.c used to be common to several CPUs. It is now only linked to the 8xx, so this patch moves it into arch/powerpc/cpu/mpc8xx/ Signed-off-by: Christophe Leroy --- Forgot to tell that this serie applies after '[v6] powerpc: Partialy restore

Re: [U-Boot] [RESEND][PATCH v5 1/5] usb: host: xhci-dwc3: Convert driver to DM

2017-07-06 Thread Patrice CHOTARD
Hi Bin On 07/06/2017 10:27 AM, Bin Meng wrote: > Hi Patrice, > > On Thu, Jul 6, 2017 at 3:50 PM, wrote: >> From: Patrice Chotard >> >> Add Driver Model support with use of generic DT >> compatible string "snps,dwc3" >> >> Signed-off-by: Patrice Chotard >> Reviewed-by: Simon Glass >> --- >> >

Re: [U-Boot] [RESEND][PATCH v5 1/5] usb: host: xhci-dwc3: Convert driver to DM

2017-07-06 Thread Bin Meng
Hi Patrice, On Thu, Jul 6, 2017 at 4:47 PM, Patrice CHOTARD wrote: > Hi Bin > > On 07/06/2017 10:27 AM, Bin Meng wrote: >> Hi Patrice, >> >> On Thu, Jul 6, 2017 at 3:50 PM, wrote: >>> From: Patrice Chotard >>> >>> Add Driver Model support with use of generic DT >>> compatible string "snps,dwc3

Re: [U-Boot] [PATCH v2 08/10] powerpc, 8xx: move FEC Ethernet driver in drivers/net

2017-07-06 Thread Bin Meng
Hi Christophe, On Thu, Jul 6, 2017 at 4:33 PM, Christophe Leroy wrote: > Signed-off-by: Christophe Leroy > --- > README | 15 -- > arch/powerpc/cpu/mpc8xx/Makefile | 1 - > arch/powerpc/cpu/mpc8xx/cpu.c | 2

Re: [U-Boot] [PATCH v2 07/10] powerpc, 8xx: Migrate to Kconfig

2017-07-06 Thread Bin Meng
Hi Christophe, On Thu, Jul 6, 2017 at 4:33 PM, Christophe Leroy wrote: > Signed-off-by: Christophe Leroy > --- > README | 15 > arch/powerpc/cpu/mpc8xx/Kconfig| 148 > + > arch/powerpc/cpu/mpc8xx/cpu_init.c | 2 +- > a

Re: [U-Boot] [RESEND][PATCH v5 1/5] usb: host: xhci-dwc3: Convert driver to DM

2017-07-06 Thread Patrice CHOTARD
Hi Bin On 07/06/2017 10:50 AM, Bin Meng wrote: > Hi Patrice, > > On Thu, Jul 6, 2017 at 4:47 PM, Patrice CHOTARD > wrote: >> Hi Bin >> >> On 07/06/2017 10:27 AM, Bin Meng wrote: >>> Hi Patrice, >>> >>> On Thu, Jul 6, 2017 at 3:50 PM, wrote: From: Patrice Chotard Add Driver Mod

[U-Boot] [PATCH] EFI: find EFI system partition by legacy MBR partition type

2017-07-06 Thread Andre Przywara
The UEFI spec allows an EFI system partition (ESP, with the bootloader or kernel EFI apps on it) to reside on a disk using a "legacy" MBR partitioning scheme. But in contrast to actual legacy disks the ESP is not marked as "bootable" using bit 7 in byte 0 of the legacy partition entry, but is inste

Re: [U-Boot] [PATCH] EFI: find EFI system partition by legacy MBR partition type

2017-07-06 Thread Alexander Graf
On 07/06/2017 11:14 AM, Andre Przywara wrote: The UEFI spec allows an EFI system partition (ESP, with the bootloader or kernel EFI apps on it) to reside on a disk using a "legacy" MBR partitioning scheme. But in contrast to actual legacy disks the ESP is not marked as "bootable" using bit 7 in by

Re: [U-Boot] [PATCH v2 01/10] powerpc, 8xx: move immap.c in arch/powerpc/cpu/mpc8xx/

2017-07-06 Thread Heiko Schocher
Hello Christophe, Am 06.07.2017 um 10:33 schrieb Christophe Leroy: immap.c used to be common to several CPUs. It is now only linked to the 8xx, so this patch moves it into arch/powerpc/cpu/mpc8xx/ Signed-off-by: Christophe Leroy --- arch/powerpc/Kconfig | 2 -- arch/powe

Re: [U-Boot] [PATCH v2 02/10] powerpc, 8xx: move specific reginfo

2017-07-06 Thread Heiko Schocher
Hello Christophe, Am 06.07.2017 um 10:33 schrieb Christophe Leroy: Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/Makefile | 1 + {cmd => arch/powerpc/cpu/mpc8xx}/reginfo.c | 30 + cmd/reginfo.c | 54 ++

Re: [U-Boot] [PATCH v2 03/10] powerpc, 8xx: Use IO accessors to access IO memory

2017-07-06 Thread Heiko Schocher
Hello Christophe, Am 06.07.2017 um 10:33 schrieb Christophe Leroy: Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/cpu.c| 58 +++--- arch/powerpc/cpu/mpc8xx/cpu_init.c | 98 -- arch/powerpc/cpu/mpc8xx/fec.c| 262 + arch/powerp

Re: [U-Boot] [PATCH v2 04/10] powerpc, 8xx: Implement GLL2 ERRATA

2017-07-06 Thread Heiko Schocher
Hello Christophe, Am 06.07.2017 um 10:33 schrieb Christophe Leroy: Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/cpu_init.c | 8 1 file changed, 8 insertions(+) Reviewed-by: Heiko Schocher nitpick only diff --git a/arch/powerpc/cpu/mpc8xx/cpu_init.c b/arch/power

Re: [U-Boot] [PATCH v2 05/10] powerpc, 8xx: Handle checkpatch errors and some of the warnings/checks

2017-07-06 Thread Heiko Schocher
Hello Christophe, Am 06.07.2017 um 10:33 schrieb Christophe Leroy: Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/cpu.c| 123 ++- arch/powerpc/cpu/mpc8xx/cpu_init.c | 6 +- arch/powerpc/cpu/mpc8xx/fdt.c| 8 +-- arch/powerpc

Re: [U-Boot] [PATCH v2 3/3] x86: Add Intel Edison board files

2017-07-06 Thread Andy Shevchenko
On Thu, 2017-07-06 at 12:07 +0800, Bin Meng wrote: > Hi Andy, > > On Thu, Jul 6, 2017 at 4:56 AM, Andy Shevchenko > wrote: > > Add Intel Edison board which is using U-Boot. > Thanks for review, my answers below. > Thank you for your efforts to bring edition support upstream! Looks > quite clea

Re: [U-Boot] [PATCH v2 06/10] powerpc, 8xx: Properly set CPM frequency in the device tree

2017-07-06 Thread Heiko Schocher
Hello Christophe, Am 06.07.2017 um 10:33 schrieb Christophe Leroy: For processors whose core runs at twice the bus frequency, the fallback frequency calculation in Linux provides a wrong result. Therefore, U-boot needs to pass the correct value. Signed-off-by: Christophe Leroy --- arch/power

Re: [U-Boot] [PATCH v2 07/10] powerpc, 8xx: Migrate to Kconfig

2017-07-06 Thread Heiko Schocher
Hello Christophe, Am 06.07.2017 um 10:33 schrieb Christophe Leroy: Signed-off-by: Christophe Leroy --- README | 15 arch/powerpc/cpu/mpc8xx/Kconfig| 148 + arch/powerpc/cpu/mpc8xx/cpu_init.c | 2 +- arch/powerpc/cp

Re: [U-Boot] [linux-sunxi] [PATCH 3/4] sunxi: add stub EMAC device node in A83T device tree

2017-07-06 Thread Andre Przywara
Hi, On 02/07/17 08:02, Icenowy Zheng wrote: > The Allwinner A83T SoC has an EMAC which is already supported by > sun8i_emac driver in U-Boot now. > > Add a stub device node for it. > > The device node cannot work for Linux, because it now lacks the proper > clock definition; however, it can sati

Re: [U-Boot] [PATCH v2] powerpc, 8xx: Add support for MCR3000 board from CSSI

2017-07-06 Thread Heiko Schocher
Hello Christophe, Am 06.07.2017 um 10:39 schrieb Christophe Leroy: CS Systemes d'Information (CSSI) manufactures two boards, named MCR3000 and CMPC885 which are respectively based on MPC866 and MPC885 processors. This patch adds support for the first board. Signed-off-by: Christophe Leroy ---

Re: [U-Boot] [linux-sunxi] [PATCH 4/4] sunxi: enable EMAC for Banana Pi M3 board

2017-07-06 Thread Andre Przywara
Hi, when using the new binding support [1] (this time the link is for real ;-), you could/should adjust the binding to be Linux compatible: On 02/07/17 08:02, Icenowy Zheng wrote: > Banana Pi M3 board comes with the A83T EMAC connected to a Realtek > RTL8211E PHY, with a TX delay of 600ps. > > A

Re: [U-Boot] [PATCH v2 04/10] powerpc, 8xx: Implement GLL2 ERRATA

2017-07-06 Thread Wolfgang Denk
Dear Christophe, In message <466a431b5430548a018c21222080ed4040596147.1499329461.git.christophe.le...@c-s.fr> you wrote: > Signed-off-by: Christophe Leroy > --- > arch/powerpc/cpu/mpc8xx/cpu_init.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/arch/powerpc/cpu/mpc8xx/cpu_in

Re: [U-Boot] [PATCH v2] powerpc, 8xx: Add support for MCR3000 board from CSSI

2017-07-06 Thread Wolfgang Denk
Dear Christophe, In message <20170706083955.0d92f69...@pc13941vm.idsi0.si.c-s.fr> you wrote: > > This patch adds support for the first board. ... > diff --git a/board/cssi/MCR3000/u-boot.lds b/board/cssi/MCR3000/u-boot.lds > new file mode 100644 > index 00..2234bd8d1d > --- /dev/null > +

Re: [U-Boot] [PATCH v2 04/10] powerpc, 8xx: Implement GLL2 ERRATA

2017-07-06 Thread Christophe LEROY
Le 06/07/2017 à 12:56, Wolfgang Denk a écrit : Dear Christophe, In message <466a431b5430548a018c21222080ed4040596147.1499329461.git.christophe.le...@c-s.fr> you wrote: Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/cpu_init.c | 8 1 file changed, 8 insertions(+) d

Re: [U-Boot] [PATCH v2 04/10] powerpc, 8xx: Implement GLL2 ERRATA

2017-07-06 Thread Christophe LEROY
Oops, I copied wrong alternative of the ERRATA. Correct one this time. Le 06/07/2017 à 13:12, Christophe LEROY a écrit : Le 06/07/2017 à 12:56, Wolfgang Denk a écrit : Dear Christophe, In message <466a431b5430548a018c21222080ed4040596147.1499329461.git.christophe.le...@c-s.fr> you wrote:

Re: [U-Boot] [PATCH v2 04/10] powerpc, 8xx: Implement GLL2 ERRATA

2017-07-06 Thread Wolfgang Denk
Dear Christophe, In message <1e6c1b5c-2e49-6784-6d6d-f4532aa20...@c-s.fr> you wrote: > > > Like a few lines above, you could/should use a single call to > > clrsetbits_be32() here. And as Heiko already commented, please use > > readable names istead of the magic numbers. > > I shall not use clr

Re: [U-Boot] [PATCH v2 3/3] x86: Add Intel Edison board files

2017-07-06 Thread Andy Shevchenko
On Thu, 2017-07-06 at 12:44 +0300, Andy Shevchenko wrote: > On Thu, 2017-07-06 at 12:07 +0800, Bin Meng wrote: > > Hi Andy, > > > > On Thu, Jul 6, 2017 at 4:56 AM, Andy Shevchenko > > wrote: > > > Add Intel Edison board which is using U-Boot. > > > +config SYS_USB_OTG_BASE > > > +   hex > >

Re: [U-Boot] [PATCH v2 3/3] x86: Add Intel Edison board files

2017-07-06 Thread Felipe Balbi
Hi, Andy Shevchenko writes: > On Thu, 2017-07-06 at 12:44 +0300, Andy Shevchenko wrote: >> On Thu, 2017-07-06 at 12:07 +0800, Bin Meng wrote: >> > Hi Andy, >> > >> > On Thu, Jul 6, 2017 at 4:56 AM, Andy Shevchenko >> > wrote: >> > > Add Intel Edison board which is using U-Boot. > >> > > +confi

[U-Boot] [PATCH] tools/env: fix allocation of the lock file name in fw_printenv

2017-07-06 Thread sgerwk
sizeof(env_opts.lockname) is the size of the pointer, not of the string; this patch changes it to strlen(...) --- tools/env/fw_env_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/env/fw_env_main.c b/tools/env/fw_env_main.c index b8bff264eb..499953dd69 100644 --- a

[U-Boot] [PATCH] am335x: sl50: Enable CONFIG_AUTOBOOT_KEYED

2017-07-06 Thread Enric Balletbo i Serra
On startup the SL50 board halt at U-Boot prompt. Use CONFIG_AUTOBOOT_KEYED to enable autoboot for this board and define the key to get the U-Boot prompt. Signed-off-by: Enric Balletbo i Serra --- configs/am335x_sl50_defconfig | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH] EFI: find EFI system partition by legacy MBR partition type

2017-07-06 Thread Thomas Schmitt
Hi, i am the upstream developer of program xorriso which packs up Debian arm64 ISOs. Here is my minority opinion from a discussion with Andre Przywara: To my opinion, if U-boot is used as EFI implementation, then it should not consider as bootable any "active" MBR partitions or "Legacy BIOS Boot

[U-Boot] [PATCH v3 1/3] x86: Add dma-mapping.h to architectural code

2017-07-06 Thread Andy Shevchenko
Some cross-platform drivers rely on this header present. Make it so for x86. It's just a copy'n'paste of arch/arm/include/asm/dma-mapping.h. Suggested-by: Bin Meng Reviewed-by: Simon Glass Reviewed-by: Bin Meng Signed-off-by: Andy Shevchenko --- arch/x86/include/asm/dma-mapping.h | 41 ++

[U-Boot] [PATCH v3 0/3] x86: Introduce Intel Tangier SoC and Edison board

2017-07-06 Thread Andy Shevchenko
This brings support for Intel Tangier SoC and Intel Edison board which is using U-Boot as a main bootloader. The series has implicit dependency to watchdog driver, v3 of which [1] had been sent earlier. [1] https://lists.denx.de/pipermail/u-boot/2017-July/297224.html Since v2: - address misc com

[U-Boot] [PATCH v3 3/3] x86: Add Intel Edison board files

2017-07-06 Thread Andy Shevchenko
Add Intel Edison board which is using U-Boot. The patch is based on work done by the following people (in alphabetical order): Aiden Park Dukjoon Jeon eric.park Fabien Chereau Felipe Balbi Scott D Phillips Sebastien Colleur Ste

[U-Boot] [PATCH v3 2/3] x86: Add Intel Tangier support

2017-07-06 Thread Andy Shevchenko
From: Felipe Balbi Add Intel Tangier SoC support. Intel Tangier SoC is a core part of Intel Merrifield platform. For example, Intel Edison board is based on such platform. The patch is based on work done by the following people (in alphabetical order): Aiden Park Dukjoon Jeon

[U-Boot] Nios II 10m50 is not working

2017-07-06 Thread Gan, Yau Wai
U-boot for Nios II on the 10m50 dev board is not functioning. The serial terminal prints nothing upon booting up. The u-boot image is loaded via GDB/JTAG to the FPGA on-chip RAM. Bisect activities were carried and discovered that the change from using dm_scan_fdt_node to dm_scan_fdt_dev in the

Re: [U-Boot] [PATCH v2 08/10] powerpc, 8xx: move FEC Ethernet driver in drivers/net

2017-07-06 Thread Tom Rini
On Thu, Jul 06, 2017 at 04:54:59PM +0800, Bin Meng wrote: > Hi Christophe, > > On Thu, Jul 6, 2017 at 4:33 PM, Christophe Leroy > wrote: > > Signed-off-by: Christophe Leroy > > --- > > README | 15 -- > > arch/powerpc/cpu/mpc8xx/Makefile

Re: [U-Boot] [PATCH 0/5] db410c: updates for grub + gfxterm

2017-07-06 Thread Mateusz Kulikowski
Hi Rob, On 25.06.2017 01:05, Rob Clark wrote: > In particular, support for display setup by lk. This introduces a > simplefb display driver that uses the framebuffer fdt node populated > by the firmware[1] for u-boot display support (and, at least for > what I am working on, more interestingly, E

Re: [U-Boot] [PATCH v3 3/3] x86: Add Intel Edison board files

2017-07-06 Thread Bin Meng
On Thu, Jul 6, 2017 at 7:41 PM, Andy Shevchenko wrote: > Add Intel Edison board which is using U-Boot. > > The patch is based on work done by the following people (in alphabetical > order): > Aiden Park > Dukjoon Jeon > eric.park > Fabien Chereau > Felip

Re: [U-Boot] [PATCH v2 3/3] x86: Add Intel Edison board files

2017-07-06 Thread Bin Meng
Hi Andy, On Thu, Jul 6, 2017 at 7:28 PM, Andy Shevchenko wrote: > On Thu, 2017-07-06 at 12:44 +0300, Andy Shevchenko wrote: >> On Thu, 2017-07-06 at 12:07 +0800, Bin Meng wrote: >> > Hi Andy, >> > >> > On Thu, Jul 6, 2017 at 4:56 AM, Andy Shevchenko >> > wrote: >> > > Add Intel Edison board whic

Re: [U-Boot] [PATCH v2 3/3] x86: Add Intel Edison board files

2017-07-06 Thread Bin Meng
Hi Felipe, On Thu, Jul 6, 2017 at 7:33 PM, Felipe Balbi wrote: > > Hi, > > Andy Shevchenko writes: >> On Thu, 2017-07-06 at 12:44 +0300, Andy Shevchenko wrote: >>> On Thu, 2017-07-06 at 12:07 +0800, Bin Meng wrote: >>> > Hi Andy, >>> > >>> > On Thu, Jul 6, 2017 at 4:56 AM, Andy Shevchenko >>> >

Re: [U-Boot] [PATCH] dm: video: fix abuse of enum

2017-07-06 Thread Marcel Ziswiler
Dear Lothar On Thu, 2017-07-06 at 09:50 +0200, Lothar Waßmann wrote: > Hi, > > On Wed, 5 Jul 2017 22:49:28 -0600 Simon Glass wrote: > > Hi Lothar, > > > > On 23 June 2017 at 00:30, Lothar Waßmann > > wrote: > > > Hi, > > > > > > On Wed, 21 Jun 2017 09:59:05 +0200 Lothar Waßmann wrote: > > > >

Re: [U-Boot] Nios II 10m50 is not working

2017-07-06 Thread Lothar Waßmann
Hi, On Thu, 6 Jul 2017 10:32:57 + Gan, Yau Wai wrote: > U-boot for Nios II on the 10m50 dev board is not functioning. The serial > terminal prints nothing upon booting up. The u-boot image is loaded via > GDB/JTAG to the FPGA on-chip RAM. > > Bisect activities were carried and discovered th

Re: [U-Boot] [PATCH 0/5] fix the boot issue of Rockchip RK3036

2017-07-06 Thread Tom Rini
On Wed, Jul 05, 2017 at 02:21:03PM +0800, Andy Yan wrote: > Hi Tom: > > > On 2017年07月05日 09:56, Tom Rini wrote: > >On Wed, Jul 05, 2017 at 09:08:47AM +0800, Andy Yan wrote: > >>Hi Tom: > >> > >> > >>On 2017年07月04日 21:32, Tom Rini wrote: > >>>On Mon, Jul 03, 2017 at 04:02:59PM +0800, Andy Yan wrot

[U-Boot] [PATCH] topic-miamiplus: Run CPU at 800MHz for speedgrade-2

2017-07-06 Thread Mike Looijmans
The miamiplus contains a speedgrade-2 device, which may run the CPU at 800MHz. Change the PLL setting to 800MHz, and adapt the setpoints in the devicetree. Signed-off-by: Mike Looijmans --- arch/arm/dts/zynq-topic-miamiplus.dts| 9 + board/topic/zynq/zynq-topic-miamiplus/

Re: [U-Boot] [PATCH] EFI: find EFI system partition by legacy MBR partition type

2017-07-06 Thread Andre Przywara
Hi, On 06/07/17 11:19, Thomas Schmitt wrote: > Hi, > > i am the upstream developer of program xorriso which packs up Debian arm64 > ISOs. > > Here is my minority opinion from a discussion with Andre Przywara: > > To my opinion, if U-boot is used as EFI implementation, then it should > not consi

Re: [U-Boot] [PATCH] EFI: find EFI system partition by legacy MBR partition type

2017-07-06 Thread Alexander Graf
On 07/06/2017 03:07 PM, Andre Przywara wrote: Hi, On 06/07/17 11:19, Thomas Schmitt wrote: Hi, i am the upstream developer of program xorriso which packs up Debian arm64 ISOs. Here is my minority opinion from a discussion with Andre Przywara: To my opinion, if U-boot is used as EFI implement

Re: [U-Boot] [PATCH v2] powerpc, 8xx: Add support for MCR3000 board from CSSI

2017-07-06 Thread Christophe LEROY
Hello Heiko, Le 06/07/2017 à 12:10, Heiko Schocher a écrit : Hello Christophe, Am 06.07.2017 um 10:39 schrieb Christophe Leroy: CS Systemes d'Information (CSSI) manufactures two boards, named MCR3000 and CMPC885 which are respectively based on MPC866 and MPC885 processors. This patch adds sup

Re: [U-Boot] [PATCH v2] powerpc, 8xx: Add support for MCR3000 board from CSSI

2017-07-06 Thread Christophe LEROY
Dear Wolfgang, Le 06/07/2017 à 13:12, Wolfgang Denk a écrit : Dear Christophe, In message <20170706083955.0d92f69...@pc13941vm.idsi0.si.c-s.fr> you wrote: This patch adds support for the first board. ... diff --git a/board/cssi/MCR3000/u-boot.lds b/board/cssi/MCR3000/u-boot.lds new file mo

Re: [U-Boot] [PATCH v2] powerpc, 8xx: Add support for MCR3000 board from CSSI

2017-07-06 Thread Tom Rini
On Thu, Jul 06, 2017 at 03:58:27PM +0200, Christophe LEROY wrote: > Dear Wolfgang, > > Le 06/07/2017 à 13:12, Wolfgang Denk a écrit : > >Dear Christophe, > > > >In message <20170706083955.0d92f69...@pc13941vm.idsi0.si.c-s.fr> you wrote: > >> > >>This patch adds support for the first board. > >...

Re: [U-Boot] [PATCH] EFI: find EFI system partition by legacy MBR partition type

2017-07-06 Thread Thomas Schmitt
Hi, Andre Przywara wrote: > U-Boot does not really have an > understanding yet of whether it is acting as an EFI implementation If you use it to boot an ISO by its GRUB or SYSLINUX EFI equipment, then you ask it to act as EFI implementation. Maybe a compile time switch could restrict U-Boot to th

Re: [U-Boot] [PATCH] EFI: find EFI system partition by legacy MBR partition type

2017-07-06 Thread Thomas Schmitt
Hi, Alexander Graf wrote: > U-Boot on x86 does not implement BIOS callbacks, so even if you wanted to > you couldn't execute an MBR directly. Oh. Sorry for the noise, then. > So yes, it only loads proper payloads the same way as it does on ARM. If the payloads are unlikely to be put into an IS

Re: [U-Boot] [PATCH] EFI: find EFI system partition by legacy MBR partition type

2017-07-06 Thread Alexander Graf
On 07/06/2017 04:16 PM, Thomas Schmitt wrote: Hi, Andre Przywara wrote: U-Boot does not really have an understanding yet of whether it is acting as an EFI implementation If you use it to boot an ISO by its GRUB or SYSLINUX EFI equipment, then you ask it to act as EFI implementation. Maybe a co

Re: [U-Boot] mpc85xx boards

2017-07-06 Thread Simon Glass
Hi York, On 5 July 2017 at 22:56, York Sun wrote: > I am not in a position to decide which board to drop. I can try my best > to convert them. OK thank you. Regards, Simon > > York > > On 07/06/2017 12:50 PM, Simon Glass wrote: >> Hi York, >> >> OK...so all 250 are needed? Is there a plan to c

[U-Boot] [PATCH v3] powerpc, 8xx: Add support for MCR3000 board from CSSI

2017-07-06 Thread Christophe Leroy
CS Systemes d'Information (CSSI) manufactures two boards, named MCR3000 and CMPC885 which are respectively based on MPC866 and MPC885 processors. This patch adds support for the first board. Signed-off-by: Christophe Leroy --- v3: Takes into account comments received from Heiko and Wolfgang A

Re: [U-Boot] [PATCH 11/11] dtoc: Add tests

2017-07-06 Thread sjg
Add some tests of dtoc's functionality to make it easier to expand and enhance the tool. Signed-off-by: Simon Glass --- tools/dtoc/dtoc.py | 31 - tools/dtoc/dtoc_test.dts | 12 ++ tools/dtoc/dtoc_test_aliases.dts | 18 +++ tools/dtoc/dtoc_test_empty.dts | 12 ++

Re: [U-Boot] [PATCH 10/11] sandbox: Stop printing platdata at the start of SPL

2017-07-06 Thread sjg
Currently we have code which prints out platform data at the start of SPL. Now that we have tests for dtoc this is probably not necessary. Drop it. Update test_ofplatdata to check for empty output since it is useful to check that sandbox_spl works as expected. Signed-off-by: Simon Glass --- arc

Re: [U-Boot] [PATCH] binman: Put our local modules ahead of system modules

2017-07-06 Thread sjg
Simon Glass writes: > If a system module is named the same as one of those used by binman we > currently pick the system module. Adjust the ordering so that our modules > are chosen instead. > > The module conflict reported was 'tools' from jira-python. I cannot access > that package to test it.

Re: [U-Boot] [PATCH 09/11] dtoc: Add a comment about string replace in conv_name_to_c()

2017-07-06 Thread sjg
This function uses several separate string replaces where a regular expression might seem more reasonable. Add a comment justifying the way it is currently done. Signed-off-by: Simon Glass --- tools/dtoc/dtb_platdata.py | 3 +++ 1 file changed, 3 insertions(+) Applied to u-boot-dm, thanks! ___

Re: [U-Boot] [PATCH 07/11] dtoc: Move static functions out of the class

2017-07-06 Thread sjg
Rather than using static functions within the class, move them out of the class. This will make it slightly easier for tests to call them. Signed-off-by: Simon Glass --- tools/dtoc/dtb_platdata.py | 125 +++-- 1 file changed, 63 insertions(+), 62 deletion

Re: [U-Boot] [PATCH 06/11] dtoc: Pass include_disabled explicitly

2017-07-06 Thread sjg
This option is the only one actually used by the dtb_platdata class. Pass it explicitly to avoid needing to pass the whole option object to the constructor. Signed-off-by: Simon Glass --- tools/dtoc/dtb_platdata.py | 8 tools/dtoc/dtoc.py | 2 +- 2 files changed, 5 insertions(+

[U-Boot] [PATCH v2b 04/10] powerpc, 8xx: Implement GLL2 ERRATA

2017-07-06 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- Takes into account comments received from Wolfgang and Heiko. Superseeds the one included in v2 of the serie 'powerpc, 8xx: Modernise the 8xx'. Not resending the entire serie. arch/powerpc/cpu/mpc8xx/cpu_init.c | 20 1 file changed, 20

Re: [U-Boot] [PATCH] binman: Put our local modules ahead of system modules

2017-07-06 Thread sjg
Simon Glass writes: > If a system module is named the same as one of those used by binman we > currently pick the system module. Adjust the ordering so that our modules > are chosen instead. > > The module conflict reported was 'tools' from jira-python. I cannot access > that package to test it.

Re: [U-Boot] [PATCH v3 5/6] sandbox: Enable more console options

2017-07-06 Thread sjg
On Fri, Jun 16, 2017 at 11:37 AM, Simon Glass wrote: > Enable the pre-console buffer, displaying the model and post-relocation > console announce on sandbox. Also add a model name to the device tree. > This allows testing of these features. > > Signed-off-by: Simon Glass > --- > > Changes in v3:

Re: [U-Boot] [PATCH v3 3/6] test: Add a test for snprintf() and the banner/version

2017-07-06 Thread sjg
On Fri, Jun 16, 2017 at 11:37 AM, Simon Glass wrote: > Add a simple test to make sure that these functions obey the buffer size > passed into them. > > Signed-off-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: > - Fix buffer overflow problem when there is not enough space for the

Re: [U-Boot] [PATCH v3 6/6] sandbox: Drop special case console code for sandbox

2017-07-06 Thread sjg
On Fri, Jun 16, 2017 at 11:37 AM, Simon Glass wrote: > At present sandbox has a special case where it directly calls os_putc() > when it does not have a console yet. > > Now that we have the pre-console buffer enabled we can drop this. Any > early characters will be buffered and output later. > >

Re: [U-Boot] [PATCH 08/11] dtoc: Move the main logic into the dtb_platdata file

2017-07-06 Thread sjg
Collect the main logic of dtoc into a function and put it into dtb_platdata. This will allow tests to use this function instead of duplicating the code themselves. Signed-off-by: Simon Glass --- tools/dtoc/dtb_platdata.py | 29 + tools/dtoc/dtoc.py | 19 ++---

Re: [U-Boot] [PATCH 11/11] dtoc: Add tests

2017-07-06 Thread sjg
Add some tests of dtoc's functionality to make it easier to expand and enhance the tool. Signed-off-by: Simon Glass --- tools/dtoc/dtoc.py | 31 - tools/dtoc/dtoc_test.dts | 12 ++ tools/dtoc/dtoc_test_aliases.dts | 18 +++ tools/dtoc/dtoc_test_empty.dts | 12 ++

Re: [U-Boot] [PATCH 2/3] moveconfig: Allow control of which implying configs are shown

2017-07-06 Thread sjg
Sometimes it is useful to display CONFIG_TARGET or CONFIG_CMD configs. Add an option to control this. Also we generally ignore implying configs which affect fewer than 5 boards. But sometimes it is useful to show those those, so add an option that reduces the minimum to two. ERRATUM configs are n

Re: [U-Boot] [PATCH 05/11] dtoc: Don't handle properties with / in them

2017-07-06 Thread sjg
This conversion appears to not be needed as it does not occur in practice. Drop it. Signed-off-by: Simon Glass --- tools/dtoc/dtb_platdata.py | 1 - 1 file changed, 1 deletion(-) Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx

  1   2   3   >