[U-Boot] [PATCH] arm: omap3: cm-t35: minor comment and printf change

2012-06-13 Thread Igor Grinberg
Fix the comment to reflect the actual function call time. Change the printf message to look nicer in the context it might be printed. Signed-off-by: Igor Grinberg --- board/cm_t35/cm_t35.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/cm_t35/cm_t35.c b/board/c

[U-Boot] [PATCH 1/1] tegra: seaboard: Initialize multiple USB controllers at once

2012-06-13 Thread Jim Lin
From: Jim Lin Add support for command line "usb reset" or "usb start" to initialize , "usb stop" to stop multiple USB controllers at once. Other commands like "usb tree" also support multiple controllers. New added definitions in header file are: CONFIG_USB_INIT_MULTI CONFIG_USB_MAX_CONTROLLER_C

[U-Boot] [RFC v2 1/3] imx-common/cmd_resetmode.c: add imx resetmode command

2012-06-13 Thread Troy Kisky
This is useful for forcing the ROM's usb downloader to activate upon a watchdog reset. Or, you can boot from either SD Card. Currently, support added for MX53 and MX6Q Signed-off-by: Troy Kisky Note: MX53 support untested. --- arch/arm/cpu/armv7/imx-common/Makefile|4 +- arch/arm/cp

[U-Boot] [RFC v2 2/3] mx6qsabrelite: add resetmode support

2012-06-13 Thread Troy Kisky
This allows a watchdog reset to start the ROM's usb downloader, or boot from an sdcard. Signed-off-by: Troy Kisky squash sabrelite --- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 14 ++ include/configs/mx6qsabrelite.h |3 +++ 2 files changed, 17 insertions(+)

[U-Boot] [RFC v2 3/3] mx53evk: add resetmode support

2012-06-13 Thread Troy Kisky
This allows a watchdog reset to start the ROM's usb/serial downloader, or boot from an sdcard. Signed-off-by: Troy Kisky Compile tested only, I don't have a mx53evk. --- board/freescale/mx53evk/mx53evk.c | 13 + include/configs/mx53evk.h |3 +++ 2 files changed, 16 ins

Re: [U-Boot] [PATCH v2 0/19] tegra: Add display driver and LCD support for Seaboard

2012-06-13 Thread Stephen Warren
On 06/13/2012 05:03 PM, Stephen Warren wrote: > On 06/13/2012 04:57 PM, Stephen Warren wrote: >> On 06/13/2012 10:19 AM, Simon Glass wrote: >>> This series adds support for the Tegra2x's display peripheral. This >>> supports the LCD display on Seaboard and we use this to enable console >>> output i

Re: [U-Boot] [PATCH v2 0/19] tegra: Add display driver and LCD support for Seaboard

2012-06-13 Thread Stephen Warren
On 06/13/2012 04:57 PM, Stephen Warren wrote: > On 06/13/2012 10:19 AM, Simon Glass wrote: >> This series adds support for the Tegra2x's display peripheral. This >> supports the LCD display on Seaboard and we use this to enable console >> output in U-Boot on the LCD. > > Simon, > > This series do

Re: [U-Boot] [PATCH v2 0/19] tegra: Add display driver and LCD support for Seaboard

2012-06-13 Thread Stephen Warren
On 06/13/2012 10:19 AM, Simon Glass wrote: > This series adds support for the Tegra2x's display peripheral. This > supports the LCD display on Seaboard and we use this to enable console > output in U-Boot on the LCD. Simon, This series doesn't apply to u-boot-tegra/master cleanly; there are a cou

[U-Boot] [PATCH] env_onenand: set ONENAND_MAX_ENV_SIZE to CONFIG_ENV_SIZE

2012-06-13 Thread David du Colombier
This fix prevents env_import() CRC to fail when CONFIG_ENV_SIZE is not equal to 4096 bytes It also prevents mtd->read and mtd->write to be incomplete when the environment is larger than 4096 bytes. Signed-off-by: David du Colombier <0in...@gmail.com> --- common/env_onenand.c |2 +- 1 files ch

Re: [U-Boot] [PATCH 1/3] BOOT: Fix unused variable issue when enabling bootz support

2012-06-13 Thread Marek Vasut
Dear Stephen Warren, > From: Stephen Warren > > cmd_bootm.c: In function 'do_bootz': > cmd_bootm.c:1590:9: warning: variable 'iflag' set but not used > [-Wunused-but-set-variable] It can be applied directly too ... Acked-by: Marek Vasut > Cc: Marek Vasut > Cc: Wolfgang Denk > Signed-off-by

[U-Boot] [PATCH 1/3] BOOT: Fix unused variable issue when enabling bootz support

