Re: [U-Boot] [PATCH 1/3] arm: add CONFIG_MACH_TYPE option and documentation

2011-07-05 Thread Igor Grinberg
On 07/05/11 00:06, Christopher Harvey wrote: > On Mon, Jul 04, 2011 at 12:00:19PM +0300, Igor Grinberg wrote: >> CONFIG_MACH_TYPE can be used to set the machine type number in the >> common arm code instead of setting it in the board code. >> >> Signed-off-by: Igor Grinberg >> --- >> README

Re: [U-Boot] [PATCH 5/5] Warn when the machine ID isn't passed to an ARM kernel and u-boot is compiled in debug mode. The kernel cannot boot without it.

2011-07-05 Thread Igor Grinberg
On 07/05/11 00:24, Jason wrote: > On Mon, Jul 04, 2011 at 04:32:35PM -0400, Christopher Harvey wrote: >> On Mon, Jul 04, 2011 at 04:13:49PM -0400, Jason wrote: >>> On Mon, Jul 04, 2011 at 02:55:54PM -0400, Christopher Harvey wrote: On Mon, Jul 04, 2011 at 02:08:44PM -0400, Jason wrote: >

[U-Boot] [PATCH v2] Armada100: Add Board Support for Marvell GuruPlug-Display

2011-07-05 Thread Ajay Bhargav
This patch adds basic board support with DRAM and UART functionality v2 - Updated MAINTAINERS file as suggested by Prafulla. Signed-off-by: Ajay Bhargav Acked-by: Tanmay Upadhyay --- MAINTAINERS |4 + MAKEALL |1 + arch/ar

[U-Boot] [PATCH] Fix: if using crc32 command watchdog timed out

2011-07-05 Thread Jens Scharsig
* Fix: if using crc32 command watchdog timed out Signed-off-by: Jens Scharsig --- common/cmd_mem.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/cmd_mem.c b/common/cmd_mem.c index a5576aa..4daa1b3 100644 --- a/common/cmd_mem.c +++ b/common/cmd_mem.c @@ -1092

[U-Boot] [PATCH v2 01/10] km/common: rework and simplify default environment

2011-07-05 Thread Holger Brunck
This is the second step to simplify and decrease the default environment for the keymile boards. The release usecase formaly used to set the production environment was removed and the default configuration is now the production environment. So the formar environment variable "release" which has don

Re: [U-Boot] [PATCH 5/5] Warn when the machine ID isn't passed to an ARM kernel and u-boot is compiled in debug mode. The kernel cannot boot without it.

2011-07-05 Thread Igor Grinberg
On 07/04/11 23:32, Christopher Harvey wrote: > On Mon, Jul 04, 2011 at 04:13:49PM -0400, Jason wrote: >> On Mon, Jul 04, 2011 at 02:55:54PM -0400, Christopher Harvey wrote: >>> On Mon, Jul 04, 2011 at 02:08:44PM -0400, Jason wrote: On Mon, Jul 04, 2011 at 01:45:41PM -0400, Christopher Harvey

Re: [U-Boot] [PATCH 5/5] Warn when the machine ID isn't passed to an ARM kernel and u-boot is compiled in debug mode. The kernel cannot boot without it.

2011-07-05 Thread Igor Grinberg
On 07/04/11 20:45, Christopher Harvey wrote: > Signed-off-by: Christopher Harvey > --- > arch/arm/lib/board.c |4 > arch/arm/lib/bootm.c |6 ++ > 2 files changed, 10 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c > index 169dfeb..dbb83

[U-Boot] [PATCH v2 03/10] km/common: simplify debug environment

2011-07-05 Thread Holger Brunck
The debug environment which is stored in textfiles in the scripts directory was reworked. Two usecase are now present which can be executed simply from the default environment: run develop: this configures the environment to setup the rootfs via nfs run ramfs: this configures the envir

[U-Boot] [PATCH] mmc: fix the condition for MMC version 4

2011-07-05 Thread Yoshihiro Shimoda
Fix the problem that if we use the chip of MMC version 4 and the capacity is smaller than 2GB or equal, the mmc->capacity is invalid. According to the JEDEC Standard, the value of ext_csd's capacity is valid if the value is more than 2GB. Signed-off-by: Yoshihiro Shimoda --- drivers/mmc/mmc.c |

[U-Boot] [PATCH] sh: add calling mmc_initialize in board.c

2011-07-05 Thread Yoshihiro Shimoda
Some SH have MMC controller. So, if we need it, we have to call the mmc_initialize(). Signed-off-by: Yoshihiro Shimoda --- arch/sh/lib/board.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/sh/lib/board.c b/arch/sh/lib/board.c index ed91643..8540e40 100

[U-Boot] [PATCH] sh: sh7757lcr: Add KEEP order to start.o section

