Re: [U-Boot] [PATCH v2 01/26] dm: i2c: Provide an offset length parameter where needed

2015-01-22 Thread Masahiro Yamada
Hi Simon, On Wed, 21 Jan 2015 09:12:25 -0700 Simon Glass wrote: ay makes no sense. > > Except that I inserted this patch into the series I sent a week ago, > which I want to apply today/tomorrow. So I wanted to limit the scope Sorry for my late review. I am interested in this series and I a

Re: [U-Boot] [PATCH v2 05/26] dm: core: Tidy up error handling in device_bind()

2015-01-22 Thread Masahiro Yamada
On Mon, 19 Jan 2015 20:12:34 -0700 Simon Glass wrote: > Make the error handling more standard to make it easier to build on top of > it. Also correct a bug in the error path where there is no parent. > > Signed-off-by: Simon Glass > --- Reviewed-by: Masahiro Yamada ___

Re: [U-Boot] [PATCH 7/7] ot1200: add ot1200_spl_defconfig file

2015-01-22 Thread Stefano Babic
Hi Christian, On 19/01/2015 17:26, Christian Gmeiner wrote: > Signed-off-by: Christian Gmeiner > --- > configs/ot1200_spl_defconfig | 4 > 1 file changed, 4 insertions(+) > create mode 100644 configs/ot1200_spl_defconfig > > diff --git a/configs/ot1200_spl_defconfig b/configs/ot1200_spl_d

Re: [U-Boot] [PATCH v3 4/4] dm:gpio:mxc add DT support

2015-01-22 Thread Igor Grinberg
Hi Peng, On 01/22/15 03:06, Peng Fan wrote: > Hi Igor, > > Just kindly remind, did you miss this one? Since you ack the other patches in > this patch set. Nope, I did not miss it. I just haven't looked at it yet... > > On 1/21/2015 7:09 PM, Peng Fan wrote: >> This patch add DT support for mxc

[U-Boot] [PATCH] mx6: fix warning in platinum board

2015-01-22 Thread Stefano Babic
Fix warning due to missing prototype for writel Signed-off-by: Stefano Babic --- board/barco/platinum/platinum.h | 1 + 1 file changed, 1 insertion(+) diff --git a/board/barco/platinum/platinum.h b/board/barco/platinum/platinum.h index 8650d6d..d3ea8bd 100644 --- a/board/barco/platinum/platinum

Re: [U-Boot] [PATCH] mx6: fix warning in platinum board

2015-01-22 Thread Stefan Roese
On 22.01.2015 10:11, Stefano Babic wrote: Fix warning due to missing prototype for writel Signed-off-by: Stefano Babic Not sure why I didn't see this. But thanks for fixing, so: Acked-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list U-Boo

Re: [U-Boot] [PATCH] imx: mx6: Change ENV offset to 512K bytes for larger u-boot image

2015-01-22 Thread Stefano Babic
Hi Ye, On 16/01/2015 09:47, Ye.Li wrote: > To align with other mx6 boards, change ENV offset from 384KB to > 512KB position to fit a larger u-boot image. > > Signed-off-by: Ye.Li > --- > include/configs/mx6slevk.h |2 +- > include/configs/mx6sxsabresd.h |2 +- > 2 files changed, 2 i

Re: [U-Boot] [PATCH v2 11/26] dm: core: Add a flag to control sequence numbering

2015-01-22 Thread Masahiro Yamada
Hi Simon, On Mon, 19 Jan 2015 20:12:40 -0700 Simon Glass wrote: > @@ -413,43 +413,18 @@ This indicates that in the uclass called "serial", the > named node > ("/serial@2223") will be given sequence number 2. Any command or driver > which requests serial device 2 will obtain this device.

Re: [U-Boot] [PATCH 07/14] arm: mx6: cm-fx6: display compulab logo

2015-01-22 Thread Stefano Babic
Hi Nikita, On 14/01/2015 09:42, Nikita Kiryanov wrote: > Add compulab logo and display it on boot. > > Signed-off-by: Nikita Kiryanov > Cc: Stefano Babic > Cc: Igor Grinberg > --- > include/configs/cm_fx6.h | 3 +++ > tools/logos/compulab.bmp | Bin 0 -> 31810 bytes > 2 files changed, 3 in

Re: [U-Boot] [PATCH 1/7] ot1200: select SUPPORT_SPL

2015-01-22 Thread Stefano Babic
On 19/01/2015 17:26, Christian Gmeiner wrote: > Signed-off-by: Christian Gmeiner > --- > arch/arm/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index 5eb1d03..5734405 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -663,6 +66

Re: [U-Boot] [PATCH v4 1/3] pmic:pfuz100 add switch mode and more registers

2015-01-22 Thread Stefano Babic
Hi Peng, On 16/01/2015 17:05, Peng Fan wrote: > Add more pfuze register offset. > And switch mode definition. > > Signed-off-by: Peng Fan > --- > > Changes v4: > none > > Changes v3: > none > > Changes v2: > none > > include/power/pfuze100_pmic.h | 53 > +

Re: [U-Boot] [PATCH v2 12/26] dm: core: Allow uclasses to specific the private data for a device's children

2015-01-22 Thread Masahiro Yamada
Hi Simon, Perhaps a typo in this subject, too dm: core: Allow uclasses to specific the private data for a device's children s/to specific/to specify/ ?? On Mon, 19 Jan 2015 20:12:41 -0700 Simon Glass wrote: > In many cases the per-child private data for a device's children is defined > by

Re: [U-Boot] [PATCH v2 08/26] dm: core: Allow uclasses to specific the platdata for a device's children

2015-01-22 Thread Masahiro Yamada
Hi Simon, The subject dm: core: Allow uclasses to specific the platdata for a device's children Maybe a typo, s/specific/specify/ although English is slightly out of my realm... On Mon, 19 Jan 2015 20:12:37 -0700 Simon Glass wrote: > In many cases the child platform data for a device's c

Re: [U-Boot] [PATCH v4 2/3] pmic:pfuze implement pmic_mode_init

2015-01-22 Thread Stefano Babic
On 16/01/2015 17:05, Peng Fan wrote: > This patch is to implement pmic_mode_init function, and add prototype > in header file. > > This function is to set switching mode for pmic buck regulators to > improve system efficiency. > > Mode: > OFF: The regulator is switched off and the output voltage

Re: [U-Boot] [PATCH v2 13/26] dm: spi: Move the per-child data size to the uclass

2015-01-22 Thread Masahiro Yamada
On Mon, 19 Jan 2015 20:12:42 -0700 Simon Glass wrote: > This is common to all SPI drivers and specifies a structure used by the > uclass. It makes more sense to define it in the uclass. > > Signed-off-by: Simon Glass > --- Reviewed-by: Masahiro Yamada __

Re: [U-Boot] [PATCH] sunxi: Convert sun7i boards to use auto dram configuration

2015-01-22 Thread Hans de Goede
Hi, On 22-01-15 11:48, Ian Campbell wrote: On Wed, 2015-01-21 at 20:54 +0100, Hans de Goede wrote: Currently we've separate detailed dram settings for all sun7i boards, this moves them over to using auto dram configuration so that we can get rid of all the per board dram_foo.c files. This has

Re: [U-Boot] [PATCH] arm: spl: Allow board_init_r() to run with a larger stack