2012-06-13 Thread Stephen Warren
From: Stephen Warren cmd_bootm.c: In function 'do_bootz': cmd_bootm.c:1590:9: warning: variable 'iflag' set but not used [-Wunused-but-set-variable] Cc: Marek Vasut Cc: Wolfgang Denk Signed-off-by: Stephen Warren --- I think this is best taken through the Tegra tree, since it's needed to avo

[U-Boot] [PATCH 2/3] tegra: enable bootz command

2012-06-13 Thread Stephen Warren
From: Stephen Warren bootz is just like bootm, except that it can boot a raw zImage, without requiring it to be wrapped inside a uImage. Signed-off-by: Stephen Warren --- include/configs/tegra2-common.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/te

[U-Boot] [PATCH 3/3] tegra: define fdt_load/fdt_high variables

2012-06-13 Thread Stephen Warren
From: Stephen Warren These variables act like loadaddr, but for a device tree image. Defining them in the environment allows boot scripts to be identical on Tegra20 and Tegra30, which have different memory base addresses, and hence need different values for these variables. Signed-off-by: Stephe

[U-Boot] [PATCH] hawkboard/omapl-138: Add support for generating ais image for hawkboard

2012-06-13 Thread Sughosh Ganu
Parameters used for configuring certain SoC peripherals are parsed from the cfg file and appended as part of the ais image's header. The u-boot-spl.ais generated is flashed separately to the nand, so do not delete the file after generation of u-boot.ais. Signed-off-by: Sughosh Ganu --- .gitignor

Re: [U-Boot] mx53loco build fails with CONFIG_VIDEO disabled

2012-06-13 Thread Fabio Estevam
On Wed, Jun 13, 2012 at 2:53 PM, Vikram Narayanan wrote: >> Anyway, when patches for IPU flow into mainline, is there a good reason >> to not enable CONFIG_VIDEO for mx53loco ? > > > Though this would be helpful for headless boards, I'm not the right guy. > Fabio can give a better picture here.

Re: [U-Boot] mx53loco build fails with CONFIG_VIDEO disabled

2012-06-13 Thread Fabio Estevam
On Wed, Jun 13, 2012 at 2:20 PM, Stefano Babic wrote: > On 13/06/2012 19:00, Vikram Narayanan wrote: >> Hello, >> >> mx53loco build fails when CONFIG_VIDEO and its friends disabled. >> I can send a patch fixing this. >> > > But CONFIG_VIDEO is *not* set in mx53loco.h mainline. Do you mean you > ar

Re: [U-Boot] mx53loco build fails with CONFIG_VIDEO disabled

2012-06-13 Thread Vikram Narayanan
On 6/13/2012 10:50 PM, Stefano Babic wrote: On 13/06/2012 19:00, Vikram Narayanan wrote: Hello, mx53loco build fails when CONFIG_VIDEO and its friends disabled. I can send a patch fixing this. But CONFIG_VIDEO is *not* set in mx53loco.h mainline. Do you mean you are testing Fabio's patches ?

Re: [U-Boot] [PATCH] mx6: Avoid writing to read-only bits in imximage.cfg

2012-06-13 Thread Vikram Narayanan
Hello Marek, On 6/13/2012 10:45 PM, Marek Vasut wrote: Dear Vikram Narayanan, Hello Marek, On 6/13/2012 5:57 PM, Marek Vasut wrote: Dear Vikram Narayanan, If in case this is valid according to the latest datasheet, ignore this patch. -- According to REV C manual, the register IOMUXC_IOMUX

Re: [U-Boot] [PATCH] mx6: Avoid writing to read-only bits in imximage.cfg

2012-06-13 Thread Marek Vasut
Dear Vikram Narayanan, > Hello Marek, > > On 6/13/2012 5:57 PM, Marek Vasut wrote: > > Dear Vikram Narayanan, > > > >> If in case this is valid according to the latest datasheet, ignore this > >> patch. > >> > >> -- > >> According to REV C manual, the register IOMUXC_IOMUXC_GPR4 has > >> bits 4

Re: [U-Boot] mx53loco build fails with CONFIG_VIDEO disabled

2012-06-13 Thread Stefano Babic
On 13/06/2012 19:00, Vikram Narayanan wrote: > Hello, > > mx53loco build fails when CONFIG_VIDEO and its friends disabled. > I can send a patch fixing this. > But CONFIG_VIDEO is *not* set in mx53loco.h mainline. Do you mean you are testing Fabio's patches ? Fabio, can you give me an overview a

Re: [U-Boot] mx53loco build fails with CONFIG_VIDEO disabled

2012-06-13 Thread Fabio Estevam
On Wed, Jun 13, 2012 at 2:00 PM, Vikram Narayanan wrote: > Hello, > > mx53loco build fails when CONFIG_VIDEO and its friends disabled. > I can send a patch fixing this. > > I _really_ don't like ifdef -ing a lot of stuff. Instead I'd feel to have a > separate file in the directory which does this

[U-Boot] mx53loco build fails with CONFIG_VIDEO disabled

