Re: [U-Boot] [PATCH] cmd_mem.c: Fix help message alignment

2008-08-26 Thread Peter Tyser
On Tue, 2008-08-26 at 15:03 +0200, Wolfgang Denk wrote: > Bug was introced by "Big white-space cleanup" (53677ef1) s/introced/introduced/ > > Signed-off-by: Wolfgang Denk <[EMAIL PROTECTED]> > --- > common/cmd_mem.c | 30 +++--- > 1 files changed, 15 insertions(+), 15

[U-Boot] [PATCH] Standardize bootp, tftpboot, rarpboot, dhcp, and nfs command descriptions

2008-08-26 Thread Peter Tyser
cmd_net.c command descriptions were updated to describe the optional hostIPaddr argument. The dhcp command help message was also updated to more closely reflect the other commands in cmd_net.c Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> --- common/cmd_net.c | 10 +- 1

Re: [U-Boot] [PATCH] Standardize bootp, tftpboot, rarpboot, dhcp, and nfs command descriptions

2008-08-26 Thread Peter Tyser
Hi Ben, On Tue, 2008-08-26 at 09:31 -0700, Ben Warren wrote: > Hi Peter, > > Peter Tyser wrote: > > cmd_net.c command descriptions were updated to describe the optional > > hostIPaddr argument. The dhcp command help message was also updated > > to more closely re

Re: [U-Boot] [PATCH 06/12] autoscript: Move conditional compilation to Makefile

2008-08-28 Thread Peter Tyser
Hi Jean-Chritophe, On Thu, 2008-08-28 at 12:27 +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[EMAIL PROTECTED]> > --- > common/Makefile |3 +- > common/{cmd_autoscript.c => autoscript.c} | 44 > common/cm

Re: [U-Boot] [PATCH 06/12] autoscript: Move conditional compilation to Makefile

2008-08-28 Thread Peter Tyser
Hi Jean-Christophe, (Sorry for misspelling your name in the last email;) On Thu, 2008-08-28 at 10:26 -0500, Peter Tyser wrote: > Hi Jean-Chritophe, > > On Thu, 2008-08-28 at 12:27 +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > Signed-off-by: Jean-Christophe PLAGNI

Re: [U-Boot] [PATCH v3 02/16] FSL DDR: Rewrite the FSL mpc8xxx DDR controller setup code.