2015-01-22 Thread Masahiro Yamada
Simon, Heiko, On Thu, 22 Jan 2015 07:28:37 +0100 Heiko Schocher wrote: > > But for your particular case, I certainly would like the UART to be > > available early in SPL. We are in the very early days of driver model > > for SPL. Once we get it merged (thanks to Tom's work this should be > > so

Re: [U-Boot] [PATCH] sunxi: Convert sun7i boards to use auto dram configuration

2015-01-22 Thread Ian Campbell
On Wed, 2015-01-21 at 20:54 +0100, Hans de Goede wrote: > Currently we've separate detailed dram settings for all sun7i boards, this > moves them over to using auto dram configuration so that we can get rid of > all the per board dram_foo.c files. > > This has been tested on a A20-Olinuxino-Lime,

[U-Boot] [PATCH] sunxi: Add support for Mele M5.

2015-01-22 Thread Ian Campbell
From: Ian Campbell HDMI, USB and Ethernet appear functional, I've not done extensive tests of all peripherals though. Signed-off-by: Ian Campbell --- Hans, dunno if you have one of these, am happy to move to the common bit of MAINTAINERS if you do. Applies on "sunxi: Convert sun7i boards to us

Re: [U-Boot] [PATCH] sunxi: Convert sun7i boards to use auto dram configuration

2015-01-22 Thread Ian Campbell
(my MUA is playing up today, not sure if this went either to you or to the list, so resending, the comments apply equally to "Drop qt840a_defconfig" too) On Wed, 2015-01-21 at 20:54 +0100, Hans de Goede wrote: > Currently we've separate detailed dram settings for all sun7i boards, this > moves the

Re: [U-Boot] [PATCH] sunxi: Add support for Mele M5.

2015-01-22 Thread Hans de Goede
Hi, On 22-01-15 12:11, Ian Campbell wrote: From: Ian Campbell HDMI, USB and Ethernet appear functional, I've not done extensive tests of all peripherals though. Signed-off-by: Ian Campbell --- Hans, dunno if you have one of these, am happy to move to the common bit of MAINTAINERS if you do.

Re: [U-Boot] [PATCH] sunxi: Add support for Mele M5.

2015-01-22 Thread Ian Campbell
On Thu, 2015-01-22 at 12:28 +0100, Hans de Goede wrote: > Hi, > > On 22-01-15 12:11, Ian Campbell wrote: > > From: Ian Campbell > > > > HDMI, USB and Ethernet appear functional, I've not done extensive tests of > > all > > peripherals though. > > > > Signed-off-by: Ian Campbell > > --- > > Hans

Re: [U-Boot] [RFC 1/1] ARM: Add ARMv7-M support

2015-01-22 Thread Kamil Lulko
On 20.01.2015 21:33, Tom Rini wrote: > On Wed, Jan 07, 2015 at 12:57:27AM +0100, re...@wp.pl wrote: > >> From: Kamil Lulko >> >> > In general this looks OK. Can you also post the STM32F429 board port > code? Thanks! > Yes, I will submit a complete patch set for STM32F429 Discovery board suppor

Re: [U-Boot] [PATCH v2 14/26] dm: core: Allow the uclass to set up a device's child after binding

2015-01-22 Thread Masahiro Yamada
Hi Simon, On Mon, 19 Jan 2015 20:12:43 -0700 Simon Glass wrote: > For buses, after a child is bound, allow the uclass to perform some > processing. This can be used to figure out the address of the child (e.g. > the chip select for SPI slaves) so that it is ready to be probed. > > This avoids

Re: [U-Boot] [PATCH v2 16/26] dm: core: Allow uclass to set up a device's child before it is probed

2015-01-22 Thread Masahiro Yamada
On Mon, 19 Jan 2015 20:12:45 -0700 Simon Glass wrote: > Some buses need to set up their devices before they can be used. This setup > may well be common to all buses in a particular uclass. Support a common > pre-probe method for the uclass, called before any bus devices are probed. > > Signed-

[U-Boot] [PATCH v2] sunxi: Add support for Mele M5.

2015-01-22 Thread Ian Campbell
From: Ian Campbell HDMI, SATA, USB and Ethernet appear functional, I've not done extensive tests of all peripherals though. Signed-off-by: Ian Campbell --- Applies on "sunxi: Convert sun7i boards to use auto dram configuration" v2: Enable AHCI. --- board/sunxi/MAINTAINERS | 5 + config

Re: [U-Boot] [PATCH] sunxi: Convert sun7i boards to use auto dram configuration

2015-01-22 Thread Ian Campbell
On Thu, 2015-01-22 at 12:12 +0100, Hans de Goede wrote: > Hi, > > On 22-01-15 11:48, Ian Campbell wrote: > > On Wed, 2015-01-21 at 20:54 +0100, Hans de Goede wrote: > >> Currently we've separate detailed dram settings for all sun7i boards, this > >> moves them over to using auto dram configuration

Re: [U-Boot] [PATCH] sunxi: Convert sun7i boards to use auto dram configuration

2015-01-22 Thread Hans de Goede
Hi, On 22-01-15 13:07, Ian Campbell wrote: On Thu, 2015-01-22 at 12:12 +0100, Hans de Goede wrote: Hi, On 22-01-15 11:48, Ian Campbell wrote: On Wed, 2015-01-21 at 20:54 +0100, Hans de Goede wrote: Currently we've separate detailed dram settings for all sun7i boards, this moves them over to

Re: [U-Boot] [PATCH 2/5] Enable booting of mx28 without battery

2015-01-22 Thread Fabio Estevam
Hi Graeme, On Wed, Jan 21, 2015 at 9:55 AM, Graeme Russ wrote: > Section 4.1.2 of Freescale Application Note AN4199 describes the > configuration required to operate the mx28 from a 5V source without a > battery. This patch implements the changes to the Freescale bootlets > which allow this confi

[U-Boot] [PATCH] powerpc/mpc85xx: SECURE BOOT- NAND secure boot target for P3041

2015-01-22 Thread Aneesh Bansal
Secure Boot Target is added for NAND for P3041 Changes: In PowerPC, the core begins execution from address 0xFFFC. In case of secure boot, this default address maps to Boot ROM. The Boot ROM code requires that the bootloader(U-boot) must lie in 0 to 3.5G address space i.e 0x0 - 0xDFFF In c

[U-Boot] Announcing easy Linux installation on Allwinner devices for non-geek users

2015-01-22 Thread Siarhei Siamashka
Hello, This is a somewhat long e-mail. 1. The problem 2. A possible solution 3. Relocatable SD card 4. NAND 5. Support more devices! 6. Reliability tests 7. FEL mode installer application 8. A31+ support 9. Summary = == 1. The p

Re: [U-Boot] [PATCH] lcd: fix console address is not initialized

2015-01-22 Thread Nikita Kiryanov
Hi Bo, On 01/21/2015 06:37 AM, Bo Shen wrote: This commit 904672e (lcd: refactor lcd console stuff into its own file), which cause lcd console address is not initialized. Based on your fix, I'm certain that the bug was introduced in a previous patch, perhaps 140beb9 (lcd: expand console api).

Re: [U-Boot] u-boot tools and build system

2015-01-22 Thread Raphael Philipe
Thank you Wolfgang, For the especific case of the env tool, One can build it to run on the host to produce a environment variables binary file for the target (This can be used while building some image to be written in a sd card, spi flash or the like). For this specific case I'm in doubt on how t

Re: [U-Boot] Announcing easy Linux installation on Allwinner devices for non-geek users

2015-01-22 Thread Hans de Goede
Hi Siarhei, See the bottom for my reply to all this. On 22-01-15 13:49, Siarhei Siamashka wrote: Hello, This is a somewhat long e-mail. 1. The problem 2. A possible solution 3. Relocatable SD card 4. NAND 5. Support more devices! 6. Reliability tests 7. FEL mode installer application 8. A31+

Re: [U-Boot] [linux-sunxi] [u-boot 2/2] sun5i: bump DEBE priority (useful on a10s only)

2015-01-22 Thread Hans de Goede
Hi, On 22-01-15 08:30, Siarhei Siamashka wrote: On Tue, 20 Jan 2015 14:16:35 +0100 Hans de Goede wrote: Hi, On 20-01-15 09:16, Siarhei Siamashka wrote: On Mon, 19 Jan 2015 06:29:47 +0200 Siarhei Siamashka wrote: On Sun, 04 Jan 2015 20:49:38 +0100 Hans de Goede wrote: Hi, On 04-01-15

Re: [U-Boot] [PATCH 1/3] ARmv7: Add a soc_init hook to start.S

2015-01-22 Thread Hans de Goede
Hi, On 21-01-15 22:59, Bill Pringlemeir wrote: On 21 Jan 2015, hdego...@redhat.com wrote: On some SoCs / ARMv7 CPU cores we need to do some setup before enabling the icache, etc. Add a soc_init hook with a weak default which just calls cpu_init_cp15. This way different implementations can be

Re: [U-Boot] [linux-sunxi] Announcing easy Linux installation on Allwinner devices for non-geek users

2015-01-22 Thread Maxime Ripard
Hi, Nice work overall, it's good to see something like that happening. I'm a bit bothered by the use of the "universal" word, for something that is so restricted, but it's just words. On Thu, Jan 22, 2015 at 02:49:03PM +0200, Siarhei Siamashka wrote: > ===

Re: [U-Boot] [PATCH 2/5] Enable booting of mx28 without battery

2015-01-22 Thread Marek Vasut
On Thursday, January 22, 2015 at 01:42:10 PM, Fabio Estevam wrote: > Hi Graeme, > > On Wed, Jan 21, 2015 at 9:55 AM, Graeme Russ wrote: > > Section 4.1.2 of Freescale Application Note AN4199 describes the > > configuration required to operate the mx28 from a 5V source without a > > battery. This

Re: [U-Boot] Announcing easy Linux installation on Allwinner devices for non-geek users

2015-01-22 Thread Robert Moskowitz
On 01/22/2015 07:49 AM, Siarhei Siamashka wrote: Hello, This is a somewhat long e-mail. Yes it is. Thank you for this detailed introduction to the problem and solutions. As a semi-skilled user and proponent of armv7, I really welcome all the work you and others have done. Just wish it wa

Re: [U-Boot] Announcing easy Linux installation on Allwinner devices for non-geek users

2015-01-22 Thread Robert Moskowitz
On 01/22/2015 08:20 AM, Hans de Goede wrote: Hi Siarhei, See the bottom for my reply to all this. On 22-01-15 13:49, Siarhei Siamashka wrote: Hello, This is a somewhat long e-mail. Thanks for reading and reaching the end of this e-mail. Special thanks to Luc Verhaegen, Roman Byshko

Re: [U-Boot] Announcing easy Linux installation on Allwinner devices for non-geek users

2015-01-22 Thread Luc Verhaegen
On Thu, Jan 22, 2015 at 02:49:03PM +0200, Siarhei Siamashka wrote: > Hello, > > This is a somewhat long e-mail. > > 1. The problem > 2. A possible solution > 3. Relocatable SD card > 4. NAND > 5. Support more devices! > 6. Reliability tests > 7. FEL mode installer application > 8. A31+ support >

[U-Boot] [PATCH v2] davinci: Do not duplicate setting of gd

2015-01-22 Thread Tom Rini
In f0c3a6c we stopped setting gd in board_init_f, but later had to revert to due problems on certain platforms. As davinci does not look to have these problems, we can drop the setting here and rely upon crt0.S to do it. Cc: Peter Howard Signed-off-by: Tom Rini --- Changes in v2: - Switch to d

Re: [U-Boot] [linux-sunxi] [u-boot 2/2] sun5i: bump DEBE priority (useful on a10s only)

2015-01-22 Thread Michal Suchanek
Hello, On 22 January 2015 at 14:26, Hans de Goede wrote: > Hi, > > > On 22-01-15 08:30, Siarhei Siamashka wrote: >> >> On Tue, 20 Jan 2015 14:16:35 +0100 >> Hans de Goede wrote: >> >>> Hi, >>> >>> On 20-01-15 09:16, Siarhei Siamashka wrote: On Mon, 19 Jan 2015 06:29:47 +0200 Siarh

Re: [U-Boot] [PATCH v2 12/26] dm: core: Allow uclasses to specific the private data for a device's children

2015-01-22 Thread Simon Glass
On 22 January 2015 at 03:25, Masahiro Yamada wrote: > Hi Simon, > > > > Perhaps a typo in this subject, too > > dm: core: Allow uclasses to specific the private data for a device's children > > s/to specific/to specify/ ?? > > > On Mon, 19 Jan 2015 20:12:41 -0700 > Simon Glass wrote: > >> In man

Re: [U-Boot] [PATCH v2 01/26] dm: i2c: Provide an offset length parameter where needed

2015-01-22 Thread Simon Glass
Hi Masahiro, On 22 January 2015 at 01:03, Masahiro Yamada wrote: > Hi Simon, > > > > > On Wed, 21 Jan 2015 09:12:25 -0700 > Simon Glass wrote: > ay makes no sense. >> >> Except that I inserted this patch into the series I sent a week ago, >> which I want to apply today/tomorrow. So I wanted to l

Re: [U-Boot] [PATCH v2 2/3] x86: Save mtrr support flag in global data

2015-01-22 Thread Simon Glass
On 21 January 2015 at 20:29, Bin Meng wrote: > CPUID (EAX 01H) returns MTRR support flag in EDX bit 12. Probe this > flag in x86_cpu_init_f() and save it in global data. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - Use space instead of tab to indent in arch_global_data > > arch/x86

Re: [U-Boot] [PATCH v2 3/3] x86: Test mtrr support flag before accessing mtrr msr

2015-01-22 Thread Simon Glass
On 21 January 2015 at 20:29, Bin Meng wrote: > On some x86 processors (like Intel Quark) the MTRR registers are not > supported. This is reflected by the CPUID (EAX 01H) result EDX[12]. > Accessing the MTRR registers on such processors will cause #GP so we > must test the support flag before acces

[U-Boot] [PATCH v3 1/2] Errata/ARM57: Add basic constructs to handle and apply A57 specific erratas

2015-01-22 Thread Bhupesh Sharma
This patch adds basic constructs in the ARMv8 u-boot code to handle and apply Cortex-A57 specific erratas. As and example, the framework showcases how erratas 833069, 826974 and 828024 can be handled and applied. Later on this framework can be extended to include other erratas. Signed-off-by: Bh

Re: [U-Boot] [linux-sunxi] Re: Announcing easy Linux installation on Allwinner devices for non-geek users

2015-01-22 Thread Michal Suchanek
On 22 January 2015 at 14:20, Hans de Goede wrote: > Hi Siarhei, > > See the bottom for my reply to all this. > > > On 22-01-15 13:49, Siarhei Siamashka wrote: This universal u-boot would be awesome and it looks like it's getting close enough. > > > You're welcome, and thank you too for all your

[U-Boot] [PATCH 1/8] powerpc: mpc83xx: remove MPC8360ERDK, EMPC8360EMDS support

2015-01-22 Thread Masahiro Yamada
These boards are still non-generic boards. Signed-off-by: Masahiro Yamada Cc: Dave Liu Cc: Anton Vorontsov --- arch/powerpc/cpu/mpc83xx/Kconfig | 8 - board/freescale/common/pq-mds-pib.c | 2 +- board/freescale/mpc8360emds/Kconfig | 12 - board/freescale/mpc8360emds/

[U-Boot] [PATCH 3/8] powerpc: mpc85xx: remove P2020COME board support

2015-01-22 Thread Masahiro Yamada
This board is still a non-generic board. Signed-off-by: Masahiro Yamada Cc: Ira W. Snyder --- arch/powerpc/cpu/mpc85xx/Kconfig | 4 - board/freescale/p2020come/Kconfig | 12 - board/freescale/p2020come/MAINTAINERS | 7 - board/freescale/p2020come/Makefile| 10 - board/freesc

[U-Boot] [PATCH 6/8] powerpc: mpc5xxx: remove Total5200 board support

2015-01-22 Thread Masahiro Yamada
This board is still a non-generic board. Signed-off-by: Masahiro Yamada --- arch/powerpc/cpu/mpc5xxx/Kconfig | 4 - board/total5200/Kconfig | 9 - board/total5200/MAINTAINERS | 9 - board/total5200/Makefile | 8 - board/total5200/mt4

[U-Boot] [PATCH 4/8] powerpc: mpc85xx: remove P2020DS board support

2015-01-22 Thread Masahiro Yamada
This board is still a non-generic board. Signed-off-by: Masahiro Yamada --- arch/powerpc/cpu/mpc85xx/Kconfig| 4 - board/freescale/p2020ds/Kconfig | 12 - board/freescale/p2020ds/MAINTAINERS | 10 - board/freescale/p2020ds/Makefile| 12 - board/freescale/p2020ds/ddr.c | 1

[U-Boot] [PATCH 5/8] powerpc: ppc4xx: remove PPChameleonEVB, CATcenter boards

2015-01-22 Thread Masahiro Yamada
These boards are still non-generic boards. It is a good thing that we can drop board-specific hack code from drivers/mtd/nand/nand_base.c Signed-off-by: Masahiro Yamada Cc: Andrea "llandre" Marson --- arch/powerpc/cpu/ppc4xx/Kconfig| 7 - board/dave/PPChameleonEVB/Kconfig

[U-Boot] [PATCH 7/8] powerpc: mpc5xxx: PM520 board support

2015-01-22 Thread Masahiro Yamada
This board is still a non-generic board. Signed-off-by: Masahiro Yamada Cc: Josef Wagner --- arch/powerpc/cpu/mpc5xxx/Kconfig| 4 - board/pm520/Kconfig | 9 - board/pm520/MAINTAINERS | 9 - board/pm520/Makefile| 8 - board/pm520/flash.c

[U-Boot] [PATCH v3 2/2] configs/ls2085a: Add support for Cortex-A57 erratas

2015-01-22 Thread Bhupesh Sharma
This patch adds support for handling 828024 and 826974 erratas for Cortex-A57 cores present on LS2085A SoC. Signed-off-by: Bhupesh Sharma --- include/configs/ls2085a_common.h |4 1 file changed, 4 insertions(+) diff --git a/include/configs/ls2085a_common.h b/include/configs/ls2085a_com

Re: [U-Boot] [PATCH v3 1/2] Errata/ARM57: Add basic constructs to handle and apply A57 specific erratas

2015-01-22 Thread Scott Wood
On Thu, 2015-01-22 at 20:42 +0530, Bhupesh Sharma wrote: > +WEAK(apply_core_errata) > + > + mov x29, lr /* Save LR */ > + /* For now, we support Cortex-A57 specific errata only */ > + > + /* Check if we are running on a Cortex-A57 core */ > + branch_if_a57_core x

Re: [U-Boot] [PATCH 1/2] common: mark commands as default to match "config_cmd_default.h"

2015-01-22 Thread Simon Glass
Hi Masahiro, On 19 January 2015 at 21:52, Masahiro Yamada wrote: > Hi Simon, Alexey, > > > On Thu, 15 Jan 2015 12:44:16 -0700 > Simon Glass wrote: Frankly I don't like this approach with post-processing steps. It will inevitably end-up with messed up configs. Why don't we jus

[U-Boot] [PATCH 0/8] powerpc: drop more non-generic boards

2015-01-22 Thread Masahiro Yamada
Masahiro Yamada (8): powerpc: mpc83xx: remove MPC8360ERDK, EMPC8360EMDS support powerpc: mpc85xx: remove P1_P2_RDB boards powerpc: mpc85xx: remove P2020COME board support powerpc: mpc85xx: remove P2020DS board support powerpc: ppc4xx: remove PPChameleonEVB, CATcenter boards powerpc:

Re: [U-Boot] [PATCH] arm: spl: Allow board_init_r() to run with a larger stack

2015-01-22 Thread Simon Glass
Hi Masahiro, On 22 January 2015 at 00:33, Masahiro Yamada wrote: > Simon, Heiko, > > > On Thu, 22 Jan 2015 07:28:37 +0100 > Heiko Schocher wrote: > >> > But for your particular case, I certainly would like the UART to be >> > available early in SPL. We are in the very early days of driver model

[U-Boot] [PATCH 2/8] powerpc: mpc85xx: remove P1_P2_RDB boards

2015-01-22 Thread Masahiro Yamada
These boards are still non-generic boards: P1011RDB, P1022RDB, P2010RDB, P2020RDB Signed-off-by: Masahiro Yamada Cc: Poonam Aggrwal --- arch/powerpc/cpu/mpc85xx/Kconfig | 6 - board/freescale/p1_p2_rdb/Kconfig | 12 - board/freescale/p1_p2_rdb/MAINTAINERS | 37 -- boar

Re: [U-Boot] [PATCH 5/8] powerpc: ppc4xx: remove PPChameleonEVB, CATcenter boards

2015-01-22 Thread Stefan Roese
On 22.01.2015 16:24, Masahiro Yamada wrote: These boards are still non-generic boards. It is a good thing that we can drop board-specific hack code from drivers/mtd/nand/nand_base.c Signed-off-by: Masahiro Yamada Cc: Andrea "llandre" Marson If nobody speaks up to maintain those 4xx board I'

Re: [U-Boot] [PATCH 1/3] ARmv7: Add a soc_init hook to start.S

2015-01-22 Thread Bill Pringlemeir
>> On 21 Jan 2015, hdego...@redhat.com wrote: >> >>> On some SoCs / ARMv7 CPU cores we need to do some setup before >>> enabling the icache, etc. Add a soc_init hook with a weak default >>> which just calls cpu_init_cp15. >>> >>> This way different implementations can be provided to do some extra

Re: [U-Boot] [linux-sunxi] [u-boot 2/2] sun5i: bump DEBE priority (useful on a10s only)

2015-01-22 Thread Hans de Goede
Hi, On 22-01-15 15:43, Michal Suchanek wrote: Hello, On 22 January 2015 at 14:26, Hans de Goede wrote: Hi, On 22-01-15 08:30, Siarhei Siamashka wrote: On Tue, 20 Jan 2015 14:16:35 +0100 Hans de Goede wrote: Hi, On 20-01-15 09:16, Siarhei Siamashka wrote: On Mon, 19 Jan 2015 06:29:47

[U-Boot] Buildman problem

2015-01-22 Thread Masahiro YAMADA
Hi Simon, I found an error of buildman. If the target branch has an upstream branch, buildman fails with the following message: $ git branch --set-upstream-to=base Branch testtest set up to track local branch base. $ tools/buildman/buildman -b testtest uniphier Traceback (most recent call la

Re: [U-Boot] [PATCH] ARM: UniPhier: remove __packed that causes a problem on GCC 4.9

2015-01-22 Thread Masahiro YAMADA
2015-01-07 19:41 GMT+09:00 Masahiro Yamada : > The DDR PHY training function, ddrphy_prepare_training() would not > work if compiled with GCC 4.9. > > The struct ddrphy (arch/arm/include/asm/arch-uniphier/ddrphy-regs.h) > is specified with __packed because it represents a hardware register > mappin

Re: [U-Boot] [PATCH] ARM: UniPhier: fix comments in SoC Glue init function

2015-01-22 Thread Masahiro YAMADA
2015-01-13 18:54 GMT+09:00 Masahiro Yamada : > Signed-off-by: Masahiro Yamada > --- Applied to u-boot-uniphier/master -- Best Regards Masahiro Yamada ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] ARM: UniPhier: describe init_page_table shorter

2015-01-22 Thread Masahiro YAMADA
2015-01-19 22:30 GMT+09:00 Masahiro Yamada : > The assembly directive ".rept ... .endr" allows us to write the > init_page_table much shorter. To make things further simpler, > set the text and stack area as Normal Memory, and the other sections > as Device attribute. > > Signed-off-by: Masahiro Y

Re: [U-Boot] [PATCH] ARM: UniPhier: fix IECTRL set code for PH1-Pro4

2015-01-22 Thread Masahiro YAMADA
2015-01-19 22:31 GMT+09:00 Masahiro Yamada : > For PH1-Pro4, the bit 6 of the IECTRL must be set. It is the only > available bit in this register. There is no effect of the write > access to the other bits. > > Signed-off-by: Masahiro Yamada Applied to u-boot-uniphier/master -- Best Regards M

Re: [U-Boot] [PATCH v2] ARM: UniPhier: add static to local functions

2015-01-22 Thread Masahiro YAMADA
2015-01-21 15:06 GMT+09:00 Masahiro Yamada : > Signed-off-by: Masahiro Yamada Applied to u-boot-uniphier/master -- Best Regards Masahiro Yamada ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] ARM: UniPhier: remove non-sense inline directives