2012-06-13 Thread Vikram Narayanan
Hello, mx53loco build fails when CONFIG_VIDEO and its friends disabled. I can send a patch fixing this. I _really_ don't like ifdef -ing a lot of stuff. Instead I'd feel to have a separate file in the directory which does this LCD init and FB init call, and let the makefile handle the conditio

[U-Boot] [PATCH v2 03/19] fdt: Add function to look up a phandle's register address

2012-06-13 Thread Simon Glass
This is a commonly-used requirement, so add a function to support it easily. Signed-off-by: Simon Glass --- include/fdtdec.h | 13 + lib/fdtdec.c | 11 +++ 2 files changed, 24 insertions(+), 0 deletions(-) diff --git a/include/fdtdec.h b/include/fdtdec.h index fab57

Re: [U-Boot] [PATCH] mx6: Avoid writing to read-only bits in imximage.cfg

2012-06-13 Thread Vikram Narayanan
Hello Marek, On 6/13/2012 5:57 PM, Marek Vasut wrote: Dear Vikram Narayanan, If in case this is valid according to the latest datasheet, ignore this patch. -- According to REV C manual, the register IOMUXC_IOMUXC_GPR4 has bits 4 and 5 read-only and the value is always set as zero. So write '0

Re: [U-Boot] [PATCH v2] tx25: Use generic gpio_* calls

2012-06-13 Thread Vikram Narayanan
On 6/13/2012 1:22 PM, Stefano Babic wrote: On 12/06/2012 18:37, Vikram Narayanan wrote: Changes from v1: Used appropriate gpio_* lib calls. --- Instead of manipulating gpio registers directly, use the calls from the gpio library. Changelog must go after the "---" line and commit message befor

Re: [U-Boot] [PATCH 1/2] patman: Change the location of patman config file

2012-06-13 Thread Vikram Narayanan
Hello Wolfgang, On 5/30/2012 11:04 AM, Simon Glass wrote: On Wed, May 23, 2012 at 11:58 AM, Vikram Narayanan mailto:vikram...@gmail.com>> wrote: Move the config file from ~/.config/patman to ~/.patman as it is more appropriate to have it there. Update the same in the README. Sign

[U-Boot] [PATCH v2 01/19] Add gpio_request() to asm-generic header

2012-06-13 Thread Simon Glass
This function should also be part of the GPIO API, so add it. Signed-off-by: Simon Glass --- include/asm-generic/gpio.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h index c19e16c..23c9649 100644 --- a/in

[U-Boot] [PATCH v2 0/19] tegra: Add display driver and LCD support for Seaboard

2012-06-13 Thread Simon Glass
This series adds support for the Tegra2x's display peripheral. This supports the LCD display on Seaboard and we use this to enable console output in U-Boot on the LCD. Configuration is via the device tree. Proposed bindings are included in this series. I looked at the message "[RFC 4/4] drm: Add

[U-Boot] [PATCH v2 18/19] lcd: Add CONSOLE_SCROLL_LINES option to speed console

2012-06-13 Thread Simon Glass
When the cursor position gets to the end of the LCD console we normally scroll by one line. This adds an option to increase that value. Console scrolling is often slow, and if a large amount of output is being sent, increasing this option to 10 or so will speed things up considerably. Signed-off-

[U-Boot] [PATCH v2 15/19] tegra: Align LCD frame buffer to section boundary

2012-06-13 Thread Simon Glass
For tegra we want to enable the cache for the LCD. This is easier if we can avoid using L2 page tages, so align the LCD to a section boundary. Signed-off-by: Simon Glass --- Changes in v2: - Align tegra display using new CONFIG_LCD_ALIGNMENT feature include/configs/tegra2-common.h |3 +++ 1

[U-Boot] [PATCH v2 16/19] tegra: Support control of cache settings for LCD

2012-06-13 Thread Simon Glass
Add support for selecting the required cache mode for the LCD: off, write-through or write-back. Signed-off-by: Simon Glass --- drivers/video/tegra.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/video/tegra.c b/drivers/video/tegra.c index 12518b2..15e

[U-Boot] [PATCH v2 06/19] tegra: Add display support to funcmux

2012-06-13 Thread Simon Glass
Add support for a default pin mapping for display1. Signed-off-by: Simon Glass --- Changes in v2: - Use const where possible in funcmux arch/arm/cpu/armv7/tegra2/funcmux.c | 39 +++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/ar

[U-Boot] [PATCH v2 10/19] tegra: Add LCD driver

2012-06-13 Thread Simon Glass
This driver supports driving a single LCD and providing a U-Boot console on it. Signed-off-by: Simon Glass --- Changes in v2: - Update LCD driver to deal with new fdt bindings drivers/video/Makefile |1 + drivers/video/tegra.c | 383 includ

[U-Boot] [PATCH v2 04/19] fdt: Add header guard to fdtdec.h