2008-08-29 Thread Peter Tyser
Hello, [snip] > + > +/* DDR SDRAM control configuration 2 (DDR_SDRAM_CFG_2) */ > +static void set_ddr_sdram_cfg_2(fsl_memctl_config_regs_t *ddr, > +const memctl_options_t *popts) > +{ > + unsigned int frc_sr = 0;/* Force self refresh */ > + unsigned int

Re: [U-Boot] Image.c get_table_entry_name

2008-09-05 Thread Peter Tyser
Hi Ed, > The string pointers in uimage_{arch,os,type,comp}[] are not being > relocated and still point to flash. > If flash is erased (all f's), this causes bootm to trap on a bad > pointer. > > This is for powerpc (mpc8572ds). How are they suppose to be relocated? > > -EdS > > => boot > boot

Re: [U-Boot] [PATCH] Remove support for booting ARTOS images

2008-09-08 Thread Peter Tyser
Hello Kumar, On Mon, 2008-09-08 at 08:41 -0500, Kumar Gala wrote: > Pantelis Antoniou stated: > AFAIK, it is still used but the products using PPC are long gone. > Nuke it plz (from orbit). > > So remove it since it cleans up a usage of env_get_char outside of > the environment code.

Re: [U-Boot] [PATCH] cmd_mem.c: Fix help message alignment

2008-09-08 Thread Peter Tyser
> > What is the preferred command indentation in general? > > > > - Tabs or spaces? eg: > > "dhcp\t- invoke DHCP client to obtain IP/boot params\n" > > "exit- exit script\n" > > TABs are preferred, as they save memory footprint for the U-Boot > image. But for the help textx, this often m

Re: [U-Boot] [PATCH] Add support for booting of INTEGRITY operating system uImages

2008-09-08 Thread Peter Tyser
Hello, > In message <[EMAIL PROTECTED]> you wrote: > > Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> > > --- > > README |5 +++-- > > common/cmd_bootm.c | 39 +++ > > common/image.c |

[U-Boot] [PATCH v2] Add support for booting of INTEGRITY operating system uImages

2008-09-08 Thread Peter Tyser
Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> --- This should be applied after "[PATCH v2] Remove support for booting ARTOS images". README|5 ++- common/cmd_bootm.c| 38 +

[U-Boot] [PATCH] Support multiple SGMII/TBI interfaces for TSEC ethernet

2008-09-08 Thread Peter Tyser
will break in many hardware configurations. Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> --- The above limitations were noticed on an mpc8572-based board with 2 sgmii interfaces with external PHYs. Both external PHYs are connected to the MDIO interface of TSEC1 which caused TSEC2 to

Re: [U-Boot] [PATCH] Support multiple SGMII/TBI interfaces for TSEC ethernet

2008-09-08 Thread Peter Tyser
Hi Andy, On Mon, 2008-09-08 at 19:34 -0500, Andy Fleming wrote: > On Mon, Sep 8, 2008 at 6:39 PM, Peter Tyser <[EMAIL PROTECTED]> wrote: > > The original code only supported using 1 TSEC port in SGMII mode using an > > internal TBI PHY. Additionally, the TBI internal P

[U-Boot] [PATCH v2] Support for multiple SGMII/TBI interfaces for TSEC ethernet

2008-09-09 Thread Peter Tyser
Fix TBI PHY accesses to use the proper offset in CPU register space. The previous code would incorrectly access the TBI PHY by reading/writing to CPU register space at the same location as would be used to access external PHYs. Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> --- I replac

[U-Boot] [PATCH] Update mailing list email and archive addresses

2008-09-10 Thread Peter Tyser
Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> --- The reference to [EMAIL PROTECTED] on this page should also be updated: http://www.denx.de/wiki/U-Boot/Patches MAINTAINERS |2 +- README |8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MAINTAI

[U-Boot] [PATCH v3] Support for multiple SGMII/TBI interfaces for TSEC ethernet

2008-09-10 Thread Peter Tyser
Fix TBI PHY accesses to use the proper offset in CPU register space. The previous code would incorrectly access the TBI PHY by reading/writing to CPU register space at the same location as would be used to access external PHYs. Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> --- Dohh...

[U-Boot] Merge window questions

2008-09-11 Thread Peter Tyser
Hello, I'm assuming the merge window has been closed based on http://www.denx.de/wiki/U-Boot/ReleaseCycle and the fact that v2008.10-rc1 has been tagged. Does U-Boot accept new drivers/board support patches (ie new features which can't regress) outside of merge windows, or only bug fixes? My unde

Re: [U-Boot] [PATCH v3] Support for multiple SGMII/TBI interfaces for TSEC ethernet

2008-09-15 Thread Peter Tyser
On Mon, 2008-09-15 at 16:13 -0500, Andy Fleming wrote: > > @@ -299,12 +301,10 @@ static int init_phy(struct eth_device *dev) > > { > >struct tsec_private *priv = (struct tsec_private *)dev->priv; > >struct phy_info *curphy; > > - volatile tsec_t *phyregs = priv->phyregs; > >

Re: [U-Boot] [PATCH v3] Support for multiple SGMII/TBI interfaces for TSEC ethernet

2008-09-15 Thread Peter Tyser
Hi Andy, > >> > @@ -299,12 +301,10 @@ static int init_phy(struct eth_device *dev) > >> > { > >> >struct tsec_private *priv = (struct tsec_private *)dev->priv; > >> >struct phy_info *curphy; > >> > - volatile tsec_t *phyregs = priv->phyregs; > >> >volatile tsec_t *reg

[U-Boot] [PATCH v4] Support for multiple SGMII/TBI interfaces for TSEC ethernet

2008-09-16 Thread Peter Tyser
Fix TBI PHY accesses to use the proper offset in CPU register space. The previous code would incorrectly access the TBI PHY by reading/writing to CPU register space at the same location as would be used to access external PHYs. Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> --- drive

[U-Boot] [PATCH] Remove CFG_EEPROM_PAGE* dependencies for temperature sensors

2008-09-23 Thread Peter Tyser
The checks for CFG_EEPROM_PAGE_WRITE_ENABLE and CFG_EEPROM_PAGE_WRITE_BITS in various temperature sensor drivers are not necessary Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> --- drivers/hwmon/ds1621.c |5 - drivers/hwmon/lm75.c |6 -- drivers/hwmon/lm81.c |6 ---

[U-Boot] [PATCH] Remove unused CFG_EEPROM_PAGE_WRITE_ENABLE references

2008-09-23 Thread Peter Tyser
Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> --- doc/README.PIP405|8 include/configs/APC405.h |1 - include/configs/ASH405.h |1 - include/configs/B2.h |1 - include/configs/CATcenter.h |1 - include/configs/CM

[U-Boot] [PATCH] cmd_i2c: Fix help for CONFIG_I2C_CMD_TREE && !CONFIG_I2C_MULTI_BUS

2008-10-01 Thread Peter Tyser
Original code displayed: => help i2c i2c i2c speed [speed] - show or set I2C bus speed i2c md chip address[.0, .1, .2] [# of objects] - read from I2C device ... Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> --- common/cmd_i2c.c |8 1 files changed, 4 insertions(+), 4

[U-Boot] [PATCH] cmd_i2c: Update available commands when CONFIG_I2C_CMD_TREE is defined

2008-10-01 Thread Peter Tyser
If CONFIG_I2C_CMD_TREE is defined, individual i2c commands such as 'imd', 'imm', 'imw', etc should not be available as their functionality is duplicated in the 'i2c' command. Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> --- common/cmd_i2c.c |

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

2015-01-26 Thread Peter Tyser
On Mon, 2015-01-26 at 16:33 -0600, Scott Wood wrote: > On Mon, 2015-01-26 at 16:24 -0600, Peter Tyser wrote: > > The driver-specific verify_buf() function can be replaced with the > > standard read_page_raw() function to verify writes. This will > > allow > > veri

Re: [U-Boot] [PATCH] patman: Make dry-run output match real functionality

2015-01-27 Thread Peter Tyser
On Mon, 2015-01-26 at 22:21 -0700, Simon Glass wrote: > Hi Peter, > > On 26 January 2015 at 10:42, Peter Tyser wrote: > > When run with the --dry-run argument patman prints out information > > showing what it would do. This information currently doesn't line up >

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

2015-01-27 Thread Peter Tyser
Hi Scott, > > I waffled about removing it, but leaned towards leaving it in because: > > - I didn't want to change the existing U-Boot behavior for other > > users. A google of 'u-boot "nand write"' shows a lot of examples that > > don't include verification of writes, and they should if we remo

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

2015-01-29 Thread Peter Tyser
On Thu, 2015-01-29 at 17:02 -0600, Scott Wood wrote: > On Tue, 2015-01-27 at 17:47 -0600, Peter Tyser wrote: > > Hi Scott, > > > > > > > > I waffled about removing it, but leaned towards leaving it in because: > > > > - I didn't wan

[U-Boot] [PATCH] nand: Remove unused CONFIG_MTD_NAND_ECC_JFFS2 option

2015-02-03 Thread Peter Tyser
This option was removed along with legacy NAND support in be33b046b549ad88c204c209508cd7657232ffbd. Clean up some remnants. Signed-off-by: Peter Tyser --- doc/README.nand | 12 include/configs/ethernut5.h | 1 - 2 files changed, 13 deletions(-) diff --git a/doc

[U-Boot] [PATCH] cmd_yaffs: Clean up command usage messages

2015-02-03 Thread Peter Tyser
Remove duplicate command names in usage messages to fix issues such as: => help yls yls - yaffs ls Usage: yls yls [-l] dirname Signed-off-by: Peter Tyser --- common/cmd_yaffs2.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/com

[U-Boot] [PATCH] nand: Remove unused read/write structures

2015-02-03 Thread Peter Tyser
The use of the nand_write_options and nand_read_options structures were removed in commit dfbf617ff055e4216f78d358b0867c548916d14b. Remove the now-unused structures too. Signed-off-by: Peter Tyser --- include/nand.h | 26 -- 1 file changed, 26 deletions(-) diff --git a

[U-Boot] [PATCH 1/5] nand: Add verification functions

2015-02-03 Thread Peter Tyser
Add nand_verify() and nand_verify_page_oob(). nand_verify() verifies NAND contents against an arbitrarily sized buffer using ECC while nand_verify_page_oob() verifies a NAND page's contents and OOB. Signed-off-by: Peter Tyser --- drivers/mtd/nand/nand_util.c

[U-Boot] [PATCH 3/5] dfu: nand: Verify writes

2015-02-03 Thread Peter Tyser
Previously NAND writes were not verified and could fail silently. Add a verification step after all writes to NAND. Signed-off-by: Peter Tyser --- I don't have a board with DFU support, so this change is untested. drivers/dfu/dfu_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 del

[U-Boot] [PATCH 2/5] cmd_nand: Verify writes to NAND

2015-02-03 Thread Peter Tyser
10 0xfe 1 nand write.raw 0x1 0x800 1 mw.b 0x1000810 0x01 1 nand write.raw 0x100 0x800 3 Signed-off-by: Peter Tyser --- common/cmd_nand.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/common/cmd_nand.c b/common/cmd_nand.c index 7f962dc..

[U-Boot] [PATCH 5/5] nand: yaffs: Remove the "nand write.yaffs" command

2015-02-03 Thread Peter Tyser
ecial yaffs handling. This causes invalid YAFFS data to be written. See http://lists.denx.de/pipermail/u-boot/2011-September/102830.html for an example and a potential workaround. U-Boot still retains the ability to mount and access YAFFS partitions via CONFIG_YAFFS2. Signed-off-by: Peter

[U-Boot] [PATCH 4/5] nand: Remove CONFIG_MTD_NAND_VERIFY_WRITE

2015-02-03 Thread Peter Tyser
The CONFIG_MTD_NAND_VERIFY_WRITE has been removed from Linux for some time and a more generic method of NAND verification now exists in U-Boot. Signed-off-by: Peter Tyser --- README | 3 -- board/prodrive/alpr/nand.c | 16 - board/socrates/nand.c

[U-Boot] [PATCH 1/3] dm: Prevent "demo hello" and "demo status" segfaults

2015-02-03 Thread Peter Tyser
Segfaults can occur when a mandatory argument is not provided to "demo hello" and "demo status". Eg: => demo hello Segmentation fault (core dumped) Add a check to ensure all required arguments are provided. Signed-off-by: Peter Tyser --- common/cmd_demo.c | 4

Re: [U-Boot] [PATCH 1/3] dm: Prevent "demo hello" and "demo status" segfaults

2015-02-03 Thread Peter Tyser
Hi Simon, On Tue, 2015-02-03 at 13:18 -0600, Peter Tyser wrote: > Segfaults can occur when a mandatory argument is not provided to > "demo hello" and "demo status". Eg: > >=> demo hello >Segmentation fault (core dumped) > > Add a check t

Re: [U-Boot] [RFC][PATCH 1/3] DDR2: Support new JEDEC DDR2 SPD 1.3 spec

2010-09-02 Thread Peter Tyser
Hi Kyle, > +/* These are all the types defined by the JEDEC DDR2 SPD 1.3 spec */ > +#define SPD_DIMM_TYPE_UNDEFINED 0x00 > +#define SPD_DIMM_TYPE_RDIMM 0x01 > +#define SPD_DIMM_TYPE_UDIMM 0x02 > +#define SPD_DIMM_TYPE_SO_DIMM0x04 > +#define SPD_DIMM

Re: [U-Boot] [PATCH] MTD/SPI/FLASH: add support for Ramtron FRAMs using SPI

2010-09-07 Thread Peter Tyser
Hi Mike, > when you're editing a commit in the middle of a rebase, you can add on any > number of commits you like on top of it. so usually the way i split commits: > git rebase -i ^ > > > git format-patch -1 > > patch -p1 -R < 0001-* > git commit -a

Re: [U-Boot] [RFC][PATCH 3/3] Add board support for the eXMeritus HWW-1U-1A devices

2010-09-07 Thread Peter Tyser
Hi Kyle, > On Sep 03, 2010, at 00:00, Peter Tyser wrote: > >> --- a/Makefile > >> +++ b/Makefile > >> @@ -2499,6 +2499,10 @@ P2020DS_36BIT_config \ > >> P2020DS_config: unconfig > >> @$(MKCONFIG) -t $(@

Re: [U-Boot] [RFC][PATCH 3/3] Add board support for the eXMeritus HWW-1U-1A devices

2010-09-07 Thread Peter Tyser
> >> diff --git a/board/exmeritus/hww-1u-1a/gpios.h > >> b/board/exmeritus/hww-1u-1a/gpios.h > >> +static inline void hww1u1a_gpio_set(unsigned int mask, > >> + unsigned int dir, unsigned int val) > >> +{ > >> + volatile ccsr_gpio_t *gpio; > >> + > >> + /* First mask off the

Re: [U-Boot] [RFC][PATCH 3/3] Add board support for the eXMeritusHWW-1U-1A devices

2010-09-07 Thread Peter Tyser
On Tue, 2010-09-07 at 17:50 -0500, Moffett, Kyle D wrote: > On Sep 07, 2010, at 18:09, Peter Tyser wrote: > >>> The GPIO functions above aren't hww1u1a specific. What about adding > >>> generic 85xx GPIO functions so others can use them too? > >> > &

Re: [U-Boot] [PATCH] examples/standalone: Remove relocation compile flags for PowerPC

2010-09-10 Thread Peter Tyser
On Fri, 2010-09-10 at 14:53 -0500, Timur Tabi wrote: > On Fri, Sep 10, 2010 at 2:49 PM, Wolfgang Denk wrote: > > > AFAICT you did not reply to this, and the problem is still unsolved. > > > > Do you still have this on your list? > > Sorry, I'm confused. What exactly do you want me to do? Since

[U-Boot] [PATCH] examples/standalone: Use gcc's -fno-toplevel-reorder

2010-09-12 Thread Peter Tyser
7;s entry point to be at the base of the compiled binary. Previously, the entry point could change depending on gcc version and flags. Note -fno-toplevel-reorder is only available in gcc version 4.2 or greater. Signed-off-by: Peter Tyser --- I didn't have a version of gcc < 4.2. The c

Re: [U-Boot] [PATCH] examples/standalone: Use gcc's -fno-toplevel-reorder

2010-09-12 Thread Peter Tyser
Hi Andrew, On Sun, 2010-09-12 at 21:00 -0500, Andrew Dyer wrote: > On Sun, Sep 12, 2010 at 17:38, Peter Tyser wrote: > > Using -fno-toplevel-reorder causes gcc to not reorder functions. This > > ensures that an application's entry point will be the first function in > >

Re: [U-Boot] [PATCH] powerpc: Cleanup BOOTFLAG_* usage

2010-09-13 Thread Peter Tyser
On Mon, 2010-09-13 at 08:27 +0200, Stefan Roese wrote: > On Monday 13 September 2010 07:34:40 Wolfgang Denk wrote: > > > BOOTFLAG_COLD and BOOTFLAG_WARM have identical definitions for every > > > PowerPC board, so share a common definition. > > > &g

Re: [U-Boot] [PATCH] powerpc: Cleanup BOOTFLAG_* usage

2010-09-13 Thread Peter Tyser
On Mon, 2010-09-13 at 17:13 -0500, Scott Wood wrote: > On Tue, 14 Sep 2010 00:02:49 +0200 > Wolfgang Denk wrote: > > > Dear Peter Tyser, > > > > In message <1284389585.26713.2967.ca...@petert> you wrote: > > > > > > Sounds good, I'

[U-Boot] [PATCH 1/5] 83xx: Remove warmboot parameter from PCI init functions

2010-09-14 Thread Peter Tyser
This change lays the groundwork for the BOOTFLAG_* flags being removed. This change has the small affect of delaying 100ms on PCI initialization after a warm boot as opposed to the optimal 1ms on some boards. Signed-off-by: Peter Tyser CC: kim.phill...@freescale.com --- arch/powerpc/cpu

[U-Boot] [PATCH 3/5] ppmc7xx: Use _start as reset entry point

2010-09-14 Thread Peter Tyser
Previously the _warm_start label was used as an entry point. These 2 entry points should be functionally identical after the removal of the BOOTFLAG_WARM define. Signed-off-by: Peter Tyser --- board/ppmc7xx/ppmc7xx.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH 2/5] powerpc: Zero out board info struct on bootup

2010-09-14 Thread Peter Tyser
This puts the board info struct in a known state and allows the removal of other code which initialized board info fields to 0. Signed-off-by: Peter Tyser --- arch/powerpc/lib/board.c | 17 + 1 files changed, 1 insertions(+), 16 deletions(-) diff --git a/arch/powerpc/lib

[U-Boot] [PATCH 4/5] powerpc: Remove warm reset entry point

2010-09-14 Thread Peter Tyser
No boards utilize the warm reset entry point, so remove it. Signed-off-by: Peter Tyser --- arch/powerpc/cpu/74xx_7xx/start.S | 16 +--- arch/powerpc/cpu/mpc512x/start.S |3 --- arch/powerpc/cpu/mpc5xx/start.S | 16 ++-- arch/powerpc/cpu/mpc5xxx/start.S | 17

[U-Boot] [PATCH] Replace MAX_CMDBUF_SIZE references with CONFIG_SYS_CBSIZE

2010-09-29 Thread Peter Tyser
The MAX_CMDBUF_SIZE define is unneeded as it should always equal CONFIG_SYS_CBSIZE. Signed-off-by: Peter Tyser --- common/main.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/common/main.c b/common/main.c index 8d548db..d97ccd7 100644 --- a/common/main.c +++ b

[U-Boot] [PATCH 1/3] mpc8641hpcn: Update PCI code

2010-09-29 Thread Peter Tyser
Update to use the recent, common FSL PCI initialization code. Signed-off-by: Peter Tyser --- I was making the same changes to X-ES code, so applied them to other users of the old PCI init code. I only compile tested them on these boards. board/freescale/mpc8641hpcn/mpc8641hpcn.c | 97

[U-Boot] [PATCH 3/3] tqm85xx: Update PCI code

2010-09-29 Thread Peter Tyser
Update to use the recent, common FSL PCI initialization code. Signed-off-by: Peter Tyser CC: s...@denx.de --- board/tqc/tqm85xx/law.c |4 +- board/tqc/tqm85xx/tlb.c | 10 ++-- board/tqc/tqm85xx/tqm85xx.c | 151 --- include/configs/TQM85xx.h

[U-Boot] [PATCH 2/3] sbc8641d: Update PCI code

2010-09-29 Thread Peter Tyser
Update to use the recent, common FSL PCI initialization code. Signed-off-by: Peter Tyser CC: joe.ham...@embeddedspecialties.com --- board/sbc8641d/sbc8641d.c | 103 ++-- 1 files changed, 24 insertions(+), 79 deletions(-) diff --git a/board/sbc8641d

[U-Boot] [PATCH] 85xx: Add support for not releasing secondary cores via 'mp_holdoff'

2010-09-29 Thread Peter Tyser
iable to a non-null value will cause U-Boot to leave secondary cores in their default state. Signed-off-by: Aaron Sierra Signed-off-by: Peter Tyser --- arch/powerpc/cpu/mpc85xx/mp.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/m

[U-Boot] [PATCH 1/3] ds1621: Poll for register write completion

2010-09-29 Thread Peter Tyser
Poll the ds1621 NV Memory Busy bit instead of waiting a static amount of time for register writes. Also add config retister bit defines. Signed-off-by: Peter Tyser --- drivers/hwmon/ds1621.c | 26 +- 1 files changed, 21 insertions(+), 5 deletions(-) diff --git a

[U-Boot] [PATCH 2/3] ds1621: Clean up coding style

2010-09-29 Thread Peter Tyser
Signed-off-by: Peter Tyser --- drivers/hwmon/ds1621.c | 245 ++-- 1 files changed, 114 insertions(+), 131 deletions(-) diff --git a/drivers/hwmon/ds1621.c b/drivers/hwmon/ds1621.c index ec1893e..60bf502 100644 --- a/drivers/hwmon/ds1621.c +++ b

[U-Boot] [PATCH 3/3] ds1621: Fix negative temperature readings

2010-09-29 Thread Peter Tyser
From: Jeff Dischler Fix bug where signed data was processed as unsigned. The bug previously resulted in negative temperature readings wrapping around, eg -10 became 245. Signed-off-by: Jeff Dischler Signed-off-by: Peter Tyser --- drivers/hwmon/ds1621.c |2 +- 1 files changed, 1

[U-Boot] [PATCH] cfi_flash: Fix "Unknown FLASH" error message

2010-09-29 Thread Peter Tyser
the flash size in megabytes: FLASH: ## Unknown FLASH on Bank 1 - Size = 0x0100 = 16 MB Signed-off-by: John Schmoller Signed-off-by: Peter Tyser --- drivers/mtd/cfi_flash.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd

[U-Boot] [PATCH] TSI148: Fix argument parsing

2010-09-29 Thread Peter Tyser
is argument index 0, and the maximum number arguments passed to the command is 6, making a total of 7 for the array. Signed-off-by: Brent Darley Signed-off-by: Peter Tyser --- common/cmd_tsi148.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/cmd_tsi148.c

[U-Boot] [PATCH 02/17] mpc8640: Update the io_sel fields for PCI Express

2010-09-29 Thread Peter Tyser
Previously io_sel=0xe incorrect stated PCIE1 was enabled. Also add support for the mpc8640's PCIE2 interface. Signed-off-by: Peter Tyser CC: Kumar Gala --- arch/powerpc/cpu/mpc8xxx/pci_cfg.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/cpu/mp

[U-Boot] [PATCH 04/17] pci: Add ability to re-enumerate PCI buses

2010-09-29 Thread Peter Tyser
'pci enum' command for X-ES's Freescale-based boards. Signed-off-by: John Schmoller Signed-off-by: Peter Tyser --- common/cmd_pci.c | 13 + drivers/pci/fsl_pci_init.c|3 +++ drivers/pci/pci.c |4 +++- include/configs/XPEDITE5170.h

[U-Boot] [PATCH 03/17] xes: Use common PCI initialization code

2010-09-29 Thread Peter Tyser
Common Freescale code for PCI initialization now exists, so migrate X-ES boards to use it. Signed-off-by: Peter Tyser CC: Kumar Gala --- board/xes/common/fsl_8xxx_pci.c | 367 +- include/configs/XPEDITE5170.h | 12 +- include/configs/XPEDITE5200.h

[U-Boot] [PATCH 05/17] ppc: Don't initialize write protected NOR flashes

2010-09-29 Thread Peter Tyser
: Peter Tyser CC: s...@denx.de --- arch/powerpc/lib/board.c | 16 +++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c index 8f6a7c9..a105e1c 100644 --- a/arch/powerpc/lib/board.c +++ b/arch/powerpc/lib/board.c @@ -175,6

[U-Boot] [PATCH 07/17] xes: Add board_flash_wp_on()

2010-09-29 Thread Peter Tyser
out when flash write protection is enabled. Signed-off-by: John Schmoller Signed-off-by: Peter Tyser CC: Kumar Gala --- board/xes/common/fsl_8xxx_misc.c | 15 +++ include/configs/XPEDITE5200.h|2 +- 2 files changed, 16 insertions(+), 1 deletions(-) diff --git a/board/xes

[U-Boot] [PATCH 01/17] XPedite5500 board support

2010-09-29 Thread Peter Tyser
From: John Schmoller Initial support for Extreme Engineering Solutions XPedite5500 - a P2020-based PMC/XMC single board computer. Signed-off-by: John Schmoller Signed-off-by: Peter Tyser CC: Kumar Gala --- Some of the changes in this series touch both common and X-ES-specific code so I put

[U-Boot] [PATCH 06/17] xes: Consolidate checkboard()

2010-09-29 Thread Peter Tyser
ff-by: John Schmoller Signed-off-by: Peter Tyser CC: Kumar Gala --- board/xes/common/Makefile |2 + board/xes/common/board.c| 64 +++ board/xes/common/fsl_8xxx_misc.c| 47 + board/xes/common/fsl_8xxx_m

[U-Boot] [PATCH 09/17] xes: Add POST support for 8xxx boards

2010-09-29 Thread Peter Tyser
Add memory and I2C posts to the XPedite517x/520x/537x/550x board families. Signed-off-by: Peter Tyser CC: Kumar Gala --- board/xes/common/Makefile|5 board/xes/common/fsl_8xxx_post.c | 43 ++ include/configs/xpedite517x.h| 15

[U-Boot] [PATCH 10/17] post/i2c: General clean up

2010-09-29 Thread Peter Tyser
- Clean up ifdeffery - Update coding style No functional change should have occurred. Signed-off-by: Peter Tyser CC: h...@denx.de --- post/drivers/i2c.c | 48 +++- 1 files changed, 23 insertions(+), 25 deletions(-) diff --git a/post/drivers/i2c.c

[U-Boot] [PATCH 11/17] post/i2c: Clean up detection logic

2010-09-29 Thread Peter Tyser
The logic previously used in the I2C post was a bit convoluted. Signed-off-by: Peter Tyser CC: h...@denx.de --- post/drivers/i2c.c | 27 --- 1 files changed, 12 insertions(+), 15 deletions(-) diff --git a/post/drivers/i2c.c b/post/drivers/i2c.c index 84a6035..635438d

[U-Boot] [PATCH 08/17] xes: Make X-ES board names more generic

2010-09-29 Thread Peter Tyser
boards with the least significant digit of 'x'. While we're at it, change the board config file and make targets to be lowercase. Also change the default uImage and fdt filenames to "board.uImage" and "board.dtb" to be more generic. Signed-off-by: Peter Ty

[U-Boot] [PATCH 13/17] post/i2c: Add ability to ignore I2C devices

2010-09-29 Thread Peter Tyser
dress and ignoring the other addresses that are impacted by its size. A new I2C_ADDR_IGNORE_LIST define has been added which specifies a list of I2C addresses for the I2C POST to ignore. Signed-off-by: Peter Tyser CC: h...@denx.de --- post/drivers/i2c.c | 16 1 files change

[U-Boot] [PATCH 16/17] 86xx: Use gc-sections to reduce image size

2010-09-29 Thread Peter Tyser
Signed-off-by: Peter Tyser CC: Kumar Gala --- arch/powerpc/cpu/mpc86xx/config.mk |4 arch/powerpc/cpu/mpc86xx/u-boot.lds | 26 -- 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/arch/powerpc/cpu/mpc86xx/config.mk b/arch/powerpc/cpu/mpc86xx

[U-Boot] [PATCH 12/17] post/i2c: Don't probe address 0

2010-09-29 Thread Peter Tyser
revent possible issues with devices that accept general calls. Additionally, this change shouldn't reduce POST coverage since each I2C device should still be accessed via its own, unique address. Signed-off-by: Peter Tyser CC: h...@denx.de --- post/drivers/i2c.c |6 -- 1 files changed

[U-Boot] [PATCH 14/17] xes: Ignore XMC EEPROMs during I2C POST

2010-09-29 Thread Peter Tyser
The XPedite517x/537x cards can host an XMC card which contain an I2C EEPROM at address 0x50. The XMC card is optional, so the EEPROM won't always be present. Signed-off-by: Peter Tyser CC: Kumar Gala --- include/configs/xpedite517x.h |2 ++ include/configs/xpedite537x.h |2 ++ 2

[U-Boot] [PATCH 17/17] 85xx: Use gc-sections to reduce image size

2010-09-29 Thread Peter Tyser
Signed-off-by: Peter Tyser CC: Kumar Gala --- arch/powerpc/cpu/mpc85xx/config.mk |4 +++ arch/powerpc/cpu/mpc85xx/u-boot.lds | 52 +++ 2 files changed, 14 insertions(+), 42 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/config.mk b/arch/powerpc/cpu/mpc85xx

[U-Boot] [PATCH 15/17] 86xx: Create common linker script

2010-09-29 Thread Peter Tyser
Signed-off-by: Peter Tyser CC: Kumar Gala --- arch/powerpc/cpu/mpc86xx/config.mk |3 + .../powerpc/cpu/mpc86xx}/u-boot.lds|0 board/freescale/mpc8610hpcd/u-boot.lds | 132 --- board/freescale/mpc8641hpcn/u-boot.lds

Re: [U-Boot] [PATCH] 85xx: Add support for not releasing secondary cores via 'mp_holdoff'

2010-09-29 Thread Peter Tyser
On Wed, 2010-09-29 at 14:22 -0500, Scott Wood wrote: > On Wed, 29 Sep 2010 13:44:07 -0500 > Peter Tyser wrote: > > > From: Aaron Sierra > > > > Some OSes require that secondary cores not be initialized when they > > are booted (eg VxWorks). By default

Re: [U-Boot] [PATCH 15/17] 86xx: Create common linker script

2010-09-29 Thread Peter Tyser
On Wed, 2010-09-29 at 18:24 -0500, Timur Tabi wrote: > On Wed, Sep 29, 2010 at 2:05 PM, Peter Tyser wrote: > > Signed-off-by: Peter Tyser > > CC: Kumar Gala > > --- > > arch/powerpc/cpu/mpc86xx/config.mk |3 + > > .../powerpc/cpu/mpc86xx}

Re: [U-Boot] [PATCH 13/17] post/i2c: Add ability to ignore I2C devices

2010-09-29 Thread Peter Tyser
On Thu, 2010-09-30 at 08:10 +0200, Heiko Schocher wrote: > Hello Peter, > > Peter Tyser wrote: > > Add the ability to not report an I2C POST error for a set of given I2C > > addresses on bootup. This is useful for the following cases: > > > > - Some form fa

Re: [U-Boot] [PATCH 13/17] post/i2c: Add ability to ignore I2C devices

2010-09-30 Thread Peter Tyser
> What I don't understand yet: why do we need a balck (ignore) list at > all, when we already have a white list (I2C_ADDR_LIST) ? > > Should not one be sufficient? Currently the POST code makes sure every entry in the white list is found, but it also considers any unexpected devices found an err

Re: [U-Boot] [PATCH 13/17] post/i2c: Add ability to ignore I2C devices

2010-09-30 Thread Peter Tyser
On Thu, 2010-09-30 at 13:04 +0200, Reinhard Meyer wrote: > Dear Sergei Shtylyov, > >> +#ifdef I2C_ADDR_IGNORE_LIST > >> + unsigned char i2c_ignore_list[] = I2C_ADDR_IGNORE_LIST; > > > > This array is aking to be *static*... > ... and *const* as well ? I'll add 'const' in the next version, bu

Re: [U-Boot] [PATCH 02/17] mpc8640: Update the io_sel fields for PCI Express

2010-09-30 Thread Peter Tyser
On Wed, 2010-09-29 at 23:41 -0500, Kumar Gala wrote: > On Sep 29, 2010, at 2:05 PM, Peter Tyser wrote: > > > Previously io_sel=0xe incorrect stated PCIE1 was enabled. Also add > > support for the mpc8640's PCIE2 interface. > > > > Signed-off-by: Peter Tyser &

Re: [U-Boot] [PATCH 13/17] post/i2c: Add ability to ignore I2C devices

2010-09-30 Thread Peter Tyser
Hi Sergei, > Peter Tyser wrote: > > >>>> +#ifdef I2C_ADDR_IGNORE_LIST > >>>> +unsigned char i2c_ignore_list[] = I2C_ADDR_IGNORE_LIST; > > >>> This array is aking to be *static*... > > >> ... and *const* as well ? >

[U-Boot] [PATCH v2] 85xx: Add support for not releasing secondary cores via 'mp_holdoff'

2010-09-30 Thread Peter Tyser
le to 'yes' or '1' will cause U-Boot to leave secondary cores in their default state. Signed-off-by: Aaron Sierra Signed-off-by: Peter Tyser --- Changes since v1: - Update 'enable-method' in dtb appropriately - Don't set cpu-release-addr if spin-table isn

[U-Boot] [PATCH] rarp: Condtionally compile rarp support

2010-09-30 Thread Peter Tyser
Most people don't use the 'rarpboot' command, so only enable it when CONFIG_CMD_RARP is defined. Signed-off-by: Peter Tyser --- common/cmd_net.c |2 ++ include/config_cmd_all.h |1 + net/Makefile |2 +- net/net.c| 11 +--

Re: [U-Boot] [PATCH v2] 85xx: Add support for not releasing secondary cores via 'mp_holdoff'

2010-09-30 Thread Peter Tyser
On Thu, 2010-09-30 at 12:13 -0500, Scott Wood wrote: > On Thu, 30 Sep 2010 11:14:50 -0500 > Peter Tyser wrote: > > > + if (hold_cores_in_reset(0)) { > > +#ifdef CONFIG_FSL_CORENET > > + /* Cores held i

[U-Boot] [PATCH v3] 85xx: Add support for not releasing secondary cores via 'mp_holdoff'

2010-09-30 Thread Peter Tyser
le to 'yes' or '1' will cause U-Boot to leave secondary cores in their default state. Signed-off-by: Aaron Sierra Signed-off-by: Peter Tyser --- Changes since v1: - Update 'enable-method' in dtb appropriately - Don't set cpu-release-addr if spin-table isn

Re: [U-Boot] [PATCH 13/17] post/i2c: Add ability to ignore I2C devices

2010-09-30 Thread Peter Tyser
> So the IGNORE_LIST is intended for devices that may or may not be > present, and neither state is considered an error? Correct. And also for devices that may or may not be present, but are impossible to determine if they should/shouldn't be present, so its impossible to determine what an error

Re: [U-Boot] [PATCH] mpc83xx: fix 837x MDS PCI HOST build

2010-09-30 Thread Peter Tyser
On Thu, 2010-09-30 at 13:40 -0500, Kim Phillips wrote: > commit 6aa3d3bfaa986f1aff5e21a9b9f68d087715b1a9 > "83xx: Remove warmboot parameter from PCI init functions" missed > one mpc83xx_pcie_init callsite, causing this build error: > > Configuring for MPC837XEMDS_HOST board... > pci.c: In function

[U-Boot] [PATCH] ppc: Conditionally compile bat_rw.c

2010-09-30 Thread Peter Tyser
Only a few PPC boards actually use the common BAT manipulation functions, so only compile it for them. Signed-off-by: Peter Tyser --- arch/powerpc/lib/Makefile |2 +- include/configs/Alaska8220.h |1 + include/configs/MPC8610HPCD.h |1 + include/configs/MPC8641HPCN.h |1

Re: [U-Boot] ARM relocation, question to Heiko

2010-10-03 Thread Peter Tyser
Hi Wolfgang, > Well, please keep in mind that all this code is working find on > PowerPC, which has been using relocation right from the beginning. > > It is my understanding that we don't suffer from this issue any more > on PPC - Peter Tyser posted relocation fixup pat

[U-Boot] [PATCH] board/mpl: Remove mpl-specific memory test command

2010-10-05 Thread Peter Tyser
The mpl-specfic memory test is only documented for one board, doesn't compile cleanly, uses improper coding style, and overlaps functionality with U-Boot's common 'mtest' command, so lets get rid of it. Signed-off-by: Peter Tyser CC: d.pe...@mpl.ch CC: d.muel...@elsoft.

Re: [U-Boot] VCMA9 build fails: ARM board references PPC4xx header

2010-10-06 Thread Peter Tyser
On Wed, 2010-10-06 at 09:38 +0200, "David Müller (ELSOFT AG)" wrote: > Wolfgang Denk schrieb: > > The problem comes from board/mpl/common/memtst.c which contains an > > unconditional "#include " which is obviously wrong > > when the file gets compiled for an ARM board as VCMA9. > > > > Can you ple

[U-Boot] [PATCH v2] ppc: Conditionally compile bat_rw.c

2010-10-07 Thread Peter Tyser
Only a few PPC boards actually use the common BAT manipulation functions, so only compile it for them. Signed-off-by: Peter Tyser --- Changes since v1: - Rebased on current top of tree arch/powerpc/lib/Makefile |2 +- include/configs/Alaska8220.h |1 + include/configs

Re: [U-Boot] [PATCH] board/mpl: Remove mpl-specific memory test command

2010-10-07 Thread Peter Tyser
On Wed, 2010-10-06 at 22:27 +0200, Wolfgang Denk wrote: > Dear Peter Tyser, > > In message <1286340527-29498-1-git-send-email-pty...@xes-inc.com> you wrote: > > The mpl-specfic memory test is only documented for one board, doesn't > > compile cleanly, uses imp

Re: [U-Boot] Sparc build warnings

2012-07-22 Thread Peter Tyser
Hi Marek, > I just recently got the following issues when building Sparc platforms with > debian gcc 4.7.1-5. Peter, you seems to be involved, can you please check on > these? I'm not involved with these boards or Sparc, so not sure if I'm much help. I believe Dan Hellstrom is the best cantida

Re: [U-Boot] [RFC PATCH 03/17] powerpc: remove .fixup test

2012-09-24 Thread Peter Tyser
Hi Scott, On Fri, 2012-09-21 at 19:01 -0500, Scott Wood wrote: > This was introduced by commit 244615197469dd6fe75ae082f38424b97c79aeaf, but it > fails in a minimal SPL build where the only thing in arch/powerpc/lib is > cache.c, which apparently doesn't generate any fixup records. > > If this ch

<    1   2   3   4   5   6   7   8   9   10   >