[U-Boot] [PATCH] Do not copy to same address

2011-04-11 Thread Matthias Weisser
In some cases (e.g. bootm with a elf payload) there is a in place copy of data to the same address. Catching this saves some ms while booting. Signed-off-by: Matthias Weisser --- lib/string.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/lib/string.c b/lib/stri

Re: [U-Boot] [PATCH 0/4] generic mmc_spi driver

2011-04-11 Thread Mike Frysinger
On Friday, December 24, 2010 02:16:05 Thomas Chou wrote: > This is the v9 update of the mmc_spi driver. Please enable DEBUG on the top > of mmc_spi.c and help me perform the tests. > > A new spi_set_speed() is added to meet the 400KHz clock requirement during > mmc card initialization. An example

Re: [U-Boot] [PATCH 1/2] powerpc: eSPI and eSPI controller support

2011-04-11 Thread Mike Frysinger
On Wednesday, March 16, 2011 04:04:42 Xie Shaohui-B21989 wrote: > >On Tuesday, March 15, 2011 22:53:20 Shaohui Xie wrote: > >> --- a/drivers/mtd/spi/spi_flash.c > >> +++ b/drivers/mtd/spi/spi_flash.c > >> +#ifndef CONFIG_FSL_ESPI > >> > >> +#else > >> > >> +#endif > > > >yikes, th

Re: [U-Boot] [PATCH] I2C: OMAP: detect more devices when probing an i2c bus

2011-04-11 Thread Heiko Schocher
Hello Nick, Nick Thompson wrote: > The omap24xx driver only seems to support devices that have a single > subaddress > byte. With these types of devices, the first access in a bus transaction is > usually a write (writes the subaddress) followed by either a read or write to > access the devices r

Re: [U-Boot] [PATCHv3 3/4] I2C: Add driver for ST-Ericsson U8500 i2c

2011-04-11 Thread Heiko Schocher
Hello John, John Rigby wrote: > From: Michael Brandt > > Signed-off-by: John Rigby > CC: Heiko Schocher > --- > v2: Incorporate suggestions from Heiko Schocher > v3: Fix line length problem reported by Heiko Schocher > drivers/i2c/Makefile|1 + > drivers/i2c/u8500_i2c.c | 613 >

[U-Boot] [PATCH v2 2/2] ftide020: add faraday ide ahb controller

2011-04-11 Thread Macpaul Lin
Faraday's ftide020_s is an IDE-AHB controller for SoC design. This patch add the u-boot driver (PIO) of ftide020 ATA (IDE) driver. IDE commands include read, info, and other functions has been implemented. Because this IDE controller support AHB interface only which is differ from other most IDE c

[U-Boot] [PATCH v2 1/2] cmd_ide: enhance new feature "CONFIG_IDE_AHB"

2011-04-11 Thread Macpaul Lin
Although most IDE controller is designed to be connected to PCI bridge, there are still some IDE controller support AHB interface for SoC design. The driver implementation of these IDE-AHB controllers differ from other IDE-PCI controller, some additional registers and commands access is required d

Re: [U-Boot] [PATCH 1/2] SPI: Add struct spi_flash.sector_size parameter

2011-04-11 Thread Mike Frysinger
these patches have been integrated/superseded by my recent sf patchset -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

[U-Boot] [PATCH 9/9] cmd_sf: use cmd_usage() in more places

2011-04-11 Thread Mike Frysinger
Requires a little reworking of the code flow with sub-functions, but not a big deal. Signed-off-by: Mike Frysinger --- common/cmd_sf.c | 59 +++ 1 files changed, 29 insertions(+), 30 deletions(-) diff --git a/common/cmd_sf.c b/common/cmd_sf.

[U-Boot] [PATCH 8/9] cmd_sf: drop device status message when probing

2011-04-11 Thread Mike Frysinger
The common spi flash layer displays useful info when probing, so no need for us to duplicate that. Signed-off-by: Mike Frysinger --- common/cmd_sf.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/common/cmd_sf.c b/common/cmd_sf.c index afbef99..3abc4ff 100644 --- a/co

[U-Boot] [PATCH 7/9] sf: use print_size() for sector_size output

2011-04-11 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- drivers/mtd/spi/spi_flash.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c index ccb7e31..c75b716 100644 --- a/drivers/mtd/spi/spi_flash.c +++ b/drivers/mtd/spi/spi_flash.c @@

[U-Boot] [PATCH 5/9] sf: localize erase funcs

2011-04-11 Thread Mike Frysinger
No need for these to be exported as they are only accessed indirectly via function pointers. Signed-off-by: Mike Frysinger --- drivers/mtd/spi/atmel.c|4 ++-- drivers/mtd/spi/eon.c |2 +- drivers/mtd/spi/macronix.c |2 +- drivers/mtd/spi/ramtron.c |2 +- drivers/mtd/spi

[U-Boot] [PATCH 3/9] sf: add struct spi_flash.sector_size parameter

2011-04-11 Thread Mike Frysinger
From: Richard Retanubun This patch adds a new member to struct spi_flash (u16 sector_size) and updates the spi flash drivers to start populating it. This parameter can be used by spi flash commands that need to round up units of operation to the flash's sector_size. Having this number in one pl

[U-Boot] [PATCH 1/9] sf: punt unused spi_flash_region struct

2011-04-11 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- include/spi_flash.h |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/include/spi_flash.h b/include/spi_flash.h index 1f8ba29..89cc3a7 100644 --- a/include/spi_flash.h +++ b/include/spi_flash.h @@ -26,11 +26,6 @@ #include #include

