[U-Boot] [PATCH v8] dreamplug: initial board support.

Prafulla Wadaskar prafulla at marvell.com
Mon Oct 3 06:37:23 CEST 2011



> -----Original Message-----
> From: Jason Cooper [mailto:u-boot at lakedaemon.net]
> Sent: Monday, September 19, 2011 12:37 AM
> To: wd at denx.de
> Cc: u-boot at lists.denx.de; albert.u.boot at aribaud.net; Prafulla Wadaskar;
> u-boot at lakedaemon.net
> Subject: [PATCH v8] dreamplug: initial board support.
> 
> Copied wholeheartedly from board/Marvell/guruplug and modified to add
> support
> for SPI NOR flash.
> 
> CONFIG_MACH_DREAMPLUG defined in include/configs/dreamplug.h until
> Linus's
> kernel.org tree adds it to mach-types.h.  Once it trickles down, the
> definition
> can be removed from include/configs/dreamplug.h.
> 
> Signed-off-by: Jason Cooper <u-boot at lakedaemon.net>
> ---
> Changes from v1 to v2:
> 
>         - resorted series to move 'make all' support last.
> 
> Changes from v2 to v3:
> 
>         - Use MACH_TYPE_GURUPLUG for now until dreamplug support is in
>           Linux.
>         - Update MAINTAINERS.
>         - Collapse into one patch.
> 
> Changes from v3 to v4:
> 
>         - update copyright info as recommended by Prafulla Wadaskar.
>         - maintain proper order in boards.cfg, MAINTAINERS, etc.
>         - label MPP's
>         - change back to MACH_TYPE_DREAMPLUG.  This patch is just RFC
>           until the Dreamplug is supported in Linux (and MACH_TYPE_
> 	  added).
> 
> Changes from v4 to v5:
> 
>       - Complete rewrite due to receiving u-boot source indirectly
>         from Global Scale Tech.
>         - Added driver for integrated RTC. (thx GST!)
>         - Added support for displaying CPU frequencies at boot. (thx
>           GST!)
>         - Adjust USB timeout to handle dreamplug EHCI chipset.
>         - Cleaned up MPP registers based on Global Scale code. (thx
>           GST!)
>         - broke out MACH_TYPE_DREAMPLUG changes since it's going to be a
>           while until the Linux arm tree gets sorted and accepts new
>           boards again.  Since all Dreamplugs currently on the market
>           set r1 to MACH_TYPE_GURUPLUG, this allows the board to be
>           added to u-boot while waiting for Linux mainline.  Once it's
>           in Linux mainline, then the last patch can be integrated to
> use
>           MACH_TYPE_DREAMPLUG.
> 
> Changes from v5 to v6:
> 
> 	- Define MACH_TYPE_DREAMPLUG in includes/configs/dreamplug.h until
> 	  Linus's kernel.org tree includes assigned machine id.  This is on
> 	  Wolfgang's recommendation [1].
> 	- Removed dcache disabling as it is no longer enabled by default.
> 	- USB timeout fix was merged.
> 	- Marvell Integrated RTC was merged.
> 	- Dropped CPU frequency printout as I'm not familiar enough with all
> 	  flavors of kirkwood SoCs to do it correctly.
> 	- Labelled MPP*_GPIO pins that are broken out as gpio pins for the
> 	  user.
> 	- Fixed function name mv_phy_88e1121_init() ->
> mv_phy_88e1116_init().
> 
> Changes from v6 to v7:
> 
> 	- Use CONFIG_MACH_TYPE in dreamplug.c and define it to
> 	  MACH_TYPE_DREAMPLUG in include/configs/dreamplug.h
> 
> Changes from v7 to v8:
> 
> 	- #error MACH_TYPE_DREAMPLUG once it is defined in mach-types.h.  On
> 	  Albert Aribaud's recommendation.
> 
> [1] http://www.mail-archive.com/u-boot@lists.denx.de/msg60921.html
> 
>  MAINTAINERS                                   |    4 +
>  board/Marvell/dreamplug/Makefile              |   54 ++++++++
>  board/Marvell/dreamplug/dreamplug.c           |  151
> +++++++++++++++++++++++
>  board/Marvell/dreamplug/dreamplug.h           |   42 +++++++
>  board/Marvell/dreamplug/kwbimage.cfg          |  163
> +++++++++++++++++++++++++
>  boards.cfg                                    |    1 +
>  include/configs/dreamplug.h                   |  151
> +++++++++++++++++++++++
>  7 files changed, 566 insertions(+), 0 deletions(-)
>  create mode 100644 arch/arm/cpu/arm926ejs/kirkwood/asm-offsets.s
>  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
> 

Applied to u-boot-marvell.git master branch

Regards..
Prafulla . .


More information about the U-Boot mailing list