2011-07-05 Thread Yoshihiro Shimoda
The sh7757lcr has a local u-boot.lds because the sh7757lcr is only supported the SPI booting. This patch refers from the commit "sh: Add KEEP order to start.o section" (commit ID: b52da2aed8c2c388661f369052a97d5b5c9ed00a). Signed-off-by: Yoshihiro Shimoda --- board/renesas/sh7757lcr/u-boot.lds |

[U-Boot] [PATCH 2/2] sh: sh7757lcr: add supporting for MMCIF

2011-07-05 Thread Yoshihiro Shimoda
The sh7757lcr has 2GByte eMMC chip. This patch supports it. Signed-off-by: Yoshihiro Shimoda --- board/renesas/sh7757lcr/sh7757lcr.c |5 + doc/README.sh7757lcr|1 + include/configs/sh7757lcr.h | 11 +++ 3 files changed, 17 insertions(+), 0 deletions(

[U-Boot] [PATCH 1/2] mmc: sh_mmcif: add support for Renesas MMCIF

2011-07-05 Thread Yoshihiro Shimoda
Some Renesas SuperH have MMCIF module. This driver supports it. Signed-off-by: Yoshihiro Shimoda --- README |9 + drivers/mmc/Makefile |1 + drivers/mmc/sh_mmcif.c | 608 drivers/mmc/sh_mmcif.h | 238 +++

[U-Boot] [PATCH 0/4] small fixes and updates for keymile common code

2011-07-05 Thread Holger Brunck
This patches are small updates found in the daily work with the new reworked u-boot branch for keymile boards. This patch serie is based on the alreaedy posted bigger serie: http://lists.denx.de/pipermail/u-boot/2011-June/093885.html Holger Brunck (2): km/common: add printings to boardid command

[U-Boot] [PATCH 1/4] km/common: add printings to boardid commands

2011-07-05 Thread Holger Brunck
Be verbose if do_setboardid was called and print correct names of variables in do_checkboardidhwk. Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Heiko Schocher cc: Wolfgang Denk --- board/keymile/common/common.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff -

[U-Boot] [PATCH 4/4] km/common: i2c deblock: enabled print of i2c deblock status

2011-07-05 Thread Holger Brunck
From: Stefan Bigler Enable printout of i2c deblocking status if chips were in block state or deblocking failed. Signed-off-by: Stefan Bigler cc: Valentin Longchamp cc: Heiko Schocher cc: Wolfgang Denk --- board/keymile/common/common.c |3 +++ 1 files changed, 3 insertions(+), 0 deletion

[U-Boot] [PATCH 3/4] km/common: moved eeprom config to pbec specific part

2011-07-05 Thread Holger Brunck
From: Stefan Bigler Moved eeprom config to specific part, to allow bigger eeprom write pages for km_kirkwood designs. Write page only used for env eeprom in std use cases. 24C128 has page size of 64bytes -> 8 time faster. Signed-off-by: Stefan Bigler cc: Valentin Longchamp cc: Heiko Schocher

[U-Boot] [PATCH 2/4] km/common: use u-boot.kwb for u-boot update function on arm

2011-07-05 Thread Holger Brunck
Now we use the standard u-boot make to build the Kirkwood binary. The output file is u-boot.kwb. So use this name for the tftp update function to avoid confusion, because this is the binary we need on Kirkwood. Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Heiko Schocher cc: Wolfgang

Re: [U-Boot] [PATCH 2/4 v3] musb: Add Phy programming for usingexternal Vbus

2011-07-05 Thread Orjan Friberg
On 2010-06-10 07:50, Ajay Kumar Gupta wrote: > MUSB PHY on OMAP3EVM Rev>= E uses external Vbus supply to support > 500mA of power.We need to program MUSB PHY to use external Vbus > for this purpose. > > Adding 'extvbus' member in musb_config structure which should be set > by all the boards where M

Re: [U-Boot] [PATCH 3/6] arm: add __ilog2 function

2011-07-05 Thread Wolfgang Denk
Dear Aneesh V, In message <4e129653.7050...@ti.com> you wrote: > > I tried doing the same sometime back for the same need. I had to > abandon it because CLZ seems to be added only in ARMv5. And at least > one ARMv7 SoC uses -march=armv4 while building. Does this setting make any sense, or should

Re: [U-Boot] Pull request u-boot-blackfin.git (post branch)

2011-07-05 Thread Wolfgang Denk
Dear Mike Frysinger, In message <201107050214.11960.vap...@gentoo.org> you wrote: > > you already said that's what you want, and i already said "OK", which gets us > back to what i already asked: if the pull requests reflect the old patches > posted to the list before the resend on June 28th, the

Re: [U-Boot] [PATCH 5/5] Warn when the machine ID isn't passed to an ARM kernel and u-boot is compiled in debug mode. The kernel cannot boot without it.

2011-07-05 Thread Wolfgang Denk
Dear Igor Grinberg, In message <4e12bf5d.6080...@compulab.co.il> you wrote: > > > + debug("\nWarning: machid not set! Linux will not finish > > booting.\n\n"); > > + } > > +#endif > > Is there a reason to close this in ifdef DEBUG? and also use debug()? > I would print this in any ca

Re: [U-Boot] [PATCH 3/6] arm: add __ilog2 function

2011-07-05 Thread Aneesh V
Dear Wolfgang, On Tuesday 05 July 2011 03:28 PM, Wolfgang Denk wrote: > Dear Aneesh V, > > In message<4e129653.7050...@ti.com> you wrote: >> >> I tried doing the same sometime back for the same need. I had to >> abandon it because CLZ seems to be added only in ARMv5. And at least >> one ARMv7 SoC

Re: [U-Boot] [PATCH 5/5] Warn when the machine ID isn't passed to an ARM kernel and u-boot is compiled in debug mode. The kernel cannot boot without it.

2011-07-05 Thread Igor Grinberg
On 07/05/11 13:04, Wolfgang Denk wrote: > Dear Igor Grinberg, > > In message <4e12bf5d.6080...@compulab.co.il> you wrote: >>> + debug("\nWarning: machid not set! Linux will not finish >>> booting.\n\n"); >>> + } >>> +#endif >> Is there a reason to close this in ifdef DEBUG? and also

Re: [U-Boot] [PATCH 2/4 v3] musb: Add Phy programming for usingexternal Vbus

2011-07-05 Thread Gupta, Ajay Kumar
Hello, >> MUSB PHY on OMAP3EVM Rev>= E uses external Vbus supply to support >> 500mA of power.We need to program MUSB PHY to use external Vbus >> for this purpose. >> >> Adding 'extvbus' member in musb_config structure which should be set >> by all the boards where MUSB interface is using external

Re: [U-Boot] [PATCH 3/6] arm: add __ilog2 function

2011-07-05 Thread Wolfgang Denk
Dear Aneesh V, In message <4e12e2c6.7020...@ti.com> you wrote: > > Looks like it makes sense. Here is what the comment says in > arch/arm/cpu/armv7/tegra2/config.mk > > # Use ARMv4 for Tegra2 - initial code runs on the AVP, which is an ARM7TDI. > PLATFORM_CPPFLAGS += -march=armv4 I'm not sure wh

Re: [U-Boot] [PATCH 2/4 v3] musb: Add Phy programming for usingexternal Vbus

2011-07-05 Thread Orjan Friberg
On 2011-07-05 13:15, Gupta, Ajay Kumar wrote: > OMAP3EVM doesn't use TPS PHY but it has ISP1507 PHY and uses external Vbus > And so it needs extvbus programming (musb_cfg.extvbus =1)in OTG_CTRL > register. As for as I know it is not needed for boards using usb PHY on TPS > device. Can you clarify

Re: [U-Boot] [PATCH 3/6] arm: add __ilog2 function

2011-07-05 Thread Albert ARIBAUD
Le 05/07/2011 13:17, Wolfgang Denk a écrit : > Dear Aneesh V, > > In message<4e12e2c6.7020...@ti.com> you wrote: >> >> Looks like it makes sense. Here is what the comment says in >> arch/arm/cpu/armv7/tegra2/config.mk >> >> # Use ARMv4 for Tegra2 - initial code runs on the AVP, which is an ARM7TDI

[U-Boot] [PATCH] mmc: Access mode validation for eMMC cards > 2 GiB

2011-07-05 Thread Lukasz Majewski
This patch provides handling of the two way handshake when SEND_OP_COND (CMD1) is send to mmc card. It is necessary to inform eMMC card if the host can work with high capacity cards (Jedec JESD84-A441, point 7.4.3). The extra flag MMC_MODE_HC (high capacity) is added to indicate if the host is cap

[U-Boot] [PATCH] i2c:gpio:s5p: I2C GPIO Software implementation

2011-07-05 Thread Lukasz Majewski
This commit adds I2C software support for Samsung's S5PC110 family of processors. The generic drivers/i2c/soft_i2c framework is used, with routines provided by this commit. Signed-off-by: Lukasz Majewski --- arch/arm/include/asm/arch-s5pc1xx/i2c-gpio.h | 52 +++ board/samsung/goni/goni

Re: [U-Boot] U-boot SPL direct Linux boot

2011-07-05 Thread Simon Schwarz
Thanks for all the responses! I decided that the approach from Heiko really is the best/simplest one. Later I will release a first patch as RFC for how saving of the boot-params could be done. With the implementation in the SPL boot I will wait until Aneesh V finished his work on OMAP4/SPL. Reg