[U-Boot] [PATCH 6/9] cmd_sf: add handler for +len arg for erase command

2011-04-11 Thread Mike Frysinger
From: Richard Retanubun This patch adds [+]len handler for the erase command that will automatically round up the requested erase length to the flash's sector_size. Signed-off-by: Richard Retanubun Signed-off-by: Mike Frysinger --- Richard: I noticed some issues in your original patch, so plea

[U-Boot] [PATCH 2/9] sf: atmel: undo unification of status polling

2011-04-11 Thread Mike Frysinger
The AT45 flashes are completely different (at the command set and status register level) from all other SPI flashes, so we can't unify their logic with common code. Signed-off-by: Mike Frysinger --- drivers/mtd/spi/atmel.c | 31 +-- 1 files changed, 29 insertions(+)

[U-Boot] [PATCH 4/9] sf: sst: setup read func

2011-04-11 Thread Mike Frysinger
The previous unification patch missed setting up the sst read func. Signed-off-by: Mike Frysinger --- drivers/mtd/spi/sst.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/sst.c b/drivers/mtd/spi/sst.c index 29bb88b..38983bd 100644 --- a/drivers/mtd/spi/s

[U-Boot] [PATCH 0/9] SPI Flash updates for 2011.06

2011-04-11 Thread Mike Frysinger
Some bug fixes for the recent SPI flash cleanups, some more cleanups based on work by Richard, support for +len when erasing SPI flashes, and more cleanups I noticed should be done while doing all of that. Mike Frysinger (7): sf: punt unused spi_flash_region struct sf: atmel: undo unification

[U-Boot] [PATCH] STx AMC8548: initial support for Silicon Turnkey Express AMC8548 board

2011-04-11 Thread Alex Dubov
From: Alex Dubov AMC8548 is a RapidIO development board in AMC form factor, featuring MPC8548E processor, DDR2 SO-DIMM slot, 16MB of hardwired NAND flash memory, real time clock and additional serial EEPROM on i2c bus (enabled). USB controller is available, but not presently enabled. Additional

[U-Boot] [PATCHv3 4/4] armv7: Add support for ST-Ericsson U8500 href platform

2011-04-11 Thread John Rigby
Minimal platform support to boot linux from SD. Supported devices/hw limited to external MMC/SD slot, GPIO, I2C and minimal PRCMU. Signed-off-by: John Rigby CC: Albert Aribaud --- This board support requires mmc driver patch set from Matt Waddel. v2: cleanup, mostly removal of unused defines an

[U-Boot] [PATCHv3 2/4] armv7: Add ST-Ericsson u8500 arch

2011-04-11 Thread John Rigby
Based on ST-Ericsson internal git repo. Signed-off-by: Mathieu Poirier Signed-off-by: John Rigby CC: Albert Aribaud --- v2: cleanup, mostly removal of unused defines v3: remove prototype from sys_proto.h as suggested by Wolfgang arch/arm/cpu/armv7/u8500/Makefile | 46 + arch/a

[U-Boot] [PATCHv3 3/4] I2C: Add driver for ST-Ericsson U8500 i2c

2011-04-11 Thread John Rigby
From: Michael Brandt Signed-off-by: John Rigby CC: Heiko Schocher --- v2: Incorporate suggestions from Heiko Schocher v3: Fix line length problem reported by Heiko Schocher drivers/i2c/Makefile|1 + drivers/i2c/u8500_i2c.c | 613 +++ drivers

[U-Boot] [PATCHv3 1/4] Serial: p1011: new vendor init options

2011-04-11 Thread John Rigby
From: Rabin Vincent Two new options: CONFIG_PL011_SERIAL_RLCR Some vendor versions of PL011 serial ports (e.g. ST-Ericsson U8500) have separate receive and transmit line control registers. Set this variable to initialize the extra register. CONFIG_PL011_SERIAL_FLUSH_ON_INIT On some platforms

[U-Boot] [PATCHv3 0/4] ST-Ericsson U8500 support

2011-04-11 Thread John Rigby
Add support for ST-Ericsson U8500 SoC and HREF platform John Rigby (2): armv7: Add ST-Ericsson u8500 arch armv7: Add support for ST-Ericsson U8500 href platform Michael Brandt (1): I2C: Add driver for ST-Ericsson U8500 i2c Rabin Vincent (1): Serial: p1011: new vendor init options READM

[U-Boot] [PATCH v4] spi: add new driver for OpenCores tiny_spi

2011-04-11 Thread Thomas Chou
This patch adds support for OpenCores tiny_spi. http://opencores.org/project,tiny_spi Signed-off-by: Thomas Chou --- for u-boot v2, use const and clean up as Mike suggested. v3, use struct instead of base+offset as Wolfgang suggested. v4, remove volatile in regs def. drivers/spi/Makefile

[U-Boot] [PATCH] ftwdt010_wdt: move header to include/faraday and enhance

2011-04-11 Thread Macpaul Lin
1. Move header to include/faraday 2. Fix include path in ftwdt010_wdt.c 3. Fix function prototype and declaration to - ftwdt010_wdt_settimeout - ftwdt010_wdt_reset - ftwdt010_wdt_disable 4. Add "#if definde (CONFIG_HW_WATCHDOG)" let user have flexibilty to choose which better to his product

Re: [U-Boot] [PATCH v4] ftwdt010_wdt: support faraday ftwdt010 watchdog

