public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Dave Liu <r63238@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] mpc83xx: enable the SATA interface on	mpc8315 rdb and mpc837x rdb boards
Date: Mon, 31 Mar 2008 17:00:32 +0800	[thread overview]
Message-ID: <1206954033.3662.23.camel@localhost.localdomain> (raw)
In-Reply-To: <20080328173905.231afda4.kim.phillips@freescale.com>

> diff --git a/include/configs/MPC8315ERDB.h
> b/include/configs/MPC8315ERDB.h
> index af78726..432fb31 100644
> --- a/include/configs/MPC8315ERDB.h
> +++ b/include/configs/MPC8315ERDB.h
> @@ -349,6 +349,29 @@
>  #define CONFIG_ETHPRIME                "eTSEC1"
> 
>  /*
> + * SATA
> + */
> +#define CONFIG_LIBATA
> +#define CONFIG_FSL_SATA
> +
> +#define CFG_SATA_MAX_DEVICE    2
> +#define CONFIG_SATA1
> +#define CFG_SATA1_OFFSET       0x18000
> +#define CFG_SATA1              (CFG_IMMR + CFG_SATA1_OFFSET)
> +#define CFG_SATA1_FLAGS                FLAGS_DMA
> +#define CONFIG_SATA2
> +#define CFG_SATA2_OFFSET       0x19000
> +#define CFG_SATA2              (CFG_IMMR + CFG_SATA2_OFFSET)
> +#define CFG_SATA2_FLAGS                FLAGS_DMA
> +
> +#ifdef CONFIG_FSL_SATA
> +#define CONFIG_LBA48
> +#define CONFIG_CMD_SATA
> +#define CONFIG_DOS_PARTITION
> +#define CONFIG_CMD_EXT2
> +#endif
> +
> +/*

Kim, I tested the SATA on MPC8315ERDB, it is passed!

      reply	other threads:[~2008-03-31  9:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-28 22:39 [U-Boot-Users] [PATCH] mpc83xx: enable the SATA interface on mpc8315 rdb and mpc837x rdb boards Kim Phillips
2008-03-31  9:00 ` Dave Liu [this message]

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=1206954033.3662.23.camel@localhost.localdomain \
    --to=r63238@freescale.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