2015-01-22 Thread Masahiro YAMADA
2015-01-21 15:06 GMT+09:00 Masahiro Yamada : > The inlining is done by GCC when needed, there is no need to do it > explicitly. Furthermore, the inline keyword does not force-inline > the code, but is only a hint for the compiler. > > Signed-off-by: Masahiro Yamada Applied to u-boot-uniphier/mas

Re: [U-Boot] [PATCH v2 0/3] ARM: UniPhier: fix SocGlue header

2015-01-22 Thread Masahiro YAMADA
2015-01-21 15:27 GMT+09:00 Masahiro Yamada : > > > > Masahiro Yamada (3): > ARM: UniPhier: use for readability > ARM: UniPhier: rename SG_MEMCONF_* macros for readability > ARM: UniPhier: add SG_MEMCONF macros for DDR channel 2 > > arch/arm/include/asm/arch-uniphier/sg-regs.h | 109 > +

Re: [U-Boot] Pull request: u-boot-uniphier/master

2015-01-22 Thread Masahiro YAMADA
Sorry, I forgot to add u-boot ML. 2015-01-23 1:14 GMT+09:00 Masahiro YAMADA : > Hi Tom, > > > The following changes since commit b56f6e2b4e0291efbe1b50f082dec73272ad7ab3: > > sunxi: Restore lowlevel_init usage (2015-01-21 10:46:28 -0500) > > are available in the git repository at: > > git://g