2011-04-11 Thread Macpaul Lin
Hi Wolfgang 2011/4/12 Wolfgang Denk : > Dear Macpaul Lin, > > In message <1296038788-12702-1-git-send-email-macp...@andestech.com> you > wrote: >> Faraday ftwdt010 watchdog is an architecture independant >> watchdog. It is usaually used in SoC chip design. >> >> Signed-off-by: Macpaul Lin >> ---

Re: [U-Boot] [PATCH] gpio: generalize for all generic gpio providers

2011-04-11 Thread Mike Frysinger
On Monday, April 11, 2011 15:34:17 Andreas Pretzsch wrote: > Am Sonntag, den 03.04.2011, 04:43 -0400 schrieb Mike Frysinger: > > + return port_base + simple_strtoul(name, NULL, 10); > > Remark: Leads to an oom access when exceeding the processor number of > GPIOs, e.g. PF48 on a BF561. IMHO, no

[U-Boot] Net: smc911x: Invalid chip endian 0x04980498 No ethernet found.

2011-04-11 Thread Sung Hee Park
Hi, I'm having a problem with detecting a network controller in Mistral's omap3evm board rev G. I've compiled both x-loader and u-boot from the one included in dvsdk_omap3530-evm_4_01_00_09_setuplinux. Can you please suggest any idea how I can fix this problem? Thanks in advance. Regards, Sung He

Re: [U-Boot] Daughter card detection

2011-04-11 Thread Jerry Van Baren
Hi Kapil, On 04/11/2011 12:06 AM, Dev, Kapil wrote: > Hi I am trying to detect a daughter card chip. From data sheet I was > able to find the address for that chip. But when I use i2c probe > command from uboot shell, it is showing me only 4 addresses. And > these 4 addresses does not contain the

[U-Boot] [PATCH v5] ARM: mx31: Print the silicon version

2011-04-11 Thread Fabio Estevam
Use the same method of the Linux kernel to print the MX31 silicon version on boot. Tested on a MX31PDK with a 2.0 silicon, where it shows: CPU: Freescale i.MX31 rev 2.0 at 531 MHz Signed-off-by: Fabio Estevam --- Changes since v4: - Get rid of imx_soc_revision.h and its macro Changes since

[U-Boot] [PATCH v4] ARM: mx31: Print the silicon version

2011-04-11 Thread Fabio Estevam
Use the same method of the Linux kernel to print the MX31 silicon version on boot. Tested on a MX31PDK with a 2.0 silicon, where it shows: CPU: Freescale i.MX31 rev 2.0 at 531 MHz Signed-off-by: Fabio Estevam --- Changes since v3: - Keep consistency with other i.MX processors and print the s

Re: [U-Boot] [PATCH V3] update VCMA9 port

2011-04-11 Thread Minkyu Kang
Dear Wolfgang Denk, On 12 April 2011 04:24, Wolfgang Denk wrote: > Dear Minkyu Kang, > > You you ask for such changes, could you please also update the patch > status in patchwork to "Changes Requested"?  Thanks! > > > [This applies to all other custodians as well!  Thanks!] > > Best regards, > >

Re: [U-Boot] [PATCH 6/6] EA20: do not use subpage write for NAND

2011-04-11 Thread Jon Povey
Ben Gardiner wrote: > "tries to access subpages" is maybe a little too vague; I think Jon > Povey described the problem quite succinctly: That's me, I better wake up! > What's more is that the davinci nand controller could do subpage > writing if the writing operation were informed of the extents

[U-Boot] [PATCH v3] ARM: mx31: Print the silicon version

2011-04-11 Thread Fabio Estevam
Use the same method of the Linux kernel to print the MX31 silicon version on boot. Tested on a MX31PDK with a 2.0 silicon, where it shows: CPU: Freescale i.MX31 at 531 MHz MX31 silicon rev 2.0 Signed-off-by: Fabio Estevam --- Changes since v2: - Use macro instead of defines for IMX_CHIP_REVI

Re: [U-Boot] trigger automatic update (FIT image) from prompt instead of "updatefile" env variable

2011-04-11 Thread Wolfgang Denk
Dear Andreas Pretzsch, In message <1302554333.13241.158.ca...@ws-apr.office.loc> you wrote: > Is there a way to manually trigger an automatic update using a FIT > image, based on the way described in doc/README.update ? Yes, there is. > I mean beside setting "updatefile" environment variable, sa

Re: [U-Boot] [PATCH V2] Do not copy elf section to same adress

2011-04-11 Thread Wolfgang Denk
Dear Matthias Weisser, In message <4da360a9.10...@arcor.de> you wrote: > > I can't come up with an example where this may produce a problem but who > knows which exotic hardware is out there which expects that a memcpy > with identical src and dst addresses is executed exactly in that way. > But m

Re: [U-Boot] [RFC] skip area in flash/memory commands (cp, cmp, ...)

2011-04-11 Thread Wolfgang Denk
Dear Andreas Pretzsch, In message <1302551856.13241.146.ca...@ws-apr.office.loc> you wrote: > > > > What do you think, worth the effort, acceptable in mainline or > > > over-engineering ? > > > > Over-engineering IMO. I agree with Albert here. > > There is a reason why a board defines its envir

Re: [U-Boot] [PATCH] STx AMC8548: initial support for Silicon Turnkey Express AMC8548 board

