public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Can Aydin <can.aydin@locatacorp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC] [PATCH 4/4] FSL eSPI support on P1/P2 RDB platforms
Date: Tue, 28 Sep 2010 19:57:05 +1000	[thread overview]
Message-ID: <4CA1BBF1.8030601@locatacorp.com> (raw)



Add FSL eSPI support on P1/P2 RDB platforms

Signed-off-by: Can Aydin<can.aydin@locatacorp.com>
---
  include/configs/P1_P2_RDB.h |   18 ++++++++++++++++++
  1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/include/configs/P1_P2_RDB.h b/include/configs/P1_P2_RDB.h
index 7e901e1..d830b4a 100644
--- a/include/configs/P1_P2_RDB.h
+++ b/include/configs/P1_P2_RDB.h
@@ -149,6 +149,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
  #define CONFIG_SYS_DDR_ERR_DIS		0x00000000
  #define CONFIG_SYS_DDR_SBE		0x00FF0000

+
  /*
   * Memory map
   *
@@ -168,6 +169,23 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
   */

  /*
+ * eSPI - Enhanced SPI
+ */
+#define CONFIG_FSL_ESPI
+#define CONFIG_HARD_SPI
+#define CONFIG_CMD_SPI
+
+/*
+ * Spansion SPI Flash
+ */
+#define CONFIG_SPI_FLASH
+#define CONFIG_SPI_FLASH_SPANSION
+
+#define CONFIG_CMD_SF
+#define CONFIG_SF_DEFAULT_SPEED 10000000
+#define CONFIG_SF_DEFAULT_MODE 0
+
+/*
   * Local Bus Definitions
   */
  #define CONFIG_SYS_FLASH_BASE		0xef000000	/* start of FLASH 16M */
-- 
1.7.0.4


   

                 reply	other threads:[~2010-09-28  9:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4CA1BBF1.8030601@locatacorp.com \
    --to=can.aydin@locatacorp.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