Re: [U-Boot] [PATCH 1/3] ARmv7: Add a soc_init hook to start.S

2015-01-22 Thread Tom Rini
On Wed, Jan 21, 2015 at 09:03:25PM +0100, Hans de Goede wrote: > On some SoCs / ARMv7 CPU cores we need to do some setup before enabling the > icache, etc. Add a soc_init hook with a weak default which just calls > cpu_init_cp15. > > This way different implementations can be provided to do some e

Re: [U-Boot] x86 FSP - delayed SDRAM init?

2015-01-22 Thread Simon Glass
Hi Bin, On 21 January 2015 at 22:39, Bin Meng wrote: > > Hi Simon, > > On Thu, Jan 22, 2015 at 1:02 PM, Simon Glass wrote: > > Hi Bin, > > > > On 21 January 2015 at 21:45, Bin Meng wrote: > >> Hi Simon, > >> > >> On Thu, Jan 22, 2015 at 11:42 AM, Simon Glass wrote: > >>> Hi Bin, > >>> > >>> In

Re: [U-Boot] [PATCH] pci: tegra: Fix port information parsing

2015-01-22 Thread Simon Glass
Hi, On 21 January 2015 at 09:07, Bin Meng wrote: > Hi Thierry, > > On Wed, Jan 21, 2015 at 5:50 PM, Thierry Reding wrote: >> On Tue, Jan 20, 2015 at 06:06:53PM +0100, Sjoerd Simons wrote: >>> commit a62e84d7b1824a202dd incorrectly changed the tegra pci code to the >>> new fdtdec pci helpers. To