2012-06-13 Thread Simon Glass
This makes it easier to include this header from other headers. Signed-off-by: Simon Glass --- include/fdtdec.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/fdtdec.h b/include/fdtdec.h index d7bef6c..627d077 100644 --- a/include/fdtdec.h +++ b/include/fdtde

[U-Boot] [PATCH v2 17/19] tegra: fdt: Add LCD definitions for Seaboard

2012-06-13 Thread Simon Glass
The Seaboard has a 1366x768 16bpp LCD. The backlight is controlled by one of the PWMs. Signed-off-by: Simon Glass --- Changes in v2: - Update seaboard LCD definitions for new fdt binding board/nvidia/dts/tegra2-seaboard.dts | 21 + 1 files changed, 21 insertions(+), 0 dele

[U-Boot] [PATCH v2 14/19] lcd: Add support for flushing LCD fb from dcache after update

2012-06-13 Thread Simon Glass
This provides an option for the LCD to flush the dcache after each update (puts, scroll or clear). Signed-off-by: Simon Glass --- Changes in v2: - Put the LCD cache flush logic into lcd_putc() instead of lcd_puts() common/cmd_echo.c |3 ++- common/lcd.c | 45 +

[U-Boot] [PATCH v2 13/19] lcd: Add CONFIG_LCD_ALIGNMENT to select frame buffer alignment

2012-06-13 Thread Simon Glass
The normal alignment is PAGE_SIZE, but if this is defined, we can support other alignments. The motivation for this change is to make the display section-aligned on ARM so that we can easily turn off data caching for the frame buffer region without resorting to level 2 page tables. Signed-off-by:

[U-Boot] [PATCH v2 05/19] tegra: Use const for pinmux_config_pingroup/table()

2012-06-13 Thread Simon Glass
These two functions don't actually modify their arguments so add a const keyword. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to use const in pinmux_config_pingroup/table() arch/arm/cpu/armv7/tegra2/pinmux.c|4 ++-- arch/arm/include/asm/arch-tegra2/pinmux.h |4

[U-Boot] [PATCH v2 12/19] arm: Add control over cachability of memory regions

2012-06-13 Thread Simon Glass
Add support for adjusting the cachability of an L1 section by updating the MMU. The mmu_set_region_dcache() function allows drivers to make these changes after the MMU is set up. It is implemented only for ARMv7 at present. This is needed for LCD support, where we want to make the LCD frame buffe

[U-Boot] [PATCH v2 09/19] tegra: Add SOC support for display/lcd

2012-06-13 Thread Simon Glass
From: Wei Ni Add support for the LCD peripheral at the Tegra2 SOC level. A separate LCD driver will use this functionality to configure the display. Mayuresh Kulkarni: - changes to remove bitfields and clean up for submission Simon Glass: - simplify code, move clock control into here, clean-up

[U-Boot] [PATCH v2 11/19] tegra: Add LCD support to Nvidia boards

2012-06-13 Thread Simon Glass
Add calls to the LCD driver from Nvidia board code. Signed-off-by: Simon Glass --- board/nvidia/common/board.c | 21 - 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c index 2e22133..791 100644 --

[U-Boot] [PATCH v2 08/19] tegra: Add support for PWFM

2012-06-13 Thread Simon Glass
The pulse width/frequency modulation peripheral supports generating a repeating pulse. It is useful for controlling LCD brightness. Signed-off-by: Simon Glass --- arch/arm/cpu/armv7/tegra2/Makefile |1 + arch/arm/cpu/armv7/tegra2/pwfm.c| 40 +++ arch/arm/i

[U-Boot] [PATCH v2 02/19] fdt: Add debugging to fdtdec_get_int/addr()

2012-06-13 Thread Simon Glass
The new debugging shows the value of integers and addresses read from the device tree. Signed-off-by: Simon Glass --- lib/fdtdec.c | 22 -- 1 files changed, 16 insertions(+), 6 deletions(-) diff --git a/lib/fdtdec.c b/lib/fdtdec.c index cc09e06..61056f1 100644 --- a/lib/f

[U-Boot] [PATCH v2 19/19] tegra: Enable display/lcd support on Seaboard

2012-06-13 Thread Simon Glass
From: Mayuresh Kulkarni Enable the Seaboard's 16-bit LCD and use it as the console. Signed-off-by: Mayuresh Kulkarni Signed-off-by: Simon Glass --- include/configs/seaboard.h | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/include/configs/seaboard.h b/inc

[U-Boot] [PATCH v2 07/19] tegra: fdt: Add LCD definitions for Tegra

2012-06-13 Thread Simon Glass
Add LCD definitions and also a proposed binding for LCD displays. The PWFM is in progress on the device-tree-discuss list, so only a very basic binding is offered here. I am not sure if it is better to have the lcd within the display controller as with i2c/spi, or a separate node. From a hardware

