[U-Boot] Pull request: u-boot-usb

2009-03-21 Thread Remy Bohmer
The following changes since commit a43ea5cc6d612471fbc74f0a26b2bea5864aa1d6: Jon Smirl (1): .gitignore for generated files in api_examples directory are available in the git repository at: git://git.denx.de/u-boot-usb.git master Vivek Kutal (1): Replaced endpoint numbers with a

[U-Boot] [PATCH 0/3] Three mpc5200 patches from Pengutronix.de

2009-03-21 Thread Jon
Three generic mpc5200 patches from Pengutronix.de that missed being submitted to mainline. --- Sascha Hauer (3): mpc5200: make i2c faster mpc52xx phy: initialize only when needed mpc5200: do not use printf in i2c_init() cpu/mpc5xxx/i2c.c | 16 +++- driv

[U-Boot] [PATCH 1/3] mpc5200: do not use printf in i2c_init()

2009-03-21 Thread Jon
From: Sascha Hauer On boards which have the environment in eeprom, i2c_init() is called before the console and ram is initialized. Do not printf here. Signed-off-by: Sascha Hauer --- cpu/mpc5xxx/i2c.c | 10 -- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/cpu/mpc5xx

[U-Boot] [PATCH 2/3] mpc52xx phy: initialize only when needed

2009-03-21 Thread Jon
From: Sascha Hauer Do not initialize phy on startup, instead initialize it when we actually need it. Signed-off-by: Sascha Hauer --- drivers/net/mpc5xxx_fec.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/net/mpc5xxx_fec.c b/drivers/net/mpc5xxx_fec.

[U-Boot] [PATCH 3/3] mpc5200: make i2c faster

2009-03-21 Thread Jon
From: Sascha Hauer The mpc5xxx i2c driver has great delays while waiting for the chip status. make the delays smaller and the driver faster. Signed-off-by: Sascha Hauer --- cpu/mpc5xxx/i2c.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cpu/mpc5xxx/i2c.c b/cpu/m

[U-Boot] [PATCH] Make flash protection work, when the environment is in EEPROM

2009-03-21 Thread Jon
From: Eric Schumann On the pcm030 the environment is located in the onboard EEPROM. But we want to handle flash sector protection in a safe manner. So we must read the unlock environment variable from EEPROM instead from flash. This patch is required as long the evironment is saved into the EEPR

[U-Boot] [PATCH] Add define for mpc5200 CDM_CLK_ENA

2009-03-21 Thread Jon Smirl
Add define for mpc5200 CDM_CLK_ENA Signed-off-by: Jon Smirl --- include/mpc5xxx.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/mpc5xxx.h b/include/mpc5xxx.h index 3a32821..6138d45 100644 --- a/include/mpc5xxx.h +++ b/include/mpc5xxx.h @@ -140,6 +140,7 @@ #de

[U-Boot] [PATCH] board support patch for phyCORE-MPC5200B-tiny

2009-03-21 Thread Jon Smirl
Add support for the Phytec phyCORE-MPC5200B-tiny. This code is from Pengutronix.de but they didn't sign the patch. I have updated it from u-boot 1.2 to work on u-boot master. Signed-off-by: Jon Smirl Signed-off-by: Jon Smirl --- Makefile | 16 + b

Re: [U-Boot] Pull request: u-boot-usb

2009-03-21 Thread Wolfgang Denk
Dear Remy Bohmer, In message <3efb10970903210257m75bde9d1neaacaddeaa029...@mail.gmail.com> you wrote: > The following changes since commit a43ea5cc6d612471fbc74f0a26b2bea5864aa1d6: > Jon Smirl (1): > .gitignore for generated files in api_examples directory > > are available in the git

Re: [U-Boot] [PATCH 1/3] mpc5200: do not use printf in i2c_init()

2009-03-21 Thread Wolfgang Denk
Dear Jon, In message <20090321133844.11905.61201.st...@localhost> you wrote: > From: Sascha Hauer > > On boards which have the environment in eeprom, i2c_init() > is called before the console and ram is initialized. Do > not printf here. > > Signed-off-by: Sascha Hauer > --- > cpu/mpc5xxx/i2c