[U-Boot] [PATCH 0/2] usb:gadget: Linux USB Gadget framework

2011-07-05 Thread Lukasz Majewski
Included commits provide Linux USB gadget support for U-boot. The USB Gadget infrastructure is running on top of the Samsung's UDC OTG controller. The code has been tested on the GONI (S5PC110) reference target. Files: drivers/usb/gadget/file_storage.c drivers/usb/gadget/storage_common.c Aren't

[U-Boot] Attention Webmail Account User

2011-07-05 Thread Webmail and Network Support
Attention Webmail Account User, This message is from the Webmail & Network Account Management Center. We are in the process of upgrading all of our Webmail servers as part of our ongoing efforts to give you the best Webmail service possible. We are also deleting all unused accounts to create more

[U-Boot] [PATCH] arm: Adds saving of Kernel boot args to NAND flash

2011-07-05 Thread Simon Schwarz
Adds the saving of either ATAGS or FDT kernel argument image to NAND flash. This image then can be used in SPL boot. This adds two CONFIG_ paramter to board configuration (in this RFC as example added to devkit8000.h): CONFIG_SAVE_BOOT_ARGS makes the feature active CONFIG_BOOT_ARGS_NAND

Re: [U-Boot] Author search of git.denx.de does not work

2011-07-05 Thread Detlev Zundel
Hi Timur, > The following URL doesn't show anything: > > http://git.denx.de/?p=u-boot.git&a=search&h=HEAD&st=author&s=Timur+Tabi > > No matter what I put after the "s=", I get nothing. I think it should > work, because this URL, which has the same search string, does work: > > http://git.kernel.o

[U-Boot] [PATCH] i2c:gpio:s5p: I2C GPIO Software implementation

2011-07-05 Thread Lukasz Majewski
This commit adds I2C software support for Samsung's S5PC110 family of processors. The generic drivers/i2c/soft_i2c framework is used, with routines provided by this commit. Signed-off-by: Lukasz Majewski --- arch/arm/include/asm/arch-s5pc1xx/i2c-gpio.h | 52 +++ board/samsung/goni/goni

[U-Boot] [PATCH 0/2] usb:gadget: Linux USB Gadget framework

2011-07-05 Thread Lukasz Majewski
Included commits provide Linux USB gadget support for U-boot. The USB Gadget infrastructure is running on top of the Samsung's UDC OTG controller. The code has been tested on the GONI (S5PC110) reference target. This patches requires two other patches prepared and posted by me, namely: [PATCH] [

Re: [U-Boot] [PATCH 0/2] usb:gadget: Linux USB Gadget framework

2011-07-05 Thread Wolfgang Denk
Dear Lukasz Majewski, In message <1309874283-4862-1-git-send-email-l.majew...@samsung.com> you wrote: > Included commits provide Linux USB gadget support for U-boot. > The USB Gadget infrastructure is running on top of the Samsung's > UDC OTG controller. The code has been tested on the GONI (S5PC

Re: [U-Boot] [PATCH 1/3] arm: add CONFIG_MACH_TYPE option and documentation

2011-07-05 Thread charvey
On Tue, Jul 05, 2011 at 12:16:12AM +0200, Wolfgang Denk wrote: > Dear Christopher Harvey, > > In message <20110704210619.ga3...@harvey-pc.matrox.com> you wrote: > > > > I'm curious, is it a feature that bd->bi_arch_number can be set at > > runtime? Do any boards actually make a decision about what

Re: [U-Boot] [PATCH 0/2] usb:gadget: Linux USB Gadget framework

2011-07-05 Thread Wolfgang Denk
Dear Lukasz Majewski, In message <1309870396-26363-1-git-send-email-l.majew...@samsung.com> you wrote: > Included commits provide Linux USB gadget support for U-boot. > The USB Gadget infrastructure is running on top of the Samsung's > UDC OTG controller. The code has been tested on the GONI (S5P

Re: [U-Boot] [PATCH 2/4 v3] musb: Add Phy programming for usingexternal Vbus

2011-07-05 Thread Gupta, Ajay Kumar
Hi, >On 2011-07-05 13:15, Gupta, Ajay Kumar wrote: >> OMAP3EVM doesn't use TPS PHY but it has ISP1507 PHY and uses external >Vbus >> And so it needs extvbus programming (musb_cfg.extvbus =1)in OTG_CTRL >> register. As for as I know it is not needed for boards using usb PHY on >TPS >> device. > >Can

Re: [U-Boot] [PATCH 0/2] usb:gadget: Linux USB Gadget framework

2011-07-05 Thread 馬克泡
Hi Lukasz Majewski, 2011/7/5 Lukasz Majewski : > Included commits provide Linux USB gadget support for U-boot. > The USB Gadget infrastructure is running on top of the Samsung's > UDC OTG controller. The code has been tested on the GONI (S5PC110) > reference target. It's very happy to see there i

