All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Gmeiner <christian.gmeiner@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/7] ot1200: add SPL configuration
Date: Mon, 19 Jan 2015 17:26:48 +0100	[thread overview]
Message-ID: <1421684810-2684-6-git-send-email-christian.gmeiner@gmail.com> (raw)
In-Reply-To: <1421684810-2684-1-git-send-email-christian.gmeiner@gmail.com>

We will only support loading u-boot.img from SPI flash stored
at the offset of 64k.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
---
 include/configs/ot1200.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h
index 97ee664..c061e93 100644
--- a/include/configs/ot1200.h
+++ b/include/configs/ot1200.h
@@ -108,6 +108,16 @@
 #endif
 
 
+/* SPL */
+#ifdef CONFIG_SPL
+#include "imx6_spl.h"
+#define CONFIG_SPL_SPI_SUPPORT
+#define CONFIG_SPL_LIBCOMMON_SUPPORT
+#define CONFIG_SPL_SPI_FLASH_SUPPORT
+#define CONFIG_SYS_SPI_U_BOOT_OFFS     (64 * 1024)
+#define CONFIG_SPL_SPI_LOAD
+#endif
+
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_MII
-- 
2.1.0

  parent reply	other threads:[~2015-01-19 16:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-19 16:26 [U-Boot] ot1200: add basic SPL support Christian Gmeiner
2015-01-19 16:26 ` [U-Boot] [PATCH 1/7] ot1200: select SUPPORT_SPL Christian Gmeiner
2015-01-22 10:04   ` Stefano Babic
2015-01-19 16:26 ` [U-Boot] [PATCH 2/7] ot1200: make use of imx_ddr_size(..) Christian Gmeiner
2015-01-19 16:26 ` [U-Boot] [PATCH 3/7] ot1200: move ccgr and gpr init to c functions Christian Gmeiner
2015-01-19 16:26 ` [U-Boot] [PATCH 4/7] ot1200: enable spi clock directly in ccgr_init(..) Christian Gmeiner
2015-01-19 16:26 ` Christian Gmeiner [this message]
2015-01-19 16:26 ` [U-Boot] [PATCH 6/7] ot1200: add basic SPL support Christian Gmeiner
2015-01-19 16:26 ` [U-Boot] [PATCH 7/7] ot1200: add ot1200_spl_defconfig file Christian Gmeiner
2015-01-22  8:37   ` Stefano Babic

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=1421684810-2684-6-git-send-email-christian.gmeiner@gmail.com \
    --to=christian.gmeiner@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.