2011-04-11 Thread Wolfgang Denk
Dear Alex Dubov, In message <110534.85629...@web37608.mail.mud.yahoo.com> you wrote: > AMC8548 is a RapidIO development board in AMC form factor, featuring MPC854= > 8E=0Aprocessor, DDR2 SO-DIMM slot, 16MB of hardwired NAND flash memory, rea= > l time=0Aclock and additional serial EEPROM on i2c bu

Re: [U-Boot] [PATCH v4] ftwdt010_wdt: support faraday ftwdt010 watchdog

2011-04-11 Thread Wolfgang Denk
Dear Macpaul Lin, In message <1296038788-12702-1-git-send-email-macp...@andestech.com> you wrote: > Faraday ftwdt010 watchdog is an architecture independant > watchdog. It is usaually used in SoC chip design. > > Signed-off-by: Macpaul Lin > --- > Change v2: >Fix the wrong title of ftwdt010

Re: [U-Boot] [PATCH 1/2] mp2usb: remove board support

2011-04-11 Thread Wolfgang Denk
Dear =?UTF-8?q?Eric=20B=C3=A9nard?=, In message <1295994684-7431-1-git-send-email-e...@eukrea.com> you wrote: > > this board was cancelled long time ago so remove it as it won't > be maintained anymore > > Signed-off-by: Eric Bénard > --- > board/mp2usb/Makefile| 50 - > board/mp2usb

Re: [U-Boot] [PATCH] ppc, mgcoge: add DIP switch detection

2011-04-11 Thread Wolfgang Denk
Dear Holger Brunck, In message <1295951175-3635-1-git-send-email-holger.bru...@keymile.com> you wrote: > From: Andreas Huber > > This reads the DIP switch on mgcoge. The DIP switch is connected to > the BFTICU (0x4089) FPGA. If the DIP switch is set the environment > variable 'actual_bank'

Re: [U-Boot] [PATCH] arm, keymile: remove unneeded code

2011-04-11 Thread Wolfgang Denk
Dear Holger Brunck, In message <1295945839-1817-1-git-send-email-holger.bru...@keymile.com> you wrote: > On first HW versions the BOCO FPGA was behind a MUX device. These > HW versions are not supported anymore. And therefore this code can > be removed, it is already unused. > > Signed-off-by: H

[U-Boot] trigger automatic update (FIT image) from prompt instead of "updatefile" env variable

2011-04-11 Thread Andreas Pretzsch
Is there a way to manually trigger an automatic update using a FIT image, based on the way described in doc/README.update ? I mean beside setting "updatefile" environment variable, saveenv and reboot, but trigger it from U-Boot prompt resp. script ? As far as I can see, update_tftp() is only call

Re: [U-Boot] [PATCH 2/2] ftide020: add faraday ide ahb controller from Linux kernel

2011-04-11 Thread Wolfgang Denk
Dear Macpaul Lin, In message <1295873267-32570-2-git-send-email-macp...@andestech.com> you wrote: > Faraday's ftide020_s is an IDE-AHB controller for SoC design. > This patch ported the u-boot driver (PIO) of ftide020 ATA (IDE) driver > from Linux kernel. IDE commands include read, info, and other

Re: [U-Boot] [PATCH 1/2] cmd_ide: enhance new feature "CONFIG_IDE_AHB"

2011-04-11 Thread Wolfgang Denk
Dear Macpaul Lin, In message <1295873267-32570-1-git-send-email-macp...@andestech.com> you wrote: > Although most IDE controller is designed to be connected to PCI bridge, > there are still some IDE controller support AHB interface for SoC design. > > The driver implementation of these IDE-AHB co

Re: [U-Boot] [PATCH 1/2] Makefile: change rule to build IMX image

2011-04-11 Thread Wolfgang Denk
Dear Stefano Babic, In message <4d46c87f.2000...@denx.de> you wrote: > On 01/24/2011 11:14 AM, Stefano Babic wrote: > > config.mk in board directory is obsolete and should be removed. > > The patch allows to get rid of own config.mk adding the imximage.cfg > > file to the options in the boards.cfg

Re: [U-Boot] [PATCH v2] Net: Add Intel E1000 82574L PCIe card support

2011-04-11 Thread Wolfgang Denk
Dear Roy Zang, In message <1295580578-9828-1-git-send-email-tie-fei.z...@freescale.com> you wrote: > Add Intel E1000 82574L PCIe card support. Test on MPC8544DS > and MPC8572 board. > Add the missing contact information for future support. > > Signed-off-by: Roy Zang > Acked-by: Kumar Gala > -

Re: [U-Boot] [PATCH V2] Do not copy elf section to same adress

2011-04-11 Thread Matthias Weisser
Am 11.04.2011 21:59, schrieb Wolfgang Denk: > Dear Matthias Weisser, > > In message <1295435020-14190-1-git-send-email-weiss...@arcor.de> you wrote: >> > When an elf section is already at the right position (e.g. after image >> > decompression by bootm) there is no need to copy it. This saves some

Re: [U-Boot] [PATCH V2] Do not copy elf section to same adress

2011-04-11 Thread Wolfgang Denk
Dear Matthias Weisser, In message <1295435020-14190-1-git-send-email-weiss...@arcor.de> you wrote: > When an elf section is already at the right position (e.g. after image > decompression by bootm) there is no need to copy it. This saves some ms > when bootig an elf image. > > Changes since V1 >

Re: [U-Boot] [RFC] skip area in flash/memory commands (cp, cmp, ...)

