Patchwork [U-Boot,1/1] Davinci: Make MAC address offset in EEPROM configurable CONFIG_SYS_I2C_EEPROM_MAC_OFFSET

login
register
mail settings
Submitter Tom Rini
Date Feb. 18, 2013, 6:39 p.m.
Message ID <20130218183945.GD30970@bill-the-cat>
Download mbox | patch
Permalink /patch/221442/
State Deferred
Delegated to: Tom Rini
Headers show

Comments

Tom Rini - Feb. 18, 2013, 6:39 p.m.
On Fri, Feb 01, 2013 at 07:18:58AM +0000, Kim B??ndergaard wrote:

> ---
>  arch/arm/cpu/arm926ejs/davinci/misc.c | 2 +-
>  include/configs/da830evm.h            | 1 +
>  include/configs/davinci_dm365evm.h    | 1 +
>  include/configs/davinci_dm6467evm.h   | 1 +
>  include/configs/davinci_dvevm.h       | 1 +
>  include/configs/davinci_sffsdr.h      | 1 +
>  include/configs/davinci_sonata.h      | 1 +
>  7 files changed, 7 insertions(+), 1 deletion(-)

With the following addition to fix da850_am18xxevm:


Applied to u-boot-ti/master, thanks!
Tom Rini - Feb. 18, 2013, 6:47 p.m.
On Mon, Feb 18, 2013 at 01:39:45PM -0500, Tom Rini wrote:
> On Fri, Feb 01, 2013 at 07:18:58AM +0000, Kim B??ndergaard wrote:
> 
> > ---
> >  arch/arm/cpu/arm926ejs/davinci/misc.c | 2 +-
> >  include/configs/da830evm.h            | 1 +
> >  include/configs/davinci_dm365evm.h    | 1 +
> >  include/configs/davinci_dm6467evm.h   | 1 +
> >  include/configs/davinci_dvevm.h       | 1 +
> >  include/configs/davinci_sffsdr.h      | 1 +
> >  include/configs/davinci_sonata.h      | 1 +
> >  7 files changed, 7 insertions(+), 1 deletion(-)
> 
> With the following addition to fix da850_am18xxevm:
> 
> diff --git a/boards.cfg b/boards.cfg
> index b1319aa..e89762b 100644
> --- a/boards.cfg
> +++ b/boards.cfg
> @@ -137,7 +137,7 @@ portuxg20                    arm         arm926ejs   stamp9g20           taskit
>  stamp9g20                    arm         arm926ejs   stamp9g20           taskit         at91        stamp9g20:AT91SAM9G20
>  cam_enc_4xx                  arm         arm926ejs   cam_enc_4xx         ait            davinci     cam_enc_4xx
>  da830evm                     arm         arm926ejs   da8xxevm            davinci        davinci
> -da850_am18xxevm              arm         arm926ejs   da8xxevm            davinci        davinci     da850evm:DA850_AM18X_EVM,MAC_ADDR_IN_EEPROM,SYS_I2C_EEPROM_ADDR_LEN=2,SYS_I2C_EEPROM_ADDR=0x50
> +da850_am18xxevm              arm         arm926ejs   da8xxevm            davinci        davinci     da850evm:DA850_AM18X_EVM,MAC_ADDR_IN_EEPROM,SYS_I2C_EEPROM_ADDR_LEN=2,SYS_I2C_EEPROM_ADDR=0x50,SYS_I2C_EEPROM_MAC_OFFSET=0x7F00
>  da850evm                     arm         arm926ejs   da8xxevm            davinci        davinci     da850evm:MAC_ADDR_IN_SPIFLASH
>  da850evm_direct_nor          arm         arm926ejs   da8xxevm            davinci        davinci     da850evm:MAC_ADDR_IN_SPIFLASH,USE_NOR,DIRECT_NOR_BOOT
>  davinci_dm355evm             arm         arm926ejs   dm355evm            davinci        davinci
> 
> Applied to u-boot-ti/master, thanks!

Blarg, I take it back.  It's not applied as I see you didn't include a
Signed-off-by line.  Please incorporate the above change which is:
Signed-off-by: Tom Rini <trini@ti.com>
and submit a v3, assuming the rules for a Signed-off-by-line are true.

Patch

diff --git a/boards.cfg b/boards.cfg
index b1319aa..e89762b 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -137,7 +137,7 @@  portuxg20                    arm         arm926ejs   stamp9g20           taskit
 stamp9g20                    arm         arm926ejs   stamp9g20           taskit         at91        stamp9g20:AT91SAM9G20
 cam_enc_4xx                  arm         arm926ejs   cam_enc_4xx         ait            davinci     cam_enc_4xx
 da830evm                     arm         arm926ejs   da8xxevm            davinci        davinci
-da850_am18xxevm              arm         arm926ejs   da8xxevm            davinci        davinci     da850evm:DA850_AM18X_EVM,MAC_ADDR_IN_EEPROM,SYS_I2C_EEPROM_ADDR_LEN=2,SYS_I2C_EEPROM_ADDR=0x50
+da850_am18xxevm              arm         arm926ejs   da8xxevm            davinci        davinci     da850evm:DA850_AM18X_EVM,MAC_ADDR_IN_EEPROM,SYS_I2C_EEPROM_ADDR_LEN=2,SYS_I2C_EEPROM_ADDR=0x50,SYS_I2C_EEPROM_MAC_OFFSET=0x7F00
 da850evm                     arm         arm926ejs   da8xxevm            davinci        davinci     da850evm:MAC_ADDR_IN_SPIFLASH
 da850evm_direct_nor          arm         arm926ejs   da8xxevm            davinci        davinci     da850evm:MAC_ADDR_IN_SPIFLASH,USE_NOR,DIRECT_NOR_BOOT
 davinci_dm355evm             arm         arm926ejs   dm355evm            davinci        davinci