public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: u-boot at lakedaemon.net <u-boot@lakedaemon.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/3] RFC: Dreamplug support
Date: Sat,  4 Jun 2011 18:27:56 +0000	[thread overview]
Message-ID: <cover.1307210109.git.u-boot@lakedaemon.net> (raw)

From: Jason Cooper <u-boot@lakedaemon.net>

This is my first attempt at adding the Marvell Dreamplug to U-Boot.

It compiles clean, and I've loaded it via JTAG and used it to dump the
existing bootloader out of the SPI flash.  I have _not_ used it to burn
itself to the flash yet.  I'm looking for comments before I try that. ;-)

Some concerns:

	1.) does the 'make all' support need to be last?  I've used
	    rebase to edit patches and commits, but I've never reshuffled.
	    Each patch compiles clean.

	2.) The SPI flash chip is a Macronix MX25L1606, however it has the
	    identical chip idcode to the MX25L1605.  How is that properly
	    handled?  The 06 does have some new features [1].

	3.) I added the board number [2], etc to asm/mach-types.h even
	    though it says to not to. ;-)  Is there a proper way to do it?
	    If it's copied from the Linux kernel, it hasn't been updated in
	    a while...

[1] http://www.macronix.com/QuickPlace/hq/PageLibrary4825740B00298A3B.nsf/h_Index/5F41CDDCB837422C48257639003E5EC3/$File/AN055-Migrate_to_MX25L1606E_and_MX25L8006E-1.2.pdf
[2] http://www.arm.linux.org.uk/developer/machines/list.php?id=3550

Jason Cooper (3):
  dreamplug: Initial support.
  dreamplug: include in 'make all'
  dreamplug: switch from NAND flash to SPI flash.

 MAKEALL                              |    1 +
 arch/arm/include/asm/mach-types.h    |   13 +++
 board/Marvell/dreamplug/Makefile     |   51 +++++++++++
 board/Marvell/dreamplug/dreamplug.c  |  153 ++++++++++++++++++++++++++++++++
 board/Marvell/dreamplug/dreamplug.h  |   39 ++++++++
 board/Marvell/dreamplug/kwbimage.cfg |  160 ++++++++++++++++++++++++++++++++++
 boards.cfg                           |    1 +
 include/configs/dreamplug.h          |  111 +++++++++++++++++++++++
 8 files changed, 529 insertions(+), 0 deletions(-)
 create mode 100644 board/Marvell/dreamplug/Makefile
 create mode 100644 board/Marvell/dreamplug/dreamplug.c
 create mode 100644 board/Marvell/dreamplug/dreamplug.h
 create mode 100644 board/Marvell/dreamplug/kwbimage.cfg
 create mode 100644 include/configs/dreamplug.h

             reply	other threads:[~2011-06-04 18:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-04 18:27 u-boot at lakedaemon.net [this message]
2011-06-04 18:27 ` [U-Boot] [PATCH 1/3] dreamplug: Initial support u-boot at lakedaemon.net
2011-06-04 18:27 ` [U-Boot] [PATCH 2/3] dreamplug: include in 'make all' u-boot at lakedaemon.net
2011-06-04 18:27 ` [U-Boot] [PATCH 3/3] dreamplug: switch from NAND flash to SPI flash u-boot at lakedaemon.net

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=cover.1307210109.git.u-boot@lakedaemon.net \
    --to=u-boot@lakedaemon.net \
    --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