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 michal.si...@xilinx.com 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

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 michal.si...@xilinx.com wrote: Hi Simon, On 01/29/2015 03:15 AM, Simon Glass wrote: Hi Michal, On 27 January 2015 at 08:20, Michal Simek michal.si...@xilinx.com wrote: Compile code with -fPIC to get GOT. Do not build SPL with fPIC

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

[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 n...@ti.com --- include/linux/math64.h | 81 ++ lib/div64.c

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

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 michael.sc...@linaro.org 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

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 s...@chromium.org wrote: Hi Przemyslaw, On 27 January 2015 at 05:36, Przemyslaw Marczak p.marc...@samsung.com 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

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 s...@chromium.org wrote: On 8 January 2015 at 04:33, Przemyslaw Marczak p.marc...@samsung.com wrote: There is no MAX77686 pmic on this board, so the driver support should be removed. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Minkyu

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 p.marc...@samsung.com wrote: This commit enable support for the above driver, which was disabled in common config. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Acked-by: Simon Glass s...@chromium.org Cc: Simon Glass s...@chromium.org

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 p.marc...@samsung.com wrote: This PMIC is not common for all Exynos5250 based boards, so should be romoved from common config. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Acked-by: Simon Glass s...@chromium.org Cc: Simon Glass

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 s...@chromium.org wrote: On 27 January 2015 at 05:36, Przemyslaw Marczak p.marc...@samsung.com 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

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 p.marc...@samsung.com 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

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 p.marc...@samsung.com wrote: This change fixes i2c bus numbering for Odroid U3. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Acked-by: Simon Glass s...@chromium.org Cc: Minkyu Kang mk7.k...@samsung.com --- Changes v2: - new patch

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 s...@chromium.org wrote: On 27 January 2015 at 05:36, Przemyslaw Marczak p.marc...@samsung.com 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

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 s...@chromium.org wrote: The EC has no concept of offset, so use a value of 0. Signed-off-by: Simon Glass s...@chromium.org --- 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 v3 06/12] arndale: dts: add missing i2c aliases

2015-01-29 Thread Simon Glass
On 27 January 2015 at 05:36, Przemyslaw Marczak p.marc...@samsung.com wrote: Without this alias setting, the seq numbers of the i2c devices are wrong. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Acked-by: Simon Glass s...@chromium.org Cc: Simon Glass s...@chromium.org Cc: Minkyu

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 p.marc...@samsung.com 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 p.marc...@samsung.com Acked-by: Simon

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 s...@chromium.org 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 s...@chromium.org --- Changes in v4: None

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 p.marc...@samsung.com 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 p.marc...@samsung.com

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 s...@chromium.org wrote: Move this driver to use driver model and update the snow configuration to match. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Add patches to support offset length in device tree - Rebase on top of

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 s...@chromium.org 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 s...@chromium.org

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 r...@kernel.org --- common/cmd_fastboot.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/common/cmd_fastboot.c b/common/cmd_fastboot.c index

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 voice.s...@atmel.com 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

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 voice.s...@atmel.com 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

