public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 1/1] Fix 8313ERDB board configuration
Date: Thu, 15 May 2008 13:50:07 -0700	[thread overview]
Message-ID: <482CA1FF.4090505@gmail.com> (raw)
In-Reply-To: <12108831871831-git-send-email-yorksun@freescale.com>

Hi York,

York Sun wrote:
> Change LCRR clock ratio from 2 to 4 to commodate VSC7385.
> Correct TSEC1 vs TSEC2 assignment.
> Define ETHADDR and ETH1ADDR always.
>
> Signed-off-by: York Sun <yorksun@freescale.com>
> Signed-off-by: Timur Tabi <timur@freescale.com>
> ---
>  include/configs/MPC8313ERDB.h |   14 ++++++--------
>  1 files changed, 6 insertions(+), 8 deletions(-)
>
> diff --git a/include/configs/MPC8313ERDB.h b/include/configs/MPC8313ERDB.h
> index 6eec240..f9fa535 100644
> --- a/include/configs/MPC8313ERDB.h
> +++ b/include/configs/MPC8313ERDB.h
> @@ -42,9 +42,12 @@
>  
>  /*
>   * On-board devices
> + *
> + * TSEC1 is VSC switch
> + * TSEC2 is SoC TSEC
>   */
>  #define CONFIG_VSC7385_ENET
> -
> +#define CONFIG_TSEC2
>  
>  #ifdef CFG_66MHZ
>  #define CONFIG_83XX_CLKIN	66666667	/* in Hz */
> @@ -80,7 +83,7 @@
>  
>  #ifdef CONFIG_VSC7385_ENET
>  
> -#define CONFIG_TSEC2
> +#define CONFIG_TSEC1
>  
>  /* The flash address and size of the VSC7385 firmware image */
>  #define CONFIG_VSC7385_IMAGE		0xFE7FE000
> @@ -209,7 +212,7 @@
>  /*
>   * Local Bus LCRR and LBCR regs
>   */
> -#define CFG_LCRR	LCRR_EADC_1 | LCRR_CLKDIV_2	/* 0x00010002 */
> +#define CFG_LCRR	LCRR_EADC_1 | LCRR_CLKDIV_4
>  #define CFG_LBC_LBCR	( 0x00040000 /* TODO */ \
>  			| (0xFF << LBCR_BMT_SHIFT) \
>  			| 0xF )	/* 0x0004ff0f */
> @@ -523,13 +526,8 @@
>   */
>  #define CONFIG_ENV_OVERWRITE
>  
> -#ifdef CONFIG_HAS_ETH0
>  #define CONFIG_ETHADDR		00:E0:0C:00:95:01
> -#endif
> -
> -#ifdef CONFIG_HAS_ETH1
>  #define CONFIG_ETH1ADDR		00:E0:0C:00:95:02
> -#endif
>   
Please also remove the default MAC address assignments.
>  
>  #define CONFIG_IPADDR		10.0.0.2
>  #define CONFIG_SERVERIP		10.0.0.1
>   
While you're at it, putting default IP addresses is also pointless.

regards,
Ben

  reply	other threads:[~2008-05-15 20:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-15 20:26 [U-Boot-Users] [PATCH 1/1] Fix 8313ERDB board configuration York Sun
2008-05-15 20:50 ` Ben Warren [this message]
2008-05-15 21:21   ` York Sun
2008-05-15 22:11     ` Ben Warren
2008-05-15 22:22     ` Wolfgang Denk
2008-05-15 22:26       ` Timur Tabi
2008-05-15 22:41         ` Wolfgang Denk
2008-05-15 22:43           ` Timur Tabi
2008-05-15 23:06             ` Wolfgang Denk
2008-05-15 23:10               ` Timur Tabi
2008-05-16  0:25                 ` Ben Warren
2008-05-19 21:01                   ` Wolfgang Denk
2008-05-19 21:04 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=482CA1FF.4090505@gmail.com \
    --to=biggerbadderben@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox