Re: [U-Boot] [PATCH] fastboot: Add USB cable detect check

2015-01-29 Thread Lukasz Majewski
Hi Rob, > Add a check for USB cable attached and only enter fastboot when a > cable is attached. > > Signed-off-by: Rob Herring > --- > common/cmd_fastboot.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/common/cmd_fastboot.c b/common/cmd_fastboot.c > index b72f4f3..346ab80 10

Re: [U-Boot] [PATCH 1/2] fastboot: add "fastboot oem" command support

2015-01-29 Thread Lukasz Majewski
Hi Rob, > From: Michael Scott > > Add code stub to handle "fastboot oem __" command. As unlock is a > common fastboot command, distinguish that it is not implemented. > > Signed-off-by: Michael Scott > Signed-off-by: Rob Herring > --- > drivers/usb/gadget/f_fastboot.c | 15 +++ >

Re: [U-Boot] [PATCH 2/2] fastboot: add support for "oem format" command

2015-01-29 Thread Lukasz Majewski
Hi Rob, > Add "oem format" command to write partition table. This relies on the > env variable partitions to contain the list of partitions as required > by the gpt command. > > Note that this does not erase any data other than the partition table. > > Signed-off-by: Rob Herring > --- > driver

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

2015-01-29 Thread Anatolij Gustschin
Hi, On Wed, 28 Jan 2015 09:13:22 +0800 Bo Shen wrote: > This commit 904672e (lcd: refactor lcd console stuff into its > own file), which cause lcd console address is not initialized. > > This patch initialize the lcd console use the default value, > will be update when splash screen is enabled.

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

2015-01-29 Thread Bo Shen
Hi Anatolij, On 01/29/2015 04:51 PM, Anatolij Gustschin wrote: Hi, On Wed, 28 Jan 2015 09:13:22 +0800 Bo Shen wrote: This commit 904672e (lcd: refactor lcd console stuff into its own file), which cause lcd console address is not initialized. This patch initialize the lcd console use the def

Re: [U-Boot] Problem Mounting/Unmounting several UBI volumes in u-boot.

2015-01-29 Thread Heiko Schocher
Hello Konstantyn, Am 21.01.2015 15:57, schrieb Konstantyn Prokopenko: Hello Heiko, I'll try the patch today. Thank you very much! Did you found time for trying it? I want to prepare a pull-request for ubi, and it would be nice to have fixed your problem too ;-) bye, Heiko Regards, Konstan

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

2015-01-29 Thread Anatolij Gustschin
Hey Tom, The following changes since commit ab92da9f47d51d363c7de42e2a7bd807e2c1bd54: Merge branch 'master' of git://git.denx.de/u-boot-x86 (2015-01-26 17:44:49 -0500) are available in the git repository at: git://git.denx.de/u-boot-video.git master for you to fetch changes up to 717e3a7

[U-Boot] [RFC PATCH v2 1/6] x86: Add header files for Intel Quark SoC defines

2015-01-29 Thread Bin Meng
device.h for integrated pci devices' bdf on Quark SoC and quark.h for various memory-mapped and i/o-mapped base addresses within SoC. Signed-off-by: Bin Meng --- Changes in v2: - Move vairous components' base addresses within Quark SoC to Kconfig arch/x86/include/asm/arch-quark/device.h | 28

[U-Boot] [RFC PATCH v2 3/6] x86: quark: Add Cache-As-RAM initialization

2015-01-29 Thread Bin Meng
Quark SoC contains an embedded 512KiB SRAM (eSRAM) that is initialized by hardware. eSRAM is the ideal place to be used for Cache-As-RAM (CAR) before system memory is available. Signed-off-by: Bin Meng --- Changes in v2: - Replace upper case register names (EAX etc.) with lower case - Use some

[U-Boot] [RFC PATCH v2 2/6] x86: quark: Add routines to access message bus registers

