All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 3/4] MX5: Introduce a function for setting the chip select size
Date: Thu, 19 May 2011 14:04:57 +0200	[thread overview]
Message-ID: <4DD50769.70009@denx.de> (raw)
In-Reply-To: <BANLkTin1g0pipAR_D3VFqm55=ZXsLBVn_g@mail.gmail.com>

On 05/19/2011 01:49 PM, Fabio Estevam wrote:
> Hi Stefano,
> 

Hi Fabio,

>>
>> mmmhhh...it seems to me not complete, because not all combinations are
>> covered.
> 
> Yes, it is complete. Only these four combinations are allowed as per
> the MX53 Reference Manual.
> 
>> And setting fixed values in the switch constraints us to have
>> very long defines, as CS0_32M_CS1_32M_CS2_32M_CS3_32M.
> 
> I can change the very long defines if you want.
> 
> I thought initially on doing the generic function as you described,
> but then we would need to check for only the 4 valid combinations.
> Then I came with this implementation that only handle the 4 possible
> cases.

I made the same mistake and I was convinced that all combinations are
possible. I understand why you changed in this way and I agree with this
implementation, thanks for clarification.

Acked-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic

-- 
=====================================================================
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-05-19 12:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-18 20:47 [U-Boot] [PATCH v3 1/4] MX5: Make the weim structure complete Fabio Estevam
2011-05-18 20:47 ` [U-Boot] [PATCH v3 2/4] MX5: Add iomux structure Fabio Estevam
2011-05-18 20:47   ` [U-Boot] [PATCH v3 3/4] MX5: Introduce a function for setting the chip select size Fabio Estevam
2011-05-18 20:47     ` [U-Boot] [PATCH v3 4/4] MX53: Add initial support for MX53ARD Fabio Estevam
2011-05-19  8:46     ` [U-Boot] [PATCH v3 3/4] MX5: Introduce a function for setting the chip select size Stefano Babic
2011-05-19 11:49       ` Fabio Estevam
2011-05-19 12:04         ` Stefano Babic [this message]
2011-05-19 19:02     ` Wolfgang Denk

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=4DD50769.70009@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 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.