2011-04-11 Thread Andreas Pretzsch
Am Montag, den 11.04.2011, 21:31 +0200 schrieb Albert ARIBAUD: > Le 11/04/2011 20:52, Andreas Pretzsch a écrit : > > Objective: Skip an area in memory commands > > > > Example use case: Skip over embedded environment when updating U-Boot > > > > In case of an embedded environment, a complete U-Boot

Re: [U-Boot] [PATCH v3] spi: add new driver for OpenCores tiny_spi

2011-04-11 Thread Wolfgang Denk
Dear Thomas Chou, In message <1295323751-12085-1-git-send-email-tho...@wytron.com.tw> you wrote: > This patch adds support for OpenCores tiny_spi. > > http://opencores.org/project,tiny_spi > > Signed-off-by: Thomas Chou > --- > for u-boot > v2, use const and clean up as Mike suggested. > v3, us

Re: [U-Boot] [PATCHv2 0/4] ST-Ericsson U8500 support

2011-04-11 Thread Albert ARIBAUD
Hi John, Le 11/04/2011 19:33, John Rigby a écrit : > On Sat, Apr 2, 2011 at 10:19 AM, John Rigby wrote: >> Add support for ST-Ericsson U8500 SoC and HREF platform >> >> John Rigby (2): >> armv7: Add ST-Ericsson u8500 arch >> armv7: Add support for ST-Ericsson U8500 href platform >> >> Michae

Re: [U-Boot] [PATCH] PowerPC: Add support for -msingle-pic-base

2011-04-11 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message <1291656937-24619-1-git-send-email-joakim.tjernl...@transmode.se> you wrote: > -msingle-pic-base is a new gcc option for ppc and > it reduces the size of my u-boot with 6-8 KB. > While at it, add -fno-jump-tables too to save a > few more bytes. > > -msingle-pic-