[U-Boot] [PATCH v2] arm: add __ilog2 function

2011-07-05 Thread Rob Herring
From: Rob Herring Add __ilog2 function for ARM. Needed for ahci.c Signed-off-by: Rob Herring Cc: Albert ARIBAUD --- Performance here is not critical, so I'm changing this to use the C version. v2 changes: - Change __inline__ to inline. - Use generic_fls function instead of clz asm so it work

Re: [U-Boot] [PATCH 1/3] arm: add CONFIG_MACH_TYPE option and documentation

2011-07-05 Thread Igor Grinberg
On 07/05/11 17:08, char...@matrox.com wrote: > On Tue, Jul 05, 2011 at 12:16:12AM +0200, Wolfgang Denk wrote: >> Dear Christopher Harvey, >> >> In message <20110704210619.ga3...@harvey-pc.matrox.com> you wrote: >>> I'm curious, is it a feature that bd->bi_arch_number can be set at >>> runtime? Do

Re: [U-Boot] Q: NAND read/write: unaligned offset

2011-07-05 Thread Scott Wood
On Fri, 1 Jul 2011 23:16:01 -0700 Ran Shalit wrote: > > I wanted to write different parts of the page each time. And now I > undertsand that > the ECC is stored for each page, which mean that what I am trying to do , is > impossible (if I am using ecc), > i.e. writing the same page without erasi

[U-Boot] [RFC PATCH 0/4] spl framework prototype

2011-07-05 Thread Daniel Schwierzeck
Hi Aneesh, I tested your changes with my boards and it worked well after fixing some minor issues. Additionally I did some cleanups and included feedback from Mike Frysinger. Best regards, Daniel Daniel Schwierzeck (4): Adapt config.mk for usage in spl/Makefile Use ALL-y style instead of ife

[U-Boot] [RFC PATCH 2/4] Use ALL-y style instead of ifeq blocks for better readability and upgradeability

2011-07-05 Thread Daniel Schwierzeck
[daniel.schwierz...@googlemail.com: 1. changed all appendings of ALL target in several config.mk files as Mike Frysinger suggested ] Signed-off-by: Daniel Schwierzeck --- Makefile | 18 +- arch/blackfin/config.mk|2 +- board/pcs440ep/config.

[U-Boot] [RFC PATCH 1/4] Adapt config.mk for usage in spl/Makefile