Re: [U-Boot] [PATCH 07/14] arm: mx6: cm-fx6: display compulab logo

2015-01-22 Thread Nikita Kiryanov
Hi Stefano, On 01/22/2015 11:58 AM, Stefano Babic wrote: Hi Nikita, On 14/01/2015 09:42, Nikita Kiryanov wrote: Add compulab logo and display it on boot. Signed-off-by: Nikita Kiryanov Cc: Stefano Babic Cc: Igor Grinberg --- include/configs/cm_fx6.h | 3 +++ tools/logos/compulab.bmp

Re: [U-Boot] [PATCH v2 1/2] video: Add support for Hitachi tx18d42vm LVDS LCD panels

2015-01-22 Thread Anatolij Gustschin
On Tue, 20 Jan 2015 15:08:01 +0100 Hans de Goede wrote: > Add support for Hitachi tx18d42vm LVDS LCD panels, these panels have a > lcd controller which needs to be initialized over SPI, once that is > done they work like a regular LVDS panel. > > Signed-off-by: Hans de Goede Acked-by: Anatolij

Re: [U-Boot] [PATCH v2 2/2] sunxi: video: Add support for Hitachi tx18d42vm LVDS LCD panels

2015-01-22 Thread Anatolij Gustschin
On Tue, 20 Jan 2015 15:08:02 +0100 Hans de Goede wrote: ... > @@ -976,6 +977,14 @@ static int sunxi_ssd2828_init(const struct > ctfb_res_modes *mode) > } > #endif /* CONFIG_VIDEO_LCD_SSD2828 */ > > +#ifdef CONFIG_VIDEO_LCD_HITACHI_TX18D42VM > +static void sunxi_hitachi_tx18d42vm_init(void) >