2015-01-29 Thread Bin Meng
In the Quark SoC, some chipset commands are accomplished by utilizing the internal message network within the host bridge (D0:F0). Accesses to this network are accomplished by populating the message control register (MCR), Message Control Register eXtension (MCRX) and the message data register (MDR

[U-Boot] [RFC PATCH v2 4/6] x86: Add basic Intel Quark processor support

2015-01-29 Thread Bin Meng
Add minimum codes to support Intel Quark SoC. DRAM initialization is not ready yet so a hardcoded gd->ram_size is assigned. Signed-off-by: Bin Meng --- Changes in v2: - Use machine-specific - Move vairous components' base addresses within Quark SoC to Kconfig - Rebase to u-boot-86/master arch

[U-Boot] [RFC PATCH v2 0/6] x86: New Intel Quark SoC support

2015-01-29 Thread Bin Meng
This series adds the first step of bare support for the Intel Quark SoC support which can be validated on Intel Galileo board. Intel Quark is a line of 32-bit x86 SoCs by Intel, designed for small size and low power consumption, and targeted at new markets including wearable devices. They are smal

[U-Boot] [RFC PATCH v2 6/6] x86: Enable the Intel quark/galileo build

2015-01-29 Thread Bin Meng
Make the Intel quark/galileo support avaiable in Kconfig and Makefile. With this patch, we can generate u-boot.rom for Intel galileo board. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: - Use Arduino-certified arch/x86/Kconfig | 17 + arch/x86/cpu/M

[U-Boot] [RFC PATCH v2 5/6] x86: Add basic Intel Galileo board support

2015-01-29 Thread Bin Meng
New board/intel/galileo board directory with minimum codes, plus board dts, defconfig and configuration files. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v2: None arch/x86/dts/Makefile | 1 + arch/x86/dts/galileo.dts| 43

[U-Boot] [PATCH] ARM: armv7 fix spelling of SCTRL

2015-01-29 Thread Peng Fan
SCTLR is the abbreviation of System Control Register, so we should use SCTLR but not SCTRL. Signed-off-by: Peng Fan --- arch/arm/cpu/armv7/cpu.c | 2 +- arch/arm/cpu/armv7/start.S | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/cpu/armv7/cpu.c b/arch/arm/cpu

[U-Boot] [PATCH 1/4] MIPS: use asm.h macros in mips32 start.S

2015-01-29 Thread Paul Burton
Where the mips32 & mips64 implementations of start.S differ in terms of access sizes & offsets, use the appropriate macros from asm.h to abstract those differences away. This is in preparation for sharing a single copy of start.S between mips32 & mips64. The exception to this is loads of immediate

[U-Boot] [PATCH 2/4] MIPS: handle mips64 relocs in mips32 start.S

2015-01-29 Thread Paul Burton
In preparation for sharing a single copy of start.S between mips32 & mips64, handle mips64 relocations in the mips32 start.S when built for mips64. Signed-off-by: Paul Burton Cc: Daniel Schwierzeck --- arch/mips/cpu/mips32/start.S | 19 +-- 1 file changed, 17 insertions(+), 2 de

[U-Boot] [PATCH 3/4] MIPS: handle mips64 ST0_KX bit in mips32 start.S

2015-01-29 Thread Paul Burton
In preparation for sharing a single copy of start.S between mips32 & mips64, handle setting the KX bit of the cop0 Status register when the mips32 start.S is built for mips64. Signed-off-by: Paul Burton Cc: Daniel Schwierzeck --- arch/mips/cpu/mips32/start.S | 4 +++- 1 file changed, 3 insertio

[U-Boot] [PATCH 0/4] MIPS: unify start.S

2015-01-29 Thread Paul Burton
Currently we have mips32-specific & mips64-specific versions of start.S, which are very similar. This short series adapts the mips32 start.S to also be suitable for mips64 systems & then shares that single copy between mips32 & mips64 builds. Paul Burton (4): MIPS: use asm.h macros in mips32 sta

[U-Boot] [PATCH 4/4] MIPS: share start.S between mips32 & mips64

2015-01-29 Thread Paul Burton
The mips32 copy of start.S now has everything required to also handle mips64 builds. Move it to arch/mips/lib, use it for all builds & remove the redundant mips64-specific version. Signed-off-by: Paul Burton Cc: Daniel Schwierzeck --- arch/mips/Makefile| 3 +- arch/mips/cp

[U-Boot] [PATCH 0/4] malta: IDE support, reset fix, config updates

2015-01-29 Thread Paul Burton
This series includes a few assorted improvements to the MIPS Malta board support. Paul Burton (4): malta: IDE support malta: delay after reset malta: enable HUSH parser malta: enable ELF loading arch/mips/include/asm/malta.h | 5 + board/imgtec/malta/malta.c| 20

[U-Boot] [PATCH 1/4] malta: IDE support

2015-01-29 Thread Paul Burton
This patch adds IDE support to the MIPS Malta board. The IDE controller is enabled after probing the PCI bus and otherwise just makes use of U-boot generic IDE support. Signed-off-by: Paul Burton Cc: Daniel Schwierzeck --- arch/mips/include/asm/malta.h | 5 + board/imgtec/malta/malta.c

[U-Boot] [PATCH 3/4] malta: enable HUSH parser

2015-01-29 Thread Paul Burton
The malta board is used for development and thus the shell is interacted with often. Enable HUSH to make the experience a little more pleasant. Signed-off-by: Paul Burton Cc: Daniel Schwierzeck --- include/configs/malta.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/malta

[U-Boot] [PATCH 2/4] malta: delay after reset

2015-01-29 Thread Paul Burton
Reset isn't instant, so delay to give it a chance. Otherwise we go on to print a failure message before resetting anyway. Signed-off-by: Paul Burton Cc: Daniel Schwierzeck --- board/imgtec/malta/malta.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/imgtec/malta/malta.c b/board/imgte

[U-Boot] [PATCH 4/4] malta: enable ELF loading

2015-01-29 Thread Paul Burton
The ability to load ELF files is sometimes useful on Malta boards, particularly for use with small embedded applications. Enable the loadelf command in the malta config. Signed-off-by: Paul Burton Cc: Daniel Schwierzeck --- include/configs/malta.h | 1 + 1 file changed, 1 insertion(+) diff --g

[U-Boot] [PATCH 00/13] common lcd refactor

2015-01-29 Thread Nikita Kiryanov
This series is part of my ongoing efforts to cleanup common/lcd code (and at some point merge it with the CONFIG_VIDEO code). This series focuses on eliminating platform specific #defines from lcd.c code, and then adds a few platform independent code refactors and cleanups on top of that. A few not

[U-Boot] [PATCH 12/13] lcd: dt: extract simplefb support

2015-01-29 Thread Nikita Kiryanov
We now have api functions that can support compiling simplefb code as its own module. Since this code is not part of the display functionality, extract it to its own file. Raspberry Pi config file is updated to compile the new file. Signed-off-by: Nikita Kiryanov Cc: Simon Glass Cc: Anatolij Gu

[U-Boot] [PATCH 02/13] lcd: split configuration_get_cmap

2015-01-29 Thread Nikita Kiryanov
configuration_get_cmap() is multiple platform specific functions stuffed into one function. Split it into multiple versions, and move each version to the appropriate driver to reduce the #ifdef complexity. Signed-off-by: Nikita Kiryanov Cc: Bo Shen Cc: Simon Glass Cc: Anatolij Gustschin --- c

[U-Boot] [PATCH 04/13] lcd: mpc8xx: move mpc823 specific fb_put_byte to mpc8xx_lcd.c

2015-01-29 Thread Nikita Kiryanov
Reduce the amount of platform dependant code in common/lcd.c by moving MPC823 specific implementation of fb_put_byte() to mpc8xx_lcd.c. Since we must also have a default implementation for everybody else, make the remainder of the code into a weak function. Signed-off-by: Nikita Kiryanov Cc: Simo

[U-Boot] [PATCH 13/13] lcd: split splash code into its own function

2015-01-29 Thread Nikita Kiryanov
lcd_logo() currently performs tasks well beyond just displaying the logo. It has code which displays splash image, it has logic which determines when the different display features are displayed, and it is coupled with the lcd console because it holds the responsibility of returning the lcd console

[U-Boot] [PATCH 09/13] lcd: remove unused includes

2015-01-29 Thread Nikita Kiryanov
Remove unused includes. Signed-off-by: Nikita Kiryanov Cc: Bo Shen Cc: Simon Glass Cc: Anatolij Gustschin --- common/lcd.c | 18 -- 1 file changed, 18 deletions(-) diff --git a/common/lcd.c b/common/lcd.c index 8a8d6c3..7a51923 100644 --- a/common/lcd.c +++ b/common/lcd.c @@

[U-Boot] [PATCH 11/13] lcd: rename bitmap_plot to better represent its functionality

2015-01-29 Thread Nikita Kiryanov
The name "bitmap_plot" is misleading because it implies that this is a generic function capable of dealing with any bitmap, but its implementation only works with the logo data. Rename the function to better reflect this. Signed-off-by: Nikita Kiryanov Cc: Simon Glass Cc: Anatolij Gustschin --

[U-Boot] [PATCH 05/13] lcd: atmel: introduce lcd_logo_set_cmap

2015-01-29 Thread Nikita Kiryanov
Reduce the bitmap_plot #ifdef complexity by extracting Atmel specific code for setting cmap into a new function lcd_logo_set_cmap(), which is implemented in atmel_lcdfb driver and defined as part of common/lcd.c api with a weak dummy version. In the Atmel implementation, ARRAY_SIZE(bmp_logo_palette

[U-Boot] [PATCH 01/13] lcd: move platform specific structs to their own headers

2015-01-29 Thread Nikita Kiryanov
common/lcd code is full of platform specific code and definitions, which ideally should reside with the respective driver code. Take a step towards that goal by moving platform specific structs from lcd.h to their own header files. The structs for the generic case (the #else for all the platform s

[U-Boot] [PATCH 10/13] lcd: various cleanups

2015-01-29 Thread Nikita Kiryanov
This cleanup mostly focuses on removing unnecessary whitespace and comments which are superfluous and/or do not conform to the coding style. Signed-off-by: Nikita Kiryanov Cc: Simon Glass Cc: Anatolij Gustschin --- common/lcd.c | 90 +-- includ

[U-Boot] [PATCH 03/13] lcd: atmel: move atmel specific fb_put_word to atmel_lcdfb

2015-01-29 Thread Nikita Kiryanov
Reduce the amount of platform dependant code in common/lcd.c by moving Atmel specific implementation of fb_put_word() to atmel_lcdfb.c. Since we must also have a default implementation for everybody else, make the remainder of the code into a weak function. Signed-off-by: Nikita Kiryanov Cc: Bo S

[U-Boot] [PATCH 07/13] lcd: logo: move generic cmap setting to lcd_logo_set_cmap()

2015-01-29 Thread Nikita Kiryanov
Get rid of platform specific #ifdefs in bitmap_plot() by moving the generic case of setting cmap into the weak lcd_logo_set_cmap(). Signed-off-by: Nikita Kiryanov Cc: Bo Shen Cc: Simon Glass Cc: Anatolij Gustschin --- common/lcd.c | 28 +++- 1 file changed, 7 insertion

[U-Boot] [PATCH 06/13] lcd: mpc823: move mpc823 specific lcd_logo_set_cmap code to mpc8xx_lcd.c

2015-01-29 Thread Nikita Kiryanov
Reduce the bitmap_plot #ifdef complexity by extracting MPC823 specific code for setting cmap into its own implementation of lcd_logo_set_cmap(), implemented in mpc8xx_lcd.c. In the MPC823 implementation, ARRAY_SIZE(bmp_logo_palette) is switched for BMP_LOGO_COLORS to avoid having to include bmp_log

[U-Boot] [PATCH 08/13] lcd: introduce lcd_set_cmap

2015-01-29 Thread Nikita Kiryanov
Reduce the lcd_display_bitmap #ifdef complexity by extracting Atmel specific code for setting cmap for bitmap images into a new function lcd_set_cmap(). A default version is implemented with the remainder of the code. Signed-off-by: Nikita Kiryanov Cc: Bo Shen Cc: Simon Glass Cc: Anatolij Gusts

Re: [U-Boot] [PATCH v2 0/8] MIPS cache code cleanup

2015-01-29 Thread Daniel Schwierzeck
2015-01-29 2:27 GMT+01:00 Paul Burton : > This series cleans up the MIPS cache code somewhat, and unifies the > mips32 & mips64 implementations of it. This is largely in preparation > for further patches adding L2 cache support. The final patch of this > series fixes a bug encountered with recent c

Re: [U-Boot] [PATCH 0/4] malta: IDE support, reset fix, config updates

2015-01-29 Thread Daniel Schwierzeck
2015-01-29 11:38 GMT+01:00 Paul Burton : > This series includes a few assorted improvements to the MIPS Malta board > support. > > Paul Burton (4): > malta: IDE support > malta: delay after reset > malta: enable HUSH parser > malta: enable ELF loading > all patches applied to u-boot-mips/m

[U-Boot] [PATCH] MIPS: unify CPU code in arch/mips/cpu/

2015-01-29 Thread Daniel Schwierzeck
Unify and move code in arch/mips/cpu/mips[32|64]/ to arch/mips/cpu/. The CPU specific config.mk files need to remain until CONFIG_STANDALONE_LOAD_ADDR is converted to a global Kconfig symbol. Signed-off-by: Paul Burton Signed-off-by: Daniel Schwierzeck --- arch/mips/Makefile|

[U-Boot] [PATCH] MIPS: move au1x00 SoC code to arch/mips/mach-au1x00

2015-01-29 Thread Daniel Schwierzeck
Move all au1x00 code out of arch/mips/cpu/mips32 to allow unification of CPU code in a later patch. The reorganization of the SoC specific header files will be done in a later patch series. Signed-off-by: Daniel Schwierzeck Cc: Paul Burton --- arch/mips/Makefile

Re: [U-Boot] [PATCH 0/4] MIPS: unify start.S

2015-01-29 Thread Daniel Schwierzeck
Hi Paul, 2015-01-29 11:04 GMT+01:00 Paul Burton : > Currently we have mips32-specific & mips64-specific versions of start.S, > which are very similar. This short series adapts the mips32 start.S to > also be suitable for mips64 systems & then shares that single copy > between mips32 & mips64 build

[U-Boot] [PATCH v2] MIPS: unify CPU code in arch/mips/cpu/

2015-01-29 Thread Daniel Schwierzeck
Unify and move code in arch/mips/cpu/mips[32|64]/ to arch/mips/cpu/. The CPU specific config.mk files need to remain until CONFIG_STANDALONE_LOAD_ADDR is converted to a global Kconfig symbol. Signed-off-by: Paul Burton Signed-off-by: Daniel Schwierzeck --- Changes for v2: - resend with git renam

Re: [U-Boot] spl: Change printf to puts for "Unsupported boot-device"

2015-01-29 Thread Tom Rini
On Tue, Jan 27, 2015 at 04:45:09PM +0100, Stefan Roese wrote: > Microblaze currently doesn't use printf in SPL. So this one line was the only > reference to it and resulted in the printf functionality to be pulled in. > Exceeding the 4k size limit. Lets change the printf back to puts so that > Mic

Re: [U-Boot] Makefile: clean boot.bin

2015-01-29 Thread Tom Rini
On Thu, Jan 15, 2015 at 10:03:53AM +0800, Bo Shen wrote: > When build for Atmel related boards which support SPL, > it will generate boot.bin, also clean when it when do > "make clean" operation. > > Signed-off-by: Bo Shen > Acked-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom

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

2015-01-29 Thread Tom Rini
On Wed, Jan 28, 2015 at 09:13:22AM +0800, Bo Shen wrote: > This commit 904672e (lcd: refactor lcd console stuff into its > own file), which cause lcd console address is not initialized. > > This patch initialize the lcd console use the default value, > will be update when splash screen is enabled

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

2015-01-29 Thread Tom Rini
On Thu, Jan 29, 2015 at 10:06:57AM +0100, Anatolij Gustschin wrote: > Hey Tom, > > The following changes since commit ab92da9f47d51d363c7de42e2a7bd807e2c1bd54: > > Merge branch 'master' of git://git.denx.de/u-boot-x86 (2015-01-26 17:44:49 > -0500) > > are available in the git repository at:

Re: [U-Boot] [PATCH 12/14] microblaze: Move architecture to use generic board init

2015-01-29 Thread Simon Glass
Hi Michal, On 27 January 2015 at 08:20, Michal Simek wrote: > Compile code with -fPIC to get GOT. Do not build SPL > with fPIC because it increasing SPL size for nothing. > > Signed-off-by: Michal Simek > --- > > This code requires > "common/board_r: manual relocation for cmd table" > http://lis

Re: [U-Boot] [PATCH 0/3] arm: reduce .bss section clear time

2015-01-29 Thread Przemyslaw Marczak
Hello, On 01/28/2015 03:34 PM, Pantelis Antoniou wrote: Hi Przemyslaw, On Jan 28, 2015, at 16:30 , Przemyslaw Marczak wrote: Hello, On 01/28/2015 03:18 PM, Pantelis Antoniou wrote: Hi Przemyslaw, On Jan 28, 2015, at 16:10 , Przemyslaw Marczak wrote: Hello Stefan, On 01/28/2015 02:12 P

[U-Boot] [PATCH] lib: div64: syncronize to current kernel version

2015-01-29 Thread Nishanth Menon
Synchronize with the implementation from v3.18 tag. This allows us to use a standardized 64 bit ops on architectures that do not natively support 64 bit (example: 32bit ARM) Signed-off-by: Nishanth Menon --- include/linux/math64.h | 81 ++ lib/div64.c| 13

Re: [U-Boot] [PATCH 12/14] microblaze: Move architecture to use generic board init

2015-01-29 Thread Simon Glass
Hi Michal, On 29 January 2015 at 07:20, Michal Simek wrote: > Hi Simon, > > On 01/29/2015 03:15 AM, Simon Glass wrote: >> Hi Michal, >> >> On 27 January 2015 at 08:20, Michal Simek wrote: >>> Compile code with -fPIC to get GOT. Do not build SPL >>> with fPIC because it increasing SPL size for n

Re: [U-Boot] [PATCH 12/14] microblaze: Move architecture to use generic board init

2015-01-29 Thread Michal Simek
Hi Simon, On 01/29/2015 03:15 AM, Simon Glass wrote: > Hi Michal, > > On 27 January 2015 at 08:20, Michal Simek wrote: >> Compile code with -fPIC to get GOT. Do not build SPL >> with fPIC because it increasing SPL size for nothing. >> >> Signed-off-by: Michal Simek >> --- >> ... >> -#if defin

Re: [U-Boot] [PATCH 0/3] arm: reduce .bss section clear time

2015-01-29 Thread Przemyslaw Marczak
Hello, On 01/28/2015 01:55 PM, Przemyslaw Marczak wrote: This patchset reduces the boot time for ARM architecture, Exynos boards, and boards with DFU enabled(ARM). For tested Trats2 device, this was done in three steps. First was enable the arch memcpy and memset. The second step was enable me

Re: [U-Boot] [PATCH 12/13] lcd: dt: extract simplefb support

2015-01-29 Thread Stephen Warren
On 01/29/2015 04:21 AM, Nikita Kiryanov wrote: We now have api functions that can support compiling simplefb code as its own module. Since this code is not part of the display functionality, extract it to its own file. Raspberry Pi config file is updated to compile the new file. I don't see an

Re: [U-Boot] [PATCH 1/2] fastboot: add "fastboot oem" command support

2015-01-29 Thread Marek Vasut
On Thursday, January 29, 2015 at 09:30:27 AM, Lukasz Majewski wrote: > Hi Rob, Hi all! > > From: Michael Scott > > > > Add code stub to handle "fastboot oem __" command. As unlock is a > > common fastboot command, distinguish that it is not implemented. > > > > Signed-off-by: Michael Scott >

Re: [U-Boot] [PATCH v3 01/12] dm: i2c-uclass-compat: fix missed argument

2015-01-29 Thread Simon Glass
On 27 January 2015 at 08:38, Simon Glass wrote: > Hi Przemyslaw, > > On 27 January 2015 at 05:36, Przemyslaw Marczak wrote: >> This patch fixes build error for CONFIG_DM_I2C_COMPAT. >> In i2c_get_chip_for_busnum() call, one of argument was missed, >> which was offset_len. Now it is set to 'alen'

Re: [U-Boot] [PATCH 01/18] arndale: config: disable max77686 support

2015-01-29 Thread Simon Glass
On 26 January 2015 at 20:13, Simon Glass wrote: > On 8 January 2015 at 04:33, Przemyslaw Marczak wrote: >> There is no MAX77686 pmic on this board, >> so the driver support should be removed. >> >> Signed-off-by: Przemyslaw Marczak >> Cc: Minkyu Kang >> --- >> include/configs/arndale.h | 2 --

Re: [U-Boot] [PATCH v3 04/12] smdk5250: config: enable max77686 driver support

2015-01-29 Thread Simon Glass
On 27 January 2015 at 05:36, Przemyslaw Marczak wrote: > This commit enable support for the above driver, > which was disabled in common config. > > Signed-off-by: Przemyslaw Marczak > Acked-by: Simon Glass > Cc: Simon Glass > Cc: Minkyu Kang > --- > include/configs/smdk5250.h | 2 ++ > 1 fil

Re: [U-Boot] [PATCH v3 03/12] exynos5250: config: disable max77686 driver

2015-01-29 Thread Simon Glass
On 27 January 2015 at 05:36, Przemyslaw Marczak wrote: > This PMIC is not common for all Exynos5250 > based boards, so should be romoved from > common config. > > Signed-off-by: Przemyslaw Marczak > Acked-by: Simon Glass > Cc: Simon Glass > Cc: Minkyu Kang > --- > include/configs/exynos5250-c

Re: [U-Boot] [PATCH v3 07/12] exynos5: pinmux: check flag for i2c config

2015-01-29 Thread Simon Glass
On 27 January 2015 at 08:38, Simon Glass wrote: > On 27 January 2015 at 05:36, Przemyslaw Marczak wrote: >> Some versions of Exynos5 supports High-Speed I2C, >> on few interfaces, this change allows support this. >> The new flag is: PINMUX_FLAG_HS_MODE >> >> Signed-off-by: Przemyslaw Marczak >>

Re: [U-Boot] [PATCH v3 05/12] exynos4: dts: add missing i2c properties

2015-01-29 Thread Simon Glass
On 27 January 2015 at 05:36, Przemyslaw Marczak wrote: > This patch modify i2c nodes in exynos4.dtsi with: > - adding proper interrupts arrays for each i2c node, > which allows to decode periph id > - add reg address for each i2c node for i2c driver internal use > > Signed-off-by: Przemyslaw Mar

Re: [U-Boot] [PATCH v3 06/12] arndale: dts: add missing i2c aliases

2015-01-29 Thread Simon Glass
On 27 January 2015 at 05:36, Przemyslaw Marczak wrote: > Without this alias setting, the seq numbers > of the i2c devices are wrong. > > Signed-off-by: Przemyslaw Marczak > Acked-by: Simon Glass > Cc: Simon Glass > Cc: Minkyu Kang > --- > arch/arm/dts/exynos5250-arndale.dts | 8 > 1

Re: [U-Boot] [PATCH v3 11/12] odroid u3: enable dm i2c support

2015-01-29 Thread Simon Glass
On 27 January 2015 at 05:36, Przemyslaw Marczak wrote: > This patch enables CONFIG_DM_I2C and also CONFIG_DM_I2C_COMPAT. > The last one should be removed when the dm pmic framework will > be finished. > > Signed-off-by: Przemyslaw Marczak > Acked-by: Simon Glass > Cc: Minkyu Kang > > --- > Chan

Re: [U-Boot] [PATCH v3 10/12] odroid u3: dts: add missing i2c aliases

2015-01-29 Thread Simon Glass
On 27 January 2015 at 05:36, Przemyslaw Marczak wrote: > This change fixes i2c bus numbering for Odroid U3. > > Signed-off-by: Przemyslaw Marczak > Acked-by: Simon Glass > Cc: Minkyu Kang > > --- > Changes v2: > - new patch > --- > arch/arm/dts/exynos4412-odroid.dts | 7 +++ > 1 file chang

Re: [U-Boot] [PATCH v3 09/12] dm: i2c: s3c24x0: adjust to dm-i2c api

2015-01-29 Thread Simon Glass
On 27 January 2015 at 08:38, Simon Glass wrote: > On 27 January 2015 at 05:36, Przemyslaw Marczak wrote: >> This commit adjusts the s3c24x0 driver to new i2c api >> based on driver-model. The driver supports standard >> and high-speed i2c as previous. >> >> Tested on Trats2, Odroid U3, Arndale, O

Re: [U-Boot] [PATCH v4 2/4] dm: exynos: dts: Set the offset length for cros_ec

2015-01-29 Thread Simon Glass
On 26 January 2015 at 20:29, Simon Glass wrote: > The EC has no concept of offset, so use a value of 0. > > Signed-off-by: Simon Glass > --- > > Changes in v4: None > > arch/arm/dts/exynos5250-snow.dts | 1 + > 1 file changed, 1 insertion(+) Applied to u-boot-dm. ___

Re: [U-Boot] [PATCH v4 1/4] dm: i2c: dts: Support an offset-len device tree property

2015-01-29 Thread Simon Glass
On 26 January 2015 at 20:29, Simon Glass wrote: > Since U-Boot can support different offset lengths (0-4 bytes), add a device > tree property to specify this. This avoids hard-coding it in the driver. > > Signed-off-by: Simon Glass > --- > > Changes in v4: None > > doc/device-tree-bindings/i2c/i

Re: [U-Boot] [PATCH v3 12/12] exynos5: enable dm i2c

2015-01-29 Thread Simon Glass
On 27 January 2015 at 05:36, Przemyslaw Marczak wrote: > This patch enables CONFIG_DM_I2C and also CONFIG_DM_I2C_COMPAT. > The last one should be removed when all the i2c peripheral > drivers will use dm i2c framework. > > Signed-off-by: Przemyslaw Marczak > Acked-by: Simon Glass > Cc: Akshay Sa

Re: [U-Boot] [PATCH v4 4/4] dm: cros_ec: Convert cros_ec_i2c over to driver model

2015-01-29 Thread Simon Glass
On 26 January 2015 at 20:29, Simon Glass wrote: > Move this driver to use driver model and update the snow configuration to > match. > > Signed-off-by: Simon Glass > --- > > Changes in v4: > - Add patches to support offset length in device tree > - Rebase on top of exynos I2C series > > drivers/

Re: [U-Boot] [PATCH v4 3/4] dm: i2c: Add two more I2C init functions to the compatibility layer

2015-01-29 Thread Simon Glass
On 26 January 2015 at 20:29, Simon Glass wrote: > These functions are useful in case the board calls them. Also fix a missing > parameter caused by applying the wrong patch (actually I failed to send v2 > and applied v1 by mistake). > > Signed-off-by: Simon Glass > --- > > Changes in v4: > - Brin

Re: [U-Boot] [PATCH] arm, imx6, aristainetos: board updates

2015-01-29 Thread Stefano Babic
On 20/01/2015 10:06, Heiko Schocher wrote: > - use linux display timing settings > - change backlight duty cycle 500ns > - some defaultenvironment changes > - change fit_addr_r to 0x1400 as needed if > MAX_LOCKDEP_SUBCLASSES in linux gets increased. > - Environment now at 0xd in nand flas

Re: [U-Boot] Bug in buildman?

2015-01-29 Thread Simon Glass
Hi Andreas, On 31 December 2014 at 05:44, Andreas Bießmann wrote: > Hi Simon, > > while test-building 2015.01-rc4 I encountered following strange > behaviour of buildman: > > ---8<--- > andreas@andreas-pc % ./tools/buildman/buildman -b buildtest -o /tmp/bar > -v avr32 > boards.cfg is up to date.

Re: [U-Boot] [PATCH 14/14] common: convert compulab splash load code to common code

2015-01-29 Thread Stefano Babic
On 14/01/2015 09:42, Nikita Kiryanov wrote: > Move board/compulab/common/splash.c code to > common/splash_source.c to make it available for everybody. This move > renames cl_splash_screen_prepare() to splash_source_load(), and > the compilation of this code is conditional on CONFIG_SPLASH_SOURCE. >

Re: [U-Boot] [PATCH 13/14] arm: mx6: cm-fx6: add splash screen support

2015-01-29 Thread Stefano Babic
On 14/01/2015 09:42, Nikita Kiryanov wrote: > Add support for splash screen. > The splash screen is loaded from the SPI flash and is displayed on the > HDMI display. > > Signed-off-by: Nikita Kiryanov > [grinb...@compulab.co.il: minor code and commit message updates] > Signed-off-by: Igor Grinber

Re: [U-Boot] [PATCH 12/14] compulab: splash: support loading splash from sf

2015-01-29 Thread Stefano Babic
On 14/01/2015 09:42, Nikita Kiryanov wrote: > Add support for loading splash from sf. > > Signed-off-by: Nikita Kiryanov > [grinb...@compulab.co.il: staticize the sf global variable] > Signed-off-by: Igor Grinberg > Cc: Stefano Babic > Cc: Igor Grinberg > --- Applied to u-boot-imx, thanks !

Re: [U-Boot] [PATCH 11/14] compulab: splash: support multiple splash sources

2015-01-29 Thread Stefano Babic
On 14/01/2015 09:42, Nikita Kiryanov wrote: > Define a generic way for boards to define splash image locations: > - introduce struct splash_location > - introduce enum splash_storage > - update cl_splash_screen_prepare() to take an array of above struct > and select the appropriate one based on t

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

2015-01-29 Thread Stefano Babic
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 > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- =

Re: [U-Boot] [PATCH 10/14] compulab: splash: refactor splash.c

2015-01-29 Thread Stefano Babic
On 14/01/2015 09:42, Nikita Kiryanov wrote: > Move storage device specific code into its own function instead of > calling it directly from an otherwise storage device independent > function (cl_splash_screen_prepare). > > This is a preparation for supporting multiple splash locations. > > Signed

Re: [U-Boot] [PATCH 08/14] arm: mx6: cm-fx6: add support for usb keyboard

2015-01-29 Thread Stefano Babic
On 14/01/2015 09:42, Nikita Kiryanov wrote: > Add support for usb keyboard for cm_fx6. > > Signed-off-by: Nikita Kiryanov > Cc: Stefano Babic > Cc: Igor Grinberg > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ==

Re: [U-Boot] [PATCH 09/14] compulab: splash: use errno values

2015-01-29 Thread Stefano Babic
On 14/01/2015 09:42, Nikita Kiryanov wrote: > Use errno values to improve return reporting. > > Signed-off-by: Nikita Kiryanov > Cc: Stefano Babic > Cc: Igor Grinberg > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ==

Re: [U-Boot] [PATCH 04/14] arm: mx6: cm-fx6: pass 2nd nic mac addr to Linux

2015-01-29 Thread Stefano Babic
On 14/01/2015 09:42, Nikita Kiryanov wrote: > Obtain 2nd NIC MAC address from baseboard EEPROM and pass it to Linux. > > Signed-off-by: Nikita Kiryanov > Cc: Stefano Babic > Cc: Igor Grinberg > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- =

Re: [U-Boot] [PATCH 02/14] arm: mx6: cm-fx6: change dtb node for ethaddr

2015-01-29 Thread Stefano Babic
On 14/01/2015 09:42, Nikita Kiryanov wrote: > When passing eth address to Linux via dtb, the "local-mac-address" > property should be set for "/soc/aips-bus@0210/ethernet@02188000", > not "/fec". > > Signed-off-by: Nikita Kiryanov > Cc: Stefano Babic > Cc: Igor Grinberg > --- Applied to u-

Re: [U-Boot] [PATCH 06/14] arm: mx6: cm-fx6: add hdmi console support

2015-01-29 Thread Stefano Babic
On 14/01/2015 09:42, Nikita Kiryanov wrote: > Add support for hdmi console. > > Signed-off-by: Nikita Kiryanov > Cc: Stefano Babic > Cc: Igor Grinberg > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- =

Re: [U-Boot] [PATCH 03/14] compulab: eeprom: allow reading mac address from multiple eeproms

2015-01-29 Thread Stefano Babic
On 14/01/2015 09:42, Nikita Kiryanov wrote: > Implement the option to select the eeprom i2c bus when reading mac > address. > > Signed-off-by: Nikita Kiryanov > Cc: Stefano Babic > Cc: Igor Grinberg > Cc: Ilya Ledvich > Cc: Dmitry Lifshitz > --- Applied to u-boot-imx, thanks ! Best regards,

Re: [U-Boot] [PATCH 01/14] arm: mx6: cm-fx6: expand boot sequence

2015-01-29 Thread Stefano Babic
On 14/01/2015 09:42, Nikita Kiryanov wrote: > Expand boot sequence to the following order: > 1) mmc boot: mmc boot script, then mmc bootm, then mmc bootz. > 2) usb boot: usb boot script. > 3) sata boot: sata boot script, sata bootm, sata bootz. > 4) nand boot: nand bootm, then nand bootz. > > Sign

