public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v10] Marvell MV88F6281GTW_GE Board support
Date: Sat, 23 May 2009 02:44:08 +0200	[thread overview]
Message-ID: <20090523004408.GD20889@game.jcrosoft.org> (raw)
In-Reply-To: <1242865967-7179-1-git-send-email-prafulla@marvell.com>

> + */
> +
> +#include <common.h>
> +#include <netdev.h>
> +#include <asm/arch/kirkwood.h>
> +#include <asm/arch/mpp.h>
> +#include "mv88f6281gtw_ge.h"
please move the mv88f6281gtw_ge.h
to include/asm-arm/arch-kirkwood/
> +
> +DECLARE_GLOBAL_DATA_PTR;
> +
> +int board_init(void)
> +{
> +	/*
> +	 * default gpio configuration
> +	 * There are maximum 64 gpios controlled through 2 sets of registers
> +	 * the  below configuration configures mainly initial LED status
> +	 */
> +	kw_config_gpio(MV88F6281GTW_GE_OE_VAL_LOW,
> +			MV88F6281GTW_GE_OE_VAL_HIGH,
> +			MV88F6281GTW_GE_OE_LOW, MV88F6281GTW_GE_OE_HIGH);
> +
> +	/* Multi-Purpose Pins Functionality configuration */
> +	u32 kwmpp_config[] = {
do you really need to configure all of this IO?
> +		MPP0_SPI_SCn,
> +		MPP1_SPI_MOSI,
> +		MPP2_SPI_SCK,
> +		MPP3_SPI_MISO,
please add a device init api as done for davinci or at91
(could be done in an other patch)
> +		MPP4_GPIO,
> +		MPP5_GPO,
> +		MPP6_SYSRST_OUTn,
> +		MPP7_SPI_SCn,
> +		MPP8_TW_SDA,
Best Regards,
J.

  parent reply	other threads:[~2009-05-23  0:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-21  0:32 [U-Boot] [PATCH v10] Marvell MV88F6281GTW_GE Board support Prafulla Wadaskar
2009-05-22 11:06 ` Wolfgang Denk
2009-05-22 11:20   ` Prafulla Wadaskar
2009-05-22 13:40     ` Prafulla Wadaskar
2009-05-22 15:21     ` Wolfgang Denk
2009-05-25  4:19       ` Prafulla Wadaskar
2009-05-23  0:44 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2009-05-25  4:48   ` Prafulla Wadaskar
2009-05-25  7:08     ` Stefan Roese

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=20090523004408.GD20889@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.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