Re: [U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place

2011-04-11 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message <1291642606-4290-1-git-send-email-joakim.tjernl...@transmode.se> you wrote: > The -fPIC flag belongs with -mrelocatable, move it there. > Also change -fPIC to -fpic as this produces smaller > binaries. > However, currently -mrelocatable promotes -fpic to -fPIC, a

Re: [U-Boot] [PATCH] Blackfin: cmd_gpio: allow port pins over 15

2011-04-11 Thread Andreas Pretzsch
Am Freitag, den 08.04.2011, 16:24 -0400 schrieb Mike Frysinger: > this is obsoleted by my recent patch: > [U-Boot] [PATCH] gpio: generalize for all generic gpio providers > -mike ACK. Thanks very much for your work. -- carpe noctem engineering Ingenieurbuero fuer Hard- & Software-Entwick

Re: [U-Boot] [PATCH] gpio: generalize for all generic gpio providers

2011-04-11 Thread Andreas Pretzsch
Am Sonntag, den 03.04.2011, 04:43 -0400 schrieb Mike Frysinger: > The Blackfin gpio command isn't terribly Blackfin-specific. So generalize > the few pieces into two new optional helpers: > name_to_gpio() - turn a string name into a GPIO # > gpio_status() - display current pin bindings

Re: [U-Boot] [RFC] skip area in flash/memory commands (cp, cmp, ...)

2011-04-11 Thread Albert ARIBAUD
Le 11/04/2011 20:52, Andreas Pretzsch a écrit : > Objective: Skip an area in memory commands > > Example use case: Skip over embedded environment when updating U-Boot > > In case of an embedded environment, a complete U-Boot binary consists of > two code sections and an environment block in between

Re: [U-Boot] [PATCH 2/2] ea20: fix undefined PHY_* errors

2011-04-11 Thread Wolfgang Denk
Dear Ben Gardiner, In message you wrote: > This patch fixes ea20 after 8ef583a0351590a91394499eb5ca2ab8a703d959 where > the u-boot custom PHY_ macros were replaced with those of linux/mii.h MII_ > definitions except in the RMII support for davinci_emac. Probably also due to > the merge path of

Re: [U-Boot] [PATCH 1/2] ea20: fix libea20.o not found

2011-04-11 Thread Wolfgang Denk
Dear Ben Gardiner, In message you wrote: > This patch fixes ea20 after commit 6d8962e814c15807dd6ac5757904be2a02d187b8 > where $(obj)lib$(BOARD).a was changed to $(obj)lib$(BOARD).o in almost all the > Makefiles except ea20, probably due to merge path of the changes in 2010.12. > > Signed-off-

Re: [U-Boot] [PATCH v3] Divides variable of linker flags to LDFLAGS-u-boot and LDFLAGS

2011-04-11 Thread Scott Wood
On Mon, 11 Apr 2011 21:15:43 +0200 Wolfgang Denk wrote: > Dear Nobuhiro Iwamatsu, > > In message <1294747652-12603-1-git-send-email-iwama...@nigauri.org> you wrote: > > Linker needs to use the proper endian/bfd flags even when doing partial > > linking. > > LDFLAGS_u-boot sets linker option whi

Re: [U-Boot] [PATCH V3] update VCMA9 port

2011-04-11 Thread Wolfgang Denk
Dear Minkyu Kang, In message you wrote: > > On 11 January 2011 21:22, David M=FCller wrote: > > > > This patch brings the VCMA9 port in sync with the latest U-Boot > > version by doing the following: ... > If so, you should separate the patch. You you ask for such changes, could you please al

[U-Boot] [PATCH] [v4 powerpc: use 'video-mode' environment variable to configure DIU

2011-04-11 Thread Timur Tabi
Use the 'video-mode' environment variable (for Freescale chips that have a DIU display controller) to designate the full video configuration. Previously, the DIU driver used the 'monitor' variable, and it was used only to determine the output video port. The old definition of the "monitor" enviro

Re: [U-Boot] [PATCH 6/6] EA20: do not use subpage write for NAND

2011-04-11 Thread Scott Wood
On Sat, Apr 09, 2011 at 08:05:35PM +0200, Stefano Babic wrote: > diff --git a/README b/README > index 21cd71b..8d664eb 100644 > --- a/README > +++ b/README > @@ -2907,6 +2907,10 @@ Low Level (hardware related) configuration options: > that is executed before the actual U-Boot. E.g. wh

Re: [U-Boot] [PATCH v3] Divides variable of linker flags to LDFLAGS-u-boot and LDFLAGS

2011-04-11 Thread Wolfgang Denk
Dear Nobuhiro Iwamatsu, In message <1294747652-12603-1-git-send-email-iwama...@nigauri.org> you wrote: > Linker needs to use the proper endian/bfd flags even when doing partial > linking. > LDFLAGS_u-boot sets linker option which is called it when U-boot is built > (u-boot final). > LDFLAGS sets

Re: [U-Boot] [U-BOOT] [PATCH V2] bootm: replace blob_start with image_start

2011-04-11 Thread Wolfgang Denk
Dear Lei Wen, In message <1294654875-6414-1-git-send-email-lei...@marvell.com> you wrote: > For uImage always has a 64 bytes header, we couldn't expect to do > the xip from the header but should xip from the image start. > > The latter logic in that section is also move the image from image_start

Re: [U-Boot] [PATCH 4/4] sf: unify read functions

2011-04-11 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1294644014-7560-5-git-send-email-vap...@gentoo.org> you wrote: > Signed-off-by: Mike Frysinger > --- > drivers/mtd/spi/atmel.c | 18 +- > drivers/mtd/spi/eon.c| 22 +- > drivers/mtd/spi/macronix.c

Re: [U-Boot] [PATCH 3/4] sf: unify erase functions

2011-04-11 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1294644014-7560-4-git-send-email-vap...@gentoo.org> you wrote: > Signed-off-by: Mike Frysinger > --- > drivers/mtd/spi/eon.c| 55 ++--- > drivers/mtd/spi/macronix.c | 60 ++-- > dri

Re: [U-Boot] [PATCH 2/4] sf: unify status polling for ready bit

2011-04-11 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1294644014-7560-3-git-send-email-vap...@gentoo.org> you wrote: > All of the spi flash drivers implement the status register polling for > detecting the device ready state, so unify them all in a new helper > function -- spi_flash_wait_ready. > > Signed-off-by: Mik

Re: [U-Boot] [PATCH 1/4] sf: unify read/write helpers

2011-04-11 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1294644014-7560-2-git-send-email-vap...@gentoo.org> you wrote: > These functions largely do the same exact thing, so unify them all > into one basic function. > > Signed-off-by: Mike Frysinger > --- > drivers/mtd/spi/spi_flash.c | 67 --

[U-Boot] [RFC] skip area in flash/memory commands (cp, cmp, ...)

2011-04-11 Thread Andreas Pretzsch
Objective: Skip an area in memory commands Example use case: Skip over embedded environment when updating U-Boot In case of an embedded environment, a complete U-Boot binary consists of two code sections and an environment block in between. In an update flow tftp/erase/cp/cmp conveniently using t

Re: [U-Boot] [PATCH v2] nand_spl: Fix large page nand_command()

2011-04-11 Thread Scott Wood
On Wed, Apr 06, 2011 at 04:01:52PM -0400, Alex Waterman wrote: > Sorry, I screwed up the settings in Thunderbird, hopefully I fixed the > white space/name issues now. > > About the patch not applying, I used git format-patch and git apply to > test the stuff locally, was that wrong? > > Here is

Re: [U-Boot] [PATCH v1 2/2] nand/spl: Assuming a static nand page size to reduce code size

2011-04-11 Thread Scott Wood
On Tue, Apr 05, 2011 at 02:39:34PM -0500, Matthew McClintock wrote: > Change variables to const to reduce code size, these values are > hardcoded via defines anyways so we might as well assume they > are constants > > Signed-off-by: Matthew McClintock > cc: Scott Wood > --- > With this change we

Re: [U-Boot] [PATCH 01/21] Define new system_restart() and emergency_restart()

2011-04-11 Thread Wolfgang Denk
Dear Graeme Russ, sorry for the delay. In message you wrote: > > My point was that everything can be piped through panic() Yes, it can. But I don't think that makes sense. > > Can you please show me a specific case where you would use such > > different arguments to panic() in the existing c

Re: [U-Boot] [PATCHv2 4/4] armv7: Add support for ST-Ericsson U8500 href platform

2011-04-11 Thread Wolfgang Denk
Dear John Rigby, In message <1301761196-26072-5-git-send-email-john.ri...@linaro.org> you wrote: > Based on ST-Ericsson private git repo. > Plus changes to use arm_pl180_mmci driver. > > This board support requires the vexpress mmc driver patch set from > Matt Waddel. All these comments are not

Re: [U-Boot] [PATCH 2/4] armv7: Add ST-Ericsson u8500 arch

2011-04-11 Thread Wolfgang Denk
Dear John Rigby, In message <1300826419-18632-3-git-send-email-john.ri...@linaro.org> you wrote: > From: Rabin Vincent > > Signed-off-by: Rabin Vincent > Signed-off-by: Mathieu Poirier > Signed-off-by: John Rigby ... > +void arm_pl180_mmci_init(void); NAK. Please move all prototype declara

Re: [U-Boot] [PATCHv2 1/4] p101x: extra init for u8500

2011-04-11 Thread Wolfgang Denk
Dear John Rigby, In message <1301761196-26072-2-git-send-email-john.ri...@linaro.org> you wrote: > From: Rabin Vincent > > empty fifo on init > program receive line control register on u8500 > > Signed-off-by: Rabin Vincent > --- > v2: no changes > > drivers/serial/serial_pl01x.c | 10

Re: [U-Boot] [PATCHv2 0/4] ST-Ericsson U8500 support

2011-04-11 Thread John Rigby
On Sat, Apr 2, 2011 at 10:19 AM, John Rigby wrote: > Add support for ST-Ericsson U8500 SoC and HREF platform > > John Rigby (2): >  armv7: Add ST-Ericsson u8500 arch >  armv7: Add support for ST-Ericsson U8500 href platform > > Michael Brandt (1): >  I2C: add driver of st-ericsson u8500 i2c > > Ra

Re: [U-Boot] [PATCH 2/2] Initialize second PHY on OpenRD-Client and OpenRD-Ultimate.

2011-04-11 Thread Prafulla Wadaskar
> -Original Message- > From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] > Sent: Monday, April 11, 2011 6:15 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Clint Adams; Julian Pidancet > Subject: Re: [U-Boot] [PATCH 2/2] Initialize second PHY on OpenRD-Client > and OpenRD-Ul

Re: [U-Boot] [PATCH v1 2/2] nand/spl: Assuming a static nand page size to reduce code size

2011-04-11 Thread Scott Wood
On Sat, 9 Apr 2011 10:53:34 -0500 Kumar Gala wrote: > > On Apr 5, 2011, at 2:39 PM, Matthew McClintock wrote: > > > Change variables to const to reduce code size, these values are > > hardcoded via defines anyways so we might as well assume they > > are constants > > > > Signed-off-by: Matthew

Re: [U-Boot] [PATCH V2] Do not copy elf section to same adress

2011-04-11 Thread Matthias Weisser
Hi Am 19.01.2011 12:03, schrieb Matthias Weisser: > When an elf section is already at the right position (e.g. after image > decompression by bootm) there is no need to copy it. This saves some ms > when bootig an elf image. > > Changes since V1 > - Fixed style issues > > Signed-off-by: Matthi

Re: [U-Boot] [PATCH 2/2] MIPS: Coding style cleanups on common assembly files

2011-04-11 Thread Daniel Schwierzeck
Hi Shinya, I have some minor additions 2011/4/9 Shinya Kuribayashi : > Fix style issues and alignments globally.  No logical changes. > - Replace C comments with AS line comments where possible > - Use ifndef where possible, rather than if !defined for simplicity > - An instruction executed in a

Re: [U-Boot] [PATCH 6/6] EA20: do not use subpage write for NAND

2011-04-11 Thread Ben Gardiner
Hi Stefano, Thanks for sharing this patch -- I have been using the "-O 2048" (VID header offset) option to prevent subpages here. On Sat, Apr 9, 2011 at 2:05 PM, Stefano Babic wrote: > The NAND controller does not support subpage accessing. This is > not used at all for MLC NAND, but it is set f

[U-Boot] [PATCH] JFFS2: accelerate scanning.

2011-04-11 Thread Leo Liu
This patch make the JFFS2 scanning faster in U-Boot. 1). if we find 1KB 0xFF data from the beginning of the erase block,skip it. 2). if the 1KB data is 0xFF after the cleanmarker, ship this erase block. For the 16MB nor flash, the scanning time is changed from about 9s to 1s. Signed-off-by: Leo L

