public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V5 2/2] MX53: support for freescale MX53LOCO board
Date: Thu, 21 Apr 2011 19:43:26 +0200	[thread overview]
Message-ID: <4DB06CBE.8050803@denx.de> (raw)
In-Reply-To: <1303296425-14806-3-git-send-email-jason.hui@linaro.org>

On 04/20/2011 12:47 PM, Jason Liu wrote:

> +int board_mmc_getcd(u8 *cd, struct mmc *mmc)
> +{
> +	struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv;
> +
> +	if (cfg->esdhc_base == MMC_SDHC1_BASE_ADDR)
> +		*cd = mxc_gpio_get(77); /*GPIO3_13*/
> +	else
> +		*cd = mxc_gpio_get(75); /*GPIO3_11*/
> +
> +	return 0;
> +}

Rereading the thread regarding this board I see there is an open
question issued by Wolfgang about this code, if accessors should be used
in this case. IMHO the code is correct, using the GPIO get function to
acquire the current value of a pin. Wolfgang, is it enough to answer
your question ? Do you see an open issue ?

> +/* PMIC Configs */
> +#define CONFIG_FSL_PMIC
> +#define CONFIG_FSL_PMIC_I2C
> +#define CONFIG_SYS_FSL_PMIC_I2C_ADDR    8

If I am not confused, this setup is not valid as you already sent a
patchset to drop these lines and adding support for the DA9053 pmic.

	PMIC: Add dialog pmic support
	MX53: loco: Add power init support

As this patchset is based on the LOCO patch (this one), and it does not
apply anymore, please drop these lines and rebase your patches to add
pmic support on the actual state of the current patch.
IMHO it should be better if you resend them as a single patchset, as
they are strictly related, merging "Add power init support" inside this
patch.


> +#define CONFIG_SYS_MEMTEST_START       0x70000000
> +#define CONFIG_SYS_MEMTEST_END         0x70010000

There is still an open question about this range. Can you answer to
Wolfgang's question ?

Best regards,
Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2011-04-21 17:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-20 10:47 [U-Boot] [PATCH 1/1] mx5: drop boot cause code from board support code Jason Liu
2011-04-20 10:47 ` [U-Boot] [PATCH V5 1/2] MX5: factor out boot cause funciton to common code Jason Liu
2011-04-21 17:53   ` Stefano Babic
2011-04-20 10:47 ` [U-Boot] [PATCH V5 2/2] MX53: support for freescale MX53LOCO board Jason Liu
2011-04-21 17:43   ` Stefano Babic [this message]
2011-04-21 23:24     ` Wolfgang Denk
2011-04-22  4:36     ` Jason Hui
2011-04-22  5:10       ` Jason Hui
2011-04-22  6:57       ` Stefano Babic
2011-04-22  8:33         ` Jason Liu
2011-04-22  9:11           ` Stefano Babic
2011-04-22 12:45           ` Wolfgang Denk
2011-04-22 13:18             ` Jason Liu
2011-04-21 17:18 ` [U-Boot] [PATCH 1/1] mx5: drop boot cause code from board support code Stefano Babic
2011-04-22  5:45   ` Jason Hui
2011-04-22  7:06     ` Stefano Babic
2011-04-22  8:34       ` Jason Liu

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=4DB06CBE.8050803@denx.de \
    --to=sbabic@denx.de \
    --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