Re: [U-Boot] [PATCH 05/14] arm: mx6: cm-fx6: increase size of malloc area

2015-01-29 Thread Stefano Babic
On 14/01/2015 09:42, Nikita Kiryanov wrote: > Increase size of malloc area to make room for framebuffer > and other such big allocations. > > Signed-off-by: Nikita Kiryanov > Cc: Stefano Babic > Cc: Igor Grinberg > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ===

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

2015-01-29 Thread Stefano Babic
On 27/01/2015 03:14, 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 v5 1/3] pmic:pfuz100 add switch mode and more registers

2015-01-29 Thread Stefano Babic
On 27/01/2015 03:14, Peng Fan wrote: > Add more pfuze register offset. > And switch mode definition. > Add a macro SWITCH_SIZE > > Signed-off-by: Peng Fan > Acked-by: Przemyslaw Marczak > Reviewed-by: Stefano Babic > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ===

Re: [U-Boot] [PATCH v5 3/3] imx:mx6 set normal APS and standby PFM mode

2015-01-29 Thread Stefano Babic
On 27/01/2015 03:14, Peng Fan wrote: > To normal mode, use APS switching mode. > To standy mode, use PFM switching mode. > > Signed-off-by: Peng Fan > Acked-by: Przemyslaw Marczak > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- =