[U-Boot] [PATCH] JFFS2: bug fix for summary support.

2011-04-11 Thread Leo Liu
This patch fixes some issues with JFFS2 summary support in U-Boot. 1/ Bug fix for summary support: we need to get the latest DIRENT. 2/ Avoid allocate too big memory if the biggest file in JFFS2 is too long. We only allocate one node size for pL->readbuf. 3/ Free memory space if we fail to scan the

[U-Boot] [RFC] Centralise documentation of CONFIG_ options (and finding unused ones)

2011-04-11 Thread Graeme Russ
Hi All, As a bit of a lark, I ran the following shell command: grep -r -h -o -G "#define CONFIG.*" * | \ sed 's/#define[ \t]*//' | \ sed 's/^\([A-Za-z0-9_]*\).*/\1/' | \ sort -u > README.configuration.options I then ran the result through the following script into README.configuration.options.co

Re: [U-Boot] [PATCH v3] Add support for Bluewater Systems Snapper 9260 and 9G20 modules

2011-04-11 Thread Reinhard Meyer
Dear Ryan Mallon, > Add support for Bluewater Systems AT91 based Snapper 9260 and 9G20 > single board computer modules. Includes NAND flash and Ethernet > support. > > Signed-off-by: Ryan Mallon > --- > Patches apply against the rework101229 branch of > git://git.denx.de/u-boot-atmel.git. > > B

Re: [U-Boot] [PATCH 3/6] Davinci: ea20: Add NAND support