Re: [U-Boot] [PATCH 3/3] mpc5200: make i2c faster

2009-03-21 Thread Wolfgang Denk
Dear Jon, In message <20090321133848.11905.59350.st...@localhost> you wrote: > From: Sascha Hauer > > The mpc5xxx i2c driver has great delays while waiting for the chip status. > make the delays smaller and the driver faster. > > Signed-off-by: Sascha Hauer > --- > cpu/mpc5xxx/i2c.c |6 ++

Re: [U-Boot] [PATCH] Make flash protection work, when the environment is in EEPROM

2009-03-21 Thread Wolfgang Denk
Dear Jon, In message <20090321135934.12464.65400.st...@localhost> you wrote: > From: Eric Schumann > > On the pcm030 the environment is located in the onboard EEPROM. But we want > to handle flash sector protection in a safe manner. So we must read the > unlock environment variable from EEPROM i

Re: [U-Boot] [PATCH] Make flash protection work, when the environment is in EEPROM

2009-03-21 Thread Jon Smirl
On Sat, Mar 21, 2009 at 3:52 PM, Wolfgang Denk wrote: > Dear Jon, > > In message <20090321135934.12464.65400.st...@localhost> you wrote: >> From: Eric Schumann >> >> On the pcm030 the environment is located in the onboard EEPROM. But we want >> to handle flash sector protection in a safe manner.

Re: [U-Boot] [PATCH] Make flash protection work, when the environment is in EEPROM

2009-03-21 Thread Wolfgang Denk
Dear Jon Smirl, In message <9e4733910903211308v63878fabx19f3327371db5...@mail.gmail.com> you wrote: > > My guess is getenv() returns a pointer to the environment variable, > not a copy of the environment variable. getenv_r() returns a copy. How > can you return a pointer to the variable if the va

Re: [U-Boot] [PATCH] Make flash protection work, when the environment is in EEPROM

2009-03-21 Thread Jon Smirl
On Sat, Mar 21, 2009 at 4:24 PM, Wolfgang Denk wrote: > Dear Jon Smirl, > > In message <9e4733910903211308v63878fabx19f3327371db5...@mail.gmail.com> you > wrote: >> >> My guess is getenv() returns a pointer to the environment variable, >> not a copy of the environment variable. getenv_r() returns

Re: [U-Boot] [PATCH] board support patch for phyCORE-MPC5200B-tiny

2009-03-21 Thread Wolfgang Denk
Dear Jon Smirl, In message <20090321182020.32596.55248.st...@localhost> you wrote: > Add support for the Phytec phyCORE-MPC5200B-tiny. This code is from > Pengutronix.de but they > didn't sign the patch. I have updated it from u-boot 1.2 to work on u-boot > master. > > Signed-off-by: Jon Smirl

Re: [U-Boot] [PATCH 1/3] mpc5200: do not use printf in i2c_init()

2009-03-21 Thread Jon Smirl
On Sat, Mar 21, 2009 at 3:47 PM, Wolfgang Denk wrote: > Dear Jon, > > In message <20090321133844.11905.61201.st...@localhost> you wrote: >> From: Sascha Hauer >> >> On boards which have the environment in eeprom, i2c_init() >> is called before the console and ram is initialized. Do >> not printf

Re: [U-Boot] [PATCH 1/3] mpc5200: do not use printf in i2c_init()

2009-03-21 Thread Wolfgang Denk
Dear Jon Smirl, In message <9e4733910903211339u60f5531cp7a9574f2d1ba2...@mail.gmail.com> you wrote: > > How about this instead? Is there a variable that indicates when the > console is safe to use, if so I can adjust the macro. gd->have_console Best regards, Wolfgang Denk -- DENX Software E

Re: [U-Boot] [PATCH 1/3] mpc5200: do not use printf in i2c_init()

2009-03-21 Thread Wolfgang Denk
Dear Jon Smirl, In message <9e4733910903211339u60f5531cp7a9574f2d1ba2...@mail.gmail.com> you wrote: > > How about this instead? Is there a variable that indicates when the > console is safe to use, if so I can adjust the macro. BTW: you might want to compare with cpu/mpc8xx/i2c.c or cpu/ppc4xx/