[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

[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

[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 bmeng...@gmail.com --- Changes in v2: - Move vairous components' base addresses within Quark SoC to Kconfig

[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 bmeng...@gmail.com --- Changes in v2: - Replace upper case register names (EAX etc.) with

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,

[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 bmeng...@gmail.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v2: - Use Arduino-certified arch/x86/Kconfig |

[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 bmeng...@gmail.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v2: None arch/x86/dts/Makefile | 1 + arch/x86/dts/galileo.dts|

[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 bmeng...@gmail.com --- Changes in v2: - Use machine-specific - Move vairous components' base addresses within Quark SoC to Kconfig - Rebase to

[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

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

2015-01-29 Thread Lukasz Majewski
Hi Rob, From: Michael Scott michael.sc...@linaro.org 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 michael.sc...@linaro.org Signed-off-by: Rob Herring r...@kernel.org ---

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 r...@kernel.org ---

[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 nik...@compulab.co.il Cc: Simon

[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

[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 nik...@compulab.co.il Cc: Simon Glass

[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,

[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

[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 nik...@compulab.co.il Cc: Simon Glass s...@chromium.org Cc: Anatolij Gustschin ag...@denx.de --- common/lcd.c | 90

[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

[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

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

2015-01-29 Thread Nikita Kiryanov
Remove unused includes. Signed-off-by: Nikita Kiryanov nik...@compulab.co.il Cc: Bo Shen voice.s...@atmel.com Cc: Simon Glass s...@chromium.org Cc: Anatolij Gustschin ag...@denx.de --- common/lcd.c | 18 -- 1 file changed, 18 deletions(-) diff --git a/common/lcd.c b/common/lcd.c

[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 nik...@compulab.co.il Cc: Bo Shen voice.s...@atmel.com Cc:

[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

[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 nik...@compulab.co.il Cc: Bo Shen voice.s...@atmel.com Cc: Simon Glass s...@chromium.org Cc: Anatolij Gustschin ag...@denx.de ---

[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 paul.bur...@imgtec.com Cc: Daniel Schwierzeck daniel.schwierz...@gmail.com ---

[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 immediates

[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 paul.bur...@imgtec.com Cc: Daniel Schwierzeck daniel.schwierz...@gmail.com --- arch/mips/cpu/mips32/start.S | 19

[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 paul.bur...@imgtec.com Cc: Daniel Schwierzeck daniel.schwierz...@gmail.com ---

[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

[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 paul.bur...@imgtec.com Cc: Daniel Schwierzeck daniel.schwierz...@gmail.com ---

[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 paul.bur...@imgtec.com Cc: Daniel Schwierzeck daniel.schwierz...@gmail.com --- include/configs/malta.h | 1 + 1 file changed,

[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 paul.bur...@imgtec.com Cc: Daniel Schwierzeck daniel.schwierz...@gmail.com --- board/imgtec/malta/malta.c | 1 + 1 file changed, 1 insertion(+)

[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 paul.bur...@imgtec.com Cc: Daniel Schwierzeck daniel.schwierz...@gmail.com ---

[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

[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 nik...@compulab.co.il Cc: Bo Shen

[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 peng@freescale.com --- arch/arm/cpu/armv7/cpu.c | 2 +- arch/arm/cpu/armv7/start.S | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

[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

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 p.marc...@samsung.com wrote: Hello, On 01/28/2015 03:18 PM, Pantelis Antoniou wrote: Hi Przemyslaw, On Jan 28, 2015, at 16:10 , Przemyslaw Marczak p.marc...@samsung.com

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 paul.bur...@imgtec.com: 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

[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 paul.bur...@imgtec.com Signed-off-by: Daniel Schwierzeck

[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 daniel.schwierz...@gmail.com Cc: Paul Burton paul.bur...@imgtec.com ---

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 paul.bur...@imgtec.com: 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

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 paul.bur...@imgtec.com: 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

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 flash

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 peng@freescale.com Acked-by: Przemyslaw Marczak p.marc...@samsung.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

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 sonic@gmail.com wrote: From: Sonic Zhang sonic.zh...@analog.com 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

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 andreas.de...@googlemail.com 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 andreas.de...@googlemail.com wrote: Hi

Re: [U-Boot] Bug in buildman?

2015-01-29 Thread Simon Glass
Hi Andreas, On 31 December 2014 at 05:44, Andreas Bießmann andreas.de...@googlemail.com 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

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 peng@freescale.com Acked-by: Przemyslaw Marczak p.marc...@samsung.com Reviewed-by: Stefano Babic sba...@denx.de --- Applied to u-boot-imx,

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.

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 nik...@compulab.co.il Cc: Stefano Babic sba...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il --- Applied to u-boot-imx,

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 is

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 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 nik...@compulab.co.il Cc: Stefano Babic sba...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il --- 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.

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 nik...@compulab.co.il Cc: Stefano Babic sba...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il --- 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 nik...@compulab.co.il Cc: Stefano Babic sba...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

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 the

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 nik...@compulab.co.il [grinb...@compulab.co.il: minor code and commit message updates]

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 nik...@compulab.co.il [grinb...@compulab.co.il: staticize the sf global variable] Signed-off-by: Igor Grinberg grinb...@compulab.co.il Cc: Stefano Babic sba...@denx.de Cc:

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 nik...@compulab.co.il Cc: Stefano Babic sba...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il --- Applied to u-boot-imx, thanks ! Best

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 nik...@compulab.co.il Cc: Stefano Babic sba...@denx.de Cc: Igor

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 nik...@compulab.co.il Cc: Stefano Babic sba...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il --- 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 nik...@compulab.co.il Cc: Stefano Babic sba...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il Cc: Ilya Ledvich i...@compulab.co.il Cc:

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 b37...@freescale.com --- arch/arm/include/asm/arch-mx6/mx6sx_pins.h |4 ++-- 1 files

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 andreas.de...@googlemail.com wrote: Hi Simon, while test-building 2015.01-rc4 I encountered following strange behaviour of buildman: ---8---

[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 s...@chromium.org Reported-by: Masahiro Yamada yamad...@jp.panasonic.com --- tools/patman/gitutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[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 gr...@tss-engineering.com Signed-off-by:

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 michal.si...@xilinx.com 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 michal.si...@xilinx.com --- This code requires common/board_r: manual

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

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 voice.s...@atmel.com Acked-by: Masahiro Yamada yamad...@jp.panasonic.com

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:

[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 paul.bur...@imgtec.com Signed-off-by: Daniel Schwierzeck

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 r...@kernel.org --- common/cmd_fastboot.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/common/cmd_fastboot.c

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

2015-01-29 Thread Konstantyn Prokopenko
Hello Heiko, Sorry for the delay, I was pulled to another project. Just tested your patch and it seems to work. The mtd_devs parameter gets zeroed out when I call 'ubi part partition' which calls do_ubi-ubi_part-ubi_exit which clears out the parameter, so when further we setup partitions, we

[U-Boot] [PATCH v2 06/11] common/board_f: factor out reserve_stacks

2015-01-29 Thread Andreas Bießmann
Require each architecture to provide an arch_reserve_stacks() function to setup the required stacks for the architecture. Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com --- This patch is _not_ fully compile tested for all ppc/arm boards! Changes in v2: - new since v1 Changes in

  1   2   >