2011-04-11 Thread Ben Gardiner
On Sat, Apr 9, 2011 at 2:05 PM, Stefano Babic wrote: > Signed-off-by: Stefano Babic > CC: Sandeep Paulraj > CC: Scott Wood > [...] > @@ -143,20 +144,20 @@ int board_init(void) >        irq_init(); >  #endif > > -#ifdef CONFIG_NAND_DAVINCI >        /* >         * NAND CS setup - cycle counts ba

Re: [U-Boot] [PATCH 2/2] Initialize second PHY on OpenRD-Client and OpenRD-Ultimate.

2011-04-11 Thread Albert ARIBAUD
Hi Prafulle, Le 11/04/2011 14:03, Prafulla Wadaskar a écrit : board/Marvell/openrd_base/openrd_base.c | 22 ++-- >> -- include/configs/openrd_base.h | 14 -- >> Didn't Julian re-post patches that actually separates Base, Client and >> Ultim

[U-Boot] [PATCH v2] mtd, cfi: read AMD 3-byte (expanded) device ids on 16bit devices

2011-04-11 Thread Heiko Schocher
tested on the a4m072 board with a S29GL512P flash. flinfo without this patch Bank # 1: CFI conformant flash (16 x 16) Size: 32 MB in 256 Sectors AMD Standard command set, Manufacturer ID: 0x01, Device ID: 0x227E Erase timeout: 16384 ms, write timeout: 2 ms Buffer write timeout: 5 ms, buffer

Re: [U-Boot] [PATCH] mtd, cfi: read AMD 3-byte (expanded) device ids on 16bit devices

2011-04-11 Thread Stefan Roese
Hi Heiko, could you please add an "flinfo" example, with and without this patch? So that we can better see, which problem is fixed. And which device this is needed for/tested on? Thanks. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich

Re: [U-Boot] [PATCH 2/2] Initialize second PHY on OpenRD-Client and OpenRD-Ultimate.

2011-04-11 Thread Prafulla Wadaskar
> -Original Message- > From: Albert ARIBAUD [mailto:albert.arib...@free.fr] > Sent: Thursday, April 07, 2011 12:48 PM > To: u-boot@lists.denx.de > Cc: Prafulla Wadaskar; Clint Adams > Subject: Re: [U-Boot] [PATCH 2/2] Initialize second PHY on OpenRD-Client > and OpenRD-Ultimate. > > Le 0

Re: [U-Boot] [PATCH 2/2] cpu9260: update board support

2011-04-11 Thread Eric Bénard
Hi Reinhard, On 11/04/2011 12:51, Reinhard Meyer wrote: >> +/* to be removed once maemory-map.h is fixed */ > > That would be "memory-map.h". > However memory-map.h does not exist anymore. > .../... > > Please no "1" anymore for just defines, unless the value 1 is really used as > a value. > .../

[U-Boot] [PATCH 3/6] x86: Code cleanup

2011-04-11 Thread Graeme Russ
Make the copyright notices in the x86 files consistent and update them with proper attributions for recent updates Also fix a few comment style/accuracy and whitespace/blank line issues Signed-off-by: Graeme Russ --- arch/i386/cpu/cpu.c | 31 +++ arch/i386/cp

[U-Boot] [PATCH] mtd, cfi: read AMD 3-byte (expanded) device ids on 16bit devices

2011-04-11 Thread Heiko Schocher
Signed-off-by: Heiko Schocher --- drivers/mtd/cfi_flash.c | 13 +++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 5788328..7617e0e 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -1202,8 +1

[U-Boot] [PATCH 6/6] x86: Update MAINTAINERS and delete README files

2011-04-11 Thread Graeme Russ
The README files are totally out-of-date to the point where they do more harm than good Signed-off-by: Graeme Russ --- MAINTAINERS|4 +- doc/README-x86 | 74 doc/TODO-i386 | 29 -- 3 files changed, 2 insert

[U-Boot] [PATCH 4/6] x86: Rename i386 to x86

2011-04-11 Thread Graeme Russ
Signed-off-by: Graeme Russ --- MAKEALL|4 ++-- Makefile |4 ++-- README |2 +- arch/{i386 => x86}/config.mk |0 arch/{i386 => x86

[U-Boot] [PATCH 5/6] sc520: Move reset to stand-alone file

2011-04-11 Thread Graeme Russ
Partial linking allows weak functions to be overridden in files containing only one function. Moving the sc520 override of reset_cpu gets rid of an ugly #ifdef Signed-off-by: Graeme Russ --- arch/x86/cpu/sc520/Makefile |1 + arch/x86/cpu/sc520/sc520.c | 10 - arch/x86/cp

[U-Boot] [PATCH 2/6] eNET: Remove config.mk

2011-04-11 Thread Graeme Russ
By including in the ld script, CONFIG_SYS_MONITOR_LEN (defined in the boards config file) can be used in lieu of FLASH_SIZE (defined in the board specific config.mk) As this is the last remaining entry in the board specific config.mk, this file can now be removed Signed-off-by: Graeme Russ ---

[U-Boot] [PATCH 1/6] eNET: Fix saveenv crash

2011-04-11 Thread Graeme Russ
CONFIG_ENV_SIZE = CONFIG_ENV_SECT_SIZE = 128kB but CONFIG_SYS_STACK_SIZE is only 32kB resulting in saveenv causing a stack overflow and crashing U-Boot. Resolve by reducing CONFIG_ENV_SIZE to 4kB Also fix up CONFIG_SYS_MALLOC_LEN to correctly use environment sector size and add some comments to th

  1   2   >