Re: [U-Boot] Odroid XU3 - exynos5422 - SPL - iRAM/sRAM address

2015-01-22 Thread Kevin Hilman
Suriyan Ramasami writes: > Hello Kevin, > > On Wed, Jan 21, 2015 at 4:54 PM, Kevin Hilman wrote: >> Hi Surijan, >> >> Suriyan Ramasami writes: >> >>> Hello Sjoerd Simons, >>>A signed BL2 which allows unsigned BL2 chain load is already >>> available for experimentation. Refer this link: >>>

Re: [U-Boot] [PATCH] board_f: save "malloc_base" from zeroing in case of CONFIG_SYS_MALLOC_F_LEN

2015-01-22 Thread Simon Glass
Hi Alexey, On 20 January 2015 at 06:06, Alexey Brodkin wrote: > Hi Albert, > > On Tue, 2015-01-20 at 08:07 +0100, Albert ARIBAUD wrote: >> Hello Alexey, >> >> On Mon, 19 Jan 2015 20:55:03 +0300, Alexey Brodkin >> wrote: >> > In case of CONFIG_SYS_MALLOC_F_LEN "malloc_base" is used for early >> >

Re: [U-Boot] [PATCH 3/8] powerpc: mpc85xx: remove P2020COME board support

2015-01-22 Thread Ira Snyder
On Thu, Jan 22, 2015 at 7:24 AM, Masahiro Yamada wrote: > This board is still a non-generic board. > Hi Masahiro, This is fine by me. I no longer work for Caltech OVRO, and therefore no longer have access to this hardware. Freescale still has these boards for sale. Their team may want to maintai

Re: [U-Boot] [PATCH 1/3] common: board: support systems with where RAM ends beyond 4GB

2015-01-22 Thread Stephen Warren
On 01/20/2015 08:56 AM, Tom Warren wrote: I've merged that patch series w/u-boot-tegra/next and /master, done a MAKEALL -s tegra, and rebased against ARM /master and pushed to denx.de. Stephen - please test and if it looks OK, I'll prepare a PR. This works great on my Jetson TK1. Thanks.

[U-Boot] [PATCH V5] add README.distro file

2015-01-22 Thread Stephen Warren
From: Dennis Gilmore Add documentation on how to setup a system to use the generic distro configs and boot commands. This spells out what is needed to make a system conformant, but does not limit the board to only the defaults. Signed-off-by: Dennis Gilmore [swarren, added concept, user config,

Re: [U-Boot] [PATCH v4 01/18] mmc: show hardware partition sizes in mmcinfo output

2015-01-22 Thread Stephen Warren
On 12/23/2014 02:50 AM, Diego Santa Cruz wrote: There is currently no command that will provide an overview of the hardware partitions present on an eMMC device, one has to switch to every partition via "mmc dev" and run mmcinfo for each to get the partition's capacity. This commit adds a few lin

Re: [U-Boot] [PATCH v3 4/4] dm:gpio:mxc add DT support

2015-01-22 Thread Peng Fan
Hi, Igor Reply below. On 1/22/2015 4:38 PM, Igor Grinberg wrote: Hi Peng, On 01/22/15 03:06, Peng Fan wrote: Hi Igor, Just kindly remind, did you miss this one? Since you ack the other patches in this patch set. Nope, I did not miss it. I just haven't looked at it yet... On 1/21/2015 7:0

Re: [U-Boot] [PATCH 1/3] ARmv7: Add a soc_init hook to start.S

2015-01-22 Thread Hans de Goede
Hi, On 22-01-15 17:20, Tom Rini wrote: On Wed, Jan 21, 2015 at 09:03:25PM +0100, Hans de Goede wrote: On some SoCs / ARMv7 CPU cores we need to do some setup before enabling the icache, etc. Add a soc_init hook with a weak default which just calls cpu_init_cp15. This way different implementat

Re: [U-Boot] [PATCH v1 0/4] Jetson-TK1 support for PSCI

2015-01-22 Thread Mark Rutland
On Fri, Jan 16, 2015 at 09:12:59AM +, Thierry Reding wrote: > On Thu, Jan 15, 2015 at 07:19:37PM +, Mark Rutland wrote: > > On Wed, Jan 14, 2015 at 07:57:25AM +, Thierry Reding wrote: > > > On Tue, Jan 13, 2015 at 07:44:50PM +, Ian Campbell wrote: > > > > Hi Thierry, > > > > > > >

Re: [U-Boot] [PATCH v2 2/2] sunxi: video: Add support for Hitachi tx18d42vm LVDS LCD panels

2015-01-22 Thread Hans de Goede
Hi, On 22-01-15 18:37, Anatolij Gustschin wrote: On Tue, 20 Jan 2015 15:08:02 +0100 Hans de Goede wrote: ... @@ -976,6 +977,14 @@ static int sunxi_ssd2828_init(const struct ctfb_res_modes *mode) } #endif /* CONFIG_VIDEO_LCD_SSD2828 */ +#ifdef CONFIG_VIDEO_LCD_HITACHI_TX18D42VM +static vo