Re: [U-Boot] [PATCH] powerpc/CoreNet: add tool to support pbl image build.

2012-06-13 Thread Tabi Timur-B04825
On Jun 12, 2012, at 7:54 PM, "Wood Scott-B07421" wrote: > > You mean to replace this tool? There are other PBL things that may need > to be done, such as reconfiguring the SPI speed so it doesn't take > forever to read out the rest of the PBL image. My tool builds and RCW image. I could chang

[U-Boot] [PATCH v2] omap4: Use a smaller M,N couple for IVA DPLL

2012-06-13 Thread Sebastien Jan
This reduced M,N couple corresponds to the advised value from TI HW team. Tested on 4460 Pandaboard, it also provides peripheral clocks closer to the advised values. Signed-off-by: Sebastien Jan --- arch/arm/cpu/armv7/omap4/clocks.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [U-Boot] [PATCH] omap4: Use a smaller M,N couple for IVA DPLL

2012-06-13 Thread Jan, Sebastien
On Wed, Jun 13, 2012 at 5:03 PM, Tom Rini wrote: > On 06/13/2012 12:30 AM, Jan, Sebastien wrote: > > Hi Tom, > > > > On Tue, Jun 12, 2012 at 7:41 PM, Tom Rini > > wrote: > > > > On Tue, Jun 12, 2012 at 12:34 AM, Sebastien Jan > > wrote: > >

Re: [U-Boot] [PATCH] omap4: Use a smaller M,N couple for IVA DPLL

2012-06-13 Thread Jan, Sebastien
Hi Tom, On Tue, Jun 12, 2012 at 7:41 PM, Tom Rini wrote: > On Tue, Jun 12, 2012 at 12:34 AM, Sebastien Jan wrote: > > Signed-off-by: Sebastien Jan > > Please explain what / why you are changing things here (based on docs, > testing, ?). Thanks! > Sure, sorry for missing that. The reduced M,N

Re: [U-Boot] [PATCH] omap4: Use a smaller M,N couple for IVA DPLL

2012-06-13 Thread Tom Rini
On 06/13/2012 12:30 AM, Jan, Sebastien wrote: > Hi Tom, > > On Tue, Jun 12, 2012 at 7:41 PM, Tom Rini > wrote: > > On Tue, Jun 12, 2012 at 12:34 AM, Sebastien Jan > wrote: > > Signed-off-by: Sebastien Jan mailto:s-...@ti.com>> > > Pleas

Re: [U-Boot] [PATCH] integrator: break out common config

2012-06-13 Thread Linus Walleij
On Tue, May 22, 2012 at 10:53 PM, Linus Walleij wrote: > The configuration that is common for all Integrator boards may > just as well be stored in a common include file as per pattern > from other boards. This eases maintenance quite a bit. > > Signed-off-by: Linus Walleij Albert, is this patc

[U-Boot] [PATCH v2 06/14] arm/km: enable BOCO2 FPGA download support

2012-06-13 Thread Holger Brunck
From: Valentin Longchamp This adds a first support of the FPGA download for a PCIe FPGA based on the BOCO2 CPLD. This takes place in 3 steps, all done accessing the SPICTRL reg of the BOCO2: 1) start the FPGA config with an access to the FPGA_PROG bit 2) later in the boot sequence, wait for the

[U-Boot] [PATCH v2 05/14] arm/km: correct init of 88e6352 switch in the reset_phy function

2012-06-13 Thread Holger Brunck
From: Valentin Longchamp This is achieved thanks to the support read/write regs for the external 88e6352 switch. The functions for this are added into an own file managed_switch.c. This is compiled if the define CONFIG_KM_MANAGED_SW_ADDR was set in the board setup. This define specifies the phy a

[U-Boot] [PATCH v2 13/14] arm/km: add implementation for read_dip_switch

2012-06-13 Thread Holger Brunck
From: Thomas Herzmann Add a function to read the dip_switch on kmcoge5un. If the switch is set the actual_bank is set to 0 and this SW is booted. Signed-off-by: Thomas Herzmann Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Prafulla Wadaskar --- changes for v2: - nothing board/k