Re: [U-Boot] [PATCH 1/4] mx6sx: pins: Enable SION for I2C3 iomux setting

2015-01-29 Thread Stefano Babic
Hi, On 12/01/2015 11:37, Nikolay Dimitrov wrote: > Hi Ye.Li, > > On 01/12/2015 10:46 AM, Ye.Li wrote: >> The I2C SDA and SCL require the IOMUX SION bit set to get input signal. >> >> Signed-off-by: Ye.Li >> --- >> arch/arm/include/asm/arch-mx6/mx6sx_pins.h |4 ++-- >> 1 files changed, 2 i

Re: [U-Boot] Bug in buildman?

2015-01-29 Thread Andreas Bießmann
Hi Simon, I add some more descriptive text. On 29.01.15 18:41, Simon Glass wrote: > Hi Andreas, > > On 31 December 2014 at 05:44, Andreas Bießmann > wrote: >> Hi Simon, >> >> while test-building 2015.01-rc4 I encountered following strange >> behaviour of buildman: >> >> ---8<--- This time crea

Re: [U-Boot] [PATCH v3] net: configure DWMAC DMA by default AXI burst length

2015-01-29 Thread Joe Hershberger
On Wed, Jan 28, 2015 at 11:37 PM, Sonic Zhang wrote: > > From: Sonic Zhang > > Board can define its own AXI burst length to improve DWMAC DMA performance. > > v2-changes: > - Avoid write burst len register when the Macro is not defined. > > v3-changes: > - Add axi_bus register member to struct et