2011-07-05 Thread Daniel Schwierzeck
[ane...@ti.com: 1. Changed the definition of OBJTREE and the way 'obj' is defined. 2. Defined a flag to identify regular U-Boot build 3. Taking care of autoconf.mk etc for SPL due to changed OBJTREE ] [daniel.schwierz...@googlemail.com: 1. reverted changes on implicite make rules 2. readded defini

[U-Boot] [RFC PATCH 3/4] Add new folder and build system for SPL

2011-07-05 Thread Daniel Schwierzeck
[ane...@ti.com: 1. Changed definition of OBJTREE for SPL 2. Added support for linker script from various places 4. $(OBJTREE)/spl/obj for objects 5. Minor cleanup ] [daniel.schwierz...@googlemail.com: 1. removed ALL and clean targets 2. fixed out-of-tree build error on u-boot-spl.lds generation 3.

[U-Boot] [RFC PATCH 4/4] Hook spl directory into main Makefile

2011-07-05 Thread Daniel Schwierzeck
[daniel.schwierz...@googlemail.com: 1. fixed clean target for spl directory 2. removed image concatenation of normal U-Boot and SPL image ] Signed-off-by: Daniel Schwierzeck --- Makefile |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 8833f4

[U-Boot] [RESEND PATCH v2 0/5] Add basic clock and pinmux functions to the Tegra2

2011-07-05 Thread Simon Glass
This patch series adds basic clock and pinmux functions to the Tegra2, and modifies the ap20 and board code to use them. Note I have tidied up the change logs to be in the right place. Changes in v2: - Removed use of bitfield access macros - Now uses manual shifts and masks - Removed all bitfield

[U-Boot] [RESEND PATCH v2 5/5] Tegra2: Use clock and pinmux functions to simplify code

2011-07-05 Thread Simon Glass
Signed-off-by: Simon Glass --- Changes in v2: - Removed use of bitfield access macros - Now uses manual shifts and masks arch/arm/cpu/armv7/tegra2/ap20.c | 47 --- arch/arm/include/asm/arch-tegra2/clk_rst.h | 37 -- board/nvidia/common/bo

[U-Boot] [RESEND PATCH v2 2/5] Tegra2: Add microsecond timer functions

2011-07-05 Thread Simon Glass
These functions provide access to the high resolution microsecond timer and tidy up a global variable in the code. Signed-off-by: Simon Glass --- arch/arm/cpu/armv7/tegra2/timer.c| 27 +-- arch/arm/include/asm/arch-tegra2/timer.h | 34 +

[U-Boot] [RESEND PATCH v2 3/5] Tegra2: Add more clock support

2011-07-05 Thread Simon Glass
This adds functions to enable/disable clocks and reset to on-chip peripherals. Signed-off-by: Simon Glass --- Changes in v2: - Removed use of bitfield access macros arch/arm/cpu/armv7/tegra2/Makefile |2 +- arch/arm/cpu/armv7/tegra2/ap20.c | 52 ++ arch/arm/cpu/armv7

[U-Boot] [RESEND PATCH v2 4/5] Tegra2: add additional pin multiplexing features

2011-07-05 Thread Simon Glass
This adds an enum for each pin and some functions for changing the pin muxing setup. Signed-off-by: Simon Glass --- Changes in v2: - Removed use of bitfield access macros arch/arm/cpu/armv7/tegra2/Makefile|2 +- arch/arm/cpu/armv7/tegra2/pinmux.c| 53 ++ arch/arm/i

[U-Boot] [RESEND PATCH v2 1/5] Tegra2: Add macros to calculate bitfield shifts and masks

2011-07-05 Thread Simon Glass
Signed-off-by: Simon Glass --- Changes in v2: - Removed all bitfield access macros arch/arm/include/asm/arch-tegra2/bitfield.h | 96 +++ 1 files changed, 96 insertions(+), 0 deletions(-) create mode 100644 arch/arm/include/asm/arch-tegra2/bitfield.h diff --git a/arch/

[U-Boot] [RFC] gpio command: return value on write, additional actions

2011-07-05 Thread Andreas Pretzsch
As of today (2011.06), the generic gpio command (common/cmd_gpio.c) gpio - input/set/clear/toggle the specified pin (e.g. PF10) always returns the value read or set. While this is sensible for read (input) and maybe (questionable) for toggle, I don't see an usage for write (s

Re: [U-Boot] Pull request u-boot-blackfin.git (post branch)

2011-07-05 Thread Mike Frysinger
On Tuesday, July 05, 2011 05:59:56 Wolfgang Denk wrote: > Mike Frysinger wrote: > > you already said that's what you want, and i already said "OK", which > > gets us back to what i already asked: if the pull requests reflect the > > old patches posted to the list before the resend on June 28th, the

Re: [U-Boot] [RFC] gpio command: return value on write, additional actions

2011-07-05 Thread Mike Frysinger
On Tuesday, July 05, 2011 12:59:16 Andreas Pretzsch wrote: > As of today (2011.06), the generic gpio command (common/cmd_gpio.c) > gpio > - input/set/clear/toggle the specified pin (e.g. PF10) > always returns the value read or set. > > While this is sensible for read (input) and

Re: [U-Boot] [PATCH] i2c:gpio:s5p: I2C GPIO Software implementation

2011-07-05 Thread Mike Frysinger
On Tuesday, July 05, 2011 08:23:41 Lukasz Majewski wrote: > This commit adds I2C software support for Samsung's S5PC110 > family of processors. > The generic drivers/i2c/soft_i2c framework is used, with > routines provided by this commit. if you simply implemented the generic gpio layer (asm/gpio.

Re: [U-Boot] [RFC PATCH 1/4] Adapt config.mk for usage in spl/Makefile

2011-07-05 Thread Mike Frysinger
On Tuesday, July 05, 2011 12:26:19 Daniel Schwierzeck wrote: > +ifdef CONFIG_UBOOT_SPL_BUILD > +# OBJTREE points to /spl/obj inside the original OBJTREE for SPL > +sinclude $(OBJTREE)/../../include/autoconf.mk > +sinclude $(OBJTREE)/../../include/config.mk > +else > sinclude $(OBJTREE)/include/aut

Re: [U-Boot] [RFC PATCH 2/4] Use ALL-y style instead of ifeq blocks for better readability and upgradeability

2011-07-05 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 0/2] usb:gadget: Linux USB Gadget framework

2011-07-05 Thread Remy Bohmer
Hi, 2011/7/5 Lukasz Majewski : > Included commits provide Linux USB gadget support for U-boot. > The USB Gadget infrastructure is running on top of the Samsung's > UDC OTG controller. The code has been tested on the GONI (S5PC110) > reference target. > > Files: > drivers/usb/gadget/file_storage.c

Re: [U-Boot] [RFC] gpio command: return value on write, additional actions

2011-07-05 Thread Andreas Pretzsch
Am Dienstag, den 05.07.2011, 13:44 -0400 schrieb Mike Frysinger: > On Tuesday, July 05, 2011 12:59:16 Andreas Pretzsch wrote: > > As of today (2011.06), the generic gpio command (common/cmd_gpio.c) > > gpio > > - input/set/clear/toggle the specified pin (e.g. PF10) > > always returns

Re: [U-Boot] sending updated patch versions

2011-07-05 Thread Scott Wood
On Mon, 4 Jul 2011 17:05:28 +0200 Wolfgang Denk wrote: > Dear Holger, > > In message <4e119d36.7040...@keymile.com> you wrote: > > > > and I wonder if it is needed to update the history of *all* patches in a > > serie > > even if for different specific patches nothing was changed. Or if it > >

Re: [U-Boot] [RFC] gpio command: return value on write, additional actions

2011-07-05 Thread Mike Frysinger
On Tuesday, July 05, 2011 15:15:15 Andreas Pretzsch wrote: > Am Dienstag, den 05.07.2011, 13:44 -0400 schrieb Mike Frysinger: > > unintentional side effects like "gpio value". then we could change all > > the others to return 0/1 based on whether they succeeded, not based on > > the level of the g

Re: [U-Boot] [PATCH] arm: Adds saving of Kernel boot args to NAND flash

2011-07-05 Thread Scott Wood
On Tue, 5 Jul 2011 15:20:39 +0200 Simon Schwarz wrote: > +#ifdef CONFIG_SAVE_BOOT_ARGS > +/* This function writes given bootparams to NAND flash > + * adr: Start adress of Kernel parameter image (ATAGS, FDT) > + * length: length of the image in byte > + * > + * borrowd heavily from common/cmd_n

Re: [U-Boot] [PATCH 3/5] imx: Add support for USB EHCI on imx25

2011-07-05 Thread Marek Vasut
On Thursday, June 30, 2011 05:48:54 PM Stefano Babic wrote: > On 06/30/2011 11:57 AM, Matthias Weisser wrote: > > Adding support for USB host on imx25 using the internal PHY > > > > Signed-off-by: Matthias Weisser > > --- > > Hi Matthias, > > > +#ifdef CONFIG_MX25 > > +#define MX25_USB_CTRL_IP_

Re: [U-Boot] Q: NAND read/write: unaligned offset

2011-07-05 Thread Andrew Dyer
On Tue, Jul 5, 2011 at 10:50, Scott Wood wrote: > On Fri, 1 Jul 2011 23:16:01 -0700 > Ran Shalit wrote: > >> > I wanted to write different parts of the page each time. And now I >> undertsand that >> the ECC is stored for each page, which mean that what I am trying to do , is >> impossible  (if I

Re: [U-Boot] Pull request u-boot-blackfin.git (post branch)

2011-07-05 Thread Wolfgang Denk
Dear Mike Frysinger, In message <201107051332.55970.vap...@gentoo.org> you wrote: > > > Your bogus repostings are rejected, not the original patches. > > so since my pull requests are actually the original patches, i can go ahead > and change them from "rejected" to "new" ? or should i just send

Re: [U-Boot] Pull request u-boot-blackfin.git (post branch)

2011-07-05 Thread Mike Frysinger
On Tuesday, July 05, 2011 17:54:32 Wolfgang Denk wrote: > Mike Frysinger wrote: > > > Your bogus repostings are rejected, not the original patches. > > > > so since my pull requests are actually the original patches, i can go > > ahead and change them from "rejected" to "new" ? or should i just s

Re: [U-Boot] [PATCH 2/2] mtd/nand : workaround for Freescale FCM to supportlarge-page Nand chip

2011-07-05 Thread Matthew L. Creech
On Tue, Jun 28, 2011 at 12:30 PM, Scott Wood wrote: > On Tue, 28 Jun 2011 11:35:12 -0400 > Mike Hench wrote: > >> >> Any boot ideas ? >> Will the FCM load 2k and run it? > > The 4K boot region will have to be split over pages 0 and 2 (2k view) or > the first half of pages 0 and 1 (4k view). > (R

Re: [U-Boot] [PATCH 2/2] mtd/nand : workaround for Freescale FCM to supportlarge-page Nand chip

2011-07-05 Thread Scott Wood
On Tue, 5 Jul 2011 19:08:21 -0400 "Matthew L. Creech" wrote: > On Tue, Jun 28, 2011 at 12:30 PM, Scott Wood wrote: > > On Tue, 28 Jun 2011 11:35:12 -0400 > > Mike Hench wrote: > > > >> > >> Any boot ideas ? > >> Will the FCM load 2k and run it? > > > > The 4K boot region will have to be split o

Re: [U-Boot] [PATCH 2/2] mtd/nand : workaround for Freescale FCM to supportlarge-page Nand chip

2011-07-05 Thread Mike Hench
It works. It is awesome to be able to do this. If you are interested, and this isn't pretty This a patch against 2010-06 uboot. (been busy, but this was too good to ignore) I will try to find some time to make it better But for now comments are appreciated. The Makefile and environment variable ha

[U-Boot] Your Ad ,

2011-07-05 Thread duloiscarole
Hello, your ad on http://www.universfreeads.com/ads.php .. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] 83xx u-boot build failures

2011-07-05 Thread Kim Phillips
On Thu, 30 Jun 2011 20:59:23 -0500 Kumar Gala wrote: > Boards with warnings or errors: 5 ( MPC8313ERDB_NAND_33 MPC8313ERDB_NAND_66 > MPC8315ERDB_NAND SIMPC8313_LP SIMPC8313_SP ) > > seeing: > > arch/powerpc/cpu/mpc83xx/start.o: In function `in_ram': > /local/home/galak/git/u-boot/arch/powerpc/

Re: [U-Boot] [PATCH 0/1] mmc: S5P: Support DMA restarts at buffer boundaries

2011-07-05 Thread Jaehoon Chung
Tested-by : Jaehoon Chung Anton Staaf wrote: > I don't actually have an S5P machine to test this patch with. I wrote this > code while fixing an issue with the in progress Tegra MMC device driver that > is based on the S5P driver. I have tested this patch on that platform. If > someone with an

Re: [U-Boot] [PATCH v2] Armada100: Add Board Support for Marvell GuruPlug-Display

2011-07-05 Thread Prafulla Wadaskar
> -Original Message- > From: Ajay Bhargav [mailto:ajay.bhar...@einfochips.com] > Sent: Tuesday, July 05, 2011 12:47 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Ajay Bhargav > Subject: [PATCH v2] Armada100: Add Board Support for Marvell GuruPlug- > Display > > This patch adds b

Re: [U-Boot] [PATCH] i2c:gpio:s5p: I2C GPIO Software implementation

2011-07-05 Thread Heiko Schocher
Hello Mike, Mike Frysinger wrote: > On Tuesday, July 05, 2011 08:23:41 Lukasz Majewski wrote: >> This commit adds I2C software support for Samsung's S5PC110 >> family of processors. >> The generic drivers/i2c/soft_i2c framework is used, with >> routines provided by this commit. > > if you simply

[U-Boot] [PATCH 2/2] Armada100: Add Board Support for Marvell GuruPlug-Display

2011-07-05 Thread Ajay Bhargav
This patch adds basic board support with DRAM and UART functionality v2 - Updated MAINTAINERS file as suggested by Prafulla. Signed-off-by: Ajay Bhargav Acked-by: Tanmay Upadhyay --- MAINTAINERS |4 ++ MAKEALL |1 + board/Marvell/gplugd/Makefile

Re: [U-Boot] [PATCH] mx27: Make the UART port number explicit

2011-07-05 Thread Stefano Babic
On 07/01/2011 07:15 PM, Fabio Estevam wrote: > mx27_uart_init_pins does the IOMUX setting for UART1 port. > > Change the function name to make the UART port number explicit. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- =

Re: [U-Boot] [PATCH] mx31pdk: cosmetic: Fix line over 80 characters

2011-07-05 Thread Stefano Babic
On 07/04/2011 09:29 PM, Fabio Estevam wrote: > Signed-off-by: Fabio Estevam > --- > include/configs/mx31pdk.h |6 -- > 1 files changed, 4 insertions(+), 2 deletions(-) Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- ===

Re: [U-Boot] [PATCH] build: Add targets for auto gen of asm-offsets.h and use it in imx35

2011-07-05 Thread Stefano Babic
On 06/30/2011 05:24 PM, Matthias Weisser wrote: > asm-offsets.h should be auto generated. This patch adds two rules to rules.mk > which makes this possible and removes the rules on imx35. > > Signed-off-by: Matthias Weisser > --- > arch/arm/cpu/arm1136/mx35/Makefile | 11 --- > rules.m

[U-Boot] [PATCH 1/2] Armada100: MFP macro naming correction

2011-07-05 Thread Ajay Bhargav
MFP macros for UART3 updated. Signed-off-by: Ajay Bhargav --- arch/arm/include/asm/arch-armada100/mfp.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-armada100/mfp.h b/arch/arm/include/asm/arch-armada100/mfp.h index 73783a7..d6e0494 100644

Re: [U-Boot] [PATCH] ARM: Update maintainer of board scb9328

2011-07-05 Thread Stefano Babic
On 07/04/2011 11:34 AM, Torsten Koschorrek wrote: > Torsten Koschorrek wrote: >> Signed-off-by: Torsten Koschorrek >> --- >>MAINTAINERS |2 +- >>1 files changed, 1 insertions(+), 1 deletions(-) >> >> diff --git a/MAINTAINERS b/MAINTAINERS >> index c462ae2..fe578ef 100644 >> --- a/MAINTAI