[U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-06-13 Thread Holger Brunck
Use the generic header km_kirkwood.h and get rid of the board specific header. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Prafulla Wadaskar --- changes for v2: - rebased because of changes in other patches board/keymile/km_arm/km_arm.c |9 ++-- boards.cfg

[U-Boot] [PATCH v2 09/14] arm/km: add support for external switch configuration

2012-06-13 Thread Holger Brunck
From: Valentin Longchamp This can be used if we do not want to use an EEPROM for the configuration. Signed-off-by: Valentin Longchamp cc: Holger Brunck cc: Prafulla Wadaskar --- changes for v2: - nothing board/keymile/common/common.h |7 -- board/keymile/km_arm/managed_switch.

[U-Boot] [PATCH v2 04/14] arm/km: remove portl2.h and use km_kirkwood instead

2012-06-13 Thread Holger Brunck
The additional headerfile is unneeded here, we can use the generic km_kirkwood.h instead. And we can use the better config option KM_PIGGY4_88E6061 for the specific features for boards with this design in km_arm.c. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Prafulla Wadas

[U-Boot] [PATCH v2 14/14] arm/km: remove calls to kw_gpio_* in board_early_init_f

2012-06-13 Thread Holger Brunck
These functions tried to access two static tables before relocation (board_early_init_f is executed before relocation). But these static tables lie in the bss section which is not valid before relocation. These accesses then overwrote some parts of u-boot binary before it was relocated. For the kmn

[U-Boot] [PATCH v2 08/14] arm/km: redefine piggy 4 reg names to avoid conflicts

2012-06-13 Thread Holger Brunck
From: Valentin Longchamp Some very similar #defines for reg addresses are used in a later patch (managed_switch support for km_arm). Signed-off-by: Valentin Longchamp cc: Holger Brunck cc: Prafulla Wadaskar --- changes for v2: - nothing board/keymile/km_arm/km_arm.c | 22 +++

[U-Boot] [PATCH v2 12/14] arm/km: support the 2 PCIe fpga resets

2012-06-13 Thread Holger Brunck
From: Valentin Longchamp The PCIe FPGAs now have to support 2 resets: one for the non traffic affecting part (PCIe) and one for the traffic affecting part. When the FPGA is not reconfigured, we only reset the PCIe part. Signed-off-by: Valentin Longchamp cc: Holger Brunck cc: Prafulla Wadaskar

[U-Boot] [PATCH v2 11/14] arm/km: skip FPGA config when already configured

2012-06-13 Thread Holger Brunck
From: Valentin Longchamp In order to be able to perform board resets without interrupting the traffic, the configuration of an already properly configured FPGA is skipped. This is because some PCIe FPGAs embed some other function that must continue to work over reset. It is then the responsibil

[U-Boot] [PATCH v2 10/14] arm/km: enable external switch configuration for kmnusa

2012-06-13 Thread Holger Brunck
From: Valentin Longchamp The configuration EEPROM should be removed for P1B. Signed-off-by: Valentin Longchamp cc: Holger Brunck cc: Prafulla Wadaskar --- changes for v2: - nothing board/keymile/km_arm/km_arm.c | 11 +-- board/keymile/km_arm/managed_switch.c |3 ++-

[U-Boot] [PATCH v2 01/14] arm/km: add kmnusa board support

2012-06-13 Thread Holger Brunck
This board is similar to portl2, but it has the u-boot environment in a SPI NOR flash and not in an i2c eeprom like portl2 have. Some other details: - IVM EEPROM is at adress: pca9547:70:9 - PCI is enabled - PIGGY4 is connected via MV88E6352 simple switch. There is no phy between the simple

[U-Boot] [PATCH v2 00/14] updates for Keymile Marvell boards

2012-06-13 Thread Holger Brunck
Updated after some comments on the Mailing list. >From the previous version was removed and send as standalone patch: [PATCH 03/20] arm/kirkwood: protect the ENV_SPI see: http://lists.denx.de/pipermail/u-boot/2012-June/126140.html And this four were squshed to one: [PATCH 01/20] arm/km: enable sp

[U-Boot] [PATCH v2 07/14] arm/km: cleanup km_kirkwood boards

2012-06-13 Thread Holger Brunck
Remove config options from boards.cfg and simply add one switch per board and differ afterwards in km_kirkwood.h between the features. More boards are upcoming and therefore it's easier to have this at one place. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Prafulla Wadaska

[U-Boot] [PATCH v2 02/14] arm/km: add kmcoge5un board support

2012-06-13 Thread Holger Brunck
For u-boot this board is similar to mgcoge3un. But some differences are present. We have a different SDRAM on it and therefore a new SDRAM config file. Additionaly this board has a direct MAC/MAC connection from the kirkwood to a marvell simple switch without a phy inbetween, this needs a new confi

Re: [U-Boot] [PATCH 2/7] common lcd: simplify #ifdefs

2012-06-13 Thread Nikita Kiryanov
On 06/08/2012 03:52 PM, Anatolij Gustschin wrote: > Hi, > > On Thu, 24 May 2012 14:42:39 +0300 > Igor Grinberg wrote: > >> From: Nikita Kiryanov >> >> Simplify #ifdefs by slightly changing the order of operations >> >> Signed-off-by: Nikita Kiryanov >> Signed-off-by: Igor Grinberg >> --- >> com

Re: [U-Boot] [PATCH] mx6: Avoid writing to read-only bits in imximage.cfg

2012-06-13 Thread Marek Vasut
Dear Liu Hui-R64343, > Hi, Marek, > > >-Original Message- > >From: Marek Vasut [mailto:ma...@denx.de] > >Sent: Wednesday, June 13, 2012 8:25 PM > >To: u-boot@lists.denx.de > >Cc: Liu Hui-R64343; Dirk Behme > >Subject: Re: [U-Boot] [PATCH] mx6: Avoid writing to read-only bits in > >imximag

Re: [U-Boot] [PATCH] mx6: Avoid writing to read-only bits in imximage.cfg

2012-06-13 Thread Liu Hui-R64343
Hi, Marek, >-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Wednesday, June 13, 2012 8:25 PM >To: u-boot@lists.denx.de >Cc: Liu Hui-R64343; Dirk Behme >Subject: Re: [U-Boot] [PATCH] mx6: Avoid writing to read-only bits in >imximage.cfg > >Dear Liu Hui-R64343, > >[...] >

[U-Boot] [PATCH] arm/kirkwood: protect the ENV_SPI #defines

2012-06-13 Thread Holger Brunck
From: Valentin Longchamp So that they can be redefined by some boards specific values. Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck cc: Prafulla Wadaskar --- Hi Prafulla, here is the only common kirkwood related change from our patch serie, as discussed on the ml. arch/arm

[U-Boot] [PATCH] arm/km: use spi claim bus to switch between SPI and NAND

2012-06-13 Thread Holger Brunck
From: Valentin Longchamp We overwrite these weak functions from the kirkwood spi code to use our own method to be able to switch between the SPI NOR and the NAND flash. This is needed e.g. to update the u-boot. The former command do_spi_toggle can therefore be removed. And the usage of this comma

Re: [U-Boot] [PATCH] mx6: Avoid writing to read-only bits in imximage.cfg

2012-06-13 Thread Marek Vasut
Dear Vikram Narayanan, > If in case this is valid according to the latest datasheet, ignore this > patch. > > -- > According to REV C manual, the register IOMUXC_IOMUXC_GPR4 has > bits 4 and 5 read-only and the value is always set as zero. > So write '0' to these bits instead of writing '1'. I'm

Re: [U-Boot] [PATCH] mx6: Avoid writing to read-only bits in imximage.cfg

2012-06-13 Thread Marek Vasut
Dear Liu Hui-R64343, [...] > >> >> According to REV C manual, the register IOMUXC_IOMUXC_GPR4 has bits > >> >> 4 and 5 read-only and the value is always set as zero. > >> >> So write '0' to these bits instead of writing '1'. > >> > > >> >Jason, Fabio: What do you think? You should be the datashee

Re: [U-Boot] [PATCH 12/17] lcd: Add support for flushing LCD fb from dcache after update

2012-06-13 Thread Simon Glass
Hi Mike, On Sat, Jan 14, 2012 at 6:16 PM, Mike Frysinger wrote: > On Saturday 14 January 2012 20:57:25 Simon Glass wrote: > > On Sat, Jan 14, 2012 at 5:42 PM, Mike Frysinger wrote: > > > On Saturday 14 January 2012 19:47:24 Simon Glass wrote: > > >> --- a/common/cmd_echo.c > > >> +++ b/common/cm

Re: [U-Boot] [PATCH 11/17] lcd: Add CONFIG_ALIGN_LCD_TO_SECTION to align lcd for MMU

2012-06-13 Thread Simon Glass
Hi Mike, On Sat, Jan 14, 2012 at 5:38 PM, Mike Frysinger wrote: > On Saturday 14 January 2012 19:47:23 Simon Glass wrote: > > We want to make the display section-aligned on ARM so that we can easily > > turn off data caching for this. > > > > Is this useful for other architectures? We could perh

Re: [U-Boot] [PATCH 02/20] arm/km: use correct kw_gpio function for NAND/SPI switching

2012-06-13 Thread Holger Brunck
On 06/12/2012 12:29 PM, Holger Brunck wrote: > On 06/12/2012 11:32 AM, Prafulla Wadaskar wrote: >> >> >>> -Original Message- >>> From: Holger Brunck [mailto:holger.bru...@keymile.com] >>> Sent: 12 June 2012 14:08 >>> To: Prafulla Wadaskar >>> Cc: Valentin Longchamp; prafu...@mavell.com; u-b

Re: [U-Boot] [PATCH 04/17] tegra: Add display support to funcmux

2012-06-13 Thread Simon Glass
Hi Mike, On Sat, Jan 14, 2012 at 5:36 PM, Mike Frysinger wrote: > On Saturday 14 January 2012 19:47:16 Simon Glass wrote: > > --- a/arch/arm/cpu/armv7/tegra2/funcmux.c > > +++ b/arch/arm/cpu/armv7/tegra2/funcmux.c > > > > +struct pingroup_config disp1_default[] = { > > const ? although it looks

Re: [U-Boot] [PATCH 1/3] imx25: Move MXC_GPIO_PORT_TO_NUM to imx-regs.h

2012-06-13 Thread Fabio Estevam
On Mon, Jun 11, 2012 at 12:02 PM, Vikram Narayanan wrote: >> Also, this macro is useful not only for mx25, and it would be nice to >> let it avaible for the other i.MX SoCs as well. > > > Agree. But I guess u-boot doesn't have a common folder where this can be put > up something like plat-mxc. So

Re: [U-Boot] [PATCH] mx6: Avoid writing to read-only bits in imximage.cfg

2012-06-13 Thread Liu Hui-R64343
Hi, Marek, >-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Wednesday, June 13, 2012 7:18 PM >To: u-boot@lists.denx.de >Cc: Liu Hui-R64343; Dirk Behme; Fabio Estevam >Subject: Re: [U-Boot] [PATCH] mx6: Avoid writing to read-only bits in >imximage.cfg > >Dear Liu Hui-R64

Re: [U-Boot] [PATCH] mx6: Avoid writing to read-only bits in imximage.cfg

2012-06-13 Thread Fabio Estevam
On Wed, Jun 13, 2012 at 8:18 AM, Marek Vasut wrote: > > I really dislike how "write 1 should have no effect" sounds. Can you please > check with HW people? I agree. Jason, please check this with the design team. Vikram's patch look correct. Regards, Fabio Estevam

Re: [U-Boot] [PATCH] mx6: Avoid writing to read-only bits in imximage.cfg

2012-06-13 Thread Marek Vasut
Dear Liu Hui-R64343, > >-Original Message- > >From: Dirk Behme [mailto:dirk.be...@de.bosch.com] > >Sent: Tuesday, June 12, 2012 11:05 PM > >To: Fabio Estevam; Liu Hui-R64343 > >Cc: Vikram Narayanan; u-boot@lists.denx.de > >Subject: Re: [U-Boot] [PATCH] mx6: Avoid writing to read-only bits

Re: [U-Boot] [PATCH v2 0/7] feature additions and fixes for da850/omap-l138

2012-06-13 Thread Sughosh Ganu
On Thu Jun 07, 2012 at 03:25:27PM +0530, Prabhakar Lad wrote: > From: Lad, Prabhakar > > This series adds MMC/SD, NAND and NOR SPL support > for Logic PD's DA850/OMAP-L138 EVM. This series > also fixes some issues found on the EVM during > testing. The patches are sent in a series as these > patc

Re: [U-Boot] [PATCH 6/8] mx28evk: fix board config include guardian macro name

2012-06-13 Thread Stefano Babic
On 13/05/2012 01:40, Otavio Salvador wrote: > Signed-off-by: Otavio Salvador > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 16523

Re: [U-Boot] [PATCH 5/8] m28evk: fix board config include guardian macro name

2012-06-13 Thread Stefano Babic
On 13/05/2012 01:40, Otavio Salvador wrote: > Signed-off-by: Otavio Salvador > --- > include/configs/m28evk.h |6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h > index ebf7e39..c1ae996 100644 Applied to u-boot-i

Re: [U-Boot] [PATCH 2/3] m28evk: drop duplicated definition of CONFIG_OF_LIBFDT

2012-06-13 Thread Stefano Babic
On 15/05/2012 22:59, Otavio Salvador wrote: > Signed-off-by: Otavio Salvador > Cc: Marek Vasut > Cc: Stefano Babic > Cc: Wolfgang Denk > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software Engi

Re: [U-Boot] [PATCH 3/8] mx28evk: ensure command definition is in alphabetic order

2012-06-13 Thread Stefano Babic
On 13/05/2012 01:40, Otavio Salvador wrote: > Signed-off-by: Otavio Salvador > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 1652

Re: [U-Boot] [PATCH 1/8] MX28: Fix a typo in mx28_reg_8 macro

2012-06-13 Thread Stefano Babic
On 11/05/2012 17:37, Otavio Salvador wrote: > The macro mistakenly referred to 32bit struct instead of 8bit one. > > Signed-off-by: Otavio Salvador > Cc: Fabio Estevam > Cc: Marek Vasut > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic --

Re: [U-Boot] [PATCH 1/8] m28evk: use same notation to alloc the 128kB stack

2012-06-13 Thread Stefano Babic
On 13/05/2012 01:40, Otavio Salvador wrote: > Signed-off-by: Otavio Salvador > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 1652

Re: [U-Boot] [PATCH v2] tx25: Use generic gpio_* calls

2012-06-13 Thread Stefano Babic
On 12/06/2012 18:37, Vikram Narayanan wrote: > Changes from v1: > Used appropriate gpio_* lib calls. > > --- > Instead of manipulating gpio registers directly, use the calls > from the gpio library. Changelog must go after the "---" line and commit message before. They are swapped. Apart of that.