Re: [U-Boot] [PATCH v4 01/18] mmc: show hardware partition sizes in mmcinfo output

2015-01-22 Thread Pantelis Antoniou
Hi Stephen, > On Jan 22, 2015, at 20:42 , Stephen Warren wrote: > > On 12/23/2014 02:50 AM, Diego Santa Cruz wrote: >> There is currently no command that will provide an overview of the hardware >> partitions present on an eMMC device, one has to switch to every partition >> via "mmc dev" and ru

[U-Boot] [PATCH] sunxi: video: Add support for Hitachi tx18d42vm LVDS LCD panels

2015-01-22 Thread Hans de Goede
Add support for Hitachi tx18d42vm LVDS LCD panels, these panels have a lcd controller which needs to be initialized over SPI, once that is done they work like a regular LVDS panel. Signed-off-by: Hans de Goede --- board/sunxi/Kconfig | 7 +++ drivers/video/sunxi_display.c | 5 +

Re: [U-Boot] [PATCH] sunxi: video: Add support for Hitachi tx18d42vm LVDS LCD panels

2015-01-22 Thread Hans de Goede
Hi Note this is v3, I forgot to set the subject-prefix for this. Changes since v2 are using "if (IS_ENABLED(CONFIG_...))" rather then #ifdef. Regards, Hans On 22-01-15 20:52, Hans de Goede wrote: Add support for Hitachi tx18d42vm LVDS LCD panels, these panels have a lcd controller which needs

Re: [U-Boot] [PATCH v4 01/18] mmc: show hardware partition sizes in mmcinfo output

2015-01-22 Thread Stephen Warren
On 01/22/2015 12:45 PM, Pantelis Antoniou wrote: Hi Stephen, On Jan 22, 2015, at 20:42 , Stephen Warren wrote: On 12/23/2014 02:50 AM, Diego Santa Cruz wrote: There is currently no command that will provide an overview of the hardware partitions present on an eMMC device, one has to switch t

Re: [U-Boot] [PATCH v2] sunxi: Add support for Mele M5.

2015-01-22 Thread Hans de Goede
Hi, On 22-01-15 12:56, Ian Campbell wrote: From: Ian Campbell HDMI, SATA, USB and Ethernet appear functional, I've not done extensive tests of all peripherals though. Signed-off-by: Ian Campbell Thanks applied to u-boot-sunxi/next (and rebased u-boot-sunxi/next, so did a forced push). Reg

[U-Boot] [PATCH 2/2] sunxi: Add Hyundai A7HD support

2015-01-22 Thread Hans de Goede
The Hyundai A7HD is a 7" 16:9 A10 powered tablet featuring 1G RAM, 8G nand, 1024x600 IPS screen, a mini hdmi port, mini usb receptacle and a headphones port for details see: http://linux-sunxi.org/Hyundai_A7HD Cc: Mark Janssen Signed-off-by: Hans de Goede --- board/sunxi/MAINTAINERS| 1

[U-Boot] [PATCH 1/2] sunxi: video: Make pwm polarity configurable

2015-01-22 Thread Hans de Goede
It turns out that there are some panels where the pwm input is not active low, so make it configurable. Signed-off-by: Hans de Goede --- board/sunxi/Kconfig | 7 +++ drivers/video/sunxi_display.c | 17 +++-- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git

Re: [U-Boot] [PATCH v4 01/18] mmc: show hardware partition sizes in mmcinfo output

2015-01-22 Thread Pantelis Antoniou
Hi Stephen, > On Jan 22, 2015, at 21:59 , Stephen Warren wrote: > > On 01/22/2015 12:45 PM, Pantelis Antoniou wrote: >> Hi Stephen, >> >>> On Jan 22, 2015, at 20:42 , Stephen Warren wrote: >>> >>> On 12/23/2014 02:50 AM, Diego Santa Cruz wrote: There is currently no command that will pro

Re: [U-Boot] [PATCH] sunxi: video: Add support for Hitachi tx18d42vm LVDS LCD panels

2015-01-22 Thread Anatolij Gustschin
Hi, On Thu, 22 Jan 2015 20:52:26 +0100 Hans de Goede wrote: > Add support for Hitachi tx18d42vm LVDS LCD panels, these panels have a > lcd controller which needs to be initialized over SPI, once that is > done they work like a regular LVDS panel. > > Signed-off-by: Hans de Goede Acked-by: Ana

Re: [U-Boot] [PATCH 1/3] ARmv7: Add a soc_init hook to start.S

2015-01-22 Thread Tom Rini
On Thu, Jan 22, 2015 at 08:10:06PM +0100, Hans de Goede wrote: > Hi, > > On 22-01-15 17:20, Tom Rini wrote: > >On Wed, Jan 21, 2015 at 09:03:25PM +0100, Hans de Goede wrote: > > > >>On some SoCs / ARMv7 CPU cores we need to do some setup before enabling the > >>icache, etc. Add a soc_init hook wit

Re: [U-Boot] [PATCH v3 1/4] dm: introduce dev_get_addr interface

2015-01-22 Thread Simon Glass
Hi, On 21 January 2015 at 04:09, Peng Fan wrote: > Abstracting dev_get_addr can improve drivers that want to > get device's address. > > Signed-off-by: Peng Fan > --- > drivers/core/device.c | 19 +++ > 1 file changed, 19 insertions(+) > > diff --git a/drivers/core/device.c b/dr

  1   2   >