Re: [U-Boot] Bug in buildman?

2015-01-29 Thread Simon Glass
+Masahiro Hi Andreas, On 29 January 2015 at 11:05, Andreas Bießmann wrote: > Hi Simon, > > I add some more descriptive text. > > On 29.01.15 18:41, Simon Glass wrote: >> Hi Andreas, >> >> On 31 December 2014 at 05:44, Andreas Bießmann >> wrote: >>> Hi Simon, >>> >>> while test-building 2015.01-

[U-Boot] [PATCH 1/2] buildman: Fix incorrect arguemnt in GetUpstream()

2015-01-29 Thread Simon Glass
This causes an error when trying to build a local branch which has a local branch as its upstream. Signed-off-by: Simon Glass Reported-by: Masahiro Yamada --- tools/patman/gitutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patman/gitutil.py b/tools/patman/gitu

[U-Boot] [PATCH 2/2] patman: Read in the git-mailrc alias file

2015-01-29 Thread Simon Glass
We should read this file to obtain a set of aliases. This reduces the need to create them in the ~/.patman file. This feature did exist in some version of patman, and is mentioned in the help but it did not find its way upstream. Reported-by: Graeme Russ Signed-off-by: Simon Glass --- tools/p

Re: [U-Boot] [PATCH] fastboot: Add USB cable detect check

2015-01-29 Thread Steve Rae
On 15-01-26 01:14 PM, Rob Herring wrote: Add a check for USB cable attached and only enter fastboot when a cable is attached. Signed-off-by: Rob Herring --- common/cmd_fastboot.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/common/cmd_fastboot.c b/common/cmd_fastboot.c index b

Re: [U-Boot] [PATCH 1/5] nand: Use common read function instead of verify_buf()

2015-01-29 Thread Scott Wood
On Tue, 2015-01-27 at 17:47 -0600, Peter Tyser wrote: > Hi Scott, > > > > > I waffled about removing it, but leaned towards leaving it in because: > > > - I didn't want to change the existing U-Boot behavior for other > > > users. A google of 'u-boot "nand write"' shows a lot of examples that >

[U-Boot] [PATCH v2 02/11] avr32: rename cpu_init() -> arch_cpu_init()

2015-01-29 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann --- Changes in v2: None Changes in v1: None arch/avr32/cpu/cpu.c|2 +- arch/avr32/include/asm/u-boot.h |2 ++ arch/avr32/lib/board.c |2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/avr32/cpu/cpu.c b/arch

  1   2   >